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 @@
/** AccessKey */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.15.0")
comments = "Generator version: 7.19.0")
public class AccessKey {
public static final String SERIALIZED_NAME_DISPLAY_NAME = "displayName";

Expand Down Expand Up @@ -176,6 +176,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 AccessKey is not found in the empty JSON string",
AccessKey.openapiRequiredFields.toString()));
}
Expand All @@ -187,8 +188,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!AccessKey.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 `AccessKey` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
entry.getKey(),
jsonElement.toString()));
}
}

Expand All @@ -197,26 +200,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("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("expires").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `expires` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("expires").toString()));
}
if (!jsonObj.get("keyId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `keyId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("keyId").toString()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/** Bucket */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.15.0")
comments = "Generator version: 7.19.0")
public class Bucket {
public static final String SERIALIZED_NAME_NAME = "name";

Expand Down Expand Up @@ -208,6 +208,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 Bucket is not found in the empty JSON string",
Bucket.openapiRequiredFields.toString()));
}
Expand All @@ -219,8 +220,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!Bucket.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 `Bucket` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
entry.getKey(),
jsonElement.toString()));
}
}

Expand All @@ -229,32 +232,38 @@ 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("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("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("urlPathStyle").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `urlPathStyle` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("urlPathStyle").toString()));
}
if (!jsonObj.get("urlVirtualHostedStyle").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `urlVirtualHostedStyle` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("urlVirtualHostedStyle").toString()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/** CreateAccessKeyPayload */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.15.0")
comments = "Generator version: 7.19.0")
public class CreateAccessKeyPayload {
public static final String SERIALIZED_NAME_EXPIRES = "expires";

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 CreateAccessKeyPayload is not found in the empty JSON string",
CreateAccessKeyPayload.openapiRequiredFields.toString()));
}
Expand All @@ -131,8 +132,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!CreateAccessKeyPayload.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 `CreateAccessKeyPayload` 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 @@ -32,7 +32,7 @@
/** CreateAccessKeyResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.15.0")
comments = "Generator version: 7.19.0")
public class CreateAccessKeyResponse {
public static final String SERIALIZED_NAME_ACCESS_KEY = "accessKey";

Expand Down Expand Up @@ -271,6 +271,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 CreateAccessKeyResponse is not found in the empty JSON string",
CreateAccessKeyResponse.openapiRequiredFields.toString()));
}
Expand All @@ -282,8 +283,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!CreateAccessKeyResponse.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 `CreateAccessKeyResponse` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
entry.getKey(),
jsonElement.toString()));
}
}

Expand All @@ -292,45 +295,53 @@ 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("accessKey").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `accessKey` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("accessKey").toString()));
}
if (!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("expires") != null && !jsonObj.get("expires").isJsonNull())
&& !jsonObj.get("expires").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `expires` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("expires").toString()));
}
if (!jsonObj.get("keyId").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `keyId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("keyId").toString()));
}
if (!jsonObj.get("project").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `project` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("project").toString()));
}
if (!jsonObj.get("secretAccessKey").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `secretAccessKey` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("secretAccessKey").toString()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/** CreateBucketResponse */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.15.0")
comments = "Generator version: 7.19.0")
public class CreateBucketResponse {
public static final String SERIALIZED_NAME_BUCKET = "bucket";

Expand Down Expand Up @@ -148,6 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"The required field(s) %s in CreateBucketResponse is not found in the empty JSON string",
CreateBucketResponse.openapiRequiredFields.toString()));
}
Expand All @@ -159,8 +160,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!CreateBucketResponse.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 `CreateBucketResponse` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
entry.getKey(),
jsonElement.toString()));
}
}

Expand All @@ -169,20 +172,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("bucket").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `bucket` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("bucket").toString()));
}
if (!jsonObj.get("project").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"Expected the field `project` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("project").toString()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/** CreateCredentialsGroupPayload */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.15.0")
comments = "Generator version: 7.19.0")
public class CreateCredentialsGroupPayload {
public static final String SERIALIZED_NAME_DISPLAY_NAME = "displayName";

Expand Down Expand Up @@ -123,6 +123,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(
String.format(
java.util.Locale.ROOT,
"The required field(s) %s in CreateCredentialsGroupPayload is not found in the empty JSON string",
CreateCredentialsGroupPayload.openapiRequiredFields.toString()));
}
Expand All @@ -134,8 +135,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!CreateCredentialsGroupPayload.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 `CreateCredentialsGroupPayload` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
entry.getKey(),
jsonElement.toString()));
}
}

Expand All @@ -144,14 +147,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("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()));
}
Expand Down
Loading