Skip to content

Commit 4f01824

Browse files
Generate alb
1 parent 4d7bd44 commit 4f01824

Some content is hidden

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

45 files changed

+374
-88
lines changed

services/alb/src/main/java/cloud/stackit/sdk/alb/Pair.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
@javax.annotation.Generated(
1616
value = "org.openapitools.codegen.languages.JavaClientCodegen",
17-
comments = "Generator version: 7.15.0")
17+
comments = "Generator version: 7.19.0")
1818
public class Pair {
1919
private final String name;
2020
private final String value;

services/alb/src/main/java/cloud/stackit/sdk/alb/ServerConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/** Representing a Server configuration. */
1818
@javax.annotation.Generated(
1919
value = "org.openapitools.codegen.languages.JavaClientCodegen",
20-
comments = "Generator version: 7.15.0")
20+
comments = "Generator version: 7.19.0")
2121
public class ServerConfiguration {
2222
public String URL;
2323
public String description;

services/alb/src/main/java/cloud/stackit/sdk/alb/ServerVariable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/** Representing a Server Variable for server URL template substitution. */
1818
@javax.annotation.Generated(
1919
value = "org.openapitools.codegen.languages.JavaClientCodegen",
20-
comments = "Generator version: 7.15.0")
20+
comments = "Generator version: 7.19.0")
2121
public class ServerVariable {
2222
public String description;
2323
public String defaultValue;

services/alb/src/main/java/cloud/stackit/sdk/alb/StringUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
@javax.annotation.Generated(
1919
value = "org.openapitools.codegen.languages.JavaClientCodegen",
20-
comments = "Generator version: 7.15.0")
20+
comments = "Generator version: 7.19.0")
2121
public class StringUtil {
2222
/**
2323
* Check if the given array contains the given value (with case-insensitive comparison).

services/alb/src/main/java/cloud/stackit/sdk/alb/model/AbstractOpenApiSchema.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/** Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */
1919
@javax.annotation.Generated(
2020
value = "org.openapitools.codegen.languages.JavaClientCodegen",
21-
comments = "Generator version: 7.15.0")
21+
comments = "Generator version: 7.19.0")
2222
public abstract class AbstractOpenApiSchema {
2323

2424
// store the actual instance of the schema/object

services/alb/src/main/java/cloud/stackit/sdk/alb/model/ActiveHealthCheck.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/** Set this to customize active health checks for targets in this pool. */
3333
@javax.annotation.Generated(
3434
value = "org.openapitools.codegen.languages.JavaClientCodegen",
35-
comments = "Generator version: 7.15.0")
35+
comments = "Generator version: 7.19.0")
3636
public class ActiveHealthCheck {
3737
public static final String SERIALIZED_NAME_HEALTHY_THRESHOLD = "healthyThreshold";
3838

@@ -262,6 +262,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
262262
.isEmpty()) { // has required fields but JSON element is null
263263
throw new IllegalArgumentException(
264264
String.format(
265+
java.util.Locale.ROOT,
265266
"The required field(s) %s in ActiveHealthCheck is not found in the empty JSON string",
266267
ActiveHealthCheck.openapiRequiredFields.toString()));
267268
}
@@ -273,8 +274,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
273274
if (!ActiveHealthCheck.openapiFields.contains(entry.getKey())) {
274275
throw new IllegalArgumentException(
275276
String.format(
277+
java.util.Locale.ROOT,
276278
"The field `%s` in the JSON string is not defined in the `ActiveHealthCheck` properties. JSON: %s",
277-
entry.getKey(), jsonElement.toString()));
279+
entry.getKey(),
280+
jsonElement.toString()));
278281
}
279282
}
280283
JsonObject jsonObj = jsonElement.getAsJsonObject();
@@ -287,20 +290,23 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
287290
&& !jsonObj.get("interval").isJsonPrimitive()) {
288291
throw new IllegalArgumentException(
289292
String.format(
293+
java.util.Locale.ROOT,
290294
"Expected the field `interval` to be a primitive type in the JSON string but got `%s`",
291295
jsonObj.get("interval").toString()));
292296
}
293297
if ((jsonObj.get("intervalJitter") != null && !jsonObj.get("intervalJitter").isJsonNull())
294298
&& !jsonObj.get("intervalJitter").isJsonPrimitive()) {
295299
throw new IllegalArgumentException(
296300
String.format(
301+
java.util.Locale.ROOT,
297302
"Expected the field `intervalJitter` to be a primitive type in the JSON string but got `%s`",
298303
jsonObj.get("intervalJitter").toString()));
299304
}
300305
if ((jsonObj.get("timeout") != null && !jsonObj.get("timeout").isJsonNull())
301306
&& !jsonObj.get("timeout").isJsonPrimitive()) {
302307
throw new IllegalArgumentException(
303308
String.format(
309+
java.util.Locale.ROOT,
304310
"Expected the field `timeout` to be a primitive type in the JSON string but got `%s`",
305311
jsonObj.get("timeout").toString()));
306312
}

services/alb/src/main/java/cloud/stackit/sdk/alb/model/CertificateConfig.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
/** TLS termination certificate configuration. */
3535
@javax.annotation.Generated(
3636
value = "org.openapitools.codegen.languages.JavaClientCodegen",
37-
comments = "Generator version: 7.15.0")
37+
comments = "Generator version: 7.19.0")
3838
public class CertificateConfig {
3939
public static final String SERIALIZED_NAME_CERTIFICATE_IDS = "certificateIds";
4040

@@ -130,6 +130,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
130130
.isEmpty()) { // has required fields but JSON element is null
131131
throw new IllegalArgumentException(
132132
String.format(
133+
java.util.Locale.ROOT,
133134
"The required field(s) %s in CertificateConfig is not found in the empty JSON string",
134135
CertificateConfig.openapiRequiredFields.toString()));
135136
}
@@ -141,8 +142,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
141142
if (!CertificateConfig.openapiFields.contains(entry.getKey())) {
142143
throw new IllegalArgumentException(
143144
String.format(
145+
java.util.Locale.ROOT,
144146
"The field `%s` in the JSON string is not defined in the `CertificateConfig` properties. JSON: %s",
145-
entry.getKey(), jsonElement.toString()));
147+
entry.getKey(),
148+
jsonElement.toString()));
146149
}
147150
}
148151
JsonObject jsonObj = jsonElement.getAsJsonObject();
@@ -152,6 +155,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
152155
&& !jsonObj.get("certificateIds").isJsonArray()) {
153156
throw new IllegalArgumentException(
154157
String.format(
158+
java.util.Locale.ROOT,
155159
"Expected the field `certificateIds` to be an array in the JSON string but got `%s`",
156160
jsonObj.get("certificateIds").toString()));
157161
}

services/alb/src/main/java/cloud/stackit/sdk/alb/model/CookiePersistence.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/** CookiePersistence contains the cookie-based session persistence configuration. */
3333
@javax.annotation.Generated(
3434
value = "org.openapitools.codegen.languages.JavaClientCodegen",
35-
comments = "Generator version: 7.15.0")
35+
comments = "Generator version: 7.19.0")
3636
public class CookiePersistence {
3737
public static final String SERIALIZED_NAME_NAME = "name";
3838

@@ -145,6 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
145145
.isEmpty()) { // has required fields but JSON element is null
146146
throw new IllegalArgumentException(
147147
String.format(
148+
java.util.Locale.ROOT,
148149
"The required field(s) %s in CookiePersistence is not found in the empty JSON string",
149150
CookiePersistence.openapiRequiredFields.toString()));
150151
}
@@ -156,22 +157,26 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
156157
if (!CookiePersistence.openapiFields.contains(entry.getKey())) {
157158
throw new IllegalArgumentException(
158159
String.format(
160+
java.util.Locale.ROOT,
159161
"The field `%s` in the JSON string is not defined in the `CookiePersistence` properties. JSON: %s",
160-
entry.getKey(), jsonElement.toString()));
162+
entry.getKey(),
163+
jsonElement.toString()));
161164
}
162165
}
163166
JsonObject jsonObj = jsonElement.getAsJsonObject();
164167
if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull())
165168
&& !jsonObj.get("name").isJsonPrimitive()) {
166169
throw new IllegalArgumentException(
167170
String.format(
171+
java.util.Locale.ROOT,
168172
"Expected the field `name` to be a primitive type in the JSON string but got `%s`",
169173
jsonObj.get("name").toString()));
170174
}
171175
if ((jsonObj.get("ttl") != null && !jsonObj.get("ttl").isJsonNull())
172176
&& !jsonObj.get("ttl").isJsonPrimitive()) {
173177
throw new IllegalArgumentException(
174178
String.format(
179+
java.util.Locale.ROOT,
175180
"Expected the field `ttl` to be a primitive type in the JSON string but got `%s`",
176181
jsonObj.get("ttl").toString()));
177182
}

services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateCredentialsPayload.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/** CreateCredentialsPayload */
3333
@javax.annotation.Generated(
3434
value = "org.openapitools.codegen.languages.JavaClientCodegen",
35-
comments = "Generator version: 7.15.0")
35+
comments = "Generator version: 7.19.0")
3636
public class CreateCredentialsPayload {
3737
public static final String SERIALIZED_NAME_DISPLAY_NAME = "displayName";
3838

@@ -171,6 +171,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
171171
.isEmpty()) { // has required fields but JSON element is null
172172
throw new IllegalArgumentException(
173173
String.format(
174+
java.util.Locale.ROOT,
174175
"The required field(s) %s in CreateCredentialsPayload is not found in the empty JSON string",
175176
CreateCredentialsPayload.openapiRequiredFields.toString()));
176177
}
@@ -182,29 +183,34 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
182183
if (!CreateCredentialsPayload.openapiFields.contains(entry.getKey())) {
183184
throw new IllegalArgumentException(
184185
String.format(
186+
java.util.Locale.ROOT,
185187
"The field `%s` in the JSON string is not defined in the `CreateCredentialsPayload` properties. JSON: %s",
186-
entry.getKey(), jsonElement.toString()));
188+
entry.getKey(),
189+
jsonElement.toString()));
187190
}
188191
}
189192
JsonObject jsonObj = jsonElement.getAsJsonObject();
190193
if ((jsonObj.get("displayName") != null && !jsonObj.get("displayName").isJsonNull())
191194
&& !jsonObj.get("displayName").isJsonPrimitive()) {
192195
throw new IllegalArgumentException(
193196
String.format(
197+
java.util.Locale.ROOT,
194198
"Expected the field `displayName` to be a primitive type in the JSON string but got `%s`",
195199
jsonObj.get("displayName").toString()));
196200
}
197201
if ((jsonObj.get("password") != null && !jsonObj.get("password").isJsonNull())
198202
&& !jsonObj.get("password").isJsonPrimitive()) {
199203
throw new IllegalArgumentException(
200204
String.format(
205+
java.util.Locale.ROOT,
201206
"Expected the field `password` to be a primitive type in the JSON string but got `%s`",
202207
jsonObj.get("password").toString()));
203208
}
204209
if ((jsonObj.get("username") != null && !jsonObj.get("username").isJsonNull())
205210
&& !jsonObj.get("username").isJsonPrimitive()) {
206211
throw new IllegalArgumentException(
207212
String.format(
213+
java.util.Locale.ROOT,
208214
"Expected the field `username` to be a primitive type in the JSON string but got `%s`",
209215
jsonObj.get("username").toString()));
210216
}

services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateCredentialsResponse.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/** CreateCredentialsResponse */
3333
@javax.annotation.Generated(
3434
value = "org.openapitools.codegen.languages.JavaClientCodegen",
35-
comments = "Generator version: 7.15.0")
35+
comments = "Generator version: 7.19.0")
3636
public class CreateCredentialsResponse {
3737
public static final String SERIALIZED_NAME_CREDENTIAL = "credential";
3838

@@ -120,6 +120,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
120120
.isEmpty()) { // has required fields but JSON element is null
121121
throw new IllegalArgumentException(
122122
String.format(
123+
java.util.Locale.ROOT,
123124
"The required field(s) %s in CreateCredentialsResponse is not found in the empty JSON string",
124125
CreateCredentialsResponse.openapiRequiredFields.toString()));
125126
}
@@ -131,8 +132,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
131132
if (!CreateCredentialsResponse.openapiFields.contains(entry.getKey())) {
132133
throw new IllegalArgumentException(
133134
String.format(
135+
java.util.Locale.ROOT,
134136
"The field `%s` in the JSON string is not defined in the `CreateCredentialsResponse` properties. JSON: %s",
135-
entry.getKey(), jsonElement.toString()));
137+
entry.getKey(),
138+
jsonElement.toString()));
136139
}
137140
}
138141
JsonObject jsonObj = jsonElement.getAsJsonObject();

0 commit comments

Comments
 (0)