diff --git a/services/loadbalancer/build.gradle b/services/loadbalancer/build.gradle
index 10cd648e..314067c8 100644
--- a/services/loadbalancer/build.gradle
+++ b/services/loadbalancer/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/loadbalancer/oas_commit b/services/loadbalancer/oas_commit
index 148a7d96..1c4304d8 100644
--- a/services/loadbalancer/oas_commit
+++ b/services/loadbalancer/oas_commit
@@ -1 +1 @@
-ed4e4fbee2f5db4d95725108fb3d736e5363fb2f
+4ba9d6ffcf1ec61aff0807a261f8c0ca25d266f8
diff --git a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/ApiClient.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/ApiClient.java
index df89337d..10b7c4a2 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/ApiClient.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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://load-balancer.api.stackit.cloud
- * @return An instance of OkHttpClient
+ * @param basePath Base path of the URL (e.g https://load-balancer.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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/Pair.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/Pair.java
index f9aad860..24d994b3 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/Pair.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/ServerConfiguration.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/ServerConfiguration.java
index 6a36546b..a9ffb9f9 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/ServerConfiguration.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/ServerVariable.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/ServerVariable.java
index 319b312d..2281a675 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/ServerVariable.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/StringUtil.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/StringUtil.java
index e5b72c69..b46650be 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/StringUtil.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/AbstractOpenApiSchema.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/AbstractOpenApiSchema.java
index 7e01783c..fca4138c 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/AbstractOpenApiSchema.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/ActiveHealthCheck.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/ActiveHealthCheck.java
index bae17e65..6e41e96f 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/ActiveHealthCheck.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/ActiveHealthCheck.java
@@ -33,7 +33,7 @@
/** ActiveHealthCheck */
@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";
@@ -285,6 +285,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()));
}
@@ -294,6 +295,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()));
}
@@ -301,6 +303,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()));
}
@@ -308,6 +311,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()));
}
@@ -380,6 +384,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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/CreateCredentialsPayload.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/CreateCredentialsPayload.java
index 39109c94..581f275a 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/CreateCredentialsPayload.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/CreateCredentialsResponse.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/CreateCredentialsResponse.java
index 3ab51d2d..23991426 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/CreateCredentialsResponse.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/CreateLoadBalancerPayload.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/CreateLoadBalancerPayload.java
index 270f2632..726c4ad4 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/CreateLoadBalancerPayload.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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";
@@ -687,6 +687,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()));
}
@@ -699,6 +700,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()));
}
@@ -714,6 +716,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()));
}
@@ -724,6 +727,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()));
}
@@ -744,6 +748,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()));
}
@@ -754,6 +759,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()));
}
@@ -773,6 +779,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()));
}
@@ -780,6 +787,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()));
}
@@ -787,6 +795,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()));
}
@@ -794,6 +803,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()));
}
@@ -808,6 +818,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()));
}
@@ -828,6 +839,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()));
}
@@ -901,6 +913,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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/CredentialsResponse.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/CredentialsResponse.java
index e56d2468..54da56ca 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/CredentialsResponse.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/GetCredentialsResponse.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/GetCredentialsResponse.java
index 531fa9c2..9174fe6b 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/GetCredentialsResponse.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/GetQuotaResponse.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/GetQuotaResponse.java
index b4ab410a..b81e5cb6 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/GetQuotaResponse.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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";
@@ -304,6 +304,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()));
}
@@ -313,6 +314,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()));
}
@@ -320,6 +322,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()));
}
@@ -392,6 +395,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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/GoogleProtobufAny.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/GoogleProtobufAny.java
index ff921340..2c6844f9 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/GoogleProtobufAny.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/ListCredentialsResponse.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/ListCredentialsResponse.java
index 496c9008..c477d02c 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/ListCredentialsResponse.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/ListLoadBalancersResponse.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/ListLoadBalancersResponse.java
index 6167a6f2..2f690443 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/ListLoadBalancersResponse.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/ListPlansResponse.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/ListPlansResponse.java
index 97ba4b49..d1139e2c 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/ListPlansResponse.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/Listener.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/Listener.java
index 22686365..52756124 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/Listener.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/Listener.java
@@ -36,7 +36,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_DISPLAY_NAME = "displayName";
@@ -438,6 +438,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()));
}
@@ -447,6 +448,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()));
}
@@ -454,6 +456,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()));
}
@@ -461,6 +464,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()));
}
@@ -477,6 +481,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("serverNameIndicators").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `serverNameIndicators` to be an array in the JSON string but got `%s`",
jsonObj.get("serverNameIndicators").toString()));
}
@@ -492,6 +497,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()));
}
@@ -571,6 +577,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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadBalancer.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadBalancer.java
index 3a1d8382..7c92d0ae 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadBalancer.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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";
@@ -680,6 +680,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()));
}
@@ -692,6 +693,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()));
}
@@ -707,6 +709,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()));
}
@@ -717,6 +720,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()));
}
@@ -737,6 +741,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()));
}
@@ -747,6 +752,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()));
}
@@ -766,6 +772,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()));
}
@@ -773,6 +780,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()));
}
@@ -780,6 +788,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()));
}
@@ -787,6 +796,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()));
}
@@ -801,6 +811,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()));
}
@@ -821,6 +832,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()));
}
@@ -892,6 +904,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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadBalancerError.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadBalancerError.java
index cb0e2a26..bb33b1d2 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadBalancerError.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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";
@@ -275,6 +275,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()));
}
@@ -284,6 +285,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()));
}
@@ -291,6 +293,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()));
}
@@ -367,6 +370,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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadBalancerOptions.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadBalancerOptions.java
index c0bb8d1d..85f377ae 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadBalancerOptions.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadBalancerOptions.java
@@ -33,7 +33,7 @@
/** Defines any optional functionality you want to have enabled on your 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 LoadBalancerOptions {
public static final String SERIALIZED_NAME_ACCESS_CONTROL = "accessControl";
@@ -264,6 +264,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()));
}
@@ -346,6 +347,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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadbalancerOptionAccessControl.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadbalancerOptionAccessControl.java
index 6a60c91b..5e2917d0 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadbalancerOptionAccessControl.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadbalancerOptionAccessControl.java
@@ -34,7 +34,7 @@
/** Use this option to limit the IP ranges that can use the 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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadbalancerOptionLogs.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadbalancerOptionLogs.java
index 1d04ffb8..3578043d 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadbalancerOptionLogs.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadbalancerOptionLogs.java
@@ -33,7 +33,7 @@
/** LoadbalancerOptionLogs */
@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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadbalancerOptionMetrics.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadbalancerOptionMetrics.java
index 8ce0efc7..13df3e2a 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadbalancerOptionMetrics.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadbalancerOptionMetrics.java
@@ -33,7 +33,7 @@
/** LoadbalancerOptionMetrics */
@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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadbalancerOptionObservability.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadbalancerOptionObservability.java
index e7f6b82d..56b4b3cb 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/LoadbalancerOptionObservability.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/Network.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/Network.java
index a45c0a9d..f5bed280 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/Network.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/OptionsTCP.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/OptionsTCP.java
index 2cfb9b0f..2445528c 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/OptionsTCP.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/OptionsTCP.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 OptionsTCP {
public static final String SERIALIZED_NAME_IDLE_TIMEOUT = "idleTimeout";
@@ -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 OptionsTCP is not found in the empty JSON string",
OptionsTCP.openapiRequiredFields.toString()));
}
@@ -182,6 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("idleTimeout").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `idleTimeout` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("idleTimeout").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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/OptionsUDP.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/OptionsUDP.java
index 21483522..dd369ce7 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/OptionsUDP.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/OptionsUDP.java
@@ -33,7 +33,7 @@
/** ProtocolOptionsUDP options to be configured for the PROTOCOL_UDP protocol. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class OptionsUDP {
public static final String SERIALIZED_NAME_IDLE_TIMEOUT = "idleTimeout";
@@ -169,6 +169,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 OptionsUDP is not found in the empty JSON string",
OptionsUDP.openapiRequiredFields.toString()));
}
@@ -178,6 +179,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("idleTimeout").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `idleTimeout` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("idleTimeout").toString()));
}
@@ -249,6 +251,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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/PlanDetails.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/PlanDetails.java
index d5eab834..c152dc3d 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/PlanDetails.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/SecurityGroup.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/SecurityGroup.java
index 0155023c..348c3ae8 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/SecurityGroup.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/ServerNameIndicator.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/ServerNameIndicator.java
index 78e26656..319443c3 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/ServerNameIndicator.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/ServerNameIndicator.java
@@ -33,7 +33,7 @@
/** ServerNameIndicator */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class ServerNameIndicator {
public static final String SERIALIZED_NAME_NAME = "name";
@@ -169,6 +169,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 ServerNameIndicator is not found in the empty JSON string",
ServerNameIndicator.openapiRequiredFields.toString()));
}
@@ -178,6 +179,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()));
}
@@ -250,6 +252,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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/SessionPersistence.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/SessionPersistence.java
index 6d75bfc2..642c8420 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/SessionPersistence.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/SessionPersistence.java
@@ -33,7 +33,7 @@
/** SessionPersistence */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class SessionPersistence {
public static final String SERIALIZED_NAME_USE_SOURCE_IP_ADDRESS = "useSourceIpAddress";
@@ -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 SessionPersistence is not found in the empty JSON string",
SessionPersistence.openapiRequiredFields.toString()));
}
@@ -247,6 +248,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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/Status.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/Status.java
index ae7acd08..a41687b7 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/Status.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/Target.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/Target.java
index 4b51fdc5..f5e42518 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/Target.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/TargetPool.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/TargetPool.java
index 4f4a08fa..aa6bf5f4 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/TargetPool.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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";
@@ -300,6 +300,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()));
}
@@ -314,6 +315,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()));
}
@@ -329,6 +331,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()));
}
@@ -408,6 +411,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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/UpdateCredentialsPayload.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/UpdateCredentialsPayload.java
index 6bf20c75..b6f6ac41 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/UpdateCredentialsPayload.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/UpdateCredentialsResponse.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/UpdateCredentialsResponse.java
index 43f15432..c18e2df5 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/UpdateCredentialsResponse.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/UpdateLoadBalancerPayload.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/UpdateLoadBalancerPayload.java
index 62d4b0ea..2a96f735 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/UpdateLoadBalancerPayload.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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";
@@ -687,6 +687,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()));
}
@@ -699,6 +700,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()));
}
@@ -714,6 +716,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()));
}
@@ -724,6 +727,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()));
}
@@ -744,6 +748,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()));
}
@@ -754,6 +759,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()));
}
@@ -773,6 +779,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()));
}
@@ -780,6 +787,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()));
}
@@ -787,6 +795,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()));
}
@@ -794,6 +803,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()));
}
@@ -808,6 +818,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()));
}
@@ -828,6 +839,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()));
}
@@ -901,6 +913,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/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/UpdateTargetPoolPayload.java b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/UpdateTargetPoolPayload.java
index 61934115..5c50b798 100644
--- a/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/UpdateTargetPoolPayload.java
+++ b/services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/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";
@@ -302,6 +302,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()));
}
@@ -316,6 +317,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()));
}
@@ -331,6 +333,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()));
}
@@ -412,6 +415,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()));