Skip to content

Commit 738cd22

Browse files
Generate sfs
1 parent a58dd8f commit 738cd22

21 files changed

+6306
-506
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+
18fae4fac0a9d9b1d0146a37d5513022ad3710cb

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

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,18 +120,27 @@ private static Class getClassByDiscriminator(
120120
new cloud.stackit.sdk.sfs.model.CreateSharePayload.CustomTypeAdapterFactory());
121121
gsonBuilder.registerTypeAdapterFactory(
122122
new cloud.stackit.sdk.sfs.model.CreateShareResponse.CustomTypeAdapterFactory());
123+
gsonBuilder.registerTypeAdapterFactory(
124+
new cloud.stackit.sdk.sfs.model.EnableLockResponse.CustomTypeAdapterFactory());
123125
gsonBuilder.registerTypeAdapterFactory(
124126
new cloud.stackit.sdk.sfs.model.Error.CustomTypeAdapterFactory());
127+
gsonBuilder.registerTypeAdapterFactory(
128+
new cloud.stackit.sdk.sfs.model.GetLockResponse.CustomTypeAdapterFactory());
125129
gsonBuilder.registerTypeAdapterFactory(
126130
new cloud.stackit.sdk.sfs.model.GetResourcePoolResponse.CustomTypeAdapterFactory());
127131
gsonBuilder.registerTypeAdapterFactory(
128132
new cloud.stackit.sdk.sfs.model.GetResourcePoolSnapshotResponse
129133
.CustomTypeAdapterFactory());
134+
gsonBuilder.registerTypeAdapterFactory(
135+
new cloud.stackit.sdk.sfs.model.GetScheduleResponse.CustomTypeAdapterFactory());
130136
gsonBuilder.registerTypeAdapterFactory(
131137
new cloud.stackit.sdk.sfs.model.GetShareExportPolicyResponse
132138
.CustomTypeAdapterFactory());
133139
gsonBuilder.registerTypeAdapterFactory(
134140
new cloud.stackit.sdk.sfs.model.GetShareResponse.CustomTypeAdapterFactory());
141+
gsonBuilder.registerTypeAdapterFactory(
142+
new cloud.stackit.sdk.sfs.model.GetSnapshotPolicyResponse
143+
.CustomTypeAdapterFactory());
135144
gsonBuilder.registerTypeAdapterFactory(
136145
new cloud.stackit.sdk.sfs.model.GoogleProtobufAny.CustomTypeAdapterFactory());
137146
gsonBuilder.registerTypeAdapterFactory(
@@ -143,11 +152,16 @@ private static Class getClassByDiscriminator(
143152
gsonBuilder.registerTypeAdapterFactory(
144153
new cloud.stackit.sdk.sfs.model.ListResourcePoolsResponse
145154
.CustomTypeAdapterFactory());
155+
gsonBuilder.registerTypeAdapterFactory(
156+
new cloud.stackit.sdk.sfs.model.ListSchedulesResponse.CustomTypeAdapterFactory());
146157
gsonBuilder.registerTypeAdapterFactory(
147158
new cloud.stackit.sdk.sfs.model.ListShareExportPoliciesResponse
148159
.CustomTypeAdapterFactory());
149160
gsonBuilder.registerTypeAdapterFactory(
150161
new cloud.stackit.sdk.sfs.model.ListSharesResponse.CustomTypeAdapterFactory());
162+
gsonBuilder.registerTypeAdapterFactory(
163+
new cloud.stackit.sdk.sfs.model.ListSnapshotPoliciesResponse
164+
.CustomTypeAdapterFactory());
151165
gsonBuilder.registerTypeAdapterFactory(
152166
new cloud.stackit.sdk.sfs.model.PerformanceClass.CustomTypeAdapterFactory());
153167
gsonBuilder.registerTypeAdapterFactory(
@@ -157,14 +171,23 @@ private static Class getClassByDiscriminator(
157171
.CustomTypeAdapterFactory());
158172
gsonBuilder.registerTypeAdapterFactory(
159173
new cloud.stackit.sdk.sfs.model.ResourcePoolSnapshot.CustomTypeAdapterFactory());
174+
gsonBuilder.registerTypeAdapterFactory(
175+
new cloud.stackit.sdk.sfs.model.ResourcePoolSnapshotPolicy
176+
.CustomTypeAdapterFactory());
160177
gsonBuilder.registerTypeAdapterFactory(
161178
new cloud.stackit.sdk.sfs.model.ResourcePoolSpace.CustomTypeAdapterFactory());
179+
gsonBuilder.registerTypeAdapterFactory(
180+
new cloud.stackit.sdk.sfs.model.Schedule.CustomTypeAdapterFactory());
162181
gsonBuilder.registerTypeAdapterFactory(
163182
new cloud.stackit.sdk.sfs.model.Share.CustomTypeAdapterFactory());
164183
gsonBuilder.registerTypeAdapterFactory(
165184
new cloud.stackit.sdk.sfs.model.ShareExportPolicy.CustomTypeAdapterFactory());
166185
gsonBuilder.registerTypeAdapterFactory(
167186
new cloud.stackit.sdk.sfs.model.ShareExportPolicyRule.CustomTypeAdapterFactory());
187+
gsonBuilder.registerTypeAdapterFactory(
188+
new cloud.stackit.sdk.sfs.model.SnapshotPolicy.CustomTypeAdapterFactory());
189+
gsonBuilder.registerTypeAdapterFactory(
190+
new cloud.stackit.sdk.sfs.model.SnapshotPolicySchedule.CustomTypeAdapterFactory());
168191
gsonBuilder.registerTypeAdapterFactory(
169192
new cloud.stackit.sdk.sfs.model.Status.CustomTypeAdapterFactory());
170193
gsonBuilder.registerTypeAdapterFactory(
@@ -173,6 +196,12 @@ private static Class getClassByDiscriminator(
173196
gsonBuilder.registerTypeAdapterFactory(
174197
new cloud.stackit.sdk.sfs.model.UpdateResourcePoolResponse
175198
.CustomTypeAdapterFactory());
199+
gsonBuilder.registerTypeAdapterFactory(
200+
new cloud.stackit.sdk.sfs.model.UpdateResourcePoolSnapshotPayload
201+
.CustomTypeAdapterFactory());
202+
gsonBuilder.registerTypeAdapterFactory(
203+
new cloud.stackit.sdk.sfs.model.UpdateResourcePoolSnapshotResponse
204+
.CustomTypeAdapterFactory());
176205
gsonBuilder.registerTypeAdapterFactory(
177206
new cloud.stackit.sdk.sfs.model.UpdateShareExportPolicyBodyRule
178207
.CustomTypeAdapterFactory());

0 commit comments

Comments
 (0)