Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion services/sfs/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fe212a12ec79a23b81cb53d9a7728f5706bddc23
56ac63c4728605d440d17ed470e0229e36a1aad2
29 changes: 29 additions & 0 deletions services/sfs/src/main/java/cloud/stackit/sdk/sfs/JSON.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,27 @@ private static Class getClassByDiscriminator(
new cloud.stackit.sdk.sfs.model.CreateSharePayload.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.CreateShareResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.EnableLockResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.Error.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.GetLockResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.GetResourcePoolResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.GetResourcePoolSnapshotResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.GetScheduleResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.GetShareExportPolicyResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.GetShareResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.GetSnapshotPolicyResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.GoogleProtobufAny.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
Expand All @@ -143,11 +152,16 @@ private static Class getClassByDiscriminator(
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.ListResourcePoolsResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.ListSchedulesResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.ListShareExportPoliciesResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.ListSharesResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.ListSnapshotPoliciesResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.PerformanceClass.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
Expand All @@ -157,14 +171,23 @@ private static Class getClassByDiscriminator(
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.ResourcePoolSnapshot.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.ResourcePoolSnapshotPolicy
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.ResourcePoolSpace.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.Schedule.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.Share.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.ShareExportPolicy.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.ShareExportPolicyRule.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.SnapshotPolicy.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.SnapshotPolicySchedule.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.Status.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
Expand All @@ -173,6 +196,12 @@ private static Class getClassByDiscriminator(
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.UpdateResourcePoolResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.UpdateResourcePoolSnapshotPayload
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.UpdateResourcePoolSnapshotResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.model.UpdateShareExportPolicyBodyRule
.CustomTypeAdapterFactory());
Expand Down
Loading