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 59a396c..c2ebd1c 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 acafd2c..7a222f6 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 18dec1e..a86870c 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 d7b670d..6be34b9 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 c42b82f..f7dd26d 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 5db91e6..964631b 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 @@ -32,7 +32,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"; @@ -262,6 +262,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())); } @@ -273,8 +274,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!ActiveHealthCheck.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `ActiveHealthCheck` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -287,6 +290,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())); } @@ -294,6 +298,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())); } @@ -301,6 +306,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())); } 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 acbaa6b..cb4b605 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"; @@ -130,6 +130,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())); } @@ -141,8 +142,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!CertificateConfig.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `CertificateConfig` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -152,6 +155,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())); } 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 5c71ebe..f38b4ee 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 @@ -32,7 +32,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"; @@ -145,6 +145,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())); } @@ -156,8 +157,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!CookiePersistence.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `CookiePersistence` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -165,6 +168,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())); } @@ -172,6 +176,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())); } 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 43e88ad..6501fa0 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 @@ -32,7 +32,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"; @@ -171,6 +171,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())); } @@ -182,8 +183,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!CreateCredentialsPayload.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `CreateCredentialsPayload` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -191,6 +194,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())); } @@ -198,6 +202,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())); } @@ -205,6 +210,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())); } 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 67d2f49..9d01e25 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 @@ -32,7 +32,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"; @@ -120,6 +120,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())); } @@ -131,8 +132,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!CreateCredentialsResponse.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `CreateCredentialsResponse` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); 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 875bb13..d972939 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 @@ -37,7 +37,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"; @@ -623,6 +623,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())); } @@ -634,8 +635,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!CreateLoadBalancerPayload.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `CreateLoadBalancerPayload` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -646,6 +649,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())); } @@ -661,6 +665,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())); } @@ -671,6 +676,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())); } @@ -691,6 +697,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())); } @@ -701,6 +708,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())); } @@ -720,6 +728,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())); } @@ -727,6 +736,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())); } @@ -734,6 +744,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())); } @@ -741,6 +752,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())); } @@ -755,6 +767,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())); } @@ -775,6 +788,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())); } 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 600b869..133342b 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 @@ -32,7 +32,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"; @@ -196,6 +196,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())); } @@ -207,8 +208,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!CredentialsResponse.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `CredentialsResponse` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -216,6 +219,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())); } @@ -223,6 +227,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())); } @@ -230,6 +235,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())); } @@ -237,6 +243,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())); } 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 6f17b91..32c5917 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 @@ -32,7 +32,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"; @@ -120,6 +120,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())); } @@ -131,8 +132,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetCredentialsResponse.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetCredentialsResponse` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); 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 4045a45..792ce8e 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 @@ -33,7 +33,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"; @@ -55,6 +55,16 @@ public class GetQuotaResponse { @SerializedName(SERIALIZED_NAME_REGION) @javax.annotation.Nullable private String region; + public static final String SERIALIZED_NAME_USED_CREDENTIALS = "usedCredentials"; + + @SerializedName(SERIALIZED_NAME_USED_CREDENTIALS) + @javax.annotation.Nullable private Integer usedCredentials; + + public static final String SERIALIZED_NAME_USED_LOAD_BALANCERS = "usedLoadBalancers"; + + @SerializedName(SERIALIZED_NAME_USED_LOAD_BALANCERS) + @javax.annotation.Nullable private Integer usedLoadBalancers; + public GetQuotaResponse() {} public GetQuotaResponse(UUID projectId, String region) { @@ -118,6 +128,45 @@ public void setMaxLoadBalancers(@javax.annotation.Nullable Integer maxLoadBalanc return region; } + public GetQuotaResponse usedCredentials(@javax.annotation.Nullable Integer usedCredentials) { + this.usedCredentials = usedCredentials; + return this; + } + + /** + * The number of observability credentials that are currently existing in this project. minimum: + * -1 maximum: 1000000 + * + * @return usedCredentials + */ + @javax.annotation.Nullable public Integer getUsedCredentials() { + return usedCredentials; + } + + public void setUsedCredentials(@javax.annotation.Nullable Integer usedCredentials) { + this.usedCredentials = usedCredentials; + } + + public GetQuotaResponse usedLoadBalancers( + @javax.annotation.Nullable Integer usedLoadBalancers) { + this.usedLoadBalancers = usedLoadBalancers; + return this; + } + + /** + * The number of load balancing servers that are currently existing in this project. minimum: -1 + * maximum: 1000000 + * + * @return usedLoadBalancers + */ + @javax.annotation.Nullable public Integer getUsedLoadBalancers() { + return usedLoadBalancers; + } + + public void setUsedLoadBalancers(@javax.annotation.Nullable Integer usedLoadBalancers) { + this.usedLoadBalancers = usedLoadBalancers; + } + @Override public boolean equals(Object o) { if (this == o) { @@ -130,12 +179,20 @@ public boolean equals(Object o) { return Objects.equals(this.maxCredentials, getQuotaResponse.maxCredentials) && Objects.equals(this.maxLoadBalancers, getQuotaResponse.maxLoadBalancers) && Objects.equals(this.projectId, getQuotaResponse.projectId) - && Objects.equals(this.region, getQuotaResponse.region); + && Objects.equals(this.region, getQuotaResponse.region) + && Objects.equals(this.usedCredentials, getQuotaResponse.usedCredentials) + && Objects.equals(this.usedLoadBalancers, getQuotaResponse.usedLoadBalancers); } @Override public int hashCode() { - return Objects.hash(maxCredentials, maxLoadBalancers, projectId, region); + return Objects.hash( + maxCredentials, + maxLoadBalancers, + projectId, + region, + usedCredentials, + usedLoadBalancers); } @Override @@ -146,6 +203,10 @@ public String toString() { sb.append(" maxLoadBalancers: ").append(toIndentedString(maxLoadBalancers)).append("\n"); sb.append(" projectId: ").append(toIndentedString(projectId)).append("\n"); sb.append(" region: ").append(toIndentedString(region)).append("\n"); + sb.append(" usedCredentials: ").append(toIndentedString(usedCredentials)).append("\n"); + sb.append(" usedLoadBalancers: ") + .append(toIndentedString(usedLoadBalancers)) + .append("\n"); sb.append("}"); return sb.toString(); } @@ -168,7 +229,13 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet( - Arrays.asList("maxCredentials", "maxLoadBalancers", "projectId", "region")); + Arrays.asList( + "maxCredentials", + "maxLoadBalancers", + "projectId", + "region", + "usedCredentials", + "usedLoadBalancers")); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(0); @@ -186,6 +253,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())); } @@ -197,8 +265,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetQuotaResponse.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetQuotaResponse` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -206,6 +276,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())); } @@ -213,6 +284,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())); } 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 0941a34..d772201 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 4a52cd2..14551fa 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"; @@ -155,6 +155,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())); } @@ -166,8 +167,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!HostConfig.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `HostConfig` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -175,6 +178,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())); } @@ -185,6 +189,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())); } 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 fbeaf89..0ff0c89 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 @@ -32,7 +32,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"; @@ -144,6 +144,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())); } @@ -155,8 +156,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!HttpHeader.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `HttpHeader` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -164,6 +167,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())); } @@ -171,6 +175,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())); } 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 8bc34a1..5caa6fe 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"; @@ -154,6 +154,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())); } @@ -165,8 +166,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!HttpHealthChecks.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `HttpHealthChecks` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -176,6 +179,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())); } @@ -183,6 +187,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())); } 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 add1e16..e8a9939 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"; @@ -131,6 +131,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())); } @@ -142,8 +143,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!ListCredentialsResponse.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `ListCredentialsResponse` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -154,6 +157,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())); } 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 2572e97..4395f99 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"; @@ -156,6 +156,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())); } @@ -167,8 +168,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!ListLoadBalancersResponse.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `ListLoadBalancersResponse` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -179,6 +182,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())); } @@ -194,6 +198,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())); } 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 2afb14d..9ea116a 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"; @@ -130,6 +130,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())); } @@ -141,8 +142,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!ListPlansResponse.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `ListPlansResponse` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -153,6 +156,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())); } 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 448b863..34f1fab 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 @@ -33,7 +33,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"; @@ -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 Listener is not found in the empty JSON string", Listener.openapiRequiredFields.toString())); } @@ -319,8 +320,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!Listener.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Listener` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -336,6 +339,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())); } @@ -343,6 +347,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())); } @@ -354,6 +359,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())); } 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 25ffd5c..10f7cc0 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 @@ -37,7 +37,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"; @@ -617,6 +617,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())); } @@ -628,8 +629,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!LoadBalancer.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `LoadBalancer` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -640,6 +643,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())); } @@ -655,6 +659,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())); } @@ -665,6 +670,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())); } @@ -685,6 +691,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())); } @@ -695,6 +702,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())); } @@ -714,6 +722,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())); } @@ -721,6 +730,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())); } @@ -728,6 +738,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())); } @@ -735,6 +746,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())); } @@ -749,6 +761,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())); } @@ -769,6 +782,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())); } 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 9e42e03..a2a5000 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 @@ -33,7 +33,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"; @@ -223,6 +223,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())); } @@ -234,8 +235,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!LoadBalancerError.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `LoadBalancerError` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -243,6 +246,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())); } @@ -250,6 +254,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())); } 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 1e7096d..8939fb4 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 @@ -34,7 +34,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"; @@ -85,7 +85,9 @@ public LoadBalancerOptions ephemeralAddress( } /** - * Get ephemeralAddress + * This option automates the handling of the external IP address for an Application Load + * Balancer. If set to true a new IP address will be automatically created. It will also be + * automatically deleted when the Load Balancer is deleted. * * @return ephemeralAddress */ @@ -211,6 +213,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())); } @@ -222,8 +225,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!LoadBalancerOptions.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `LoadBalancerOptions` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); 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 4312a8f..335f1aa 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"; @@ -137,6 +137,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())); } @@ -148,8 +149,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!LoadbalancerOptionAccessControl.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `LoadbalancerOptionAccessControl` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -159,6 +162,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())); } 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 e601e69..91ed43f 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 @@ -32,7 +32,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"; @@ -147,6 +147,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())); } @@ -158,8 +159,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!LoadbalancerOptionLogs.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `LoadbalancerOptionLogs` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -167,6 +170,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())); } @@ -174,6 +178,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())); } 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 c49dd84..dd975f2 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 @@ -32,7 +32,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"; @@ -149,6 +149,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())); } @@ -160,8 +161,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!LoadbalancerOptionMetrics.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `LoadbalancerOptionMetrics` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -169,6 +172,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())); } @@ -176,6 +180,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())); } 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 537266a..57bfc46 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 @@ -32,7 +32,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"; @@ -148,6 +148,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())); } @@ -159,8 +160,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!LoadbalancerOptionObservability.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `LoadbalancerOptionObservability` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); 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 9e93d47..1c08c04 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 @@ -34,7 +34,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"; @@ -207,6 +207,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())); } @@ -218,8 +219,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!Network.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Network` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -227,6 +230,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())); } @@ -234,6 +238,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())); } 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 af89e4a..1bd20f7 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 @@ -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 Path { public static final String SERIALIZED_NAME_EXACT_MATCH = "exactMatch"; @@ -150,6 +150,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())); } @@ -161,8 +162,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!Path.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Path` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -170,6 +173,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())); } @@ -177,6 +181,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())); } 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 b9a8ded..b42986b 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 @@ -32,7 +32,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"; @@ -252,6 +252,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())); } @@ -263,8 +264,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!PlanDetails.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `PlanDetails` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -272,6 +275,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())); } @@ -279,6 +283,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())); } @@ -286,6 +291,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())); } @@ -293,6 +299,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())); } @@ -300,6 +307,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())); } 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 90ea9b1..5280f92 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"; @@ -130,6 +130,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())); } @@ -141,8 +142,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!ProtocolOptionsHTTP.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `ProtocolOptionsHTTP` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -153,6 +156,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())); } 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 f79b148..21500e6 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 @@ -32,7 +32,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"; @@ -123,6 +123,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())); } @@ -134,8 +135,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!ProtocolOptionsHTTPS.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `ProtocolOptionsHTTPS` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); 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 a8fa767..edd4706 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 @@ -32,7 +32,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"; @@ -144,6 +144,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())); } @@ -155,8 +156,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!QueryParameter.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `QueryParameter` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -164,6 +167,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())); } @@ -171,6 +175,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())); } 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 bfcbbd0..45ac601 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"; @@ -279,6 +279,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())); } @@ -290,8 +291,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!Rule.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Rule` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -307,6 +310,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())); } @@ -330,6 +334,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())); } @@ -345,6 +350,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())); } 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 0174567..cca73ba 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 @@ -32,7 +32,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"; @@ -144,6 +144,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())); } @@ -155,8 +156,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!SecurityGroup.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SecurityGroup` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -164,6 +167,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())); } @@ -171,6 +175,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())); } 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 0b31916..c14fa09 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"; @@ -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 Status is not found in the empty JSON string", Status.openapiRequiredFields.toString())); } @@ -199,8 +200,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!Status.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Status` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -210,6 +213,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())); } @@ -217,6 +221,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())); } 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 647eef8..9df2209 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 @@ -32,7 +32,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"; @@ -144,6 +144,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())); } @@ -155,8 +156,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!Target.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Target` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -164,6 +167,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())); } @@ -171,6 +175,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())); } 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 8da4c2d..ff34dfd 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"; @@ -238,6 +238,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())); } @@ -249,8 +250,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!TargetPool.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `TargetPool` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -263,6 +266,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())); } @@ -273,6 +277,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())); } 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 acafbb0..76d3094 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 @@ -32,7 +32,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"; @@ -186,6 +186,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())); } @@ -197,8 +198,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!TargetPoolTlsConfig.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `TargetPoolTlsConfig` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -206,6 +209,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())); } 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 0f8a833..1436e91 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 @@ -32,7 +32,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"; @@ -171,6 +171,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())); } @@ -182,8 +183,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!UpdateCredentialsPayload.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateCredentialsPayload` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -191,6 +194,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())); } @@ -198,6 +202,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())); } @@ -205,6 +210,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())); } 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 5880541..42a2424 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 @@ -32,7 +32,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"; @@ -120,6 +120,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())); } @@ -131,8 +132,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!UpdateCredentialsResponse.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateCredentialsResponse` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); 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 6daf987..641ee89 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 @@ -37,7 +37,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"; @@ -630,6 +630,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())); } @@ -641,8 +642,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!UpdateLoadBalancerPayload.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateLoadBalancerPayload` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -653,6 +656,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())); } @@ -668,6 +672,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())); } @@ -678,6 +683,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())); } @@ -698,6 +704,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())); } @@ -708,6 +715,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())); } @@ -727,6 +735,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())); } @@ -734,6 +743,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())); } @@ -741,6 +751,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())); } @@ -748,6 +759,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())); } @@ -762,6 +774,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())); } @@ -782,6 +795,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())); } 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 479866a..3f5e468 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"; @@ -239,6 +239,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())); } @@ -250,8 +251,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!UpdateTargetPoolPayload.openapiFields.contains(entry.getKey())) { throw new IllegalArgumentException( String.format( + java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateTargetPoolPayload` properties. JSON: %s", - entry.getKey(), jsonElement.toString())); + entry.getKey(), + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -264,6 +267,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())); } @@ -274,6 +278,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())); }