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
5 changes: 5 additions & 0 deletions services/sfs/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# STACKIT Java SDK for STACKIT File Storage (SFS)

- API version: 1.0.0

API used to create and manage NFS Shares.


This package is part of the STACKIT Java SDK. For additional information, please visit the [GitHub repository](https://github.com/stackitcloud/stackit-sdk-java) of the SDK.

## Installation from Maven Central (recommended)
Expand Down
2 changes: 1 addition & 1 deletion services/sfs/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9356c10747db357b4ec533ec97231f1af5530ca0
57752d1e917248b5b47a9cefdeae49703477a6f2
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.sfs.v1api;
package cloud.stackit.sdk.sfs;

import cloud.stackit.sdk.core.exception.ApiException;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.sfs.v1api;
package cloud.stackit.sdk.sfs;

import cloud.stackit.sdk.core.KeyFlowAuthenticator;
import cloud.stackit.sdk.core.config.CoreConfiguration;
Expand Down Expand Up @@ -357,7 +357,7 @@ public DateFormat getDateFormat() {
* Setter for the field <code>dateFormat</code>.
*
* @param dateFormat a {@link java.text.DateFormat} object
* @return a {@link cloud.stackit.sdk.sfs.v1api.ApiClient} object
* @return a {@link cloud.stackit.sdk.sfs.ApiClient} object
*/
public ApiClient setDateFormat(DateFormat dateFormat) {
JSON.setDateFormat(dateFormat);
Expand All @@ -368,7 +368,7 @@ public ApiClient setDateFormat(DateFormat dateFormat) {
* Set SqlDateFormat.
*
* @param dateFormat a {@link java.text.DateFormat} object
* @return a {@link cloud.stackit.sdk.sfs.v1api.ApiClient} object
* @return a {@link cloud.stackit.sdk.sfs.ApiClient} object
*/
public ApiClient setSqlDateFormat(DateFormat dateFormat) {
JSON.setSqlDateFormat(dateFormat);
Expand All @@ -379,7 +379,7 @@ public ApiClient setSqlDateFormat(DateFormat dateFormat) {
* Set OffsetDateTimeFormat.
*
* @param dateFormat a {@link java.time.format.DateTimeFormatter} object
* @return a {@link cloud.stackit.sdk.sfs.v1api.ApiClient} object
* @return a {@link cloud.stackit.sdk.sfs.ApiClient} object
*/
public ApiClient setOffsetDateTimeFormat(DateTimeFormatter dateFormat) {
JSON.setOffsetDateTimeFormat(dateFormat);
Expand All @@ -390,7 +390,7 @@ public ApiClient setOffsetDateTimeFormat(DateTimeFormatter dateFormat) {
* Set LocalDateFormat.
*
* @param dateFormat a {@link java.time.format.DateTimeFormatter} object
* @return a {@link cloud.stackit.sdk.sfs.v1api.ApiClient} object
* @return a {@link cloud.stackit.sdk.sfs.ApiClient} object
*/
public ApiClient setLocalDateFormat(DateTimeFormatter dateFormat) {
JSON.setLocalDateFormat(dateFormat);
Expand All @@ -401,7 +401,7 @@ public ApiClient setLocalDateFormat(DateTimeFormatter dateFormat) {
* Set LenientOnJson.
*
* @param lenientOnJson a boolean
* @return a {@link cloud.stackit.sdk.sfs.v1api.ApiClient} object
* @return a {@link cloud.stackit.sdk.sfs.ApiClient} object
*/
public ApiClient setLenientOnJson(boolean lenientOnJson) {
JSON.setLenientOnJson(lenientOnJson);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.sfs.v1api;
package cloud.stackit.sdk.sfs;

import java.util.List;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.sfs.v1api;
package cloud.stackit.sdk.sfs;

import java.io.IOException;
import okhttp3.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.sfs.v1api;
package cloud.stackit.sdk.sfs;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
Expand Down Expand Up @@ -96,142 +96,132 @@ private static Class getClassByDiscriminator(
gsonBuilder.registerTypeAdapter(LocalDate.class, localDateTypeAdapter);
gsonBuilder.registerTypeAdapter(byte[].class, byteArrayAdapter);
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.CreateResourcePoolPayload
new cloud.stackit.sdk.sfs.model.CreateResourcePoolPayload
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.CreateResourcePoolResponse
new cloud.stackit.sdk.sfs.model.CreateResourcePoolResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.CreateResourcePoolSnapshotPayload
new cloud.stackit.sdk.sfs.model.CreateResourcePoolSnapshotPayload
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.CreateResourcePoolSnapshotResponse
new cloud.stackit.sdk.sfs.model.CreateResourcePoolSnapshotResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.CreateShareExportPolicyPayload
new cloud.stackit.sdk.sfs.model.CreateShareExportPolicyPayload
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.CreateShareExportPolicyRequestRule
new cloud.stackit.sdk.sfs.model.CreateShareExportPolicyRequestRule
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.CreateShareExportPolicyResponse
new cloud.stackit.sdk.sfs.model.CreateShareExportPolicyResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.CreateSharePayload
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.CreateSharePayload.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.CreateShareResponse
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.CreateShareResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.EnableLockResponse
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.EnableLockResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.Error.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.Error.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.GetLockResponse.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.GetLockResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.GetResourcePoolResponse
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.GetResourcePoolResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.GetResourcePoolSnapshotResponse
new cloud.stackit.sdk.sfs.model.GetResourcePoolSnapshotResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.GetScheduleResponse
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.GetScheduleResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.GetShareExportPolicyResponse
new cloud.stackit.sdk.sfs.model.GetShareExportPolicyResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.GetShareResponse.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.GetShareResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.GetSnapshotPolicyResponse
new cloud.stackit.sdk.sfs.model.GetSnapshotPolicyResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.GoogleProtobufAny.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.GoogleProtobufAny.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.ListPerformanceClassesResponse
new cloud.stackit.sdk.sfs.model.ListPerformanceClassesResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.ListResourcePoolSnapshotsResponse
new cloud.stackit.sdk.sfs.model.ListResourcePoolSnapshotsResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.ListResourcePoolsResponse
new cloud.stackit.sdk.sfs.model.ListResourcePoolsResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.ListSchedulesResponse
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.ListSchedulesResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.ListShareExportPoliciesResponse
new cloud.stackit.sdk.sfs.model.ListShareExportPoliciesResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.ListSharesResponse
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.ListSharesResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.ListSnapshotPoliciesResponse
new cloud.stackit.sdk.sfs.model.ListSnapshotPoliciesResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.PerformanceClass.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.PerformanceClass.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.ResourcePool.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.ResourcePool.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.ResourcePoolPerformanceClass
new cloud.stackit.sdk.sfs.model.ResourcePoolPerformanceClass
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.ResourcePoolSnapshot
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.ResourcePoolSnapshot.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.ResourcePoolSnapshotPolicy
new cloud.stackit.sdk.sfs.model.ResourcePoolSnapshotPolicy
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.ResourcePoolSpace.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.ResourcePoolSpace.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.Schedule.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.Schedule.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.Share.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.Share.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.ShareExportPolicy.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.ShareExportPolicy.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.ShareExportPolicyRule
.CustomTypeAdapterFactory());
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.v1api.model.SnapshotPolicy.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.SnapshotPolicySchedule.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.SnapshotPolicySchedule
new cloud.stackit.sdk.sfs.model.SnapshotPolicySnapshotPolicySchedule
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.Status.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.Status.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.UpdateResourcePoolPayload
new cloud.stackit.sdk.sfs.model.UpdateResourcePoolPayload
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.UpdateResourcePoolResponse
new cloud.stackit.sdk.sfs.model.UpdateResourcePoolResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.UpdateResourcePoolSnapshotPayload
new cloud.stackit.sdk.sfs.model.UpdateResourcePoolSnapshotPayload
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.UpdateResourcePoolSnapshotResponse
new cloud.stackit.sdk.sfs.model.UpdateResourcePoolSnapshotResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.UpdateShareExportPolicyBodyRule
new cloud.stackit.sdk.sfs.model.UpdateShareExportPolicyBodyRule
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.UpdateShareExportPolicyPayload
new cloud.stackit.sdk.sfs.model.UpdateShareExportPolicyPayload
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.UpdateShareExportPolicyResponse
new cloud.stackit.sdk.sfs.model.UpdateShareExportPolicyResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.UpdateSharePayload
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.UpdateSharePayload.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.UpdateShareResponse
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.UpdateShareResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.ValidationError.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.ValidationError.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.sfs.v1api.model.ValidationErrorField
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.sfs.model.ValidationErrorField.CustomTypeAdapterFactory());
gson = gsonBuilder.create();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.sfs.v1api;
package cloud.stackit.sdk.sfs;

@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.sfs.v1api;
package cloud.stackit.sdk.sfs;

import java.io.IOException;
import okhttp3.MediaType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.sfs.v1api;
package cloud.stackit.sdk.sfs;

import java.io.IOException;
import okhttp3.MediaType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.sfs.v1api;
package cloud.stackit.sdk.sfs;

import java.util.Map;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.sfs.v1api;
package cloud.stackit.sdk.sfs;

import java.util.HashSet;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.sfs.v1api;
package cloud.stackit.sdk.sfs;

import java.util.Collection;
import java.util.Iterator;
Expand Down
Loading
Loading