Skip to content

Commit b8ebe6c

Browse files
Generate sfs
1 parent 0c7e7e4 commit b8ebe6c

124 files changed

Lines changed: 486 additions & 22808 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

services/sfs/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# STACKIT Java SDK for STACKIT File Storage (SFS)
22

3+
- API version: 1.0.0
4+
5+
API used to create and manage NFS Shares.
6+
7+
38
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.
49

510
## Installation from Maven Central (recommended)

services/sfs/oas_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9356c10747db357b4ec533ec97231f1af5530ca0
1+
a896a71ffc1c1152f63b40a0194ac461ce179d6c

services/sfs/src/main/java/cloud/stackit/sdk/sfs/v1api/ApiCallback.java renamed to services/sfs/src/main/java/cloud/stackit/sdk/sfs/ApiCallback.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Do not edit the class manually.
1111
*/
1212

13-
package cloud.stackit.sdk.sfs.v1api;
13+
package cloud.stackit.sdk.sfs;
1414

1515
import cloud.stackit.sdk.core.exception.ApiException;
1616
import java.util.List;

services/sfs/src/main/java/cloud/stackit/sdk/sfs/v1api/ApiClient.java renamed to services/sfs/src/main/java/cloud/stackit/sdk/sfs/ApiClient.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Do not edit the class manually.
1111
*/
1212

13-
package cloud.stackit.sdk.sfs.v1api;
13+
package cloud.stackit.sdk.sfs;
1414

1515
import cloud.stackit.sdk.core.KeyFlowAuthenticator;
1616
import cloud.stackit.sdk.core.config.CoreConfiguration;
@@ -357,7 +357,7 @@ public DateFormat getDateFormat() {
357357
* Setter for the field <code>dateFormat</code>.
358358
*
359359
* @param dateFormat a {@link java.text.DateFormat} object
360-
* @return a {@link cloud.stackit.sdk.sfs.v1api.ApiClient} object
360+
* @return a {@link cloud.stackit.sdk.sfs.ApiClient} object
361361
*/
362362
public ApiClient setDateFormat(DateFormat dateFormat) {
363363
JSON.setDateFormat(dateFormat);
@@ -368,7 +368,7 @@ public ApiClient setDateFormat(DateFormat dateFormat) {
368368
* Set SqlDateFormat.
369369
*
370370
* @param dateFormat a {@link java.text.DateFormat} object
371-
* @return a {@link cloud.stackit.sdk.sfs.v1api.ApiClient} object
371+
* @return a {@link cloud.stackit.sdk.sfs.ApiClient} object
372372
*/
373373
public ApiClient setSqlDateFormat(DateFormat dateFormat) {
374374
JSON.setSqlDateFormat(dateFormat);
@@ -379,7 +379,7 @@ public ApiClient setSqlDateFormat(DateFormat dateFormat) {
379379
* Set OffsetDateTimeFormat.
380380
*
381381
* @param dateFormat a {@link java.time.format.DateTimeFormatter} object
382-
* @return a {@link cloud.stackit.sdk.sfs.v1api.ApiClient} object
382+
* @return a {@link cloud.stackit.sdk.sfs.ApiClient} object
383383
*/
384384
public ApiClient setOffsetDateTimeFormat(DateTimeFormatter dateFormat) {
385385
JSON.setOffsetDateTimeFormat(dateFormat);
@@ -390,7 +390,7 @@ public ApiClient setOffsetDateTimeFormat(DateTimeFormatter dateFormat) {
390390
* Set LocalDateFormat.
391391
*
392392
* @param dateFormat a {@link java.time.format.DateTimeFormatter} object
393-
* @return a {@link cloud.stackit.sdk.sfs.v1api.ApiClient} object
393+
* @return a {@link cloud.stackit.sdk.sfs.ApiClient} object
394394
*/
395395
public ApiClient setLocalDateFormat(DateTimeFormatter dateFormat) {
396396
JSON.setLocalDateFormat(dateFormat);
@@ -401,7 +401,7 @@ public ApiClient setLocalDateFormat(DateTimeFormatter dateFormat) {
401401
* Set LenientOnJson.
402402
*
403403
* @param lenientOnJson a boolean
404-
* @return a {@link cloud.stackit.sdk.sfs.v1api.ApiClient} object
404+
* @return a {@link cloud.stackit.sdk.sfs.ApiClient} object
405405
*/
406406
public ApiClient setLenientOnJson(boolean lenientOnJson) {
407407
JSON.setLenientOnJson(lenientOnJson);

services/sfs/src/main/java/cloud/stackit/sdk/sfs/v1api/ApiResponse.java renamed to services/sfs/src/main/java/cloud/stackit/sdk/sfs/ApiResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Do not edit the class manually.
1111
*/
1212

13-
package cloud.stackit.sdk.sfs.v1api;
13+
package cloud.stackit.sdk.sfs;
1414

1515
import java.util.List;
1616
import java.util.Map;

services/sfs/src/main/java/cloud/stackit/sdk/sfs/v1api/GzipRequestInterceptor.java renamed to services/sfs/src/main/java/cloud/stackit/sdk/sfs/GzipRequestInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Do not edit the class manually.
1111
*/
1212

13-
package cloud.stackit.sdk.sfs.v1api;
13+
package cloud.stackit.sdk.sfs;
1414

1515
import java.io.IOException;
1616
import okhttp3.*;

services/sfs/src/main/java/cloud/stackit/sdk/sfs/v1api/JSON.java renamed to services/sfs/src/main/java/cloud/stackit/sdk/sfs/JSON.java

Lines changed: 53 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Do not edit the class manually.
1111
*/
1212

13-
package cloud.stackit.sdk.sfs.v1api;
13+
package cloud.stackit.sdk.sfs;
1414

1515
import com.google.gson.Gson;
1616
import com.google.gson.GsonBuilder;
@@ -96,142 +96,132 @@ private static Class getClassByDiscriminator(
9696
gsonBuilder.registerTypeAdapter(LocalDate.class, localDateTypeAdapter);
9797
gsonBuilder.registerTypeAdapter(byte[].class, byteArrayAdapter);
9898
gsonBuilder.registerTypeAdapterFactory(
99-
new cloud.stackit.sdk.sfs.v1api.model.CreateResourcePoolPayload
99+
new cloud.stackit.sdk.sfs.model.CreateResourcePoolPayload
100100
.CustomTypeAdapterFactory());
101101
gsonBuilder.registerTypeAdapterFactory(
102-
new cloud.stackit.sdk.sfs.v1api.model.CreateResourcePoolResponse
102+
new cloud.stackit.sdk.sfs.model.CreateResourcePoolResponse
103103
.CustomTypeAdapterFactory());
104104
gsonBuilder.registerTypeAdapterFactory(
105-
new cloud.stackit.sdk.sfs.v1api.model.CreateResourcePoolSnapshotPayload
105+
new cloud.stackit.sdk.sfs.model.CreateResourcePoolSnapshotPayload
106106
.CustomTypeAdapterFactory());
107107
gsonBuilder.registerTypeAdapterFactory(
108-
new cloud.stackit.sdk.sfs.v1api.model.CreateResourcePoolSnapshotResponse
108+
new cloud.stackit.sdk.sfs.model.CreateResourcePoolSnapshotResponse
109109
.CustomTypeAdapterFactory());
110110
gsonBuilder.registerTypeAdapterFactory(
111-
new cloud.stackit.sdk.sfs.v1api.model.CreateShareExportPolicyPayload
111+
new cloud.stackit.sdk.sfs.model.CreateShareExportPolicyPayload
112112
.CustomTypeAdapterFactory());
113113
gsonBuilder.registerTypeAdapterFactory(
114-
new cloud.stackit.sdk.sfs.v1api.model.CreateShareExportPolicyRequestRule
114+
new cloud.stackit.sdk.sfs.model.CreateShareExportPolicyRequestRule
115115
.CustomTypeAdapterFactory());
116116
gsonBuilder.registerTypeAdapterFactory(
117-
new cloud.stackit.sdk.sfs.v1api.model.CreateShareExportPolicyResponse
117+
new cloud.stackit.sdk.sfs.model.CreateShareExportPolicyResponse
118118
.CustomTypeAdapterFactory());
119119
gsonBuilder.registerTypeAdapterFactory(
120-
new cloud.stackit.sdk.sfs.v1api.model.CreateSharePayload
121-
.CustomTypeAdapterFactory());
120+
new cloud.stackit.sdk.sfs.model.CreateSharePayload.CustomTypeAdapterFactory());
122121
gsonBuilder.registerTypeAdapterFactory(
123-
new cloud.stackit.sdk.sfs.v1api.model.CreateShareResponse
124-
.CustomTypeAdapterFactory());
122+
new cloud.stackit.sdk.sfs.model.CreateShareResponse.CustomTypeAdapterFactory());
125123
gsonBuilder.registerTypeAdapterFactory(
126-
new cloud.stackit.sdk.sfs.v1api.model.EnableLockResponse
127-
.CustomTypeAdapterFactory());
124+
new cloud.stackit.sdk.sfs.model.EnableLockResponse.CustomTypeAdapterFactory());
128125
gsonBuilder.registerTypeAdapterFactory(
129-
new cloud.stackit.sdk.sfs.v1api.model.Error.CustomTypeAdapterFactory());
126+
new cloud.stackit.sdk.sfs.model.Error.CustomTypeAdapterFactory());
130127
gsonBuilder.registerTypeAdapterFactory(
131-
new cloud.stackit.sdk.sfs.v1api.model.GetLockResponse.CustomTypeAdapterFactory());
128+
new cloud.stackit.sdk.sfs.model.GetLockResponse.CustomTypeAdapterFactory());
132129
gsonBuilder.registerTypeAdapterFactory(
133-
new cloud.stackit.sdk.sfs.v1api.model.GetResourcePoolResponse
134-
.CustomTypeAdapterFactory());
130+
new cloud.stackit.sdk.sfs.model.GetResourcePoolResponse.CustomTypeAdapterFactory());
135131
gsonBuilder.registerTypeAdapterFactory(
136-
new cloud.stackit.sdk.sfs.v1api.model.GetResourcePoolSnapshotResponse
132+
new cloud.stackit.sdk.sfs.model.GetResourcePoolSnapshotResponse
137133
.CustomTypeAdapterFactory());
138134
gsonBuilder.registerTypeAdapterFactory(
139-
new cloud.stackit.sdk.sfs.v1api.model.GetScheduleResponse
140-
.CustomTypeAdapterFactory());
135+
new cloud.stackit.sdk.sfs.model.GetScheduleResponse.CustomTypeAdapterFactory());
141136
gsonBuilder.registerTypeAdapterFactory(
142-
new cloud.stackit.sdk.sfs.v1api.model.GetShareExportPolicyResponse
137+
new cloud.stackit.sdk.sfs.model.GetShareExportPolicyResponse
143138
.CustomTypeAdapterFactory());
144139
gsonBuilder.registerTypeAdapterFactory(
145-
new cloud.stackit.sdk.sfs.v1api.model.GetShareResponse.CustomTypeAdapterFactory());
140+
new cloud.stackit.sdk.sfs.model.GetShareResponse.CustomTypeAdapterFactory());
146141
gsonBuilder.registerTypeAdapterFactory(
147-
new cloud.stackit.sdk.sfs.v1api.model.GetSnapshotPolicyResponse
142+
new cloud.stackit.sdk.sfs.model.GetSnapshotPolicyResponse
148143
.CustomTypeAdapterFactory());
149144
gsonBuilder.registerTypeAdapterFactory(
150-
new cloud.stackit.sdk.sfs.v1api.model.GoogleProtobufAny.CustomTypeAdapterFactory());
145+
new cloud.stackit.sdk.sfs.model.GoogleProtobufAny.CustomTypeAdapterFactory());
151146
gsonBuilder.registerTypeAdapterFactory(
152-
new cloud.stackit.sdk.sfs.v1api.model.ListPerformanceClassesResponse
147+
new cloud.stackit.sdk.sfs.model.ListPerformanceClassesResponse
153148
.CustomTypeAdapterFactory());
154149
gsonBuilder.registerTypeAdapterFactory(
155-
new cloud.stackit.sdk.sfs.v1api.model.ListResourcePoolSnapshotsResponse
150+
new cloud.stackit.sdk.sfs.model.ListResourcePoolSnapshotsResponse
156151
.CustomTypeAdapterFactory());
157152
gsonBuilder.registerTypeAdapterFactory(
158-
new cloud.stackit.sdk.sfs.v1api.model.ListResourcePoolsResponse
153+
new cloud.stackit.sdk.sfs.model.ListResourcePoolsResponse
159154
.CustomTypeAdapterFactory());
160155
gsonBuilder.registerTypeAdapterFactory(
161-
new cloud.stackit.sdk.sfs.v1api.model.ListSchedulesResponse
162-
.CustomTypeAdapterFactory());
156+
new cloud.stackit.sdk.sfs.model.ListSchedulesResponse.CustomTypeAdapterFactory());
163157
gsonBuilder.registerTypeAdapterFactory(
164-
new cloud.stackit.sdk.sfs.v1api.model.ListShareExportPoliciesResponse
158+
new cloud.stackit.sdk.sfs.model.ListShareExportPoliciesResponse
165159
.CustomTypeAdapterFactory());
166160
gsonBuilder.registerTypeAdapterFactory(
167-
new cloud.stackit.sdk.sfs.v1api.model.ListSharesResponse
168-
.CustomTypeAdapterFactory());
161+
new cloud.stackit.sdk.sfs.model.ListSharesResponse.CustomTypeAdapterFactory());
169162
gsonBuilder.registerTypeAdapterFactory(
170-
new cloud.stackit.sdk.sfs.v1api.model.ListSnapshotPoliciesResponse
163+
new cloud.stackit.sdk.sfs.model.ListSnapshotPoliciesResponse
171164
.CustomTypeAdapterFactory());
172165
gsonBuilder.registerTypeAdapterFactory(
173-
new cloud.stackit.sdk.sfs.v1api.model.PerformanceClass.CustomTypeAdapterFactory());
166+
new cloud.stackit.sdk.sfs.model.PerformanceClass.CustomTypeAdapterFactory());
174167
gsonBuilder.registerTypeAdapterFactory(
175-
new cloud.stackit.sdk.sfs.v1api.model.ResourcePool.CustomTypeAdapterFactory());
168+
new cloud.stackit.sdk.sfs.model.ResourcePool.CustomTypeAdapterFactory());
176169
gsonBuilder.registerTypeAdapterFactory(
177-
new cloud.stackit.sdk.sfs.v1api.model.ResourcePoolPerformanceClass
170+
new cloud.stackit.sdk.sfs.model.ResourcePoolPerformanceClass
178171
.CustomTypeAdapterFactory());
179172
gsonBuilder.registerTypeAdapterFactory(
180-
new cloud.stackit.sdk.sfs.v1api.model.ResourcePoolSnapshot
181-
.CustomTypeAdapterFactory());
173+
new cloud.stackit.sdk.sfs.model.ResourcePoolSnapshot.CustomTypeAdapterFactory());
182174
gsonBuilder.registerTypeAdapterFactory(
183-
new cloud.stackit.sdk.sfs.v1api.model.ResourcePoolSnapshotPolicy
175+
new cloud.stackit.sdk.sfs.model.ResourcePoolSnapshotPolicy
184176
.CustomTypeAdapterFactory());
185177
gsonBuilder.registerTypeAdapterFactory(
186-
new cloud.stackit.sdk.sfs.v1api.model.ResourcePoolSpace.CustomTypeAdapterFactory());
178+
new cloud.stackit.sdk.sfs.model.ResourcePoolSpace.CustomTypeAdapterFactory());
187179
gsonBuilder.registerTypeAdapterFactory(
188-
new cloud.stackit.sdk.sfs.v1api.model.Schedule.CustomTypeAdapterFactory());
180+
new cloud.stackit.sdk.sfs.model.Schedule.CustomTypeAdapterFactory());
189181
gsonBuilder.registerTypeAdapterFactory(
190-
new cloud.stackit.sdk.sfs.v1api.model.Share.CustomTypeAdapterFactory());
182+
new cloud.stackit.sdk.sfs.model.Share.CustomTypeAdapterFactory());
191183
gsonBuilder.registerTypeAdapterFactory(
192-
new cloud.stackit.sdk.sfs.v1api.model.ShareExportPolicy.CustomTypeAdapterFactory());
184+
new cloud.stackit.sdk.sfs.model.ShareExportPolicy.CustomTypeAdapterFactory());
193185
gsonBuilder.registerTypeAdapterFactory(
194-
new cloud.stackit.sdk.sfs.v1api.model.ShareExportPolicyRule
195-
.CustomTypeAdapterFactory());
186+
new cloud.stackit.sdk.sfs.model.ShareExportPolicyRule.CustomTypeAdapterFactory());
187+
gsonBuilder.registerTypeAdapterFactory(
188+
new cloud.stackit.sdk.sfs.model.SnapshotPolicy.CustomTypeAdapterFactory());
196189
gsonBuilder.registerTypeAdapterFactory(
197-
new cloud.stackit.sdk.sfs.v1api.model.SnapshotPolicy.CustomTypeAdapterFactory());
190+
new cloud.stackit.sdk.sfs.model.SnapshotPolicySchedule.CustomTypeAdapterFactory());
198191
gsonBuilder.registerTypeAdapterFactory(
199-
new cloud.stackit.sdk.sfs.v1api.model.SnapshotPolicySchedule
192+
new cloud.stackit.sdk.sfs.model.SnapshotPolicySnapshotPolicySchedule
200193
.CustomTypeAdapterFactory());
201194
gsonBuilder.registerTypeAdapterFactory(
202-
new cloud.stackit.sdk.sfs.v1api.model.Status.CustomTypeAdapterFactory());
195+
new cloud.stackit.sdk.sfs.model.Status.CustomTypeAdapterFactory());
203196
gsonBuilder.registerTypeAdapterFactory(
204-
new cloud.stackit.sdk.sfs.v1api.model.UpdateResourcePoolPayload
197+
new cloud.stackit.sdk.sfs.model.UpdateResourcePoolPayload
205198
.CustomTypeAdapterFactory());
206199
gsonBuilder.registerTypeAdapterFactory(
207-
new cloud.stackit.sdk.sfs.v1api.model.UpdateResourcePoolResponse
200+
new cloud.stackit.sdk.sfs.model.UpdateResourcePoolResponse
208201
.CustomTypeAdapterFactory());
209202
gsonBuilder.registerTypeAdapterFactory(
210-
new cloud.stackit.sdk.sfs.v1api.model.UpdateResourcePoolSnapshotPayload
203+
new cloud.stackit.sdk.sfs.model.UpdateResourcePoolSnapshotPayload
211204
.CustomTypeAdapterFactory());
212205
gsonBuilder.registerTypeAdapterFactory(
213-
new cloud.stackit.sdk.sfs.v1api.model.UpdateResourcePoolSnapshotResponse
206+
new cloud.stackit.sdk.sfs.model.UpdateResourcePoolSnapshotResponse
214207
.CustomTypeAdapterFactory());
215208
gsonBuilder.registerTypeAdapterFactory(
216-
new cloud.stackit.sdk.sfs.v1api.model.UpdateShareExportPolicyBodyRule
209+
new cloud.stackit.sdk.sfs.model.UpdateShareExportPolicyBodyRule
217210
.CustomTypeAdapterFactory());
218211
gsonBuilder.registerTypeAdapterFactory(
219-
new cloud.stackit.sdk.sfs.v1api.model.UpdateShareExportPolicyPayload
212+
new cloud.stackit.sdk.sfs.model.UpdateShareExportPolicyPayload
220213
.CustomTypeAdapterFactory());
221214
gsonBuilder.registerTypeAdapterFactory(
222-
new cloud.stackit.sdk.sfs.v1api.model.UpdateShareExportPolicyResponse
215+
new cloud.stackit.sdk.sfs.model.UpdateShareExportPolicyResponse
223216
.CustomTypeAdapterFactory());
224217
gsonBuilder.registerTypeAdapterFactory(
225-
new cloud.stackit.sdk.sfs.v1api.model.UpdateSharePayload
226-
.CustomTypeAdapterFactory());
218+
new cloud.stackit.sdk.sfs.model.UpdateSharePayload.CustomTypeAdapterFactory());
227219
gsonBuilder.registerTypeAdapterFactory(
228-
new cloud.stackit.sdk.sfs.v1api.model.UpdateShareResponse
229-
.CustomTypeAdapterFactory());
220+
new cloud.stackit.sdk.sfs.model.UpdateShareResponse.CustomTypeAdapterFactory());
230221
gsonBuilder.registerTypeAdapterFactory(
231-
new cloud.stackit.sdk.sfs.v1api.model.ValidationError.CustomTypeAdapterFactory());
222+
new cloud.stackit.sdk.sfs.model.ValidationError.CustomTypeAdapterFactory());
232223
gsonBuilder.registerTypeAdapterFactory(
233-
new cloud.stackit.sdk.sfs.v1api.model.ValidationErrorField
234-
.CustomTypeAdapterFactory());
224+
new cloud.stackit.sdk.sfs.model.ValidationErrorField.CustomTypeAdapterFactory());
235225
gson = gsonBuilder.create();
236226
}
237227

services/sfs/src/main/java/cloud/stackit/sdk/sfs/v1api/Pair.java renamed to services/sfs/src/main/java/cloud/stackit/sdk/sfs/Pair.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Do not edit the class manually.
1111
*/
1212

13-
package cloud.stackit.sdk.sfs.v1api;
13+
package cloud.stackit.sdk.sfs;
1414

1515
@javax.annotation.Generated(
1616
value = "org.openapitools.codegen.languages.JavaClientCodegen",

services/sfs/src/main/java/cloud/stackit/sdk/sfs/v1api/ProgressRequestBody.java renamed to services/sfs/src/main/java/cloud/stackit/sdk/sfs/ProgressRequestBody.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Do not edit the class manually.
1111
*/
1212

13-
package cloud.stackit.sdk.sfs.v1api;
13+
package cloud.stackit.sdk.sfs;
1414

1515
import java.io.IOException;
1616
import okhttp3.MediaType;

services/sfs/src/main/java/cloud/stackit/sdk/sfs/v1api/ProgressResponseBody.java renamed to services/sfs/src/main/java/cloud/stackit/sdk/sfs/ProgressResponseBody.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Do not edit the class manually.
1111
*/
1212

13-
package cloud.stackit.sdk.sfs.v1api;
13+
package cloud.stackit.sdk.sfs;
1414

1515
import java.io.IOException;
1616
import okhttp3.MediaType;

0 commit comments

Comments
 (0)