diff --git a/languages/java/templates/ApiCallback.mustache b/languages/java/templates/ApiCallback.mustache index 262485b4..6c67a611 100644 --- a/languages/java/templates/ApiCallback.mustache +++ b/languages/java/templates/ApiCallback.mustache @@ -1,5 +1,5 @@ {{! This template was customized to add the core ApiException class as import. }} -{{! Original template: https://github.com/OpenAPITools/openapi-generator/blob/v7.19.0/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/ApiCallback.mustache }} +{{! Original template: https://github.com/OpenAPITools/openapi-generator/blob/v7.26.0/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/ApiCallback.mustache }} {{>licenseInfo}} package {{invokerPackage}}; diff --git a/languages/java/templates/ApiClient.mustache b/languages/java/templates/ApiClient.mustache index 579fcb72..772ced19 100644 --- a/languages/java/templates/ApiClient.mustache +++ b/languages/java/templates/ApiClient.mustache @@ -1,5 +1,5 @@ {{! This template was customized to initialize the ApiClient with the CoreConfiguration to easily setup the KeyFlow Authentication and custom endpoints. }} -{{! Original template: https://github.com/OpenAPITools/openapi-generator/blob/v7.19.0/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/ApiClient.mustache }} +{{! Original template: https://github.com/OpenAPITools/openapi-generator/blob/v7.26.0/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/ApiClient.mustache }} {{>licenseInfo}} @@ -557,6 +557,17 @@ public class ApiClient { return this; } + /** + *

Set LocalDateTimeFormat.

+ * + * @param dateFormat a {@link java.time.format.DateTimeFormatter} object + * @return a {@link {{invokerPackage}}.ApiClient} object + */ + public ApiClient setLocalDateTimeFormat(DateTimeFormatter dateFormat) { + JSON.setLocalDateTimeFormat(dateFormat); + return this; + } + {{/jsr310}} /** *

Set LenientOnJson.

@@ -823,6 +834,46 @@ public class ApiClient { } } + /** + * Format the given parameter object as an ASCII-safe JSON string. + * + * @param param Parameter + * @return JSON representation of the parameter + */ + public String parameterToJsonString(Object param) { + if (param == null) { + return ""; + } + String json = JSON.serialize(param); + int firstUnsafe = -1; + for (int i = 0; i < json.length(); i++) { + if (json.charAt(i) >= 0x7f) { + firstUnsafe = i; + break; + } + } + if (firstUnsafe == -1) { + return json; + } + + StringBuilder escaped = new StringBuilder(json.length()); + escaped.append(json, 0, firstUnsafe); + for (int i = firstUnsafe; i < json.length(); i++) { + char c = json.charAt(i); + if (c >= 0x7f) { + escaped.append("\\u"); + escaped.append(Character.forDigit((c >> 12) & 0xf, 16)); + escaped.append(Character.forDigit((c >> 8) & 0xf, 16)); + escaped.append(Character.forDigit((c >> 4) & 0xf, 16)); + escaped.append(Character.forDigit(c & 0xf, 16)); + } else { + escaped.append(c); + } + } + + return escaped.toString(); + } + /** * Formats the specified query parameter to a list containing a single {@code Pair} object. * @@ -1845,7 +1896,11 @@ public class ApiClient { } break; case "header": - headerParams.put(param.getName(), parameterToString(value)); + if (param.getContent() != null && param.getContent().containsKey("application/json")) { + headerParams.put(param.getName(), parameterToJsonString(value)); + } else { + headerParams.put(param.getName(), parameterToString(value)); + } break; case "cookie": cookieParams.put(param.getName(), parameterToString(value)); diff --git a/languages/java/templates/api.mustache b/languages/java/templates/api.mustache index f7710ba3..b871bce4 100644 --- a/languages/java/templates/api.mustache +++ b/languages/java/templates/api.mustache @@ -1,5 +1,5 @@ {{! This template was customized to initialize the DefaultApi with the CoreConfiguration to easily setup the KeyFlow Authentication and custom endpoints. }} -{{! Original template: https://github.com/OpenAPITools/openapi-generator/blob/v7.19.0/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/api.mustache }} +{{! Original template: https://github.com/OpenAPITools/openapi-generator/blob/v7.26.0/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/api.mustache }} {{>licenseInfo}} @@ -139,7 +139,7 @@ class {{classname}} { {{#operation}} {{^vendorExtensions.x-group-parameters}}/** * Build call for {{operationId}}{{#allParams}} - * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}){{/required}}{{/allParams}} + * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{^isContainer}}{{#defaultValue}}, default to {{#lambda.escapeJavaDoc}}{{.}}{{/lambda.escapeJavaDoc}}{{/defaultValue}}{{/isContainer}}){{/required}}{{/allParams}} * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -276,7 +276,12 @@ class {{classname}} { {{#headerParams}} if ({{paramName}} != null) { + {{#headerIsJsonMimeType}} + localVarHeaderParams.put("{{baseName}}", localVarApiClient.parameterToJsonString({{paramName}})); + {{/headerIsJsonMimeType}} + {{^headerIsJsonMimeType}} localVarHeaderParams.put("{{baseName}}", localVarApiClient.parameterToString({{paramName}})); + {{/headerIsJsonMimeType}} } {{/headerParams}} @@ -333,7 +338,7 @@ class {{classname}} { /** * {{summary}} * {{notes}}{{#allParams}} - * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}){{/required}}{{/allParams}}{{#returnType}} + * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{^isContainer}}{{#defaultValue}}, default to {{#lambda.escapeJavaDoc}}{{.}}{{/lambda.escapeJavaDoc}}{{/defaultValue}}{{/isContainer}}){{/required}}{{/allParams}}{{#returnType}} * @return {{.}}{{/returnType}} * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body {{#responses.0}} @@ -374,7 +379,7 @@ class {{classname}} { {{^vendorExtensions.x-group-parameters}}/** * {{summary}} * {{notes}}{{#allParams}} - * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}){{/required}}{{/allParams}} + * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{^isContainer}}{{#defaultValue}}, default to {{#lambda.escapeJavaDoc}}{{.}}{{/lambda.escapeJavaDoc}}{{/defaultValue}}{{/isContainer}}){{/required}}{{/allParams}} * @return ApiResponse<{{returnType}}{{^returnType}}Void{{/returnType}}> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body {{#responses.0}} @@ -442,7 +447,7 @@ class {{classname}} { {{^vendorExtensions.x-group-parameters}}/** * {{summary}} (asynchronously) * {{notes}}{{#allParams}} - * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}){{/required}}{{/allParams}} + * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{^isContainer}}{{#defaultValue}}, default to {{#lambda.escapeJavaDoc}}{{.}}{{/lambda.escapeJavaDoc}}{{/defaultValue}}{{/isContainer}}){{/required}}{{/allParams}} * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -495,7 +500,7 @@ class {{classname}} { {{#optionalParams}} /** * Set {{paramName}} - * @param {{paramName}} {{description}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}) + * @param {{paramName}} {{description}} (optional{{^isContainer}}{{#defaultValue}}, default to {{#lambda.escapeJavaDoc}}{{.}}{{/lambda.escapeJavaDoc}}{{/defaultValue}}{{/isContainer}}) * @return API{{operationId}}Request */ public API{{operationId}}Request {{paramName}}({{>nullable_var_annotations}} {{{dataType}}} {{paramName}}) { diff --git a/languages/java/templates/api_test.mustache b/languages/java/templates/api_test.mustache index 937d83d7..1aa00885 100644 --- a/languages/java/templates/api_test.mustache +++ b/languages/java/templates/api_test.mustache @@ -1,5 +1,5 @@ {{! This template had to be customized because of our changes to the DefaultApi and ApiClient classes }} -{{! Original template: https://github.com/OpenAPITools/openapi-generator/blob/v7.19.0/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/api_test.mustache }} +{{! Original template: https://github.com/OpenAPITools/openapi-generator/blob/v7.26.0/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/api_test.mustache }} {{>licenseInfo}} diff --git a/languages/java/templates/build.gradle.mustache b/languages/java/templates/build.gradle.mustache index 0a4ca330..d3e46eba 100644 --- a/languages/java/templates/build.gradle.mustache +++ b/languages/java/templates/build.gradle.mustache @@ -1,5 +1,5 @@ {{! This template was customized to allow the services to be a subprojects in one big gradle project. }} -{{! Original template: https://github.com/OpenAPITools/openapi-generator/blob/v7.19.0/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.gradle.mustache }} +{{! Original template: https://github.com/OpenAPITools/openapi-generator/blob/v7.26.0/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.gradle.mustache }} ext { {{#swagger1AnnotationLibrary}} @@ -28,7 +28,7 @@ dependencies { implementation 'io.gsonfire:gson-fire:1.9.0' implementation 'jakarta.ws.rs:jakarta.ws.rs-api:2.1.6' {{#openApiNullable}} - implementation 'org.openapitools:jackson-databind-nullable:0.2.8' + implementation 'org.openapitools:jackson-databind-nullable:0.2.12' {{/openApiNullable}} {{#withAWSV4Signature}} implementation 'software.amazon.awssdk:auth:2.20.157' diff --git a/scripts/build/go.sum b/scripts/build/go.sum new file mode 100644 index 00000000..3d24c9af --- /dev/null +++ b/scripts/build/go.sum @@ -0,0 +1 @@ +github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= diff --git a/scripts/generate-sdk/generate-sdk.sh b/scripts/generate-sdk/generate-sdk.sh index 88e028fc..63ae7b7c 100755 --- a/scripts/generate-sdk/generate-sdk.sh +++ b/scripts/generate-sdk/generate-sdk.sh @@ -78,7 +78,7 @@ python) java) # When the GENERATOR_VERSION changes, migrate also the templates in templates/java # Renovate: datasource=github-tags depName=OpenAPITools/openapi-generator versioning=semver - GENERATOR_VERSION="v7.19.0" + GENERATOR_VERSION="v7.26.0" ;; *) echo "SDK language not supported." diff --git a/scripts/generators/overrides/java/automation/v1betaapi/CreateSnapshotsResult.java b/scripts/generators/overrides/java/automation/v1betaapi/CreateSnapshotsResult.java index 91668ac1..54b96c4c 100644 --- a/scripts/generators/overrides/java/automation/v1betaapi/CreateSnapshotsResult.java +++ b/scripts/generators/overrides/java/automation/v1betaapi/CreateSnapshotsResult.java @@ -15,6 +15,7 @@ import cloud.stackit.sdk.automation.v1betaapi.JSON; import com.google.gson.Gson; import com.google.gson.JsonElement; +import com.google.gson.JsonNull; import com.google.gson.JsonObject; import com.google.gson.TypeAdapter; import com.google.gson.TypeAdapterFactory; @@ -33,7 +34,7 @@ import java.util.UUID; /** CreateSnapshotsResult */ -@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.19.0") +@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.26.0") public class CreateSnapshotsResult { public static final String SERIALIZED_NAME_CREATED_SNAPSHOT_I_DS = "createdSnapshotIDs"; @@ -178,10 +179,7 @@ public String toString() { * line). */ private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); + return o == null ? "null" : o.toString().replace("\n", "\n "); } public static HashSet openapiFields; @@ -286,7 +284,9 @@ else if (entry.getValue() instanceof Character) entry.getKey(), (Character) entry.getValue()); else { JsonElement jsonElement = gson.toJsonTree(entry.getValue()); - if (jsonElement.isJsonArray()) { + if (jsonElement.isJsonNull()) { + obj.add(entry.getKey(), JsonNull.INSTANCE); + } else if (jsonElement.isJsonArray()) { obj.add(entry.getKey(), jsonElement.getAsJsonArray()); } else { obj.add(entry.getKey(), jsonElement.getAsJsonObject()); diff --git a/scripts/generators/overrides/java/automation/v1betaapi/GetVolumeIDsResult.java b/scripts/generators/overrides/java/automation/v1betaapi/GetVolumeIDsResult.java index b4646c78..aedba417 100644 --- a/scripts/generators/overrides/java/automation/v1betaapi/GetVolumeIDsResult.java +++ b/scripts/generators/overrides/java/automation/v1betaapi/GetVolumeIDsResult.java @@ -15,6 +15,7 @@ import cloud.stackit.sdk.automation.v1betaapi.JSON; import com.google.gson.Gson; import com.google.gson.JsonElement; +import com.google.gson.JsonNull; import com.google.gson.JsonObject; import com.google.gson.TypeAdapter; import com.google.gson.TypeAdapterFactory; @@ -33,7 +34,7 @@ import java.util.UUID; /** GetVolumeIDsResult */ -@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.19.0") +@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.26.0") public class GetVolumeIDsResult { public static final String SERIALIZED_NAME_KIND = "kind"; @@ -175,10 +176,7 @@ public String toString() { * line). */ private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); + return o == null ? "null" : o.toString().replace("\n", "\n "); } public static HashSet openapiFields; @@ -283,7 +281,9 @@ else if (entry.getValue() instanceof Character) entry.getKey(), (Character) entry.getValue()); else { JsonElement jsonElement = gson.toJsonTree(entry.getValue()); - if (jsonElement.isJsonArray()) { + if (jsonElement.isJsonNull()) { + obj.add(entry.getKey(), JsonNull.INSTANCE); + } else if (jsonElement.isJsonArray()) { obj.add(entry.getKey(), jsonElement.getAsJsonArray()); } else { obj.add(entry.getKey(), jsonElement.getAsJsonObject()); diff --git a/scripts/generators/overrides/java/automation/v1betaapi/SnapshotRetentionPolicyCount.java b/scripts/generators/overrides/java/automation/v1betaapi/SnapshotRetentionPolicyCount.java index 261d299b..ba5aa96a 100644 --- a/scripts/generators/overrides/java/automation/v1betaapi/SnapshotRetentionPolicyCount.java +++ b/scripts/generators/overrides/java/automation/v1betaapi/SnapshotRetentionPolicyCount.java @@ -15,6 +15,7 @@ import cloud.stackit.sdk.automation.v1betaapi.JSON; import com.google.gson.Gson; import com.google.gson.JsonElement; +import com.google.gson.JsonNull; import com.google.gson.JsonObject; import com.google.gson.TypeAdapter; import com.google.gson.TypeAdapterFactory; @@ -32,7 +33,7 @@ import java.util.Objects; /** SnapshotRetentionPolicyCount */ -@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.19.0") +@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.26.0") public class SnapshotRetentionPolicyCount { /** Gets or Sets kind */ @JsonAdapter(KindEnum.Adapter.class) @@ -221,10 +222,7 @@ public String toString() { * line). */ private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); + return o == null ? "null" : o.toString().replace("\n", "\n "); } public static HashSet openapiFields; @@ -324,7 +322,9 @@ else if (entry.getValue() instanceof Character) entry.getKey(), (Character) entry.getValue()); else { JsonElement jsonElement = gson.toJsonTree(entry.getValue()); - if (jsonElement.isJsonArray()) { + if (jsonElement.isJsonNull()) { + obj.add(entry.getKey(), JsonNull.INSTANCE); + } else if (jsonElement.isJsonArray()) { obj.add(entry.getKey(), jsonElement.getAsJsonArray()); } else { obj.add(entry.getKey(), jsonElement.getAsJsonObject()); diff --git a/scripts/generators/overrides/java/automation/v1betaapi/SnapshotRetentionPolicyIndefinitely.java b/scripts/generators/overrides/java/automation/v1betaapi/SnapshotRetentionPolicyIndefinitely.java index 034a8dad..dfabcd3a 100644 --- a/scripts/generators/overrides/java/automation/v1betaapi/SnapshotRetentionPolicyIndefinitely.java +++ b/scripts/generators/overrides/java/automation/v1betaapi/SnapshotRetentionPolicyIndefinitely.java @@ -15,6 +15,7 @@ import cloud.stackit.sdk.automation.v1betaapi.JSON; import com.google.gson.Gson; import com.google.gson.JsonElement; +import com.google.gson.JsonNull; import com.google.gson.JsonObject; import com.google.gson.TypeAdapter; import com.google.gson.TypeAdapterFactory; @@ -32,7 +33,7 @@ import java.util.Objects; /** SnapshotRetentionPolicyIndefinitely */ -@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.19.0") +@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.26.0") public class SnapshotRetentionPolicyIndefinitely { /** Gets or Sets kind */ @JsonAdapter(KindEnum.Adapter.class) @@ -194,10 +195,7 @@ public String toString() { * line). */ private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); + return o == null ? "null" : o.toString().replace("\n", "\n "); } public static HashSet openapiFields; @@ -298,7 +296,9 @@ else if (entry.getValue() instanceof Character) entry.getKey(), (Character) entry.getValue()); else { JsonElement jsonElement = gson.toJsonTree(entry.getValue()); - if (jsonElement.isJsonArray()) { + if (jsonElement.isJsonNull()) { + obj.add(entry.getKey(), JsonNull.INSTANCE); + } else if (jsonElement.isJsonArray()) { obj.add(entry.getKey(), jsonElement.getAsJsonArray()); } else { obj.add(entry.getKey(), jsonElement.getAsJsonObject()); diff --git a/scripts/generators/overrides/java/iaas/v2api/DestinationCIDRv4.java b/scripts/generators/overrides/java/iaas/v2api/DestinationCIDRv4.java index ffc4d863..ad4dbf7f 100644 --- a/scripts/generators/overrides/java/iaas/v2api/DestinationCIDRv4.java +++ b/scripts/generators/overrides/java/iaas/v2api/DestinationCIDRv4.java @@ -29,6 +29,7 @@ import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; +import com.google.gson.JsonNull; import com.google.gson.JsonParseException; import com.google.gson.TypeAdapterFactory; import com.google.gson.reflect.TypeToken; @@ -48,7 +49,7 @@ /** * IPv4 Classless Inter-Domain Routing (CIDR) Object. */ -@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.19.0") +@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.26.0") public class DestinationCIDRv4 { /** * Gets or Sets type @@ -56,7 +57,7 @@ public class DestinationCIDRv4 { @JsonAdapter(TypeEnum.Adapter.class) public enum TypeEnum { CIDRV4("cidrv4"), - + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -233,10 +234,7 @@ public String toString() { * (except the first line). */ private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); + return o == null ? "null" : o.toString().replace("\n", "\n "); } @@ -320,7 +318,9 @@ else if (entry.getValue() instanceof Character) obj.addProperty(entry.getKey(), (Character) entry.getValue()); else { JsonElement jsonElement = gson.toJsonTree(entry.getValue()); - if (jsonElement.isJsonArray()) { + if (jsonElement.isJsonNull()) { + obj.add(entry.getKey(), JsonNull.INSTANCE); + } else if (jsonElement.isJsonArray()) { obj.add(entry.getKey(), jsonElement.getAsJsonArray()); } else { obj.add(entry.getKey(), jsonElement.getAsJsonObject()); diff --git a/scripts/generators/overrides/java/iaas/v2api/DestinationCIDRv6.java b/scripts/generators/overrides/java/iaas/v2api/DestinationCIDRv6.java index df23c1d7..30c981da 100644 --- a/scripts/generators/overrides/java/iaas/v2api/DestinationCIDRv6.java +++ b/scripts/generators/overrides/java/iaas/v2api/DestinationCIDRv6.java @@ -29,6 +29,7 @@ import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; +import com.google.gson.JsonNull; import com.google.gson.JsonParseException; import com.google.gson.TypeAdapterFactory; import com.google.gson.reflect.TypeToken; @@ -48,7 +49,7 @@ /** * IPv6 Classless Inter-Domain Routing (CIDR) Object. */ -@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.19.0") +@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.26.0") public class DestinationCIDRv6 { /** * Gets or Sets type @@ -56,7 +57,7 @@ public class DestinationCIDRv6 { @JsonAdapter(TypeEnum.Adapter.class) public enum TypeEnum { CIDRV6("cidrv6"), - + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -233,10 +234,7 @@ public String toString() { * (except the first line). */ private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); + return o == null ? "null" : o.toString().replace("\n", "\n "); } @@ -320,7 +318,9 @@ else if (entry.getValue() instanceof Character) obj.addProperty(entry.getKey(), (Character) entry.getValue()); else { JsonElement jsonElement = gson.toJsonTree(entry.getValue()); - if (jsonElement.isJsonArray()) { + if (jsonElement.isJsonNull()) { + obj.add(entry.getKey(), JsonNull.INSTANCE); + } else if (jsonElement.isJsonArray()) { obj.add(entry.getKey(), jsonElement.getAsJsonArray()); } else { obj.add(entry.getKey(), jsonElement.getAsJsonObject()); diff --git a/scripts/generators/overrides/java/iaas/v2api/NexthopBlackhole.java b/scripts/generators/overrides/java/iaas/v2api/NexthopBlackhole.java index a1b56a4f..a879b3e4 100644 --- a/scripts/generators/overrides/java/iaas/v2api/NexthopBlackhole.java +++ b/scripts/generators/overrides/java/iaas/v2api/NexthopBlackhole.java @@ -29,6 +29,7 @@ import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; +import com.google.gson.JsonNull; import com.google.gson.JsonParseException; import com.google.gson.TypeAdapterFactory; import com.google.gson.reflect.TypeToken; @@ -48,7 +49,7 @@ /** * Object that represents a blackhole route. */ -@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.19.0") +@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.26.0") public class NexthopBlackhole { /** * Gets or Sets type @@ -56,7 +57,7 @@ public class NexthopBlackhole { @JsonAdapter(TypeEnum.Adapter.class) public enum TypeEnum { BLACKHOLE("blackhole"), - + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -207,10 +208,7 @@ public String toString() { * (except the first line). */ private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); + return o == null ? "null" : o.toString().replace("\n", "\n "); } @@ -291,7 +289,9 @@ else if (entry.getValue() instanceof Character) obj.addProperty(entry.getKey(), (Character) entry.getValue()); else { JsonElement jsonElement = gson.toJsonTree(entry.getValue()); - if (jsonElement.isJsonArray()) { + if (jsonElement.isJsonNull()) { + obj.add(entry.getKey(), JsonNull.INSTANCE); + } else if (jsonElement.isJsonArray()) { obj.add(entry.getKey(), jsonElement.getAsJsonArray()); } else { obj.add(entry.getKey(), jsonElement.getAsJsonObject()); diff --git a/scripts/generators/overrides/java/iaas/v2api/NexthopIPv4.java b/scripts/generators/overrides/java/iaas/v2api/NexthopIPv4.java index 201cbb2c..a5d4de8f 100644 --- a/scripts/generators/overrides/java/iaas/v2api/NexthopIPv4.java +++ b/scripts/generators/overrides/java/iaas/v2api/NexthopIPv4.java @@ -29,6 +29,7 @@ import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; +import com.google.gson.JsonNull; import com.google.gson.JsonParseException; import com.google.gson.TypeAdapterFactory; import com.google.gson.reflect.TypeToken; @@ -48,7 +49,7 @@ /** * Object that represents an IPv4 address. */ -@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.19.0") +@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.26.0") public class NexthopIPv4 { /** * Gets or Sets type @@ -56,7 +57,7 @@ public class NexthopIPv4 { @JsonAdapter(TypeEnum.Adapter.class) public enum TypeEnum { IPV4("ipv4"), - + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -233,10 +234,7 @@ public String toString() { * (except the first line). */ private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); + return o == null ? "null" : o.toString().replace("\n", "\n "); } @@ -320,7 +318,9 @@ else if (entry.getValue() instanceof Character) obj.addProperty(entry.getKey(), (Character) entry.getValue()); else { JsonElement jsonElement = gson.toJsonTree(entry.getValue()); - if (jsonElement.isJsonArray()) { + if (jsonElement.isJsonNull()) { + obj.add(entry.getKey(), JsonNull.INSTANCE); + } else if (jsonElement.isJsonArray()) { obj.add(entry.getKey(), jsonElement.getAsJsonArray()); } else { obj.add(entry.getKey(), jsonElement.getAsJsonObject()); diff --git a/scripts/generators/overrides/java/iaas/v2api/NexthopIPv6.java b/scripts/generators/overrides/java/iaas/v2api/NexthopIPv6.java index 65a7c298..a13931c7 100644 --- a/scripts/generators/overrides/java/iaas/v2api/NexthopIPv6.java +++ b/scripts/generators/overrides/java/iaas/v2api/NexthopIPv6.java @@ -29,6 +29,7 @@ import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; +import com.google.gson.JsonNull; import com.google.gson.JsonParseException; import com.google.gson.TypeAdapterFactory; import com.google.gson.reflect.TypeToken; @@ -48,7 +49,7 @@ /** * Object that represents an IPv6 address. */ -@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.19.0") +@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.26.0") public class NexthopIPv6 { /** * Gets or Sets type @@ -56,7 +57,7 @@ public class NexthopIPv6 { @JsonAdapter(TypeEnum.Adapter.class) public enum TypeEnum { IPV6("ipv6"), - + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -233,10 +234,7 @@ public String toString() { * (except the first line). */ private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); + return o == null ? "null" : o.toString().replace("\n", "\n "); } @@ -320,7 +318,9 @@ else if (entry.getValue() instanceof Character) obj.addProperty(entry.getKey(), (Character) entry.getValue()); else { JsonElement jsonElement = gson.toJsonTree(entry.getValue()); - if (jsonElement.isJsonArray()) { + if (jsonElement.isJsonNull()) { + obj.add(entry.getKey(), JsonNull.INSTANCE); + } else if (jsonElement.isJsonArray()) { obj.add(entry.getKey(), jsonElement.getAsJsonArray()); } else { obj.add(entry.getKey(), jsonElement.getAsJsonObject()); diff --git a/scripts/generators/overrides/java/iaas/v2api/NexthopInternet.java b/scripts/generators/overrides/java/iaas/v2api/NexthopInternet.java index 0ce7a164..fe1bc664 100644 --- a/scripts/generators/overrides/java/iaas/v2api/NexthopInternet.java +++ b/scripts/generators/overrides/java/iaas/v2api/NexthopInternet.java @@ -29,6 +29,7 @@ import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; +import com.google.gson.JsonNull; import com.google.gson.JsonParseException; import com.google.gson.TypeAdapterFactory; import com.google.gson.reflect.TypeToken; @@ -48,7 +49,7 @@ /** * Object that represents a route to the internet. */ -@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.19.0") +@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.26.0") public class NexthopInternet { /** * Gets or Sets type @@ -56,7 +57,7 @@ public class NexthopInternet { @JsonAdapter(TypeEnum.Adapter.class) public enum TypeEnum { INTERNET("internet"), - + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -207,10 +208,7 @@ public String toString() { * (except the first line). */ private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); + return o == null ? "null" : o.toString().replace("\n", "\n "); } @@ -291,7 +289,9 @@ else if (entry.getValue() instanceof Character) obj.addProperty(entry.getKey(), (Character) entry.getValue()); else { JsonElement jsonElement = gson.toJsonTree(entry.getValue()); - if (jsonElement.isJsonArray()) { + if (jsonElement.isJsonNull()) { + obj.add(entry.getKey(), JsonNull.INSTANCE); + } else if (jsonElement.isJsonArray()) { obj.add(entry.getKey(), jsonElement.getAsJsonArray()); } else { obj.add(entry.getKey(), jsonElement.getAsJsonObject()); diff --git a/scripts/generators/overrides/java/iaas/v2beta1api/DestinationCIDRv4.java b/scripts/generators/overrides/java/iaas/v2beta1api/DestinationCIDRv4.java index 641a4757..5fc437aa 100644 --- a/scripts/generators/overrides/java/iaas/v2beta1api/DestinationCIDRv4.java +++ b/scripts/generators/overrides/java/iaas/v2beta1api/DestinationCIDRv4.java @@ -29,6 +29,7 @@ import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; +import com.google.gson.JsonNull; import com.google.gson.JsonParseException; import com.google.gson.TypeAdapterFactory; import com.google.gson.reflect.TypeToken; @@ -48,7 +49,7 @@ /** * IPv4 Classless Inter-Domain Routing (CIDR) Object. */ -@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.19.0") +@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.26.0") public class DestinationCIDRv4 { /** * Gets or Sets type @@ -56,7 +57,7 @@ public class DestinationCIDRv4 { @JsonAdapter(TypeEnum.Adapter.class) public enum TypeEnum { CIDRV4("cidrv4"), - + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -233,10 +234,7 @@ public String toString() { * (except the first line). */ private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); + return o == null ? "null" : o.toString().replace("\n", "\n "); } @@ -320,7 +318,9 @@ else if (entry.getValue() instanceof Character) obj.addProperty(entry.getKey(), (Character) entry.getValue()); else { JsonElement jsonElement = gson.toJsonTree(entry.getValue()); - if (jsonElement.isJsonArray()) { + if (jsonElement.isJsonNull()) { + obj.add(entry.getKey(), JsonNull.INSTANCE); + } else if (jsonElement.isJsonArray()) { obj.add(entry.getKey(), jsonElement.getAsJsonArray()); } else { obj.add(entry.getKey(), jsonElement.getAsJsonObject()); diff --git a/scripts/generators/overrides/java/iaas/v2beta1api/DestinationCIDRv6.java b/scripts/generators/overrides/java/iaas/v2beta1api/DestinationCIDRv6.java index b6df1284..b5288b3e 100644 --- a/scripts/generators/overrides/java/iaas/v2beta1api/DestinationCIDRv6.java +++ b/scripts/generators/overrides/java/iaas/v2beta1api/DestinationCIDRv6.java @@ -29,6 +29,7 @@ import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; +import com.google.gson.JsonNull; import com.google.gson.JsonParseException; import com.google.gson.TypeAdapterFactory; import com.google.gson.reflect.TypeToken; @@ -48,7 +49,7 @@ /** * IPv6 Classless Inter-Domain Routing (CIDR) Object. */ -@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.19.0") +@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.26.0") public class DestinationCIDRv6 { /** * Gets or Sets type @@ -56,7 +57,7 @@ public class DestinationCIDRv6 { @JsonAdapter(TypeEnum.Adapter.class) public enum TypeEnum { CIDRV6("cidrv6"), - + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -233,10 +234,7 @@ public String toString() { * (except the first line). */ private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); + return o == null ? "null" : o.toString().replace("\n", "\n "); } @@ -320,7 +318,9 @@ else if (entry.getValue() instanceof Character) obj.addProperty(entry.getKey(), (Character) entry.getValue()); else { JsonElement jsonElement = gson.toJsonTree(entry.getValue()); - if (jsonElement.isJsonArray()) { + if (jsonElement.isJsonNull()) { + obj.add(entry.getKey(), JsonNull.INSTANCE); + } else if (jsonElement.isJsonArray()) { obj.add(entry.getKey(), jsonElement.getAsJsonArray()); } else { obj.add(entry.getKey(), jsonElement.getAsJsonObject()); diff --git a/scripts/generators/overrides/java/iaas/v2beta1api/NexthopBlackhole.java b/scripts/generators/overrides/java/iaas/v2beta1api/NexthopBlackhole.java index 1c5fa217..94aa5aa9 100644 --- a/scripts/generators/overrides/java/iaas/v2beta1api/NexthopBlackhole.java +++ b/scripts/generators/overrides/java/iaas/v2beta1api/NexthopBlackhole.java @@ -29,6 +29,7 @@ import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; +import com.google.gson.JsonNull; import com.google.gson.JsonParseException; import com.google.gson.TypeAdapterFactory; import com.google.gson.reflect.TypeToken; @@ -48,7 +49,7 @@ /** * Object that represents a blackhole route. */ -@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.19.0") +@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.26.0") public class NexthopBlackhole { /** * Gets or Sets type @@ -56,7 +57,7 @@ public class NexthopBlackhole { @JsonAdapter(TypeEnum.Adapter.class) public enum TypeEnum { BLACKHOLE("blackhole"), - + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -207,10 +208,7 @@ public String toString() { * (except the first line). */ private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); + return o == null ? "null" : o.toString().replace("\n", "\n "); } @@ -291,7 +289,9 @@ else if (entry.getValue() instanceof Character) obj.addProperty(entry.getKey(), (Character) entry.getValue()); else { JsonElement jsonElement = gson.toJsonTree(entry.getValue()); - if (jsonElement.isJsonArray()) { + if (jsonElement.isJsonNull()) { + obj.add(entry.getKey(), JsonNull.INSTANCE); + } else if (jsonElement.isJsonArray()) { obj.add(entry.getKey(), jsonElement.getAsJsonArray()); } else { obj.add(entry.getKey(), jsonElement.getAsJsonObject()); diff --git a/scripts/generators/overrides/java/iaas/v2beta1api/NexthopIPv4.java b/scripts/generators/overrides/java/iaas/v2beta1api/NexthopIPv4.java index c6a063dd..865bb2fd 100644 --- a/scripts/generators/overrides/java/iaas/v2beta1api/NexthopIPv4.java +++ b/scripts/generators/overrides/java/iaas/v2beta1api/NexthopIPv4.java @@ -29,6 +29,7 @@ import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; +import com.google.gson.JsonNull; import com.google.gson.JsonParseException; import com.google.gson.TypeAdapterFactory; import com.google.gson.reflect.TypeToken; @@ -48,7 +49,7 @@ /** * Object that represents an IPv4 address. */ -@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.19.0") +@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.26.0") public class NexthopIPv4 { /** * Gets or Sets type @@ -56,7 +57,7 @@ public class NexthopIPv4 { @JsonAdapter(TypeEnum.Adapter.class) public enum TypeEnum { IPV4("ipv4"), - + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -233,10 +234,7 @@ public String toString() { * (except the first line). */ private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); + return o == null ? "null" : o.toString().replace("\n", "\n "); } @@ -320,7 +318,9 @@ else if (entry.getValue() instanceof Character) obj.addProperty(entry.getKey(), (Character) entry.getValue()); else { JsonElement jsonElement = gson.toJsonTree(entry.getValue()); - if (jsonElement.isJsonArray()) { + if (jsonElement.isJsonNull()) { + obj.add(entry.getKey(), JsonNull.INSTANCE); + } else if (jsonElement.isJsonArray()) { obj.add(entry.getKey(), jsonElement.getAsJsonArray()); } else { obj.add(entry.getKey(), jsonElement.getAsJsonObject()); diff --git a/scripts/generators/overrides/java/iaas/v2beta1api/NexthopIPv6.java b/scripts/generators/overrides/java/iaas/v2beta1api/NexthopIPv6.java index 359e040c..c7e23d0a 100644 --- a/scripts/generators/overrides/java/iaas/v2beta1api/NexthopIPv6.java +++ b/scripts/generators/overrides/java/iaas/v2beta1api/NexthopIPv6.java @@ -29,6 +29,7 @@ import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; +import com.google.gson.JsonNull; import com.google.gson.JsonParseException; import com.google.gson.TypeAdapterFactory; import com.google.gson.reflect.TypeToken; @@ -48,7 +49,7 @@ /** * Object that represents an IPv6 address. */ -@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.19.0") +@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.26.0") public class NexthopIPv6 { /** * Gets or Sets type @@ -56,7 +57,7 @@ public class NexthopIPv6 { @JsonAdapter(TypeEnum.Adapter.class) public enum TypeEnum { IPV6("ipv6"), - + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -233,10 +234,7 @@ public String toString() { * (except the first line). */ private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); + return o == null ? "null" : o.toString().replace("\n", "\n "); } @@ -320,7 +318,9 @@ else if (entry.getValue() instanceof Character) obj.addProperty(entry.getKey(), (Character) entry.getValue()); else { JsonElement jsonElement = gson.toJsonTree(entry.getValue()); - if (jsonElement.isJsonArray()) { + if (jsonElement.isJsonNull()) { + obj.add(entry.getKey(), JsonNull.INSTANCE); + } else if (jsonElement.isJsonArray()) { obj.add(entry.getKey(), jsonElement.getAsJsonArray()); } else { obj.add(entry.getKey(), jsonElement.getAsJsonObject()); diff --git a/scripts/generators/overrides/java/iaas/v2beta1api/NexthopInternet.java b/scripts/generators/overrides/java/iaas/v2beta1api/NexthopInternet.java index 0d67c8c9..18c6a36f 100644 --- a/scripts/generators/overrides/java/iaas/v2beta1api/NexthopInternet.java +++ b/scripts/generators/overrides/java/iaas/v2beta1api/NexthopInternet.java @@ -29,6 +29,7 @@ import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; +import com.google.gson.JsonNull; import com.google.gson.JsonParseException; import com.google.gson.TypeAdapterFactory; import com.google.gson.reflect.TypeToken; @@ -48,7 +49,7 @@ /** * Object that represents a route to the internet. */ -@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.19.0") +@javax.annotation.Generated(value = "JavaGenerator", comments = "Generator version: 7.26.0") public class NexthopInternet { /** * Gets or Sets type @@ -56,7 +57,7 @@ public class NexthopInternet { @JsonAdapter(TypeEnum.Adapter.class) public enum TypeEnum { INTERNET("internet"), - + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -207,10 +208,7 @@ public String toString() { * (except the first line). */ private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); + return o == null ? "null" : o.toString().replace("\n", "\n "); } @@ -291,7 +289,9 @@ else if (entry.getValue() instanceof Character) obj.addProperty(entry.getKey(), (Character) entry.getValue()); else { JsonElement jsonElement = gson.toJsonTree(entry.getValue()); - if (jsonElement.isJsonArray()) { + if (jsonElement.isJsonNull()) { + obj.add(entry.getKey(), JsonNull.INSTANCE); + } else if (jsonElement.isJsonArray()) { obj.add(entry.getKey(), jsonElement.getAsJsonArray()); } else { obj.add(entry.getKey(), jsonElement.getAsJsonObject()); diff --git a/scripts/generators/overrides/java/overrides.properties b/scripts/generators/overrides/java/overrides.properties index e8451e28..92460053 100644 --- a/scripts/generators/overrides/java/overrides.properties +++ b/scripts/generators/overrides/java/overrides.properties @@ -1,18 +1,18 @@ automationV1BetaApiCreateSnapshotsResult.path=automation/src/main/java/cloud/stackit/sdk/automation/v1betaapi/model/CreateSnapshotsResult.java automationV1BetaApiCreateSnapshotsResult.replacementPath=automation/v1betaapi/CreateSnapshotsResult.java -automationV1BetaApiCreateSnapshotsResult.hash=ac555ba72060b40e75893ee1b0c6e3c5 +automationV1BetaApiCreateSnapshotsResult.hash=48421c853f80dfc85d2113375f83bf2e automationV1BetaApiGetVolumeIDsResult.path=automation/src/main/java/cloud/stackit/sdk/automation/v1betaapi/model/GetVolumeIDsResult.java automationV1BetaApiGetVolumeIDsResult.replacementPath=automation/v1betaapi/GetVolumeIDsResult.java -automationV1BetaApiGetVolumeIDsResult.hash=d27467d67db516d0cba7c18d1fe4b216 +automationV1BetaApiGetVolumeIDsResult.hash=45802ffba742e48049c745a52346e7bb automationV1BetaApiSnapshotRetentionPolicyCount.path=automation/src/main/java/cloud/stackit/sdk/automation/v1betaapi/model/SnapshotRetentionPolicyCount.java automationV1BetaApiSnapshotRetentionPolicyCount.replacementPath=automation/v1betaapi/SnapshotRetentionPolicyCount.java -automationV1BetaApiSnapshotRetentionPolicyCount.hash=4adcfe9d80ce524dd0a01d18ec0e6410 +automationV1BetaApiSnapshotRetentionPolicyCount.hash=8821cccd423d7a6d91fd88fd812216f7 automationV1BetaApiSnapshotRetentionPolicyIndefinitely.path=automation/src/main/java/cloud/stackit/sdk/automation/v1betaapi/model/SnapshotRetentionPolicyIndefinitely.java automationV1BetaApiSnapshotRetentionPolicyIndefinitely.replacementPath=automation/v1betaapi/SnapshotRetentionPolicyIndefinitely.java -automationV1BetaApiSnapshotRetentionPolicyIndefinitely.hash=f441b4be83c6368675c8b627da2b375a +automationV1BetaApiSnapshotRetentionPolicyIndefinitely.hash=0f902ff2d3ffb627b40681b22fc6b105 iaasV2AlphaApiRouteDestinationCIDRv4.path=iaas/src/main/java/cloud/stackit/sdk/iaas/v2alpha1api/model/DestinationCIDRv4.java iaasV2AlphaApiRouteDestinationCIDRv4.replacementPath=iaas/v2alpha1api/iaas_v2alpha_model_destinationCIDRv4.java @@ -48,48 +48,48 @@ iaasV2AlphaApiVPCNetworkRangIPv6.hash=b707bf15b842ad30cc998c08ed8076a6 iaasV2RouteDestinationCIDRv4.path=iaas/src/main/java/cloud/stackit/sdk/iaas/v2api/model/DestinationCIDRv4.java iaasV2RouteDestinationCIDRv4.replacementPath=iaas/v2api/DestinationCIDRv4.java -iaasV2RouteDestinationCIDRv4.hash=075f620c50a65067896860f73ae9d05d +iaasV2RouteDestinationCIDRv4.hash=a8fc6eb1152305f39c1c0a891f85dd27 iaasV2RouteDestinationCIDRv6.path=iaas/src/main/java/cloud/stackit/sdk/iaas/v2api/model/DestinationCIDRv6.java iaasV2RouteDestinationCIDRv6.replacementPath=iaas/v2api/DestinationCIDRv6.java -iaasV2RouteDestinationCIDRv6.hash=a0ab059ef4a66067713c2099d2a2e68b +iaasV2RouteDestinationCIDRv6.hash=6d33646ccc76e0cbbf18b27d2573bc68 iaasV2RouteNexthopIPv4.path=iaas/src/main/java/cloud/stackit/sdk/iaas/v2api/model/NexthopIPv4.java iaasV2RouteNexthopIPv4.replacementPath=iaas/v2api/NexthopIPv4.java -iaasV2RouteNexthopIPv4.hash=9fe4f34934b1ffc73aff39bb550a9d0a +iaasV2RouteNexthopIPv4.hash=b2aabaac0967be8a3612cc0d4a934174 iaasV2RouteNexthopIPv6.path=iaas/src/main/java/cloud/stackit/sdk/iaas/v2api/model/NexthopIPv6.java iaasV2RouteNexthopIPv6.replacementPath=iaas/v2api/NexthopIPv6.java -iaasV2RouteNexthopIPv6.hash=573618660397c921aec05425f364866b +iaasV2RouteNexthopIPv6.hash=9f26efdade1d7777c2bc1f55fafde6ff iaasV2RouteNexthopBlackhole.path=iaas/src/main/java/cloud/stackit/sdk/iaas/v2api/model/NexthopBlackhole.java iaasV2RouteNexthopBlackhole.replacementPath=iaas/v2api/NexthopBlackhole.java -iaasV2RouteNexthopBlackhole.hash=68a7d98a6ff2f4b65766da1709d7166b +iaasV2RouteNexthopBlackhole.hash=4b9b6c53ed81766cac2f837b7553a8f9 iaasV2RouteNexthopInternet.path=iaas/src/main/java/cloud/stackit/sdk/iaas/v2api/model/NexthopInternet.java iaasV2RouteNexthopInternet.replacementPath=iaas/v2api/NexthopInternet.java -iaasV2RouteNexthopInternet.hash=9108c0884deabbff4094da27803ac7b4 +iaasV2RouteNexthopInternet.hash=c512e670cf3ad78cb01485b1442cea22 iaasV2betaRouteDestinationCIDRv4.path=iaas/src/main/java/cloud/stackit/sdk/iaas/v2beta1api/model/DestinationCIDRv4.java iaasV2betaRouteDestinationCIDRv4.replacementPath=iaas/v2beta1api/DestinationCIDRv4.java -iaasV2betaRouteDestinationCIDRv4.hash=821e2278c7604b4c3d2f6e72e8d9a365 +iaasV2betaRouteDestinationCIDRv4.hash=2fad3c29f1306c5c5bf52158bb53bbe8 iaasV2betaRouteDestinationCIDRv6.path=iaas/src/main/java/cloud/stackit/sdk/iaas/v2beta1api/model/DestinationCIDRv6.java iaasV2betaRouteDestinationCIDRv6.replacementPath=iaas/v2beta1api/DestinationCIDRv6.java -iaasV2betaRouteDestinationCIDRv6.hash=a55c6d03e973013bd01557410fdee6ad +iaasV2betaRouteDestinationCIDRv6.hash=b4fc3fe2f2b666e70fa95662b6b31f3c iaasV2betaRouteNexthopIPv4.path=iaas/src/main/java/cloud/stackit/sdk/iaas/v2beta1api/model/NexthopIPv4.java iaasV2betaRouteNexthopIPv4.replacementPath=iaas/v2beta1api/NexthopIPv4.java -iaasV2betaRouteNexthopIPv4.hash=53995f795a7ec9288b6cc9c86642d4e2 +iaasV2betaRouteNexthopIPv4.hash=ddb58fd28b2d61aabf0bffdc681affef iaasV2betaRouteNexthopIPv6.path=iaas/src/main/java/cloud/stackit/sdk/iaas/v2beta1api/model/NexthopIPv6.java iaasV2betaRouteNexthopIPv6.replacementPath=iaas/v2beta1api/NexthopIPv6.java -iaasV2betaRouteNexthopIPv6.hash=ec029362fe0f289ce8732183cacc6855 +iaasV2betaRouteNexthopIPv6.hash=907279c7cbca9cda4ef62607b97296ff iaasV2betaRouteNexthopBlackhole.path=iaas/src/main/java/cloud/stackit/sdk/iaas/v2beta1api/model/NexthopBlackhole.java iaasV2betaRouteNexthopBlackhole.replacementPath=iaas/v2beta1api/NexthopBlackhole.java -iaasV2betaRouteNexthopBlackhole.hash=70789628d5bebe2dced654f2833e028d +iaasV2betaRouteNexthopBlackhole.hash=316abb55949d177e5d26836b2fc8ff9d iaasV2betaRouteNexthopInternet.path=iaas/src/main/java/cloud/stackit/sdk/iaas/v2beta1api/model/NexthopInternet.java iaasV2betaRouteNexthopInternet.replacementPath=iaas/v2beta1api/NexthopInternet.java -iaasV2betaRouteNexthopInternet.hash=ae56426056a1f33dee92236808bf4b90 +iaasV2betaRouteNexthopInternet.hash=2d06e30d02b493177ad6b2d4ddf935f5