diff --git a/services/resourcemanager/build.gradle b/services/resourcemanager/build.gradle
index 10cd648e..314067c8 100644
--- a/services/resourcemanager/build.gradle
+++ b/services/resourcemanager/build.gradle
@@ -10,8 +10,8 @@ dependencies {
implementation 'com.google.code.gson:gson:2.9.1'
implementation 'io.gsonfire:gson-fire:1.9.0'
implementation 'jakarta.ws.rs:jakarta.ws.rs-api:2.1.6'
- implementation 'org.openapitools:jackson-databind-nullable:0.2.6'
- implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.17.0'
+ implementation 'org.openapitools:jackson-databind-nullable:0.2.8'
+ implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.18.0'
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.3'
testImplementation 'org.mockito:mockito-core:3.12.4'
diff --git a/services/resourcemanager/oas_commit b/services/resourcemanager/oas_commit
index 148a7d96..1c4304d8 100644
--- a/services/resourcemanager/oas_commit
+++ b/services/resourcemanager/oas_commit
@@ -1 +1 @@
-ed4e4fbee2f5db4d95725108fb3d736e5363fb2f
+4ba9d6ffcf1ec61aff0807a261f8c0ca25d266f8
diff --git a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/ApiClient.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/ApiClient.java
index 3b984d6c..e0b8a490 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/ApiClient.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/ApiClient.java
@@ -84,6 +84,7 @@ public class ApiClient {
protected InputStream sslCaCert;
protected boolean verifyingSsl;
protected KeyManager[] keyManagers;
+ protected String tlsServerName;
protected OkHttpClient httpClient;
protected JSON json;
@@ -189,8 +190,8 @@ public String getBasePath() {
/**
* Set base path
*
- * @param basePath Base path of the URL (e.g https://resource-manager.api.stackit.cloud
- * @return An instance of OkHttpClient
+ * @param basePath Base path of the URL (e.g https://resource-manager.api.stackit.cloud)
+ * @return An instance of ApiClient
*/
public ApiClient setBasePath(String basePath) {
this.basePath = basePath;
@@ -321,6 +322,28 @@ public ApiClient setKeyManagers(KeyManager[] managers) {
return this;
}
+ /**
+ * Get TLS server name for SNI (Server Name Indication).
+ *
+ * @return The TLS server name
+ */
+ public String getTlsServerName() {
+ return tlsServerName;
+ }
+
+ /**
+ * Set TLS server name for SNI (Server Name Indication). This is used to verify the server
+ * certificate against a specific hostname instead of the hostname in the URL.
+ *
+ * @param tlsServerName The TLS server name to use for certificate verification
+ * @return ApiClient
+ */
+ public ApiClient setTlsServerName(String tlsServerName) {
+ this.tlsServerName = tlsServerName;
+ applySslSettings();
+ return this;
+ }
+
/**
* Getter for the field dateFormat.
*
@@ -605,7 +628,7 @@ public List parameterToPair(String name, Object value) {
* @param value The value of the parameter.
* @return A list of {@code Pair} objects.
*/
- public List parameterToPairs(String collectionFormat, String name, Collection value) {
+ public List parameterToPairs(String collectionFormat, String name, Collection> value) {
List params = new ArrayList();
// preconditions
@@ -827,7 +850,17 @@ public T deserialize(Response response, Type returnType) throws ApiException
}
try {
if (isJsonMime(contentType)) {
- return JSON.deserialize(respBody.byteStream(), returnType);
+ if (returnType.equals(String.class)) {
+ String respBodyString = respBody.string();
+ if (respBodyString.isEmpty()) {
+ return null;
+ }
+ // Use String-based deserialize for String return type with fallback
+ return JSON.deserialize(respBodyString, returnType);
+ } else {
+ // Use InputStream-based deserialize which supports responses > 2GB
+ return JSON.deserialize(respBody.byteStream(), returnType);
+ }
} else if (returnType.equals(String.class)) {
String respBodyString = respBody.string();
if (respBodyString.isEmpty()) {
@@ -1227,8 +1260,10 @@ public String buildUrl(
if (serverIndex < 0 || serverIndex >= servers.size()) {
throw new ArrayIndexOutOfBoundsException(
String.format(
+ java.util.Locale.ROOT,
"Invalid index %d when selecting the host settings. Must be less than %d",
- serverIndex, servers.size()));
+ serverIndex,
+ servers.size()));
}
baseURL = servers.get(serverIndex).URL(serverVariables);
} else {
@@ -1302,12 +1337,16 @@ public void processHeaderParams(Map headerParams, Request.Builde
public void processCookieParams(Map cookieParams, Request.Builder reqBuilder) {
for (Entry param : cookieParams.entrySet()) {
reqBuilder.addHeader(
- "Cookie", String.format("%s=%s", param.getKey(), param.getValue()));
+ "Cookie",
+ String.format(
+ java.util.Locale.ROOT, "%s=%s", param.getKey(), param.getValue()));
}
for (Entry param : defaultCookieMap.entrySet()) {
if (!cookieParams.containsKey(param.getKey())) {
reqBuilder.addHeader(
- "Cookie", String.format("%s=%s", param.getKey(), param.getValue()));
+ "Cookie",
+ String.format(
+ java.util.Locale.ROOT, "%s=%s", param.getKey(), param.getValue()));
}
}
}
@@ -1495,7 +1534,20 @@ public boolean verify(String hostname, SSLSession session) {
trustManagerFactory.init(caKeyStore);
}
trustManagers = trustManagerFactory.getTrustManagers();
- hostnameVerifier = OkHostnameVerifier.INSTANCE;
+ if (tlsServerName != null && !tlsServerName.isEmpty()) {
+ hostnameVerifier =
+ new HostnameVerifier() {
+ @Override
+ public boolean verify(String hostname, SSLSession session) {
+ // Verify the certificate against tlsServerName instead of the
+ // actual hostname
+ return OkHostnameVerifier.INSTANCE.verify(
+ tlsServerName, session);
+ }
+ };
+ } else {
+ hostnameVerifier = OkHostnameVerifier.INSTANCE;
+ }
}
SSLContext sslContext = SSLContext.getInstance("TLS");
diff --git a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/Pair.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/Pair.java
index c588e7ff..d2454e91 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/Pair.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/ServerConfiguration.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/ServerConfiguration.java
index 6d8b5d7f..c5c43700 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/ServerConfiguration.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/ServerVariable.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/ServerVariable.java
index 4d05ebb0..bd5c1983 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/ServerVariable.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/StringUtil.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/StringUtil.java
index 055c6714..a3263fab 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/StringUtil.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/AbstractOpenApiSchema.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/AbstractOpenApiSchema.java
index 7bdb667c..18c43127 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/AbstractOpenApiSchema.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ContainerSearchResult.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ContainerSearchResult.java
index 1fa07624..6ef8e9ec 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ContainerSearchResult.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ContainerSearchResult.java
@@ -35,7 +35,7 @@
/** ContainerSearchResult */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class ContainerSearchResult {
public static final String SERIALIZED_NAME_CONTAINER_ID = "containerId";
@@ -375,6 +375,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 ContainerSearchResult is not found in the empty JSON string",
ContainerSearchResult.openapiRequiredFields.toString()));
}
@@ -385,20 +386,24 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s",
- requiredField, jsonElement.toString()));
+ requiredField,
+ jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("containerId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `containerId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("containerId").toString()));
}
if (!jsonObj.get("containerType").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `containerType` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("containerType").toString()));
}
@@ -407,6 +412,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!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()));
}
@@ -417,6 +423,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!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()));
}
@@ -424,6 +431,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("organizationId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `organizationId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("organizationId").toString()));
}
@@ -496,6 +504,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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/CreateFolderPayload.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/CreateFolderPayload.java
index d6c81770..fff3672a 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/CreateFolderPayload.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/CreateFolderPayload.java
@@ -36,7 +36,7 @@
/** CreateFolderPayload */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class CreateFolderPayload {
public static final String SERIALIZED_NAME_CONTAINER_PARENT_ID = "containerParentId";
@@ -278,6 +278,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 CreateFolderPayload is not found in the empty JSON string",
CreateFolderPayload.openapiRequiredFields.toString()));
}
@@ -288,14 +289,17 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s",
- requiredField, jsonElement.toString()));
+ requiredField,
+ jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("containerParentId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `containerParentId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("containerParentId").toString()));
}
@@ -306,6 +310,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("members").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `members` to be an array in the JSON string but got `%s`",
jsonObj.get("members").toString()));
}
@@ -320,6 +325,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!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()));
}
@@ -392,6 +398,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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/CreateProjectPayload.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/CreateProjectPayload.java
index 48b40db1..b74a6011 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/CreateProjectPayload.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/CreateProjectPayload.java
@@ -36,7 +36,7 @@
/** CreateProjectPayload */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class CreateProjectPayload {
public static final String SERIALIZED_NAME_CONTAINER_PARENT_ID = "containerParentId";
@@ -281,6 +281,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 CreateProjectPayload is not found in the empty JSON string",
CreateProjectPayload.openapiRequiredFields.toString()));
}
@@ -291,14 +292,17 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s",
- requiredField, jsonElement.toString()));
+ requiredField,
+ jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("containerParentId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `containerParentId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("containerParentId").toString()));
}
@@ -306,6 +310,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("members").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `members` to be an array in the JSON string but got `%s`",
jsonObj.get("members").toString()));
}
@@ -319,6 +324,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!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()));
}
@@ -391,6 +397,7 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean())
else
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The field `%s` has unknown primitive type. Value: %s",
entry.getKey(),
entry.getValue().toString()));
diff --git a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ErrorResponse.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ErrorResponse.java
index 30bef534..41b63b62 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ErrorResponse.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ErrorResponse.java
@@ -35,7 +35,7 @@
/** ErrorResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class ErrorResponse {
public static final String SERIALIZED_NAME_ERROR = "error";
@@ -284,6 +284,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 ErrorResponse is not found in the empty JSON string",
ErrorResponse.openapiRequiredFields.toString()));
}
@@ -294,26 +295,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s",
- requiredField, jsonElement.toString()));
+ requiredField,
+ jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("error").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `error` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("error").toString()));
}
if (!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()));
}
if (!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()));
}
@@ -385,6 +391,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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/FolderResponse.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/FolderResponse.java
index 25003426..2551e731 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/FolderResponse.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/FolderResponse.java
@@ -35,7 +35,7 @@
/** FolderResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class FolderResponse {
public static final String SERIALIZED_NAME_CONTAINER_ID = "containerId";
@@ -368,6 +368,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 FolderResponse is not found in the empty JSON string",
FolderResponse.openapiRequiredFields.toString()));
}
@@ -378,26 +379,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s",
- requiredField, jsonElement.toString()));
+ requiredField,
+ jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("containerId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `containerId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("containerId").toString()));
}
if (!jsonObj.get("folderId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `folderId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("folderId").toString()));
}
if (!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()));
}
@@ -471,6 +477,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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/GetFolderDetailsResponse.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/GetFolderDetailsResponse.java
index ec5ec0d0..e08c0652 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/GetFolderDetailsResponse.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/GetFolderDetailsResponse.java
@@ -37,7 +37,7 @@
/** GetFolderDetailsResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class GetFolderDetailsResponse {
public static final String SERIALIZED_NAME_CONTAINER_ID = "containerId";
@@ -409,6 +409,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 GetFolderDetailsResponse is not found in the empty JSON string",
GetFolderDetailsResponse.openapiRequiredFields.toString()));
}
@@ -419,26 +420,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s",
- requiredField, jsonElement.toString()));
+ requiredField,
+ jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("containerId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `containerId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("containerId").toString()));
}
if (!jsonObj.get("folderId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `folderId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("folderId").toString()));
}
if (!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()));
}
@@ -451,6 +457,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("parents").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `parents` to be an array in the JSON string but got `%s`",
jsonObj.get("parents").toString()));
}
@@ -532,6 +539,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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/GetProjectResponse.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/GetProjectResponse.java
index a3c6d2d1..8d7a691b 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/GetProjectResponse.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/GetProjectResponse.java
@@ -37,7 +37,7 @@
/** GetProjectResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class GetProjectResponse {
public static final String SERIALIZED_NAME_CONTAINER_ID = "containerId";
@@ -437,6 +437,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 GetProjectResponse is not found in the empty JSON string",
GetProjectResponse.openapiRequiredFields.toString()));
}
@@ -447,14 +448,17 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s",
- requiredField, jsonElement.toString()));
+ requiredField,
+ jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("containerId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `containerId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("containerId").toString()));
}
@@ -463,6 +467,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!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()));
}
@@ -475,6 +480,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("parents").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `parents` to be an array in the JSON string but got `%s`",
jsonObj.get("parents").toString()));
}
@@ -489,6 +495,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!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()));
}
@@ -561,6 +568,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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListFoldersResponse.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListFoldersResponse.java
index 6de29933..ef487873 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListFoldersResponse.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListFoldersResponse.java
@@ -36,7 +36,7 @@
/** ListFoldersResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class ListFoldersResponse {
public static final String SERIALIZED_NAME_ITEMS = "items";
@@ -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 ListFoldersResponse is not found in the empty JSON string",
ListFoldersResponse.openapiRequiredFields.toString()));
}
@@ -248,8 +249,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s",
- requiredField, jsonElement.toString()));
+ requiredField,
+ jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
@@ -257,6 +260,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("items").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `items` to be an array in the JSON string but got `%s`",
jsonObj.get("items").toString()));
}
@@ -336,6 +340,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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListFoldersResponseItemsInner.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListFoldersResponseItemsInner.java
index db70b77a..0f644124 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListFoldersResponseItemsInner.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListFoldersResponseItemsInner.java
@@ -35,7 +35,7 @@
/** ListFoldersResponseItemsInner */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class ListFoldersResponseItemsInner {
public static final String SERIALIZED_NAME_CONTAINER_ID = "containerId";
@@ -375,6 +375,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 ListFoldersResponseItemsInner is not found in the empty JSON string",
ListFoldersResponseItemsInner.openapiRequiredFields.toString()));
}
@@ -385,26 +386,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s",
- requiredField, jsonElement.toString()));
+ requiredField,
+ jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("containerId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `containerId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("containerId").toString()));
}
if (!jsonObj.get("folderId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `folderId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("folderId").toString()));
}
if (!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()));
}
@@ -483,6 +489,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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListOrganizationsResponse.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListOrganizationsResponse.java
index 0532718d..183cc73c 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListOrganizationsResponse.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListOrganizationsResponse.java
@@ -36,7 +36,7 @@
/** ListOrganizationsResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class ListOrganizationsResponse {
public static final String SERIALIZED_NAME_ITEMS = "items";
@@ -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 ListOrganizationsResponse is not found in the empty JSON string",
ListOrganizationsResponse.openapiRequiredFields.toString()));
}
@@ -249,8 +250,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s",
- requiredField, jsonElement.toString()));
+ requiredField,
+ jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
@@ -258,6 +261,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("items").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `items` to be an array in the JSON string but got `%s`",
jsonObj.get("items").toString()));
}
@@ -338,6 +342,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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListOrganizationsResponseItemsInner.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListOrganizationsResponseItemsInner.java
index febd29d8..77534296 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListOrganizationsResponseItemsInner.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListOrganizationsResponseItemsInner.java
@@ -35,7 +35,7 @@
/** ListOrganizationsResponseItemsInner */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class ListOrganizationsResponseItemsInner {
public static final String SERIALIZED_NAME_CONTAINER_ID = "containerId";
@@ -381,6 +381,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 ListOrganizationsResponseItemsInner is not found in the empty JSON string",
ListOrganizationsResponseItemsInner.openapiRequiredFields
.toString()));
@@ -392,14 +393,17 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s",
- requiredField, jsonElement.toString()));
+ requiredField,
+ jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("containerId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `containerId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("containerId").toString()));
}
@@ -408,12 +412,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!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()));
}
if (!jsonObj.get("organizationId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `organizationId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("organizationId").toString()));
}
@@ -490,6 +496,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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListProjectsResponse.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListProjectsResponse.java
index 52a06e19..a8387449 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListProjectsResponse.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ListProjectsResponse.java
@@ -36,7 +36,7 @@
/** ListProjectsResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class ListProjectsResponse {
public static final String SERIALIZED_NAME_ITEMS = "items";
@@ -237,6 +237,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 ListProjectsResponse is not found in the empty JSON string",
ListProjectsResponse.openapiRequiredFields.toString()));
}
@@ -247,8 +248,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s",
- requiredField, jsonElement.toString()));
+ requiredField,
+ jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
@@ -256,6 +259,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("items").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `items` to be an array in the JSON string but got `%s`",
jsonObj.get("items").toString()));
}
@@ -335,6 +339,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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/Member.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/Member.java
index c9e44ee0..727ad9f9 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/Member.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/Member.java
@@ -33,7 +33,7 @@
/** Member */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class Member {
public static final String SERIALIZED_NAME_ROLE = "role";
@@ -197,6 +197,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in Member is not found in the empty JSON string",
Member.openapiRequiredFields.toString()));
}
@@ -207,20 +208,24 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s",
- requiredField, jsonElement.toString()));
+ requiredField,
+ jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!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()));
}
if (!jsonObj.get("subject").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `subject` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("subject").toString()));
}
@@ -292,6 +297,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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/OrganizationResponse.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/OrganizationResponse.java
index d8a84b0c..0ccfa81c 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/OrganizationResponse.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/OrganizationResponse.java
@@ -35,7 +35,7 @@
/** OrganizationResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class OrganizationResponse {
public static final String SERIALIZED_NAME_CONTAINER_ID = "containerId";
@@ -371,6 +371,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 OrganizationResponse is not found in the empty JSON string",
OrganizationResponse.openapiRequiredFields.toString()));
}
@@ -381,14 +382,17 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s",
- requiredField, jsonElement.toString()));
+ requiredField,
+ jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("containerId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `containerId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("containerId").toString()));
}
@@ -397,12 +401,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!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()));
}
if (!jsonObj.get("organizationId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `organizationId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("organizationId").toString()));
}
@@ -475,6 +481,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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/Parent.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/Parent.java
index f388677b..af9469fb 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/Parent.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/Parent.java
@@ -35,7 +35,7 @@
/** Parent container. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class Parent {
public static final String SERIALIZED_NAME_CONTAINER_ID = "containerId";
@@ -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 Parent is not found in the empty JSON string",
Parent.openapiRequiredFields.toString()));
}
@@ -289,26 +290,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s",
- requiredField, jsonElement.toString()));
+ requiredField,
+ jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("containerId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `containerId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("containerId").toString()));
}
if (!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()));
}
if (!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()));
}
@@ -382,6 +388,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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ParentListInner.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ParentListInner.java
index 5e49f475..f02f204b 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ParentListInner.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/ParentListInner.java
@@ -35,7 +35,7 @@
/** ParentListInner */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class ParentListInner {
public static final String SERIALIZED_NAME_CONTAINER_ID = "containerId";
@@ -368,6 +368,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 ParentListInner is not found in the empty JSON string",
ParentListInner.openapiRequiredFields.toString()));
}
@@ -378,14 +379,17 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s",
- requiredField, jsonElement.toString()));
+ requiredField,
+ jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("containerId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `containerId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("containerId").toString()));
}
@@ -394,18 +398,21 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("containerParentId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `containerParentId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("containerParentId").toString()));
}
if (!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()));
}
if (!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()));
}
@@ -413,12 +420,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("parentId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `parentId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("parentId").toString()));
}
if (!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()));
}
@@ -493,6 +502,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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/PartialUpdateFolderPayload.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/PartialUpdateFolderPayload.java
index e20b5328..00bc9b8c 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/PartialUpdateFolderPayload.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/PartialUpdateFolderPayload.java
@@ -33,7 +33,7 @@
/** PartialUpdateFolderPayload */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class PartialUpdateFolderPayload {
public static final String SERIALIZED_NAME_CONTAINER_PARENT_ID = "containerParentId";
@@ -236,6 +236,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field(s) %s in PartialUpdateFolderPayload is not found in the empty JSON string",
PartialUpdateFolderPayload.openapiRequiredFields.toString()));
}
@@ -246,6 +247,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("containerParentId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `containerParentId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("containerParentId").toString()));
}
@@ -253,6 +255,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()));
}
@@ -326,6 +329,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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/PartialUpdateOrganizationPayload.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/PartialUpdateOrganizationPayload.java
index 0d5994de..6f6f11a0 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/PartialUpdateOrganizationPayload.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/PartialUpdateOrganizationPayload.java
@@ -33,7 +33,7 @@
/** PartialUpdateOrganizationPayload */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class PartialUpdateOrganizationPayload {
public static final String SERIALIZED_NAME_LABELS = "labels";
@@ -210,6 +210,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 PartialUpdateOrganizationPayload is not found in the empty JSON string",
PartialUpdateOrganizationPayload.openapiRequiredFields.toString()));
}
@@ -219,6 +220,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()));
}
@@ -295,6 +297,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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/PartialUpdateProjectPayload.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/PartialUpdateProjectPayload.java
index 77f4b801..b10f0fd6 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/PartialUpdateProjectPayload.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/PartialUpdateProjectPayload.java
@@ -33,7 +33,7 @@
/** PartialUpdateProjectPayload */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class PartialUpdateProjectPayload {
public static final String SERIALIZED_NAME_CONTAINER_PARENT_ID = "containerParentId";
@@ -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 PartialUpdateProjectPayload is not found in the empty JSON string",
PartialUpdateProjectPayload.openapiRequiredFields.toString()));
}
@@ -248,6 +249,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("containerParentId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `containerParentId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("containerParentId").toString()));
}
@@ -255,6 +257,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("name").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `name` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("name").toString()));
}
@@ -329,6 +332,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/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/Project.java b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/Project.java
index 2f6ad4b2..92b96a9a 100644
--- a/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/Project.java
+++ b/services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model/Project.java
@@ -35,7 +35,7 @@
/** Project */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.15.0")
+ comments = "Generator version: 7.19.0")
public class Project {
public static final String SERIALIZED_NAME_CONTAINER_ID = "containerId";
@@ -398,6 +398,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 Project is not found in the empty JSON string",
Project.openapiRequiredFields.toString()));
}
@@ -408,14 +409,17 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s",
- requiredField, jsonElement.toString()));
+ requiredField,
+ jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("containerId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
+ java.util.Locale.ROOT,
"Expected the field `containerId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("containerId").toString()));
}
@@ -424,6 +428,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!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()));
}
@@ -432,6 +437,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!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()));
}
@@ -503,6 +509,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()));