Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/** Set this to customize active health checks for targets in this pool. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.15.0")
comments = "Generator version: 7.19.0")
public class ActiveHealthCheck {
public static final String SERIALIZED_NAME_HEALTHY_THRESHOLD = "healthyThreshold";

Expand Down Expand Up @@ -262,6 +262,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"The required field(s) %s in ActiveHealthCheck is not found in the empty JSON string",
ActiveHealthCheck.openapiRequiredFields.toString()));
}
Expand All @@ -273,8 +274,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!ActiveHealthCheck.openapiFields.contains(entry.getKey())) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `ActiveHealthCheck` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
entry.getKey(),
jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
Expand All @@ -287,20 +290,23 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("interval").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `interval` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("interval").toString()));
}
if ((jsonObj.get("intervalJitter") != null && !jsonObj.get("intervalJitter").isJsonNull())
&& !jsonObj.get("intervalJitter").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `intervalJitter` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("intervalJitter").toString()));
}
if ((jsonObj.get("timeout") != null && !jsonObj.get("timeout").isJsonNull())
&& !jsonObj.get("timeout").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `timeout` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("timeout").toString()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
/** TLS termination certificate configuration. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.15.0")
comments = "Generator version: 7.19.0")
public class CertificateConfig {
public static final String SERIALIZED_NAME_CERTIFICATE_IDS = "certificateIds";

Expand Down Expand Up @@ -130,6 +130,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"The required field(s) %s in CertificateConfig is not found in the empty JSON string",
CertificateConfig.openapiRequiredFields.toString()));
}
Expand All @@ -141,8 +142,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!CertificateConfig.openapiFields.contains(entry.getKey())) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `CertificateConfig` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
entry.getKey(),
jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
Expand All @@ -152,6 +155,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("certificateIds").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `certificateIds` to be an array in the JSON string but got `%s`",
jsonObj.get("certificateIds").toString()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/** CookiePersistence contains the cookie-based session persistence configuration. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.15.0")
comments = "Generator version: 7.19.0")
public class CookiePersistence {
public static final String SERIALIZED_NAME_NAME = "name";

Expand Down Expand Up @@ -145,6 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"The required field(s) %s in CookiePersistence is not found in the empty JSON string",
CookiePersistence.openapiRequiredFields.toString()));
}
Expand All @@ -156,22 +157,26 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!CookiePersistence.openapiFields.contains(entry.getKey())) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `CookiePersistence` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
entry.getKey(),
jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull())
&& !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("ttl") != null && !jsonObj.get("ttl").isJsonNull())
&& !jsonObj.get("ttl").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `ttl` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("ttl").toString()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/** CreateCredentialsPayload */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.15.0")
comments = "Generator version: 7.19.0")
public class CreateCredentialsPayload {
public static final String SERIALIZED_NAME_DISPLAY_NAME = "displayName";

Expand Down Expand Up @@ -171,6 +171,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"The required field(s) %s in CreateCredentialsPayload is not found in the empty JSON string",
CreateCredentialsPayload.openapiRequiredFields.toString()));
}
Expand All @@ -182,29 +183,34 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!CreateCredentialsPayload.openapiFields.contains(entry.getKey())) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `CreateCredentialsPayload` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
entry.getKey(),
jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("displayName") != null && !jsonObj.get("displayName").isJsonNull())
&& !jsonObj.get("displayName").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `displayName` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("displayName").toString()));
}
if ((jsonObj.get("password") != null && !jsonObj.get("password").isJsonNull())
&& !jsonObj.get("password").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `password` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("password").toString()));
}
if ((jsonObj.get("username") != null && !jsonObj.get("username").isJsonNull())
&& !jsonObj.get("username").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `username` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("username").toString()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/** CreateCredentialsResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.15.0")
comments = "Generator version: 7.19.0")
public class CreateCredentialsResponse {
public static final String SERIALIZED_NAME_CREDENTIAL = "credential";

Expand Down Expand Up @@ -120,6 +120,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"The required field(s) %s in CreateCredentialsResponse is not found in the empty JSON string",
CreateCredentialsResponse.openapiRequiredFields.toString()));
}
Expand All @@ -131,8 +132,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!CreateCredentialsResponse.openapiFields.contains(entry.getKey())) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `CreateCredentialsResponse` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
entry.getKey(),
jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
/** CreateLoadBalancerPayload */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.15.0")
comments = "Generator version: 7.19.0")
public class CreateLoadBalancerPayload {
public static final String SERIALIZED_NAME_DISABLE_TARGET_SECURITY_GROUP_ASSIGNMENT =
"disableTargetSecurityGroupAssignment";
Expand Down Expand Up @@ -623,6 +623,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"The required field(s) %s in CreateLoadBalancerPayload is not found in the empty JSON string",
CreateLoadBalancerPayload.openapiRequiredFields.toString()));
}
Expand All @@ -634,8 +635,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!CreateLoadBalancerPayload.openapiFields.contains(entry.getKey())) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `CreateLoadBalancerPayload` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
entry.getKey(),
jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
Expand All @@ -646,6 +649,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("errors").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `errors` to be an array in the JSON string but got `%s`",
jsonObj.get("errors").toString()));
}
Expand All @@ -661,6 +665,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("externalAddress").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `externalAddress` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("externalAddress").toString()));
}
Expand All @@ -671,6 +676,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("listeners").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `listeners` to be an array in the JSON string but got `%s`",
jsonObj.get("listeners").toString()));
}
Expand All @@ -691,6 +697,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("name").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `name` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("name").toString()));
}
Expand All @@ -701,6 +708,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("networks").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `networks` to be an array in the JSON string but got `%s`",
jsonObj.get("networks").toString()));
}
Expand All @@ -720,27 +728,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("planId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `planId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("planId").toString()));
}
if ((jsonObj.get("privateAddress") != null && !jsonObj.get("privateAddress").isJsonNull())
&& !jsonObj.get("privateAddress").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `privateAddress` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("privateAddress").toString()));
}
if ((jsonObj.get("region") != null && !jsonObj.get("region").isJsonNull())
&& !jsonObj.get("region").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `region` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("region").toString()));
}
if ((jsonObj.get("status") != null && !jsonObj.get("status").isJsonNull())
&& !jsonObj.get("status").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `status` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("status").toString()));
}
Expand All @@ -755,6 +767,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("targetPools").isJsonArray()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `targetPools` to be an array in the JSON string but got `%s`",
jsonObj.get("targetPools").toString()));
}
Expand All @@ -775,6 +788,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
&& !jsonObj.get("version").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `version` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("version").toString()));
}
Expand Down
Loading