diff --git a/services/alb/build.gradle b/services/alb/build.gradle
index 10cd648e..314067c8 100644
--- a/services/alb/build.gradle
+++ b/services/alb/build.gradle
@@ -10,8 +10,8 @@ dependencies {
implementation 'com.google.code.gson:gson:2.9.1'
implementation 'io.gsonfire:gson-fire:1.9.0'
implementation 'jakarta.ws.rs:jakarta.ws.rs-api:2.1.6'
- implementation 'org.openapitools:jackson-databind-nullable:0.2.6'
- implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.17.0'
+ implementation 'org.openapitools:jackson-databind-nullable:0.2.8'
+ implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.18.0'
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.3'
testImplementation 'org.mockito:mockito-core:3.12.4'
diff --git a/services/alb/oas_commit b/services/alb/oas_commit
index 148a7d96..1c4304d8 100644
--- a/services/alb/oas_commit
+++ b/services/alb/oas_commit
@@ -1 +1 @@
-ed4e4fbee2f5db4d95725108fb3d736e5363fb2f
+4ba9d6ffcf1ec61aff0807a261f8c0ca25d266f8
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/ApiClient.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/ApiClient.java
index 26489468..4b5da591 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/ApiClient.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/ApiClient.java
@@ -84,6 +84,7 @@ public class ApiClient {
protected InputStream sslCaCert;
protected boolean verifyingSsl;
protected KeyManager[] keyManagers;
+ protected String tlsServerName;
protected OkHttpClient httpClient;
protected JSON json;
@@ -189,8 +190,8 @@ public String getBasePath() {
/**
* Set base path
*
- * @param basePath Base path of the URL (e.g https://alb.api.stackit.cloud
- * @return An instance of OkHttpClient
+ * @param basePath Base path of the URL (e.g https://alb.api.stackit.cloud)
+ * @return An instance of ApiClient
*/
public ApiClient setBasePath(String basePath) {
this.basePath = basePath;
@@ -321,6 +322,28 @@ public ApiClient setKeyManagers(KeyManager[] managers) {
return this;
}
+ /**
+ * Get TLS server name for SNI (Server Name Indication).
+ *
+ * @return The TLS server name
+ */
+ public String getTlsServerName() {
+ return tlsServerName;
+ }
+
+ /**
+ * Set TLS server name for SNI (Server Name Indication). This is used to verify the server
+ * certificate against a specific hostname instead of the hostname in the URL.
+ *
+ * @param tlsServerName The TLS server name to use for certificate verification
+ * @return ApiClient
+ */
+ public ApiClient setTlsServerName(String tlsServerName) {
+ this.tlsServerName = tlsServerName;
+ applySslSettings();
+ return this;
+ }
+
/**
* Getter for the field dateFormat.
*
@@ -605,7 +628,7 @@ public List parameterToPair(String name, Object value) {
* @param value The value of the parameter.
* @return A list of {@code Pair} objects.
*/
- public List parameterToPairs(String collectionFormat, String name, Collection value) {
+ public List parameterToPairs(String collectionFormat, String name, Collection> value) {
List params = new ArrayList();
// preconditions
@@ -827,7 +850,17 @@ public T deserialize(Response response, Type returnType) throws ApiException
}
try {
if (isJsonMime(contentType)) {
- return JSON.deserialize(respBody.byteStream(), returnType);
+ if (returnType.equals(String.class)) {
+ String respBodyString = respBody.string();
+ if (respBodyString.isEmpty()) {
+ return null;
+ }
+ // Use String-based deserialize for String return type with fallback
+ return JSON.deserialize(respBodyString, returnType);
+ } else {
+ // Use InputStream-based deserialize which supports responses > 2GB
+ return JSON.deserialize(respBody.byteStream(), returnType);
+ }
} else if (returnType.equals(String.class)) {
String respBodyString = respBody.string();
if (respBodyString.isEmpty()) {
@@ -1227,8 +1260,10 @@ public String buildUrl(
if (serverIndex < 0 || serverIndex >= servers.size()) {
throw new ArrayIndexOutOfBoundsException(
String.format(
+ java.util.Locale.ROOT,
"Invalid index %d when selecting the host settings. Must be less than %d",
- serverIndex, servers.size()));
+ serverIndex,
+ servers.size()));
}
baseURL = servers.get(serverIndex).URL(serverVariables);
} else {
@@ -1302,12 +1337,16 @@ public void processHeaderParams(Map headerParams, Request.Builde
public void processCookieParams(Map cookieParams, Request.Builder reqBuilder) {
for (Entry param : cookieParams.entrySet()) {
reqBuilder.addHeader(
- "Cookie", String.format("%s=%s", param.getKey(), param.getValue()));
+ "Cookie",
+ String.format(
+ java.util.Locale.ROOT, "%s=%s", param.getKey(), param.getValue()));
}
for (Entry param : defaultCookieMap.entrySet()) {
if (!cookieParams.containsKey(param.getKey())) {
reqBuilder.addHeader(
- "Cookie", String.format("%s=%s", param.getKey(), param.getValue()));
+ "Cookie",
+ String.format(
+ java.util.Locale.ROOT, "%s=%s", param.getKey(), param.getValue()));
}
}
}
@@ -1495,7 +1534,20 @@ public boolean verify(String hostname, SSLSession session) {
trustManagerFactory.init(caKeyStore);
}
trustManagers = trustManagerFactory.getTrustManagers();
- hostnameVerifier = OkHostnameVerifier.INSTANCE;
+ if (tlsServerName != null && !tlsServerName.isEmpty()) {
+ hostnameVerifier =
+ new HostnameVerifier() {
+ @Override
+ public boolean verify(String hostname, SSLSession session) {
+ // Verify the certificate against tlsServerName instead of the
+ // actual hostname
+ return OkHostnameVerifier.INSTANCE.verify(
+ tlsServerName, session);
+ }
+ };
+ } else {
+ hostnameVerifier = OkHostnameVerifier.INSTANCE;
+ }
}
SSLContext sslContext = SSLContext.getInstance("TLS");
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/Pair.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/Pair.java
index 59a396c4..c2ebd1c4 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/Pair.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/Pair.java
@@ -14,7 +14,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class Pair {
private final String name;
private final String value;
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/ServerConfiguration.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/ServerConfiguration.java
index acafd2cb..7a222f69 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/ServerConfiguration.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/ServerConfiguration.java
@@ -17,7 +17,7 @@
/** Representing a Server configuration. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class ServerConfiguration {
public String URL;
public String description;
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/ServerVariable.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/ServerVariable.java
index 18dec1e1..a86870cf 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/ServerVariable.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/ServerVariable.java
@@ -17,7 +17,7 @@
/** Representing a Server Variable for server URL template substitution. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class ServerVariable {
public String description;
public String defaultValue;
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/StringUtil.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/StringUtil.java
index d7b670d6..6be34b9a 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/StringUtil.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/StringUtil.java
@@ -17,7 +17,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/AbstractOpenApiSchema.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/AbstractOpenApiSchema.java
index c42b82fd..f7dd26dd 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/AbstractOpenApiSchema.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/AbstractOpenApiSchema.java
@@ -18,7 +18,7 @@
/** Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public abstract class AbstractOpenApiSchema {
// store the actual instance of the schema/object
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ActiveHealthCheck.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ActiveHealthCheck.java
index afab8773..b7c45b17 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ActiveHealthCheck.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ActiveHealthCheck.java
@@ -33,7 +33,7 @@
/** Set this to customize active health checks for targets in this pool. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class ActiveHealthCheck {
public static final String SERIALIZED_NAME_HEALTHY_THRESHOLD = "healthyThreshold";
@@ -313,6 +313,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in ActiveHealthCheck is not found in the empty JSON string",
ActiveHealthCheck.openapiRequiredFields.toString()));
}
@@ -327,6 +328,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("interval").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `interval` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("interval").toString()));
}
@@ -334,6 +336,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("intervalJitter").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `intervalJitter` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("intervalJitter").toString()));
}
@@ -341,6 +344,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("timeout").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `timeout` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("timeout").toString()));
}
@@ -413,6 +417,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CertificateConfig.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CertificateConfig.java
index decfd5ae..a88fec34 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CertificateConfig.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CertificateConfig.java
@@ -34,7 +34,7 @@
/** TLS termination certificate configuration. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class CertificateConfig {
public static final String SERIALIZED_NAME_CERTIFICATE_IDS = "certificateIds";
@@ -179,6 +179,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in CertificateConfig is not found in the empty JSON string",
CertificateConfig.openapiRequiredFields.toString()));
}
@@ -190,6 +191,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("certificateIds").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `certificateIds` to be an array in the JSON string but got `%s`",
jsonObj.get("certificateIds").toString()));
}
@@ -262,6 +264,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CookiePersistence.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CookiePersistence.java
index fca17af7..6f79a168 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CookiePersistence.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CookiePersistence.java
@@ -33,7 +33,7 @@
/** CookiePersistence contains the cookie-based session persistence configuration. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class CookiePersistence {
public static final String SERIALIZED_NAME_NAME = "name";
@@ -195,6 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in CookiePersistence is not found in the empty JSON string",
CookiePersistence.openapiRequiredFields.toString()));
}
@@ -204,6 +205,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("name").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `name` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("name").toString()));
}
@@ -211,6 +213,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("ttl").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `ttl` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("ttl").toString()));
}
@@ -283,6 +286,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateCredentialsPayload.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateCredentialsPayload.java
index fa9b9d01..a7f042d4 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateCredentialsPayload.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateCredentialsPayload.java
@@ -33,7 +33,7 @@
/** CreateCredentialsPayload */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class CreateCredentialsPayload {
public static final String SERIALIZED_NAME_DISPLAY_NAME = "displayName";
@@ -221,6 +221,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in CreateCredentialsPayload is not found in the empty JSON string",
CreateCredentialsPayload.openapiRequiredFields.toString()));
}
@@ -230,6 +231,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("displayName").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `displayName` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("displayName").toString()));
}
@@ -237,6 +239,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("password").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `password` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("password").toString()));
}
@@ -244,6 +247,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("username").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `username` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("username").toString()));
}
@@ -317,6 +321,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateCredentialsResponse.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateCredentialsResponse.java
index 423db79b..6469ffcb 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateCredentialsResponse.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateCredentialsResponse.java
@@ -33,7 +33,7 @@
/** CreateCredentialsResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class CreateCredentialsResponse {
public static final String SERIALIZED_NAME_CREDENTIAL = "credential";
@@ -170,6 +170,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in CreateCredentialsResponse is not found in the empty JSON string",
CreateCredentialsResponse.openapiRequiredFields.toString()));
}
@@ -249,6 +250,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateLoadBalancerPayload.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateLoadBalancerPayload.java
index 5c1fc00f..bf807fdc 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateLoadBalancerPayload.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateLoadBalancerPayload.java
@@ -36,7 +36,7 @@
/** CreateLoadBalancerPayload */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class CreateLoadBalancerPayload {
public static final String SERIALIZED_NAME_DISABLE_TARGET_SECURITY_GROUP_ASSIGNMENT =
"disableTargetSecurityGroupAssignment";
@@ -672,6 +672,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in CreateLoadBalancerPayload is not found in the empty JSON string",
CreateLoadBalancerPayload.openapiRequiredFields.toString()));
}
@@ -684,6 +685,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("errors").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `errors` to be an array in the JSON string but got `%s`",
jsonObj.get("errors").toString()));
}
@@ -699,6 +701,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("externalAddress").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `externalAddress` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("externalAddress").toString()));
}
@@ -709,6 +712,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("listeners").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `listeners` to be an array in the JSON string but got `%s`",
jsonObj.get("listeners").toString()));
}
@@ -729,6 +733,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("name").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `name` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("name").toString()));
}
@@ -739,6 +744,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("networks").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `networks` to be an array in the JSON string but got `%s`",
jsonObj.get("networks").toString()));
}
@@ -758,6 +764,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("planId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `planId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("planId").toString()));
}
@@ -765,6 +772,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("privateAddress").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `privateAddress` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("privateAddress").toString()));
}
@@ -772,6 +780,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("region").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `region` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("region").toString()));
}
@@ -779,6 +788,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("status").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `status` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("status").toString()));
}
@@ -793,6 +803,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("targetPools").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `targetPools` to be an array in the JSON string but got `%s`",
jsonObj.get("targetPools").toString()));
}
@@ -813,6 +824,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("version").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `version` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("version").toString()));
}
@@ -886,6 +898,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CredentialsResponse.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CredentialsResponse.java
index 0d5c8eb1..7d4a0968 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CredentialsResponse.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CredentialsResponse.java
@@ -33,7 +33,7 @@
/** CredentialsResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class CredentialsResponse {
public static final String SERIALIZED_NAME_CREDENTIALS_REF = "credentialsRef";
@@ -246,6 +246,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in CredentialsResponse is not found in the empty JSON string",
CredentialsResponse.openapiRequiredFields.toString()));
}
@@ -255,6 +256,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("credentialsRef").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `credentialsRef` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("credentialsRef").toString()));
}
@@ -262,6 +264,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("displayName").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `displayName` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("displayName").toString()));
}
@@ -269,6 +272,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("region").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `region` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("region").toString()));
}
@@ -276,6 +280,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("username").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `username` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("username").toString()));
}
@@ -348,6 +353,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetCredentialsResponse.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetCredentialsResponse.java
index 01f19dce..d631c238 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetCredentialsResponse.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetCredentialsResponse.java
@@ -33,7 +33,7 @@
/** GetCredentialsResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class GetCredentialsResponse {
public static final String SERIALIZED_NAME_CREDENTIAL = "credential";
@@ -170,6 +170,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in GetCredentialsResponse is not found in the empty JSON string",
GetCredentialsResponse.openapiRequiredFields.toString()));
}
@@ -248,6 +249,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetQuotaResponse.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetQuotaResponse.java
index bcb10597..77d45bca 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetQuotaResponse.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetQuotaResponse.java
@@ -34,7 +34,7 @@
/** GetQuotaResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class GetQuotaResponse {
public static final String SERIALIZED_NAME_MAX_CREDENTIALS = "maxCredentials";
@@ -303,6 +303,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in GetQuotaResponse is not found in the empty JSON string",
GetQuotaResponse.openapiRequiredFields.toString()));
}
@@ -312,6 +313,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("projectId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `projectId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("projectId").toString()));
}
@@ -319,6 +321,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("region").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `region` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("region").toString()));
}
@@ -391,6 +394,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GoogleProtobufAny.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GoogleProtobufAny.java
index 0941a34c..d772201c 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GoogleProtobufAny.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GoogleProtobufAny.java
@@ -36,7 +36,7 @@
*/
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class GoogleProtobufAny {
public static final String SERIALIZED_NAME_AT_TYPE = "@type";
@@ -172,6 +172,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in GoogleProtobufAny is not found in the empty JSON string",
GoogleProtobufAny.openapiRequiredFields.toString()));
}
@@ -181,6 +182,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("@type").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `@type` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("@type").toString()));
}
@@ -253,6 +255,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HostConfig.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HostConfig.java
index 58841eb1..4ba773b5 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HostConfig.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HostConfig.java
@@ -35,7 +35,7 @@
/** HostConfig */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class HostConfig {
public static final String SERIALIZED_NAME_HOST = "host";
@@ -203,6 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in HostConfig is not found in the empty JSON string",
HostConfig.openapiRequiredFields.toString()));
}
@@ -212,6 +213,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("host").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `host` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("host").toString()));
}
@@ -222,6 +224,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("rules").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `rules` to be an array in the JSON string but got `%s`",
jsonObj.get("rules").toString()));
}
@@ -301,6 +304,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HttpHeader.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HttpHeader.java
index e97bc24a..ac3dfed4 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HttpHeader.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HttpHeader.java
@@ -33,7 +33,7 @@
/** HttpHeader */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class HttpHeader {
public static final String SERIALIZED_NAME_EXACT_MATCH = "exactMatch";
@@ -193,6 +193,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in HttpHeader is not found in the empty JSON string",
HttpHeader.openapiRequiredFields.toString()));
}
@@ -202,6 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("exactMatch").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `exactMatch` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("exactMatch").toString()));
}
@@ -209,6 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("name").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `name` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("name").toString()));
}
@@ -280,6 +283,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HttpHealthChecks.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HttpHealthChecks.java
index 3badec02..94628fb7 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HttpHealthChecks.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HttpHealthChecks.java
@@ -34,7 +34,7 @@
/** Options for the HTTP health checking. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class HttpHealthChecks {
public static final String SERIALIZED_NAME_OK_STATUSES = "okStatuses";
@@ -202,6 +202,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in HttpHealthChecks is not found in the empty JSON string",
HttpHealthChecks.openapiRequiredFields.toString()));
}
@@ -213,6 +214,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("okStatuses").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `okStatuses` to be an array in the JSON string but got `%s`",
jsonObj.get("okStatuses").toString()));
}
@@ -220,6 +222,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("path").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `path` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("path").toString()));
}
@@ -292,6 +295,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListCredentialsResponse.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListCredentialsResponse.java
index 9415a27b..86dda827 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListCredentialsResponse.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListCredentialsResponse.java
@@ -35,7 +35,7 @@
/** ListCredentialsResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class ListCredentialsResponse {
public static final String SERIALIZED_NAME_CREDENTIALS = "credentials";
@@ -180,6 +180,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in ListCredentialsResponse is not found in the empty JSON string",
ListCredentialsResponse.openapiRequiredFields.toString()));
}
@@ -192,6 +193,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("credentials").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `credentials` to be an array in the JSON string but got `%s`",
jsonObj.get("credentials").toString()));
}
@@ -273,6 +275,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListLoadBalancersResponse.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListLoadBalancersResponse.java
index df79f081..c3027514 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListLoadBalancersResponse.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListLoadBalancersResponse.java
@@ -35,7 +35,7 @@
/** ListLoadBalancersResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class ListLoadBalancersResponse {
public static final String SERIALIZED_NAME_LOAD_BALANCERS = "loadBalancers";
@@ -205,6 +205,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in ListLoadBalancersResponse is not found in the empty JSON string",
ListLoadBalancersResponse.openapiRequiredFields.toString()));
}
@@ -217,6 +218,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("loadBalancers").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `loadBalancers` to be an array in the JSON string but got `%s`",
jsonObj.get("loadBalancers").toString()));
}
@@ -232,6 +234,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("nextPageId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `nextPageId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("nextPageId").toString()));
}
@@ -305,6 +308,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListPlansResponse.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListPlansResponse.java
index 0c475869..57d3a26f 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListPlansResponse.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListPlansResponse.java
@@ -35,7 +35,7 @@
/** ListPlansResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class ListPlansResponse {
public static final String SERIALIZED_NAME_VALID_PLANS = "validPlans";
@@ -179,6 +179,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in ListPlansResponse is not found in the empty JSON string",
ListPlansResponse.openapiRequiredFields.toString()));
}
@@ -191,6 +192,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("validPlans").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `validPlans` to be an array in the JSON string but got `%s`",
jsonObj.get("validPlans").toString()));
}
@@ -271,6 +273,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Listener.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Listener.java
index 30bd5c82..1254f038 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Listener.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Listener.java
@@ -34,7 +34,7 @@
/** Listener */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class Listener {
public static final String SERIALIZED_NAME_HTTP = "http";
@@ -357,6 +357,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in Listener is not found in the empty JSON string",
Listener.openapiRequiredFields.toString()));
}
@@ -374,6 +375,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("name").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `name` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("name").toString()));
}
@@ -381,6 +383,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("protocol").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `protocol` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("protocol").toString()));
}
@@ -392,6 +395,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("wafConfigName").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `wafConfigName` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("wafConfigName").toString()));
}
@@ -463,6 +467,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancer.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancer.java
index 98d926f2..25af78db 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancer.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancer.java
@@ -36,7 +36,7 @@
/** LoadBalancer */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class LoadBalancer {
public static final String SERIALIZED_NAME_DISABLE_TARGET_SECURITY_GROUP_ASSIGNMENT =
"disableTargetSecurityGroupAssignment";
@@ -665,6 +665,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in LoadBalancer is not found in the empty JSON string",
LoadBalancer.openapiRequiredFields.toString()));
}
@@ -677,6 +678,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("errors").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `errors` to be an array in the JSON string but got `%s`",
jsonObj.get("errors").toString()));
}
@@ -692,6 +694,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("externalAddress").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `externalAddress` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("externalAddress").toString()));
}
@@ -702,6 +705,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("listeners").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `listeners` to be an array in the JSON string but got `%s`",
jsonObj.get("listeners").toString()));
}
@@ -722,6 +726,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("name").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `name` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("name").toString()));
}
@@ -732,6 +737,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("networks").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `networks` to be an array in the JSON string but got `%s`",
jsonObj.get("networks").toString()));
}
@@ -751,6 +757,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("planId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `planId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("planId").toString()));
}
@@ -758,6 +765,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("privateAddress").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `privateAddress` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("privateAddress").toString()));
}
@@ -765,6 +773,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("region").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `region` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("region").toString()));
}
@@ -772,6 +781,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("status").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `status` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("status").toString()));
}
@@ -786,6 +796,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("targetPools").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `targetPools` to be an array in the JSON string but got `%s`",
jsonObj.get("targetPools").toString()));
}
@@ -806,6 +817,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("version").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `version` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("version").toString()));
}
@@ -877,6 +889,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerError.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerError.java
index 34052b19..821f9ee1 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerError.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerError.java
@@ -34,7 +34,7 @@
/** LoadBalancerError */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class LoadBalancerError {
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@@ -273,6 +273,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in LoadBalancerError is not found in the empty JSON string",
LoadBalancerError.openapiRequiredFields.toString()));
}
@@ -282,6 +283,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("description").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `description` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("description").toString()));
}
@@ -289,6 +291,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("type").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `type` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("type").toString()));
}
@@ -365,6 +368,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerOptions.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerOptions.java
index 2166c1a9..4410ee00 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerOptions.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerOptions.java
@@ -35,7 +35,7 @@
*/
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class LoadBalancerOptions {
public static final String SERIALIZED_NAME_ACCESS_CONTROL = "accessControl";
@@ -268,6 +268,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in LoadBalancerOptions is not found in the empty JSON string",
LoadBalancerOptions.openapiRequiredFields.toString()));
}
@@ -350,6 +351,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionAccessControl.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionAccessControl.java
index 50ee2095..f4aacf0b 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionAccessControl.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionAccessControl.java
@@ -34,7 +34,7 @@
/** Use this option to limit the IP ranges that can use the Application Load Balancer. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class LoadbalancerOptionAccessControl {
public static final String SERIALIZED_NAME_ALLOWED_SOURCE_RANGES = "allowedSourceRanges";
@@ -188,6 +188,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in LoadbalancerOptionAccessControl is not found in the empty JSON string",
LoadbalancerOptionAccessControl.openapiRequiredFields.toString()));
}
@@ -199,6 +200,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("allowedSourceRanges").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `allowedSourceRanges` to be an array in the JSON string but got `%s`",
jsonObj.get("allowedSourceRanges").toString()));
}
@@ -275,6 +277,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionLogs.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionLogs.java
index d98d08bf..b9bf6484 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionLogs.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionLogs.java
@@ -33,7 +33,7 @@
/** Observability logs configuration. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class LoadbalancerOptionLogs {
public static final String SERIALIZED_NAME_CREDENTIALS_REF = "credentialsRef";
@@ -197,6 +197,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in LoadbalancerOptionLogs is not found in the empty JSON string",
LoadbalancerOptionLogs.openapiRequiredFields.toString()));
}
@@ -206,6 +207,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("credentialsRef").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `credentialsRef` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("credentialsRef").toString()));
}
@@ -213,6 +215,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("pushUrl").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `pushUrl` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("pushUrl").toString()));
}
@@ -285,6 +288,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionMetrics.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionMetrics.java
index c61ce622..5f195647 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionMetrics.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionMetrics.java
@@ -33,7 +33,7 @@
/** Observability metrics configuration. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class LoadbalancerOptionMetrics {
public static final String SERIALIZED_NAME_CREDENTIALS_REF = "credentialsRef";
@@ -199,6 +199,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in LoadbalancerOptionMetrics is not found in the empty JSON string",
LoadbalancerOptionMetrics.openapiRequiredFields.toString()));
}
@@ -208,6 +209,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("credentialsRef").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `credentialsRef` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("credentialsRef").toString()));
}
@@ -215,6 +217,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("pushUrl").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `pushUrl` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("pushUrl").toString()));
}
@@ -288,6 +291,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionObservability.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionObservability.java
index 83948f1b..14d5f600 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionObservability.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionObservability.java
@@ -33,7 +33,7 @@
/** We offer Load Balancer observability via STACKIT Observability or external solutions. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class LoadbalancerOptionObservability {
public static final String SERIALIZED_NAME_LOGS = "logs";
@@ -199,6 +199,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in LoadbalancerOptionObservability is not found in the empty JSON string",
LoadbalancerOptionObservability.openapiRequiredFields.toString()));
}
@@ -285,6 +286,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Network.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Network.java
index 64b65ddb..027741ff 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Network.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Network.java
@@ -35,7 +35,7 @@
/** Network */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class Network {
public static final String SERIALIZED_NAME_NETWORK_ID = "networkId";
@@ -256,6 +256,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in Network is not found in the empty JSON string",
Network.openapiRequiredFields.toString()));
}
@@ -265,6 +266,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("networkId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `networkId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("networkId").toString()));
}
@@ -272,6 +274,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("role").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `role` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("role").toString()));
}
@@ -347,6 +350,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Path.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Path.java
index 0681df0f..76df676b 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Path.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Path.java
@@ -37,7 +37,7 @@
*/
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class Path {
public static final String SERIALIZED_NAME_EXACT_MATCH = "exactMatch";
@@ -199,6 +199,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in Path is not found in the empty JSON string",
Path.openapiRequiredFields.toString()));
}
@@ -208,6 +209,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("exactMatch").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `exactMatch` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("exactMatch").toString()));
}
@@ -215,6 +217,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("prefix").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `prefix` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("prefix").toString()));
}
@@ -286,6 +289,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/PlanDetails.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/PlanDetails.java
index 4ff812b5..44cda988 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/PlanDetails.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/PlanDetails.java
@@ -33,7 +33,7 @@
/** PlanDetails */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class PlanDetails {
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@@ -308,6 +308,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in PlanDetails is not found in the empty JSON string",
PlanDetails.openapiRequiredFields.toString()));
}
@@ -317,6 +318,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("description").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `description` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("description").toString()));
}
@@ -324,6 +326,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("flavorName").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `flavorName` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("flavorName").toString()));
}
@@ -331,6 +334,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("name").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `name` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("name").toString()));
}
@@ -338,6 +342,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("planId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `planId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("planId").toString()));
}
@@ -345,6 +350,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("region").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `region` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("region").toString()));
}
@@ -416,6 +422,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ProtocolOptionsHTTP.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ProtocolOptionsHTTP.java
index daec2080..64474904 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ProtocolOptionsHTTP.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ProtocolOptionsHTTP.java
@@ -35,7 +35,7 @@
/** Configuration for handling HTTP traffic on this listener. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class ProtocolOptionsHTTP {
public static final String SERIALIZED_NAME_HOSTS = "hosts";
@@ -179,6 +179,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in ProtocolOptionsHTTP is not found in the empty JSON string",
ProtocolOptionsHTTP.openapiRequiredFields.toString()));
}
@@ -191,6 +192,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("hosts").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `hosts` to be an array in the JSON string but got `%s`",
jsonObj.get("hosts").toString()));
}
@@ -271,6 +273,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ProtocolOptionsHTTPS.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ProtocolOptionsHTTPS.java
index 7ad01178..5496fdea 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ProtocolOptionsHTTPS.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ProtocolOptionsHTTPS.java
@@ -33,7 +33,7 @@
/** Configuration for handling HTTPS traffic on this listener. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class ProtocolOptionsHTTPS {
public static final String SERIALIZED_NAME_CERTIFICATE_CONFIG = "certificateConfig";
@@ -173,6 +173,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in ProtocolOptionsHTTPS is not found in the empty JSON string",
ProtocolOptionsHTTPS.openapiRequiredFields.toString()));
}
@@ -252,6 +253,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/QueryParameter.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/QueryParameter.java
index 0721d502..97352a2b 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/QueryParameter.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/QueryParameter.java
@@ -33,7 +33,7 @@
/** QueryParameter */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class QueryParameter {
public static final String SERIALIZED_NAME_EXACT_MATCH = "exactMatch";
@@ -193,6 +193,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in QueryParameter is not found in the empty JSON string",
QueryParameter.openapiRequiredFields.toString()));
}
@@ -202,6 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("exactMatch").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `exactMatch` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("exactMatch").toString()));
}
@@ -209,6 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("name").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `name` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("name").toString()));
}
@@ -280,6 +283,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Rule.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Rule.java
index ebe30a3b..28b3ace4 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Rule.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Rule.java
@@ -35,7 +35,7 @@
/** Rule */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class Rule {
public static final String SERIALIZED_NAME_COOKIE_PERSISTENCE = "cookiePersistence";
@@ -333,6 +333,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in Rule is not found in the empty JSON string",
Rule.openapiRequiredFields.toString()));
}
@@ -350,6 +351,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("headers").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `headers` to be an array in the JSON string but got `%s`",
jsonObj.get("headers").toString()));
}
@@ -373,6 +375,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("queryParameters").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `queryParameters` to be an array in the JSON string but got `%s`",
jsonObj.get("queryParameters").toString()));
}
@@ -388,6 +391,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("targetPool").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `targetPool` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("targetPool").toString()));
}
@@ -459,6 +463,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/SecurityGroup.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/SecurityGroup.java
index d04e6756..0ff22488 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/SecurityGroup.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/SecurityGroup.java
@@ -33,7 +33,7 @@
/** SecurityGroup */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class SecurityGroup {
public static final String SERIALIZED_NAME_ID = "id";
@@ -193,6 +193,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in SecurityGroup is not found in the empty JSON string",
SecurityGroup.openapiRequiredFields.toString()));
}
@@ -202,6 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("id").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `id` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("id").toString()));
}
@@ -209,6 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("name").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `name` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("name").toString()));
}
@@ -280,6 +283,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Status.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Status.java
index ecb51079..6734914d 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Status.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Status.java
@@ -40,7 +40,7 @@
*/
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class Status {
public static final String SERIALIZED_NAME_CODE = "code";
@@ -236,6 +236,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in Status is not found in the empty JSON string",
Status.openapiRequiredFields.toString()));
}
@@ -247,6 +248,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("details").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `details` to be an array in the JSON string but got `%s`",
jsonObj.get("details").toString()));
}
@@ -254,6 +256,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("message").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `message` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("message").toString()));
}
@@ -325,6 +328,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Target.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Target.java
index 0f4dc7c1..5b20f02e 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Target.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Target.java
@@ -33,7 +33,7 @@
/** Target */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class Target {
public static final String SERIALIZED_NAME_DISPLAY_NAME = "displayName";
@@ -193,6 +193,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in Target is not found in the empty JSON string",
Target.openapiRequiredFields.toString()));
}
@@ -202,6 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("displayName").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `displayName` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("displayName").toString()));
}
@@ -209,6 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("ip").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `ip` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("ip").toString()));
}
@@ -280,6 +283,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/TargetPool.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/TargetPool.java
index 43b81aeb..63ce30a3 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/TargetPool.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/TargetPool.java
@@ -35,7 +35,7 @@
/** TargetPool */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class TargetPool {
public static final String SERIALIZED_NAME_ACTIVE_HEALTH_CHECK = "activeHealthCheck";
@@ -287,6 +287,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in TargetPool is not found in the empty JSON string",
TargetPool.openapiRequiredFields.toString()));
}
@@ -301,6 +302,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("name").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `name` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("name").toString()));
}
@@ -311,6 +313,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("targets").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `targets` to be an array in the JSON string but got `%s`",
jsonObj.get("targets").toString()));
}
@@ -394,6 +397,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/TargetPoolTlsConfig.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/TargetPoolTlsConfig.java
index 89a59937..aeb52bde 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/TargetPoolTlsConfig.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/TargetPoolTlsConfig.java
@@ -33,7 +33,7 @@
/** TLSConfig used for the target pool. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class TargetPoolTlsConfig {
public static final String SERIALIZED_NAME_CUSTOM_CA = "customCa";
@@ -236,6 +236,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in TargetPoolTlsConfig is not found in the empty JSON string",
TargetPoolTlsConfig.openapiRequiredFields.toString()));
}
@@ -245,6 +246,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("customCa").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `customCa` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("customCa").toString()));
}
@@ -317,6 +319,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateCredentialsPayload.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateCredentialsPayload.java
index a5ae1e26..f2a918f6 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateCredentialsPayload.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateCredentialsPayload.java
@@ -33,7 +33,7 @@
/** UpdateCredentialsPayload */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class UpdateCredentialsPayload {
public static final String SERIALIZED_NAME_DISPLAY_NAME = "displayName";
@@ -221,6 +221,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in UpdateCredentialsPayload is not found in the empty JSON string",
UpdateCredentialsPayload.openapiRequiredFields.toString()));
}
@@ -230,6 +231,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("displayName").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `displayName` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("displayName").toString()));
}
@@ -237,6 +239,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("password").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `password` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("password").toString()));
}
@@ -244,6 +247,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("username").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `username` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("username").toString()));
}
@@ -317,6 +321,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateCredentialsResponse.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateCredentialsResponse.java
index b64ee0c0..8a4a5fab 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateCredentialsResponse.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateCredentialsResponse.java
@@ -33,7 +33,7 @@
/** UpdateCredentialsResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class UpdateCredentialsResponse {
public static final String SERIALIZED_NAME_CREDENTIAL = "credential";
@@ -170,6 +170,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in UpdateCredentialsResponse is not found in the empty JSON string",
UpdateCredentialsResponse.openapiRequiredFields.toString()));
}
@@ -249,6 +250,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateLoadBalancerPayload.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateLoadBalancerPayload.java
index d1ecc45f..9e745e1e 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateLoadBalancerPayload.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateLoadBalancerPayload.java
@@ -36,7 +36,7 @@
/** UpdateLoadBalancerPayload */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class UpdateLoadBalancerPayload {
public static final String SERIALIZED_NAME_DISABLE_TARGET_SECURITY_GROUP_ASSIGNMENT =
"disableTargetSecurityGroupAssignment";
@@ -679,6 +679,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in UpdateLoadBalancerPayload is not found in the empty JSON string",
UpdateLoadBalancerPayload.openapiRequiredFields.toString()));
}
@@ -691,6 +692,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("errors").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `errors` to be an array in the JSON string but got `%s`",
jsonObj.get("errors").toString()));
}
@@ -706,6 +708,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("externalAddress").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `externalAddress` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("externalAddress").toString()));
}
@@ -716,6 +719,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("listeners").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `listeners` to be an array in the JSON string but got `%s`",
jsonObj.get("listeners").toString()));
}
@@ -736,6 +740,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("name").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `name` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("name").toString()));
}
@@ -746,6 +751,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("networks").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `networks` to be an array in the JSON string but got `%s`",
jsonObj.get("networks").toString()));
}
@@ -765,6 +771,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("planId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `planId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("planId").toString()));
}
@@ -772,6 +779,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("privateAddress").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `privateAddress` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("privateAddress").toString()));
}
@@ -779,6 +787,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("region").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `region` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("region").toString()));
}
@@ -786,6 +795,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("status").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `status` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("status").toString()));
}
@@ -800,6 +810,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("targetPools").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `targetPools` to be an array in the JSON string but got `%s`",
jsonObj.get("targetPools").toString()));
}
@@ -820,6 +831,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("version").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `version` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("version").toString()));
}
@@ -893,6 +905,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateTargetPoolPayload.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateTargetPoolPayload.java
index ed0ecc1d..800c40fc 100644
--- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateTargetPoolPayload.java
+++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateTargetPoolPayload.java
@@ -35,7 +35,7 @@
/** UpdateTargetPoolPayload */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class UpdateTargetPoolPayload {
public static final String SERIALIZED_NAME_ACTIVE_HEALTH_CHECK = "activeHealthCheck";
@@ -289,6 +289,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in UpdateTargetPoolPayload is not found in the empty JSON string",
UpdateTargetPoolPayload.openapiRequiredFields.toString()));
}
@@ -303,6 +304,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("name").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `name` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("name").toString()));
}
@@ -313,6 +315,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("targets").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `targets` to be an array in the JSON string but got `%s`",
jsonObj.get("targets").toString()));
}
@@ -398,6 +401,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));