Skip to content

Commit c9d1f16

Browse files
Generate sfs
1 parent a58dd8f commit c9d1f16

18 files changed

+4673
-288
lines changed

services/sfs/oas_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
fe212a12ec79a23b81cb53d9a7728f5706bddc23
1+
739851cba4a57dde8b44ba05f3e3460fc549fde4

services/sfs/src/main/java/cloud/stackit/sdk/sfs/JSON.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ private static Class getClassByDiscriminator(
9595
gsonBuilder.registerTypeAdapter(OffsetDateTime.class, offsetDateTimeTypeAdapter);
9696
gsonBuilder.registerTypeAdapter(LocalDate.class, localDateTypeAdapter);
9797
gsonBuilder.registerTypeAdapter(byte[].class, byteArrayAdapter);
98+
gsonBuilder.registerTypeAdapterFactory(
99+
new cloud.stackit.sdk.sfs.model.CreateLockResponse.CustomTypeAdapterFactory());
98100
gsonBuilder.registerTypeAdapterFactory(
99101
new cloud.stackit.sdk.sfs.model.CreateResourcePoolPayload
100102
.CustomTypeAdapterFactory());
@@ -127,11 +129,16 @@ private static Class getClassByDiscriminator(
127129
gsonBuilder.registerTypeAdapterFactory(
128130
new cloud.stackit.sdk.sfs.model.GetResourcePoolSnapshotResponse
129131
.CustomTypeAdapterFactory());
132+
gsonBuilder.registerTypeAdapterFactory(
133+
new cloud.stackit.sdk.sfs.model.GetScheduleResponse.CustomTypeAdapterFactory());
130134
gsonBuilder.registerTypeAdapterFactory(
131135
new cloud.stackit.sdk.sfs.model.GetShareExportPolicyResponse
132136
.CustomTypeAdapterFactory());
133137
gsonBuilder.registerTypeAdapterFactory(
134138
new cloud.stackit.sdk.sfs.model.GetShareResponse.CustomTypeAdapterFactory());
139+
gsonBuilder.registerTypeAdapterFactory(
140+
new cloud.stackit.sdk.sfs.model.GetSnapshotPolicyResponse
141+
.CustomTypeAdapterFactory());
135142
gsonBuilder.registerTypeAdapterFactory(
136143
new cloud.stackit.sdk.sfs.model.GoogleProtobufAny.CustomTypeAdapterFactory());
137144
gsonBuilder.registerTypeAdapterFactory(
@@ -143,11 +150,16 @@ private static Class getClassByDiscriminator(
143150
gsonBuilder.registerTypeAdapterFactory(
144151
new cloud.stackit.sdk.sfs.model.ListResourcePoolsResponse
145152
.CustomTypeAdapterFactory());
153+
gsonBuilder.registerTypeAdapterFactory(
154+
new cloud.stackit.sdk.sfs.model.ListSchedulesResponse.CustomTypeAdapterFactory());
146155
gsonBuilder.registerTypeAdapterFactory(
147156
new cloud.stackit.sdk.sfs.model.ListShareExportPoliciesResponse
148157
.CustomTypeAdapterFactory());
149158
gsonBuilder.registerTypeAdapterFactory(
150159
new cloud.stackit.sdk.sfs.model.ListSharesResponse.CustomTypeAdapterFactory());
160+
gsonBuilder.registerTypeAdapterFactory(
161+
new cloud.stackit.sdk.sfs.model.ListSnapshotPoliciesResponse
162+
.CustomTypeAdapterFactory());
151163
gsonBuilder.registerTypeAdapterFactory(
152164
new cloud.stackit.sdk.sfs.model.PerformanceClass.CustomTypeAdapterFactory());
153165
gsonBuilder.registerTypeAdapterFactory(
@@ -157,14 +169,23 @@ private static Class getClassByDiscriminator(
157169
.CustomTypeAdapterFactory());
158170
gsonBuilder.registerTypeAdapterFactory(
159171
new cloud.stackit.sdk.sfs.model.ResourcePoolSnapshot.CustomTypeAdapterFactory());
172+
gsonBuilder.registerTypeAdapterFactory(
173+
new cloud.stackit.sdk.sfs.model.ResourcePoolSnapshotPolicy
174+
.CustomTypeAdapterFactory());
160175
gsonBuilder.registerTypeAdapterFactory(
161176
new cloud.stackit.sdk.sfs.model.ResourcePoolSpace.CustomTypeAdapterFactory());
177+
gsonBuilder.registerTypeAdapterFactory(
178+
new cloud.stackit.sdk.sfs.model.Schedule.CustomTypeAdapterFactory());
162179
gsonBuilder.registerTypeAdapterFactory(
163180
new cloud.stackit.sdk.sfs.model.Share.CustomTypeAdapterFactory());
164181
gsonBuilder.registerTypeAdapterFactory(
165182
new cloud.stackit.sdk.sfs.model.ShareExportPolicy.CustomTypeAdapterFactory());
166183
gsonBuilder.registerTypeAdapterFactory(
167184
new cloud.stackit.sdk.sfs.model.ShareExportPolicyRule.CustomTypeAdapterFactory());
185+
gsonBuilder.registerTypeAdapterFactory(
186+
new cloud.stackit.sdk.sfs.model.SnapshotPolicy.CustomTypeAdapterFactory());
187+
gsonBuilder.registerTypeAdapterFactory(
188+
new cloud.stackit.sdk.sfs.model.SnapshotPolicySchedule.CustomTypeAdapterFactory());
168189
gsonBuilder.registerTypeAdapterFactory(
169190
new cloud.stackit.sdk.sfs.model.Status.CustomTypeAdapterFactory());
170191
gsonBuilder.registerTypeAdapterFactory(

0 commit comments

Comments
 (0)