() {}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
diff --git a/src/main/java/com/formkiq/client/invoker/ApiClient.java b/src/main/java/com/formkiq/client/invoker/ApiClient.java
index 858d98ab8..69500076b 100644
--- a/src/main/java/com/formkiq/client/invoker/ApiClient.java
+++ b/src/main/java/com/formkiq/client/invoker/ApiClient.java
@@ -92,6 +92,7 @@ public class ApiClient {
protected InputStream sslCaCert;
protected boolean verifyingSsl;
protected KeyManager[] keyManagers;
+ protected String tlsServerName;
protected OkHttpClient httpClient;
protected JSON json;
@@ -309,6 +310,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.
@@ -953,7 +976,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()) {
@@ -1308,7 +1341,7 @@ public String buildUrl(String baseUrl, String path, List queryParams,
String baseURL;
if (serverIndex != null) {
if (serverIndex < 0 || serverIndex >= servers.size()) {
- throw new ArrayIndexOutOfBoundsException(String.format(Locale.ROOT,
+ 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()));
}
@@ -1382,12 +1415,12 @@ 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(Locale.ROOT, "%s=%s", param.getKey(), param.getValue()));
+ 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(Locale.ROOT, "%s=%s", param.getKey(), param.getValue()));
+ String.format(java.util.Locale.ROOT, "%s=%s", param.getKey(), param.getValue()));
}
}
}
@@ -1587,7 +1620,17 @@ 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/src/main/java/com/formkiq/client/invoker/ApiException.java b/src/main/java/com/formkiq/client/invoker/ApiException.java
index 33c0e2d7f..e452e8858 100644
--- a/src/main/java/com/formkiq/client/invoker/ApiException.java
+++ b/src/main/java/com/formkiq/client/invoker/ApiException.java
@@ -22,7 +22,6 @@
import java.util.Map;
import java.util.List;
-import java.util.Locale;
/**
@@ -32,8 +31,8 @@
*/
@SuppressWarnings("serial")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class ApiException extends Exception {
private static final long serialVersionUID = 1L;
@@ -196,7 +195,7 @@ public String getResponseBody() {
* @return The exception message
*/
public String getMessage() {
- return String.format(Locale.ROOT,
+ return String.format(java.util.Locale.ROOT,
"Message: %s%nHTTP response code: %s%nHTTP response body: %s%nHTTP response headers: %s",
super.getMessage(), this.getCode(), this.getResponseBody(), this.getResponseHeaders());
}
diff --git a/src/main/java/com/formkiq/client/invoker/Configuration.java b/src/main/java/com/formkiq/client/invoker/Configuration.java
index 309cd4c76..49d237caf 100644
--- a/src/main/java/com/formkiq/client/invoker/Configuration.java
+++ b/src/main/java/com/formkiq/client/invoker/Configuration.java
@@ -25,8 +25,8 @@
import java.util.function.Supplier;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class Configuration {
public static final String VERSION = "1.18.1";
diff --git a/src/main/java/com/formkiq/client/invoker/JSON.java b/src/main/java/com/formkiq/client/invoker/JSON.java
index 8fb6423fa..cf17c55e8 100644
--- a/src/main/java/com/formkiq/client/invoker/JSON.java
+++ b/src/main/java/com/formkiq/client/invoker/JSON.java
@@ -161,6 +161,10 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue,
new com.formkiq.client.model.AddDocumentAttributeValue.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new com.formkiq.client.model.AddDocumentAttributesRequest.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(
+ new com.formkiq.client.model.AddDocumentCertificationRequest.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(
+ new com.formkiq.client.model.AddDocumentCertificationResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new com.formkiq.client.model.AddDocumentFulltextRequest.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
@@ -171,6 +175,8 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue,
new com.formkiq.client.model.AddDocumentGenerateResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new com.formkiq.client.model.AddDocumentMetadata.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(
+ new com.formkiq.client.model.AddDocumentMetadataExtractionResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new com.formkiq.client.model.AddDocumentOcrRequest.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
@@ -373,6 +379,10 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue,
new com.formkiq.client.model.DocumentAction.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new com.formkiq.client.model.DocumentAttribute.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(
+ new com.formkiq.client.model.DocumentCertification.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(
+ new com.formkiq.client.model.DocumentCertificationAwsSecretsManager.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new com.formkiq.client.model.DocumentConfig.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
@@ -505,6 +515,8 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue,
new com.formkiq.client.model.GetDocumentDataClassificationResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new com.formkiq.client.model.GetDocumentFulltextResponse.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(
+ new com.formkiq.client.model.GetDocumentMetadataExtractionResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new com.formkiq.client.model.GetDocumentOcrResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
@@ -643,6 +655,10 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue,
new com.formkiq.client.model.MappingAttribute.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new com.formkiq.client.model.MatchDocumentTag.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(
+ new com.formkiq.client.model.MetadataExtraction.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(
+ new com.formkiq.client.model.MetadataExtractionAttribute.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new com.formkiq.client.model.ModelCase.CustomTypeAdapterFactory());
gsonBuilder
diff --git a/src/main/java/com/formkiq/client/invoker/Pair.java b/src/main/java/com/formkiq/client/invoker/Pair.java
index c45563ef9..ad0ed1359 100644
--- a/src/main/java/com/formkiq/client/invoker/Pair.java
+++ b/src/main/java/com/formkiq/client/invoker/Pair.java
@@ -21,8 +21,8 @@
package com.formkiq.client.invoker;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class Pair {
private final String name;
private final String value;
diff --git a/src/main/java/com/formkiq/client/invoker/ServerConfiguration.java b/src/main/java/com/formkiq/client/invoker/ServerConfiguration.java
index 81ff86d9f..69f5e18da 100644
--- a/src/main/java/com/formkiq/client/invoker/ServerConfiguration.java
+++ b/src/main/java/com/formkiq/client/invoker/ServerConfiguration.java
@@ -26,8 +26,8 @@
* Representing a Server configuration.
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class ServerConfiguration {
public String URL;
public String description;
diff --git a/src/main/java/com/formkiq/client/invoker/ServerVariable.java b/src/main/java/com/formkiq/client/invoker/ServerVariable.java
index 99b2ba979..9a2042390 100644
--- a/src/main/java/com/formkiq/client/invoker/ServerVariable.java
+++ b/src/main/java/com/formkiq/client/invoker/ServerVariable.java
@@ -26,8 +26,8 @@
* Representing a Server Variable for server URL template substitution.
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class ServerVariable {
public String description;
public String defaultValue;
diff --git a/src/main/java/com/formkiq/client/invoker/StringUtil.java b/src/main/java/com/formkiq/client/invoker/StringUtil.java
index 61a39fbe8..1e3d9402a 100644
--- a/src/main/java/com/formkiq/client/invoker/StringUtil.java
+++ b/src/main/java/com/formkiq/client/invoker/StringUtil.java
@@ -24,8 +24,8 @@
import java.util.Iterator;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).
diff --git a/src/main/java/com/formkiq/client/invoker/auth/AWS4Auth.java b/src/main/java/com/formkiq/client/invoker/auth/AWS4Auth.java
index bab94f448..438abbc49 100644
--- a/src/main/java/com/formkiq/client/invoker/auth/AWS4Auth.java
+++ b/src/main/java/com/formkiq/client/invoker/auth/AWS4Auth.java
@@ -46,8 +46,8 @@
import okio.Buffer;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AWS4Auth implements Authentication {
private AwsCredentials credentials;
diff --git a/src/main/java/com/formkiq/client/invoker/auth/ApiKeyAuth.java b/src/main/java/com/formkiq/client/invoker/auth/ApiKeyAuth.java
index 903a26466..e3202df63 100644
--- a/src/main/java/com/formkiq/client/invoker/auth/ApiKeyAuth.java
+++ b/src/main/java/com/formkiq/client/invoker/auth/ApiKeyAuth.java
@@ -28,8 +28,8 @@
import java.util.List;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class ApiKeyAuth implements Authentication {
private final String location;
private final String paramName;
diff --git a/src/main/java/com/formkiq/client/invoker/auth/Authentication.java b/src/main/java/com/formkiq/client/invoker/auth/Authentication.java
index 1ac68b33e..d0b2fcfa2 100644
--- a/src/main/java/com/formkiq/client/invoker/auth/Authentication.java
+++ b/src/main/java/com/formkiq/client/invoker/auth/Authentication.java
@@ -28,8 +28,8 @@
import java.util.List;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public interface Authentication {
/**
* Apply authentication settings to header and query params.
diff --git a/src/main/java/com/formkiq/client/invoker/auth/HttpBearerAuth.java b/src/main/java/com/formkiq/client/invoker/auth/HttpBearerAuth.java
index af47985a8..eaf4c4354 100644
--- a/src/main/java/com/formkiq/client/invoker/auth/HttpBearerAuth.java
+++ b/src/main/java/com/formkiq/client/invoker/auth/HttpBearerAuth.java
@@ -30,8 +30,8 @@
import java.util.function.Supplier;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class HttpBearerAuth implements Authentication {
private final String scheme;
private Supplier tokenSupplier;
diff --git a/src/main/java/com/formkiq/client/invoker/auth/OAuth.java b/src/main/java/com/formkiq/client/invoker/auth/OAuth.java
index 71f92ee9e..f252d8d79 100644
--- a/src/main/java/com/formkiq/client/invoker/auth/OAuth.java
+++ b/src/main/java/com/formkiq/client/invoker/auth/OAuth.java
@@ -28,8 +28,8 @@
import java.util.List;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class OAuth implements Authentication {
private String accessToken;
diff --git a/src/main/java/com/formkiq/client/invoker/auth/OAuthFlow.java b/src/main/java/com/formkiq/client/invoker/auth/OAuthFlow.java
index d48abf767..802b672cc 100644
--- a/src/main/java/com/formkiq/client/invoker/auth/OAuthFlow.java
+++ b/src/main/java/com/formkiq/client/invoker/auth/OAuthFlow.java
@@ -24,8 +24,8 @@
* OAuth flows that are supported by this client
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public enum OAuthFlow {
ACCESS_CODE, // called authorizationCode in OpenAPI 3.0
IMPLICIT, PASSWORD, APPLICATION // called clientCredentials in OpenAPI 3.0
diff --git a/src/main/java/com/formkiq/client/model/AbstractOpenApiSchema.java b/src/main/java/com/formkiq/client/model/AbstractOpenApiSchema.java
index 1e0109e48..56ae12772 100644
--- a/src/main/java/com/formkiq/client/model/AbstractOpenApiSchema.java
+++ b/src/main/java/com/formkiq/client/model/AbstractOpenApiSchema.java
@@ -29,8 +29,8 @@
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public abstract class AbstractOpenApiSchema {
// store the actual instance of the schema/object
diff --git a/src/main/java/com/formkiq/client/model/Activity.java b/src/main/java/com/formkiq/client/model/Activity.java
index 147d7e6c3..8423b80d3 100644
--- a/src/main/java/com/formkiq/client/model/Activity.java
+++ b/src/main/java/com/formkiq/client/model/Activity.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.ActivityStatus;
import com.formkiq.client.model.UserActivityChanges;
import com.google.gson.TypeAdapter;
@@ -55,7 +54,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -63,8 +61,8 @@
* Activity
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class Activity {
public static final String SERIALIZED_NAME_RESOURCE = "resource";
@SerializedName(SERIALIZED_NAME_RESOURCE)
@@ -126,6 +124,46 @@ public class Activity {
@javax.annotation.Nullable
private String entityId;
+ public static final String SERIALIZED_NAME_API_KEY = "apiKey";
+ @SerializedName(SERIALIZED_NAME_API_KEY)
+ @javax.annotation.Nullable
+ private String apiKey;
+
+ public static final String SERIALIZED_NAME_RULESET_ID = "rulesetId";
+ @SerializedName(SERIALIZED_NAME_RULESET_ID)
+ @javax.annotation.Nullable
+ private String rulesetId;
+
+ public static final String SERIALIZED_NAME_SCHEMA = "schema";
+ @SerializedName(SERIALIZED_NAME_SCHEMA)
+ @javax.annotation.Nullable
+ private String schema;
+
+ public static final String SERIALIZED_NAME_MAPPING_ID = "mappingId";
+ @SerializedName(SERIALIZED_NAME_MAPPING_ID)
+ @javax.annotation.Nullable
+ private String mappingId;
+
+ public static final String SERIALIZED_NAME_CLASSIFICATION_ID = "classificationId";
+ @SerializedName(SERIALIZED_NAME_CLASSIFICATION_ID)
+ @javax.annotation.Nullable
+ private String classificationId;
+
+ public static final String SERIALIZED_NAME_RULE_ID = "ruleId";
+ @SerializedName(SERIALIZED_NAME_RULE_ID)
+ @javax.annotation.Nullable
+ private String ruleId;
+
+ public static final String SERIALIZED_NAME_WORKFLOW_ID = "workflowId";
+ @SerializedName(SERIALIZED_NAME_WORKFLOW_ID)
+ @javax.annotation.Nullable
+ private String workflowId;
+
+ public static final String SERIALIZED_NAME_CONTROL_POLICY = "controlPolicy";
+ @SerializedName(SERIALIZED_NAME_CONTROL_POLICY)
+ @javax.annotation.Nullable
+ private String controlPolicy;
+
public static final String SERIALIZED_NAME_CHANGES = "changes";
@SerializedName(SERIALIZED_NAME_CHANGES)
@javax.annotation.Nullable
@@ -373,6 +411,166 @@ public void setEntityId(@javax.annotation.Nullable String entityId) {
}
+ public Activity apiKey(@javax.annotation.Nullable String apiKey) {
+ this.apiKey = apiKey;
+ return this;
+ }
+
+ /**
+ * API Key
+ *
+ * @return apiKey
+ */
+ @javax.annotation.Nullable
+ public String getApiKey() {
+ return apiKey;
+ }
+
+ public void setApiKey(@javax.annotation.Nullable String apiKey) {
+ this.apiKey = apiKey;
+ }
+
+
+ public Activity rulesetId(@javax.annotation.Nullable String rulesetId) {
+ this.rulesetId = rulesetId;
+ return this;
+ }
+
+ /**
+ * Ruleset Identifier
+ *
+ * @return rulesetId
+ */
+ @javax.annotation.Nullable
+ public String getRulesetId() {
+ return rulesetId;
+ }
+
+ public void setRulesetId(@javax.annotation.Nullable String rulesetId) {
+ this.rulesetId = rulesetId;
+ }
+
+
+ public Activity schema(@javax.annotation.Nullable String schema) {
+ this.schema = schema;
+ return this;
+ }
+
+ /**
+ * Schema Identifier
+ *
+ * @return schema
+ */
+ @javax.annotation.Nullable
+ public String getSchema() {
+ return schema;
+ }
+
+ public void setSchema(@javax.annotation.Nullable String schema) {
+ this.schema = schema;
+ }
+
+
+ public Activity mappingId(@javax.annotation.Nullable String mappingId) {
+ this.mappingId = mappingId;
+ return this;
+ }
+
+ /**
+ * Mapping Identifier
+ *
+ * @return mappingId
+ */
+ @javax.annotation.Nullable
+ public String getMappingId() {
+ return mappingId;
+ }
+
+ public void setMappingId(@javax.annotation.Nullable String mappingId) {
+ this.mappingId = mappingId;
+ }
+
+
+ public Activity classificationId(@javax.annotation.Nullable String classificationId) {
+ this.classificationId = classificationId;
+ return this;
+ }
+
+ /**
+ * Classification Identifier
+ *
+ * @return classificationId
+ */
+ @javax.annotation.Nullable
+ public String getClassificationId() {
+ return classificationId;
+ }
+
+ public void setClassificationId(@javax.annotation.Nullable String classificationId) {
+ this.classificationId = classificationId;
+ }
+
+
+ public Activity ruleId(@javax.annotation.Nullable String ruleId) {
+ this.ruleId = ruleId;
+ return this;
+ }
+
+ /**
+ * Ruleset Rule Identifier
+ *
+ * @return ruleId
+ */
+ @javax.annotation.Nullable
+ public String getRuleId() {
+ return ruleId;
+ }
+
+ public void setRuleId(@javax.annotation.Nullable String ruleId) {
+ this.ruleId = ruleId;
+ }
+
+
+ public Activity workflowId(@javax.annotation.Nullable String workflowId) {
+ this.workflowId = workflowId;
+ return this;
+ }
+
+ /**
+ * Workflow Identifier
+ *
+ * @return workflowId
+ */
+ @javax.annotation.Nullable
+ public String getWorkflowId() {
+ return workflowId;
+ }
+
+ public void setWorkflowId(@javax.annotation.Nullable String workflowId) {
+ this.workflowId = workflowId;
+ }
+
+
+ public Activity controlPolicy(@javax.annotation.Nullable String controlPolicy) {
+ this.controlPolicy = controlPolicy;
+ return this;
+ }
+
+ /**
+ * Control Policy Type
+ *
+ * @return controlPolicy
+ */
+ @javax.annotation.Nullable
+ public String getControlPolicy() {
+ return controlPolicy;
+ }
+
+ public void setControlPolicy(@javax.annotation.Nullable String controlPolicy) {
+ this.controlPolicy = controlPolicy;
+ }
+
+
public Activity changes(@javax.annotation.Nullable Map changes) {
this.changes = changes;
return this;
@@ -422,6 +620,14 @@ public boolean equals(Object o) {
&& Objects.equals(this.attributeKey, activity.attributeKey)
&& Objects.equals(this.entityTypeId, activity.entityTypeId)
&& Objects.equals(this.entityId, activity.entityId)
+ && Objects.equals(this.apiKey, activity.apiKey)
+ && Objects.equals(this.rulesetId, activity.rulesetId)
+ && Objects.equals(this.schema, activity.schema)
+ && Objects.equals(this.mappingId, activity.mappingId)
+ && Objects.equals(this.classificationId, activity.classificationId)
+ && Objects.equals(this.ruleId, activity.ruleId)
+ && Objects.equals(this.workflowId, activity.workflowId)
+ && Objects.equals(this.controlPolicy, activity.controlPolicy)
&& Objects.equals(this.changes, activity.changes);
}
@@ -433,7 +639,8 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
return Objects.hash(resource, type, source, sourceIpAddress, message, status, insertedDate,
- userId, documentId, attributeKey, entityTypeId, entityId, changes);
+ userId, documentId, attributeKey, entityTypeId, entityId, apiKey, rulesetId, schema,
+ mappingId, classificationId, ruleId, workflowId, controlPolicy, changes);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -459,6 +666,14 @@ public String toString() {
sb.append(" attributeKey: ").append(toIndentedString(attributeKey)).append("\n");
sb.append(" entityTypeId: ").append(toIndentedString(entityTypeId)).append("\n");
sb.append(" entityId: ").append(toIndentedString(entityId)).append("\n");
+ sb.append(" apiKey: ").append(toIndentedString(apiKey)).append("\n");
+ sb.append(" rulesetId: ").append(toIndentedString(rulesetId)).append("\n");
+ sb.append(" schema: ").append(toIndentedString(schema)).append("\n");
+ sb.append(" mappingId: ").append(toIndentedString(mappingId)).append("\n");
+ sb.append(" classificationId: ").append(toIndentedString(classificationId)).append("\n");
+ sb.append(" ruleId: ").append(toIndentedString(ruleId)).append("\n");
+ sb.append(" workflowId: ").append(toIndentedString(workflowId)).append("\n");
+ sb.append(" controlPolicy: ").append(toIndentedString(controlPolicy)).append("\n");
sb.append(" changes: ").append(toIndentedString(changes)).append("\n");
sb.append("}");
return sb.toString();
@@ -482,7 +697,8 @@ private String toIndentedString(Object o) {
// a set of all properties/fields (JSON key names)
openapiFields = new HashSet(Arrays.asList("resource", "type", "source",
"sourceIpAddress", "message", "status", "insertedDate", "userId", "documentId",
- "attributeKey", "entityTypeId", "entityId", "changes"));
+ "attributeKey", "entityTypeId", "entityId", "apiKey", "rulesetId", "schema", "mappingId",
+ "classificationId", "ruleId", "workflowId", "controlPolicy", "changes"));
// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet(0);
@@ -498,7 +714,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!Activity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is
// null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in Activity is not found in the empty JSON string",
Activity.openapiRequiredFields.toString()));
}
@@ -508,7 +724,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!Activity.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `Activity` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -516,31 +732,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("resource") != null && !jsonObj.get("resource").isJsonNull())
&& !jsonObj.get("resource").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `resource` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("resource").toString()));
}
if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull())
&& !jsonObj.get("type").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ 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()));
}
if ((jsonObj.get("source") != null && !jsonObj.get("source").isJsonNull())
&& !jsonObj.get("source").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `source` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("source").toString()));
}
if ((jsonObj.get("sourceIpAddress") != null && !jsonObj.get("sourceIpAddress").isJsonNull())
&& !jsonObj.get("sourceIpAddress").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `sourceIpAddress` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("sourceIpAddress").toString()));
}
if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull())
&& !jsonObj.get("message").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ 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()));
}
@@ -550,28 +766,76 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull())
&& !jsonObj.get("insertedDate").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("insertedDate").toString()));
}
if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull())
&& !jsonObj.get("userId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `userId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("userId").toString()));
}
if ((jsonObj.get("entityTypeId") != null && !jsonObj.get("entityTypeId").isJsonNull())
&& !jsonObj.get("entityTypeId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `entityTypeId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("entityTypeId").toString()));
}
if ((jsonObj.get("entityId") != null && !jsonObj.get("entityId").isJsonNull())
&& !jsonObj.get("entityId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `entityId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("entityId").toString()));
}
+ if ((jsonObj.get("apiKey") != null && !jsonObj.get("apiKey").isJsonNull())
+ && !jsonObj.get("apiKey").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "Expected the field `apiKey` to be a primitive type in the JSON string but got `%s`",
+ jsonObj.get("apiKey").toString()));
+ }
+ if ((jsonObj.get("rulesetId") != null && !jsonObj.get("rulesetId").isJsonNull())
+ && !jsonObj.get("rulesetId").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "Expected the field `rulesetId` to be a primitive type in the JSON string but got `%s`",
+ jsonObj.get("rulesetId").toString()));
+ }
+ if ((jsonObj.get("schema") != null && !jsonObj.get("schema").isJsonNull())
+ && !jsonObj.get("schema").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "Expected the field `schema` to be a primitive type in the JSON string but got `%s`",
+ jsonObj.get("schema").toString()));
+ }
+ if ((jsonObj.get("mappingId") != null && !jsonObj.get("mappingId").isJsonNull())
+ && !jsonObj.get("mappingId").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "Expected the field `mappingId` to be a primitive type in the JSON string but got `%s`",
+ jsonObj.get("mappingId").toString()));
+ }
+ if ((jsonObj.get("classificationId") != null && !jsonObj.get("classificationId").isJsonNull())
+ && !jsonObj.get("classificationId").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "Expected the field `classificationId` to be a primitive type in the JSON string but got `%s`",
+ jsonObj.get("classificationId").toString()));
+ }
+ if ((jsonObj.get("ruleId") != null && !jsonObj.get("ruleId").isJsonNull())
+ && !jsonObj.get("ruleId").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "Expected the field `ruleId` to be a primitive type in the JSON string but got `%s`",
+ jsonObj.get("ruleId").toString()));
+ }
+ if ((jsonObj.get("workflowId") != null && !jsonObj.get("workflowId").isJsonNull())
+ && !jsonObj.get("workflowId").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "Expected the field `workflowId` to be a primitive type in the JSON string but got `%s`",
+ jsonObj.get("workflowId").toString()));
+ }
+ if ((jsonObj.get("controlPolicy") != null && !jsonObj.get("controlPolicy").isJsonNull())
+ && !jsonObj.get("controlPolicy").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "Expected the field `controlPolicy` to be a primitive type in the JSON string but got `%s`",
+ jsonObj.get("controlPolicy").toString()));
+ }
}
public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
diff --git a/src/main/java/com/formkiq/client/model/ActivityStatus.java b/src/main/java/com/formkiq/client/model/ActivityStatus.java
index 0d0da8e71..2703c642f 100644
--- a/src/main/java/com/formkiq/client/model/ActivityStatus.java
+++ b/src/main/java/com/formkiq/client/model/ActivityStatus.java
@@ -21,11 +21,9 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
-import java.util.Locale;
import com.google.gson.TypeAdapter;
import com.google.gson.JsonElement;
import com.google.gson.annotations.JsonAdapter;
diff --git a/src/main/java/com/formkiq/client/model/AddAction.java b/src/main/java/com/formkiq/client/model/AddAction.java
index c8c493b3b..709f6a64b 100644
--- a/src/main/java/com/formkiq/client/model/AddAction.java
+++ b/src/main/java/com/formkiq/client/model/AddAction.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.AddActionParameters;
import com.formkiq.client.model.DocumentActionType;
import com.google.gson.TypeAdapter;
@@ -52,7 +51,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -60,8 +58,8 @@
* AddAction
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddAction {
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
@@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddAction.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is
// null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddAction is not found in the empty JSON string",
AddAction.openapiRequiredFields.toString()));
}
@@ -213,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddAction.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddAction` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -222,7 +220,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : AddAction.openapiRequiredFields) {
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s", requiredField,
jsonElement.toString()));
}
@@ -236,7 +234,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
if ((jsonObj.get("queueId") != null && !jsonObj.get("queueId").isJsonNull())
&& !jsonObj.get("queueId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `queueId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("queueId").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddActionParameters.java b/src/main/java/com/formkiq/client/model/AddActionParameters.java
index 71e27a51a..e7224330f 100644
--- a/src/main/java/com/formkiq/client/model/AddActionParameters.java
+++ b/src/main/java/com/formkiq/client/model/AddActionParameters.java
@@ -21,7 +21,7 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
+import com.formkiq.client.model.ChecksumType;
import com.formkiq.client.model.OcrEngine;
import com.formkiq.client.model.OcrOutputType;
import com.formkiq.client.model.TextractQuery;
@@ -55,7 +55,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -63,8 +62,8 @@
* AddActionParameters
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddActionParameters {
public static final String SERIALIZED_NAME_OCR_TEXTRACT_QUERIES = "ocrTextractQueries";
@SerializedName(SERIALIZED_NAME_OCR_TEXTRACT_QUERIES)
@@ -264,6 +263,11 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@javax.annotation.Nullable
private String eventBusName;
+ public static final String SERIALIZED_NAME_CHECKSUM_TYPE = "checksumType";
+ @SerializedName(SERIALIZED_NAME_CHECKSUM_TYPE)
+ @javax.annotation.Nullable
+ private ChecksumType checksumType;
+
public static final String SERIALIZED_NAME_WIDTH = "width";
@SerializedName(SERIALIZED_NAME_WIDTH)
@javax.annotation.Nullable
@@ -425,7 +429,7 @@ public AddActionParameters llmPromptEntityName(
}
/**
- * DATA_CLASSIFICATION: Set the LLM Prompt Entity Name
+ * DATA_CLASSIFICATION / METADATA_EXTRACTION: Set the LLM Prompt Entity Name
*
* @return llmPromptEntityName
*/
@@ -683,6 +687,26 @@ public void setEventBusName(@javax.annotation.Nullable String eventBusName) {
}
+ public AddActionParameters checksumType(@javax.annotation.Nullable ChecksumType checksumType) {
+ this.checksumType = checksumType;
+ return this;
+ }
+
+ /**
+ * Get checksumType
+ *
+ * @return checksumType
+ */
+ @javax.annotation.Nullable
+ public ChecksumType getChecksumType() {
+ return checksumType;
+ }
+
+ public void setChecksumType(@javax.annotation.Nullable ChecksumType checksumType) {
+ this.checksumType = checksumType;
+ }
+
+
public AddActionParameters width(@javax.annotation.Nullable String width) {
this.width = width;
return this;
@@ -793,6 +817,7 @@ public boolean equals(Object o) {
&& Objects.equals(this.tags, addActionParameters.tags)
&& Objects.equals(this.mappingId, addActionParameters.mappingId)
&& Objects.equals(this.eventBusName, addActionParameters.eventBusName)
+ && Objects.equals(this.checksumType, addActionParameters.checksumType)
&& Objects.equals(this.width, addActionParameters.width)
&& Objects.equals(this.height, addActionParameters.height)
&& Objects.equals(this.path, addActionParameters.path)
@@ -804,8 +829,8 @@ public int hashCode() {
return Objects.hash(ocrTextractQueries, ocrParseTypes, ocrEngine, ocrOutputType,
ocrNumberOfPages, addPdfDetectedCharactersAsText, llmPromptEntityName, url, characterMax,
engine, notificationType, notificationToCc, notificationToBcc, notificationSubject,
- notificationText, notificationHtml, tags, mappingId, eventBusName, width, height, path,
- outputType);
+ notificationText, notificationHtml, tags, mappingId, eventBusName, checksumType, width,
+ height, path, outputType);
}
@Override
@@ -834,6 +859,7 @@ public String toString() {
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
sb.append(" mappingId: ").append(toIndentedString(mappingId)).append("\n");
sb.append(" eventBusName: ").append(toIndentedString(eventBusName)).append("\n");
+ sb.append(" checksumType: ").append(toIndentedString(checksumType)).append("\n");
sb.append(" width: ").append(toIndentedString(width)).append("\n");
sb.append(" height: ").append(toIndentedString(height)).append("\n");
sb.append(" path: ").append(toIndentedString(path)).append("\n");
@@ -863,7 +889,7 @@ private String toIndentedString(Object o) {
"ocrNumberOfPages", "addPdfDetectedCharactersAsText", "llmPromptEntityName", "url",
"characterMax", "engine", "notificationType", "notificationToCc", "notificationToBcc",
"notificationSubject", "notificationText", "notificationHtml", "tags", "mappingId",
- "eventBusName", "width", "height", "path", "outputType"));
+ "eventBusName", "checksumType", "width", "height", "path", "outputType"));
// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet(0);
@@ -879,7 +905,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddActionParameters.openapiRequiredFields.isEmpty()) { // has required fields but JSON
// element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddActionParameters is not found in the empty JSON string",
AddActionParameters.openapiRequiredFields.toString()));
}
@@ -889,7 +915,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddActionParameters.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddActionParameters` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -901,7 +927,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonArrayocrTextractQueries != null) {
// ensure the json data is an array
if (!jsonObj.get("ocrTextractQueries").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `ocrTextractQueries` to be an array in the JSON string but got `%s`",
jsonObj.get("ocrTextractQueries").toString()));
}
@@ -914,7 +940,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
if ((jsonObj.get("ocrParseTypes") != null && !jsonObj.get("ocrParseTypes").isJsonNull())
&& !jsonObj.get("ocrParseTypes").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `ocrParseTypes` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("ocrParseTypes").toString()));
}
@@ -928,39 +954,39 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
if ((jsonObj.get("ocrNumberOfPages") != null && !jsonObj.get("ocrNumberOfPages").isJsonNull())
&& !jsonObj.get("ocrNumberOfPages").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `ocrNumberOfPages` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("ocrNumberOfPages").toString()));
}
if ((jsonObj.get("addPdfDetectedCharactersAsText") != null
&& !jsonObj.get("addPdfDetectedCharactersAsText").isJsonNull())
&& !jsonObj.get("addPdfDetectedCharactersAsText").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `addPdfDetectedCharactersAsText` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("addPdfDetectedCharactersAsText").toString()));
}
if ((jsonObj.get("llmPromptEntityName") != null
&& !jsonObj.get("llmPromptEntityName").isJsonNull())
&& !jsonObj.get("llmPromptEntityName").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `llmPromptEntityName` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("llmPromptEntityName").toString()));
}
if ((jsonObj.get("url") != null && !jsonObj.get("url").isJsonNull())
&& !jsonObj.get("url").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `url` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("url").toString()));
}
if ((jsonObj.get("characterMax") != null && !jsonObj.get("characterMax").isJsonNull())
&& !jsonObj.get("characterMax").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `characterMax` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("characterMax").toString()));
}
if ((jsonObj.get("engine") != null && !jsonObj.get("engine").isJsonNull())
&& !jsonObj.get("engine").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `engine` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("engine").toString()));
}
@@ -970,7 +996,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
if ((jsonObj.get("notificationType") != null && !jsonObj.get("notificationType").isJsonNull())
&& !jsonObj.get("notificationType").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `notificationType` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("notificationType").toString()));
}
@@ -980,74 +1006,78 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
if ((jsonObj.get("notificationToCc") != null && !jsonObj.get("notificationToCc").isJsonNull())
&& !jsonObj.get("notificationToCc").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `notificationToCc` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("notificationToCc").toString()));
}
if ((jsonObj.get("notificationToBcc") != null && !jsonObj.get("notificationToBcc").isJsonNull())
&& !jsonObj.get("notificationToBcc").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `notificationToBcc` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("notificationToBcc").toString()));
}
if ((jsonObj.get("notificationSubject") != null
&& !jsonObj.get("notificationSubject").isJsonNull())
&& !jsonObj.get("notificationSubject").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `notificationSubject` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("notificationSubject").toString()));
}
if ((jsonObj.get("notificationText") != null && !jsonObj.get("notificationText").isJsonNull())
&& !jsonObj.get("notificationText").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `notificationText` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("notificationText").toString()));
}
if ((jsonObj.get("notificationHtml") != null && !jsonObj.get("notificationHtml").isJsonNull())
&& !jsonObj.get("notificationHtml").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `notificationHtml` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("notificationHtml").toString()));
}
if ((jsonObj.get("tags") != null && !jsonObj.get("tags").isJsonNull())
&& !jsonObj.get("tags").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `tags` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("tags").toString()));
}
if ((jsonObj.get("mappingId") != null && !jsonObj.get("mappingId").isJsonNull())
&& !jsonObj.get("mappingId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `mappingId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("mappingId").toString()));
}
if ((jsonObj.get("eventBusName") != null && !jsonObj.get("eventBusName").isJsonNull())
&& !jsonObj.get("eventBusName").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `eventBusName` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("eventBusName").toString()));
}
+ // validate the optional field `checksumType`
+ if (jsonObj.get("checksumType") != null && !jsonObj.get("checksumType").isJsonNull()) {
+ ChecksumType.validateJsonElement(jsonObj.get("checksumType"));
+ }
if ((jsonObj.get("width") != null && !jsonObj.get("width").isJsonNull())
&& !jsonObj.get("width").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `width` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("width").toString()));
}
if ((jsonObj.get("height") != null && !jsonObj.get("height").isJsonNull())
&& !jsonObj.get("height").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `height` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("height").toString()));
}
if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull())
&& !jsonObj.get("path").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ 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()));
}
if ((jsonObj.get("outputType") != null && !jsonObj.get("outputType").isJsonNull())
&& !jsonObj.get("outputType").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `outputType` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("outputType").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddApiKeyRequest.java b/src/main/java/com/formkiq/client/model/AddApiKeyRequest.java
index 81b01903e..7926882eb 100644
--- a/src/main/java/com/formkiq/client/model/AddApiKeyRequest.java
+++ b/src/main/java/com/formkiq/client/model/AddApiKeyRequest.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.ApiKeyPermission;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -53,7 +52,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -61,8 +59,8 @@
* AddApiKeyRequest
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddApiKeyRequest {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@@ -221,7 +219,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddApiKeyRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON
// element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddApiKeyRequest is not found in the empty JSON string",
AddApiKeyRequest.openapiRequiredFields.toString()));
}
@@ -231,7 +229,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddApiKeyRequest.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddApiKeyRequest` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -239,21 +237,21 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull())
&& !jsonObj.get("name").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ 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()));
}
// ensure the optional json data is an array if present
if (jsonObj.get("groups") != null && !jsonObj.get("groups").isJsonNull()
&& !jsonObj.get("groups").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `groups` to be an array in the JSON string but got `%s`",
jsonObj.get("groups").toString()));
}
// ensure the optional json data is an array if present
if (jsonObj.get("permissions") != null && !jsonObj.get("permissions").isJsonNull()
&& !jsonObj.get("permissions").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `permissions` to be an array in the JSON string but got `%s`",
jsonObj.get("permissions").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddApiKeyResponse.java b/src/main/java/com/formkiq/client/model/AddApiKeyResponse.java
index 465bf2e56..37be16f2f 100644
--- a/src/main/java/com/formkiq/client/model/AddApiKeyResponse.java
+++ b/src/main/java/com/formkiq/client/model/AddApiKeyResponse.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -50,7 +49,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -58,8 +56,8 @@
* AddApiKeyResponse
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddApiKeyResponse {
public static final String SERIALIZED_NAME_API_KEY = "apiKey";
@SerializedName(SERIALIZED_NAME_API_KEY)
@@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddApiKeyResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON
// element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddApiKeyResponse is not found in the empty JSON string",
AddApiKeyResponse.openapiRequiredFields.toString()));
}
@@ -157,7 +155,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddApiKeyResponse.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddApiKeyResponse` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -165,7 +163,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("apiKey") != null && !jsonObj.get("apiKey").isJsonNull())
&& !jsonObj.get("apiKey").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `apiKey` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("apiKey").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddAttribute.java b/src/main/java/com/formkiq/client/model/AddAttribute.java
index 543729b91..8974bbfa0 100644
--- a/src/main/java/com/formkiq/client/model/AddAttribute.java
+++ b/src/main/java/com/formkiq/client/model/AddAttribute.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.AttributeDataType;
import com.formkiq.client.model.AttributeType;
import com.formkiq.client.model.Watermark;
@@ -53,7 +52,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -61,8 +59,8 @@
* AddAttribute
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddAttribute {
public static final String SERIALIZED_NAME_KEY = "key";
@SerializedName(SERIALIZED_NAME_KEY)
@@ -231,7 +229,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddAttribute.openapiRequiredFields.isEmpty()) { // has required fields but JSON element
// is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddAttribute is not found in the empty JSON string",
AddAttribute.openapiRequiredFields.toString()));
}
@@ -241,7 +239,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddAttribute.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddAttribute` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -250,14 +248,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : AddAttribute.openapiRequiredFields) {
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s", requiredField,
jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("key").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `key` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("key").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddAttributeRequest.java b/src/main/java/com/formkiq/client/model/AddAttributeRequest.java
index f3c324cf6..741e2ae53 100644
--- a/src/main/java/com/formkiq/client/model/AddAttributeRequest.java
+++ b/src/main/java/com/formkiq/client/model/AddAttributeRequest.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.AddAttribute;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -51,7 +50,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -59,8 +57,8 @@
* AddAttributeRequest
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddAttributeRequest {
public static final String SERIALIZED_NAME_ATTRIBUTE = "attribute";
@SerializedName(SERIALIZED_NAME_ATTRIBUTE)
@@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddAttributeRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON
// element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddAttributeRequest is not found in the empty JSON string",
AddAttributeRequest.openapiRequiredFields.toString()));
}
@@ -158,7 +156,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddAttributeRequest.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddAttributeRequest` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -167,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : AddAttributeRequest.openapiRequiredFields) {
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s", requiredField,
jsonElement.toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddAttributeSchemaOptional.java b/src/main/java/com/formkiq/client/model/AddAttributeSchemaOptional.java
index cccc6d3ff..32a252054 100644
--- a/src/main/java/com/formkiq/client/model/AddAttributeSchemaOptional.java
+++ b/src/main/java/com/formkiq/client/model/AddAttributeSchemaOptional.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -53,7 +52,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -61,9 +59,19 @@
* AddAttributeSchemaOptional
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddAttributeSchemaOptional {
+ public static final String SERIALIZED_NAME_DEFAULT_ENTITY_TYPE_ID = "defaultEntityTypeId";
+ @SerializedName(SERIALIZED_NAME_DEFAULT_ENTITY_TYPE_ID)
+ @javax.annotation.Nullable
+ private String defaultEntityTypeId;
+
+ public static final String SERIALIZED_NAME_DEFAULT_ENTITY_ID = "defaultEntityId";
+ @SerializedName(SERIALIZED_NAME_DEFAULT_ENTITY_ID)
+ @javax.annotation.Nullable
+ private String defaultEntityId;
+
public static final String SERIALIZED_NAME_MIN_NUMBER_OF_VALUES = "minNumberOfValues";
@SerializedName(SERIALIZED_NAME_MIN_NUMBER_OF_VALUES)
@javax.annotation.Nullable
@@ -86,6 +94,48 @@ public class AddAttributeSchemaOptional {
public AddAttributeSchemaOptional() {}
+ public AddAttributeSchemaOptional defaultEntityTypeId(
+ @javax.annotation.Nullable String defaultEntityTypeId) {
+ this.defaultEntityTypeId = defaultEntityTypeId;
+ return this;
+ }
+
+ /**
+ * Get defaultEntityTypeId
+ *
+ * @return defaultEntityTypeId
+ */
+ @javax.annotation.Nullable
+ public String getDefaultEntityTypeId() {
+ return defaultEntityTypeId;
+ }
+
+ public void setDefaultEntityTypeId(@javax.annotation.Nullable String defaultEntityTypeId) {
+ this.defaultEntityTypeId = defaultEntityTypeId;
+ }
+
+
+ public AddAttributeSchemaOptional defaultEntityId(
+ @javax.annotation.Nullable String defaultEntityId) {
+ this.defaultEntityId = defaultEntityId;
+ return this;
+ }
+
+ /**
+ * Get defaultEntityId
+ *
+ * @return defaultEntityId
+ */
+ @javax.annotation.Nullable
+ public String getDefaultEntityId() {
+ return defaultEntityId;
+ }
+
+ public void setDefaultEntityId(@javax.annotation.Nullable String defaultEntityId) {
+ this.defaultEntityId = defaultEntityId;
+ }
+
+
public AddAttributeSchemaOptional minNumberOfValues(
@javax.annotation.Nullable BigDecimal minNumberOfValues) {
this.minNumberOfValues = minNumberOfValues;
@@ -187,7 +237,9 @@ public boolean equals(Object o) {
return false;
}
AddAttributeSchemaOptional addAttributeSchemaOptional = (AddAttributeSchemaOptional) o;
- return Objects.equals(this.minNumberOfValues, addAttributeSchemaOptional.minNumberOfValues)
+ return Objects.equals(this.defaultEntityTypeId, addAttributeSchemaOptional.defaultEntityTypeId)
+ && Objects.equals(this.defaultEntityId, addAttributeSchemaOptional.defaultEntityId)
+ && Objects.equals(this.minNumberOfValues, addAttributeSchemaOptional.minNumberOfValues)
&& Objects.equals(this.maxNumberOfValues, addAttributeSchemaOptional.maxNumberOfValues)
&& Objects.equals(this.attributeKey, addAttributeSchemaOptional.attributeKey)
&& Objects.equals(this.allowedValues, addAttributeSchemaOptional.allowedValues);
@@ -195,13 +247,17 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(minNumberOfValues, maxNumberOfValues, attributeKey, allowedValues);
+ return Objects.hash(defaultEntityTypeId, defaultEntityId, minNumberOfValues, maxNumberOfValues,
+ attributeKey, allowedValues);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AddAttributeSchemaOptional {\n");
+ sb.append(" defaultEntityTypeId: ").append(toIndentedString(defaultEntityTypeId))
+ .append("\n");
+ sb.append(" defaultEntityId: ").append(toIndentedString(defaultEntityId)).append("\n");
sb.append(" minNumberOfValues: ").append(toIndentedString(minNumberOfValues)).append("\n");
sb.append(" maxNumberOfValues: ").append(toIndentedString(maxNumberOfValues)).append("\n");
sb.append(" attributeKey: ").append(toIndentedString(attributeKey)).append("\n");
@@ -226,8 +282,8 @@ private String toIndentedString(Object o) {
static {
// a set of all properties/fields (JSON key names)
- openapiFields = new HashSet(
- Arrays.asList("minNumberOfValues", "maxNumberOfValues", "attributeKey", "allowedValues"));
+ openapiFields = new HashSet(Arrays.asList("defaultEntityTypeId", "defaultEntityId",
+ "minNumberOfValues", "maxNumberOfValues", "attributeKey", "allowedValues"));
// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet(0);
@@ -243,7 +299,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddAttributeSchemaOptional.openapiRequiredFields.isEmpty()) { // has required fields but
// JSON element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddAttributeSchemaOptional is not found in the empty JSON string",
AddAttributeSchemaOptional.openapiRequiredFields.toString()));
}
@@ -253,22 +309,35 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddAttributeSchemaOptional.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddAttributeSchemaOptional` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
+ if ((jsonObj.get("defaultEntityTypeId") != null
+ && !jsonObj.get("defaultEntityTypeId").isJsonNull())
+ && !jsonObj.get("defaultEntityTypeId").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "Expected the field `defaultEntityTypeId` to be a primitive type in the JSON string but got `%s`",
+ jsonObj.get("defaultEntityTypeId").toString()));
+ }
+ if ((jsonObj.get("defaultEntityId") != null && !jsonObj.get("defaultEntityId").isJsonNull())
+ && !jsonObj.get("defaultEntityId").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "Expected the field `defaultEntityId` to be a primitive type in the JSON string but got `%s`",
+ jsonObj.get("defaultEntityId").toString()));
+ }
if ((jsonObj.get("attributeKey") != null && !jsonObj.get("attributeKey").isJsonNull())
&& !jsonObj.get("attributeKey").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `attributeKey` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("attributeKey").toString()));
}
// ensure the optional json data is an array if present
if (jsonObj.get("allowedValues") != null && !jsonObj.get("allowedValues").isJsonNull()
&& !jsonObj.get("allowedValues").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `allowedValues` to be an array in the JSON string but got `%s`",
jsonObj.get("allowedValues").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddAttributeSchemaRequired.java b/src/main/java/com/formkiq/client/model/AddAttributeSchemaRequired.java
index ccbf6311f..aa7d84d6e 100644
--- a/src/main/java/com/formkiq/client/model/AddAttributeSchemaRequired.java
+++ b/src/main/java/com/formkiq/client/model/AddAttributeSchemaRequired.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -53,7 +52,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -61,9 +59,19 @@
* AddAttributeSchemaRequired
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddAttributeSchemaRequired {
+ public static final String SERIALIZED_NAME_DEFAULT_ENTITY_TYPE_ID = "defaultEntityTypeId";
+ @SerializedName(SERIALIZED_NAME_DEFAULT_ENTITY_TYPE_ID)
+ @javax.annotation.Nullable
+ private String defaultEntityTypeId;
+
+ public static final String SERIALIZED_NAME_DEFAULT_ENTITY_ID = "defaultEntityId";
+ @SerializedName(SERIALIZED_NAME_DEFAULT_ENTITY_ID)
+ @javax.annotation.Nullable
+ private String defaultEntityId;
+
public static final String SERIALIZED_NAME_MIN_NUMBER_OF_VALUES = "minNumberOfValues";
@SerializedName(SERIALIZED_NAME_MIN_NUMBER_OF_VALUES)
@javax.annotation.Nullable
@@ -96,6 +104,48 @@ public class AddAttributeSchemaRequired {
public AddAttributeSchemaRequired() {}
+ public AddAttributeSchemaRequired defaultEntityTypeId(
+ @javax.annotation.Nullable String defaultEntityTypeId) {
+ this.defaultEntityTypeId = defaultEntityTypeId;
+ return this;
+ }
+
+ /**
+ * Get defaultEntityTypeId
+ *
+ * @return defaultEntityTypeId
+ */
+ @javax.annotation.Nullable
+ public String getDefaultEntityTypeId() {
+ return defaultEntityTypeId;
+ }
+
+ public void setDefaultEntityTypeId(@javax.annotation.Nullable String defaultEntityTypeId) {
+ this.defaultEntityTypeId = defaultEntityTypeId;
+ }
+
+
+ public AddAttributeSchemaRequired defaultEntityId(
+ @javax.annotation.Nullable String defaultEntityId) {
+ this.defaultEntityId = defaultEntityId;
+ return this;
+ }
+
+ /**
+ * Get defaultEntityId
+ *
+ * @return defaultEntityId
+ */
+ @javax.annotation.Nullable
+ public String getDefaultEntityId() {
+ return defaultEntityId;
+ }
+
+ public void setDefaultEntityId(@javax.annotation.Nullable String defaultEntityId) {
+ this.defaultEntityId = defaultEntityId;
+ }
+
+
public AddAttributeSchemaRequired minNumberOfValues(
@javax.annotation.Nullable BigDecimal minNumberOfValues) {
this.minNumberOfValues = minNumberOfValues;
@@ -246,7 +296,9 @@ public boolean equals(Object o) {
return false;
}
AddAttributeSchemaRequired addAttributeSchemaRequired = (AddAttributeSchemaRequired) o;
- return Objects.equals(this.minNumberOfValues, addAttributeSchemaRequired.minNumberOfValues)
+ return Objects.equals(this.defaultEntityTypeId, addAttributeSchemaRequired.defaultEntityTypeId)
+ && Objects.equals(this.defaultEntityId, addAttributeSchemaRequired.defaultEntityId)
+ && Objects.equals(this.minNumberOfValues, addAttributeSchemaRequired.minNumberOfValues)
&& Objects.equals(this.maxNumberOfValues, addAttributeSchemaRequired.maxNumberOfValues)
&& Objects.equals(this.attributeKey, addAttributeSchemaRequired.attributeKey)
&& Objects.equals(this.defaultValue, addAttributeSchemaRequired.defaultValue)
@@ -256,14 +308,17 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(minNumberOfValues, maxNumberOfValues, attributeKey, defaultValue,
- defaultValues, allowedValues);
+ return Objects.hash(defaultEntityTypeId, defaultEntityId, minNumberOfValues, maxNumberOfValues,
+ attributeKey, defaultValue, defaultValues, allowedValues);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AddAttributeSchemaRequired {\n");
+ sb.append(" defaultEntityTypeId: ").append(toIndentedString(defaultEntityTypeId))
+ .append("\n");
+ sb.append(" defaultEntityId: ").append(toIndentedString(defaultEntityId)).append("\n");
sb.append(" minNumberOfValues: ").append(toIndentedString(minNumberOfValues)).append("\n");
sb.append(" maxNumberOfValues: ").append(toIndentedString(maxNumberOfValues)).append("\n");
sb.append(" attributeKey: ").append(toIndentedString(attributeKey)).append("\n");
@@ -290,8 +345,9 @@ private String toIndentedString(Object o) {
static {
// a set of all properties/fields (JSON key names)
- openapiFields = new HashSet(Arrays.asList("minNumberOfValues", "maxNumberOfValues",
- "attributeKey", "defaultValue", "defaultValues", "allowedValues"));
+ openapiFields = new HashSet(
+ Arrays.asList("defaultEntityTypeId", "defaultEntityId", "minNumberOfValues",
+ "maxNumberOfValues", "attributeKey", "defaultValue", "defaultValues", "allowedValues"));
// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet(0);
@@ -307,7 +363,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddAttributeSchemaRequired.openapiRequiredFields.isEmpty()) { // has required fields but
// JSON element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddAttributeSchemaRequired is not found in the empty JSON string",
AddAttributeSchemaRequired.openapiRequiredFields.toString()));
}
@@ -317,35 +373,48 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddAttributeSchemaRequired.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddAttributeSchemaRequired` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
+ if ((jsonObj.get("defaultEntityTypeId") != null
+ && !jsonObj.get("defaultEntityTypeId").isJsonNull())
+ && !jsonObj.get("defaultEntityTypeId").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "Expected the field `defaultEntityTypeId` to be a primitive type in the JSON string but got `%s`",
+ jsonObj.get("defaultEntityTypeId").toString()));
+ }
+ if ((jsonObj.get("defaultEntityId") != null && !jsonObj.get("defaultEntityId").isJsonNull())
+ && !jsonObj.get("defaultEntityId").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "Expected the field `defaultEntityId` to be a primitive type in the JSON string but got `%s`",
+ jsonObj.get("defaultEntityId").toString()));
+ }
if ((jsonObj.get("attributeKey") != null && !jsonObj.get("attributeKey").isJsonNull())
&& !jsonObj.get("attributeKey").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `attributeKey` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("attributeKey").toString()));
}
if ((jsonObj.get("defaultValue") != null && !jsonObj.get("defaultValue").isJsonNull())
&& !jsonObj.get("defaultValue").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `defaultValue` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("defaultValue").toString()));
}
// ensure the optional json data is an array if present
if (jsonObj.get("defaultValues") != null && !jsonObj.get("defaultValues").isJsonNull()
&& !jsonObj.get("defaultValues").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `defaultValues` to be an array in the JSON string but got `%s`",
jsonObj.get("defaultValues").toString()));
}
// ensure the optional json data is an array if present
if (jsonObj.get("allowedValues") != null && !jsonObj.get("allowedValues").isJsonNull()
&& !jsonObj.get("allowedValues").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `allowedValues` to be an array in the JSON string but got `%s`",
jsonObj.get("allowedValues").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddCase.java b/src/main/java/com/formkiq/client/model/AddCase.java
index 8ea7cd9b3..65ec4a101 100644
--- a/src/main/java/com/formkiq/client/model/AddCase.java
+++ b/src/main/java/com/formkiq/client/model/AddCase.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.CaseStatus;
import com.formkiq.client.model.StringFormat;
import com.google.gson.TypeAdapter;
@@ -56,7 +55,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -64,8 +62,8 @@
* AddCase
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddCase {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@@ -460,7 +458,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddCase.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is
// null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddCase is not found in the empty JSON string",
AddCase.openapiRequiredFields.toString()));
}
@@ -470,7 +468,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddCase.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddCase` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -479,14 +477,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : AddCase.openapiRequiredFields) {
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s", requiredField,
jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("name").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ 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()));
}
@@ -496,31 +494,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
if ((jsonObj.get("plannedStartDate") != null && !jsonObj.get("plannedStartDate").isJsonNull())
&& !jsonObj.get("plannedStartDate").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `plannedStartDate` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("plannedStartDate").toString()));
}
if ((jsonObj.get("startDate") != null && !jsonObj.get("startDate").isJsonNull())
&& !jsonObj.get("startDate").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `startDate` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("startDate").toString()));
}
if ((jsonObj.get("endDate") != null && !jsonObj.get("endDate").isJsonNull())
&& !jsonObj.get("endDate").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `endDate` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("endDate").toString()));
}
if ((jsonObj.get("dueDate") != null && !jsonObj.get("dueDate").isJsonNull())
&& !jsonObj.get("dueDate").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `dueDate` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("dueDate").toString()));
}
if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull())
&& !jsonObj.get("description").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `description` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("description").toString()));
}
@@ -530,7 +528,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonArraydocumentNumberFormat != null) {
// ensure the json data is an array
if (!jsonObj.get("documentNumberFormat").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `documentNumberFormat` to be an array in the JSON string but got `%s`",
jsonObj.get("documentNumberFormat").toString()));
}
@@ -546,7 +544,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonArraycaseNumberFormat != null) {
// ensure the json data is an array
if (!jsonObj.get("caseNumberFormat").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `caseNumberFormat` to be an array in the JSON string but got `%s`",
jsonObj.get("caseNumberFormat").toString()));
}
@@ -560,7 +558,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// ensure the optional json data is an array if present
if (jsonObj.get("documentIds") != null && !jsonObj.get("documentIds").isJsonNull()
&& !jsonObj.get("documentIds").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `documentIds` to be an array in the JSON string but got `%s`",
jsonObj.get("documentIds").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddCaseRequest.java b/src/main/java/com/formkiq/client/model/AddCaseRequest.java
index b7625c6df..05667384d 100644
--- a/src/main/java/com/formkiq/client/model/AddCaseRequest.java
+++ b/src/main/java/com/formkiq/client/model/AddCaseRequest.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.AddCase;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -51,7 +50,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -59,8 +57,8 @@
* AddCaseRequest
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddCaseRequest {
public static final String SERIALIZED_NAME_CASE = "case";
@SerializedName(SERIALIZED_NAME_CASE)
@@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddCaseRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element
// is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddCaseRequest is not found in the empty JSON string",
AddCaseRequest.openapiRequiredFields.toString()));
}
@@ -158,7 +156,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddCaseRequest.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddCaseRequest` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -167,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : AddCaseRequest.openapiRequiredFields) {
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s", requiredField,
jsonElement.toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddCaseResponse.java b/src/main/java/com/formkiq/client/model/AddCaseResponse.java
index 9eb861e73..38ba97a65 100644
--- a/src/main/java/com/formkiq/client/model/AddCaseResponse.java
+++ b/src/main/java/com/formkiq/client/model/AddCaseResponse.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -50,7 +49,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -58,8 +56,8 @@
* AddCaseResponse
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddCaseResponse {
public static final String SERIALIZED_NAME_CASE_ID = "caseId";
@SerializedName(SERIALIZED_NAME_CASE_ID)
@@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddCaseResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON
// element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddCaseResponse is not found in the empty JSON string",
AddCaseResponse.openapiRequiredFields.toString()));
}
@@ -157,7 +155,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddCaseResponse.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddCaseResponse` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -165,7 +163,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("caseId") != null && !jsonObj.get("caseId").isJsonNull())
&& !jsonObj.get("caseId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `caseId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("caseId").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddChildDocument.java b/src/main/java/com/formkiq/client/model/AddChildDocument.java
index 476414341..6ebeb2e30 100644
--- a/src/main/java/com/formkiq/client/model/AddChildDocument.java
+++ b/src/main/java/com/formkiq/client/model/AddChildDocument.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.AddDocumentMetadata;
import com.formkiq.client.model.AddDocumentTag;
import com.formkiq.client.model.ChecksumType;
@@ -55,7 +54,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -63,8 +61,8 @@
* List of related documents
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddChildDocument {
public static final String SERIALIZED_NAME_PATH = "path";
@SerializedName(SERIALIZED_NAME_PATH)
@@ -440,7 +438,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddChildDocument.openapiRequiredFields.isEmpty()) { // has required fields but JSON
// element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddChildDocument is not found in the empty JSON string",
AddChildDocument.openapiRequiredFields.toString()));
}
@@ -450,7 +448,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddChildDocument.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddChildDocument` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -459,7 +457,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : AddChildDocument.openapiRequiredFields) {
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s", requiredField,
jsonElement.toString()));
}
@@ -467,31 +465,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull())
&& !jsonObj.get("path").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ 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()));
}
if ((jsonObj.get("width") != null && !jsonObj.get("width").isJsonNull())
&& !jsonObj.get("width").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `width` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("width").toString()));
}
if ((jsonObj.get("height") != null && !jsonObj.get("height").isJsonNull())
&& !jsonObj.get("height").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `height` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("height").toString()));
}
if ((jsonObj.get("deepLinkPath") != null && !jsonObj.get("deepLinkPath").isJsonNull())
&& !jsonObj.get("deepLinkPath").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `deepLinkPath` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("deepLinkPath").toString()));
}
if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull())
&& !jsonObj.get("contentType").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `contentType` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("contentType").toString()));
}
@@ -501,12 +499,12 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
if ((jsonObj.get("checksum") != null && !jsonObj.get("checksum").isJsonNull())
&& !jsonObj.get("checksum").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `checksum` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("checksum").toString()));
}
if (!jsonObj.get("content").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `content` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("content").toString()));
}
@@ -515,7 +513,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonArraytags != null) {
// ensure the json data is an array
if (!jsonObj.get("tags").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `tags` to be an array in the JSON string but got `%s`",
jsonObj.get("tags").toString()));
}
@@ -531,7 +529,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonArraymetadata != null) {
// ensure the json data is an array
if (!jsonObj.get("metadata").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `metadata` to be an array in the JSON string but got `%s`",
jsonObj.get("metadata").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddChildDocumentResponse.java b/src/main/java/com/formkiq/client/model/AddChildDocumentResponse.java
index 385eb8c17..f43158be3 100644
--- a/src/main/java/com/formkiq/client/model/AddChildDocumentResponse.java
+++ b/src/main/java/com/formkiq/client/model/AddChildDocumentResponse.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -52,7 +51,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -60,8 +58,8 @@
* AddChildDocumentResponse
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddChildDocumentResponse {
public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId";
@SerializedName(SERIALIZED_NAME_DOCUMENT_ID)
@@ -211,7 +209,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddChildDocumentResponse.openapiRequiredFields.isEmpty()) { // has required fields but
// JSON element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddChildDocumentResponse is not found in the empty JSON string",
AddChildDocumentResponse.openapiRequiredFields.toString()));
}
@@ -221,7 +219,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddChildDocumentResponse.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddChildDocumentResponse` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -229,13 +227,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull())
&& !jsonObj.get("documentId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `documentId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("documentId").toString()));
}
if ((jsonObj.get("uploadUrl") != null && !jsonObj.get("uploadUrl").isJsonNull())
&& !jsonObj.get("uploadUrl").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `uploadUrl` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("uploadUrl").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddClassification.java b/src/main/java/com/formkiq/client/model/AddClassification.java
index eca7d88f3..5dc34be62 100644
--- a/src/main/java/com/formkiq/client/model/AddClassification.java
+++ b/src/main/java/com/formkiq/client/model/AddClassification.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.SetSchemaAttributes;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -51,7 +50,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -59,8 +57,8 @@
* AddClassification
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddClassification {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@@ -175,7 +173,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddClassification.openapiRequiredFields.isEmpty()) { // has required fields but JSON
// element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddClassification is not found in the empty JSON string",
AddClassification.openapiRequiredFields.toString()));
}
@@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddClassification.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddClassification` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -193,7 +191,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull())
&& !jsonObj.get("name").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `name` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("name").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddClassificationRequest.java b/src/main/java/com/formkiq/client/model/AddClassificationRequest.java
index ebbb23d14..d4499a945 100644
--- a/src/main/java/com/formkiq/client/model/AddClassificationRequest.java
+++ b/src/main/java/com/formkiq/client/model/AddClassificationRequest.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.AddClassification;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -51,7 +50,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -59,8 +57,8 @@
* AddClassificationRequest
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddClassificationRequest {
public static final String SERIALIZED_NAME_CLASSIFICATION = "classification";
@SerializedName(SERIALIZED_NAME_CLASSIFICATION)
@@ -149,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddClassificationRequest.openapiRequiredFields.isEmpty()) { // has required fields but
// JSON element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddClassificationRequest is not found in the empty JSON string",
AddClassificationRequest.openapiRequiredFields.toString()));
}
@@ -159,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddClassificationRequest.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddClassificationRequest` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddClassificationResponse.java b/src/main/java/com/formkiq/client/model/AddClassificationResponse.java
index e6664370e..fd71e5ec1 100644
--- a/src/main/java/com/formkiq/client/model/AddClassificationResponse.java
+++ b/src/main/java/com/formkiq/client/model/AddClassificationResponse.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -50,7 +49,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -58,8 +56,8 @@
* AddClassificationResponse
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddClassificationResponse {
public static final String SERIALIZED_NAME_CLASSIFICATION_ID = "classificationId";
@SerializedName(SERIALIZED_NAME_CLASSIFICATION_ID)
@@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddClassificationResponse.openapiRequiredFields.isEmpty()) { // has required fields but
// JSON element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddClassificationResponse is not found in the empty JSON string",
AddClassificationResponse.openapiRequiredFields.toString()));
}
@@ -158,7 +156,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddClassificationResponse.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddClassificationResponse` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -166,7 +164,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("classificationId") != null && !jsonObj.get("classificationId").isJsonNull())
&& !jsonObj.get("classificationId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `classificationId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("classificationId").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentActionsRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentActionsRequest.java
index 9afc29a67..8e874cd5f 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentActionsRequest.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentActionsRequest.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.AddAction;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -53,7 +52,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -61,8 +59,8 @@
* AddDocumentActionsRequest
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentActionsRequest {
public static final String SERIALIZED_NAME_ACTIONS = "actions";
@SerializedName(SERIALIZED_NAME_ACTIONS)
@@ -158,7 +156,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddDocumentActionsRequest.openapiRequiredFields.isEmpty()) { // has required fields but
// JSON element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentActionsRequest is not found in the empty JSON string",
AddDocumentActionsRequest.openapiRequiredFields.toString()));
}
@@ -168,7 +166,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentActionsRequest.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentActionsRequest` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -179,7 +177,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonArrayactions != null) {
// ensure the json data is an array
if (!jsonObj.get("actions").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `actions` to be an array in the JSON string but got `%s`",
jsonObj.get("actions").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentActionsResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentActionsResponse.java
index d664bedd7..6ffae0025 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentActionsResponse.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentActionsResponse.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -50,7 +49,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -58,8 +56,8 @@
* AddDocumentActionsResponse
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentActionsResponse {
public static final String SERIALIZED_NAME_MESSAGE = "message";
@SerializedName(SERIALIZED_NAME_MESSAGE)
@@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddDocumentActionsResponse.openapiRequiredFields.isEmpty()) { // has required fields but
// JSON element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentActionsResponse is not found in the empty JSON string",
AddDocumentActionsResponse.openapiRequiredFields.toString()));
}
@@ -157,7 +155,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentActionsResponse.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentActionsResponse` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -165,7 +163,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull())
&& !jsonObj.get("message").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `message` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("message").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentActionsRetryResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentActionsRetryResponse.java
index 6cfbdfe7d..b2600452e 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentActionsRetryResponse.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentActionsRetryResponse.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -50,7 +49,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -58,8 +56,8 @@
* AddDocumentActionsRetryResponse
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentActionsRetryResponse {
public static final String SERIALIZED_NAME_MESSAGE = "message";
@SerializedName(SERIALIZED_NAME_MESSAGE)
@@ -150,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!AddDocumentActionsRetryResponse.openapiRequiredFields.isEmpty()) { // has required fields
// but JSON element is
// null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentActionsRetryResponse is not found in the empty JSON string",
AddDocumentActionsRetryResponse.openapiRequiredFields.toString()));
}
@@ -160,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentActionsRetryResponse.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentActionsRetryResponse` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -168,7 +166,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull())
&& !jsonObj.get("message").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `message` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("message").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttribute.java b/src/main/java/com/formkiq/client/model/AddDocumentAttribute.java
index 919a14490..8c00b6389 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentAttribute.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentAttribute.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.AddDocumentAttributeClassification;
import com.formkiq.client.model.AddDocumentAttributeEntity;
import com.formkiq.client.model.AddDocumentAttributeRelationship;
@@ -51,7 +50,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import java.util.Locale;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -76,8 +74,8 @@
import com.formkiq.client.invoker.JSON;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentAttribute extends AbstractOpenApiSchema {
private static final Logger log = Logger.getLogger(AddDocumentAttribute.class.getName());
@@ -156,7 +154,7 @@ public AddDocumentAttribute read(JsonReader in) throws IOException {
log.log(Level.FINER, "Input data matches schema 'AddDocumentAttributeStandard'");
} catch (Exception e) {
// deserialization failed, continue
- errorMessages.add(String.format(Locale.ROOT,
+ errorMessages.add(String.format(java.util.Locale.ROOT,
"Deserialization for AddDocumentAttributeStandard failed with `%s`.",
e.getMessage()));
log.log(Level.FINER, "Input data does not match schema 'AddDocumentAttributeStandard'",
@@ -171,7 +169,7 @@ public AddDocumentAttribute read(JsonReader in) throws IOException {
log.log(Level.FINER, "Input data matches schema 'AddDocumentAttributeClassification'");
} catch (Exception e) {
// deserialization failed, continue
- errorMessages.add(String.format(Locale.ROOT,
+ errorMessages.add(String.format(java.util.Locale.ROOT,
"Deserialization for AddDocumentAttributeClassification failed with `%s`.",
e.getMessage()));
log.log(Level.FINER,
@@ -186,7 +184,7 @@ public AddDocumentAttribute read(JsonReader in) throws IOException {
log.log(Level.FINER, "Input data matches schema 'AddDocumentAttributeRelationship'");
} catch (Exception e) {
// deserialization failed, continue
- errorMessages.add(String.format(Locale.ROOT,
+ errorMessages.add(String.format(java.util.Locale.ROOT,
"Deserialization for AddDocumentAttributeRelationship failed with `%s`.",
e.getMessage()));
log.log(Level.FINER,
@@ -201,7 +199,7 @@ public AddDocumentAttribute read(JsonReader in) throws IOException {
log.log(Level.FINER, "Input data matches schema 'AddDocumentAttributeEntity'");
} catch (Exception e) {
// deserialization failed, continue
- errorMessages.add(String.format(Locale.ROOT,
+ errorMessages.add(String.format(java.util.Locale.ROOT,
"Deserialization for AddDocumentAttributeEntity failed with `%s`.",
e.getMessage()));
log.log(Level.FINER, "Input data does not match schema 'AddDocumentAttributeEntity'",
@@ -214,7 +212,7 @@ public AddDocumentAttribute read(JsonReader in) throws IOException {
return ret;
}
- throw new IOException(String.format(Locale.ROOT,
+ throw new IOException(String.format(java.util.Locale.ROOT,
"Failed deserialization for AddDocumentAttribute: %d classes match result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s",
match, errorMessages, jsonElement.toString()));
}
@@ -353,7 +351,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
AddDocumentAttributeStandard.validateJsonElement(jsonElement);
validCount++;
} catch (Exception e) {
- errorMessages.add(String.format(Locale.ROOT,
+ errorMessages.add(String.format(java.util.Locale.ROOT,
"Deserialization for AddDocumentAttributeStandard failed with `%s`.", e.getMessage()));
// continue to the next one
}
@@ -362,7 +360,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
AddDocumentAttributeClassification.validateJsonElement(jsonElement);
validCount++;
} catch (Exception e) {
- errorMessages.add(String.format(Locale.ROOT,
+ errorMessages.add(String.format(java.util.Locale.ROOT,
"Deserialization for AddDocumentAttributeClassification failed with `%s`.",
e.getMessage()));
// continue to the next one
@@ -372,7 +370,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
AddDocumentAttributeRelationship.validateJsonElement(jsonElement);
validCount++;
} catch (Exception e) {
- errorMessages.add(String.format(Locale.ROOT,
+ errorMessages.add(String.format(java.util.Locale.ROOT,
"Deserialization for AddDocumentAttributeRelationship failed with `%s`.",
e.getMessage()));
// continue to the next one
@@ -382,12 +380,12 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
AddDocumentAttributeEntity.validateJsonElement(jsonElement);
validCount++;
} catch (Exception e) {
- errorMessages.add(String.format(Locale.ROOT,
+ errorMessages.add(String.format(java.util.Locale.ROOT,
"Deserialization for AddDocumentAttributeEntity failed with `%s`.", e.getMessage()));
// continue to the next one
}
if (validCount != 1) {
- throw new IOException(String.format(Locale.ROOT,
+ throw new IOException(String.format(java.util.Locale.ROOT,
"The JSON string is invalid for AddDocumentAttribute with oneOf schemas: AddDocumentAttributeClassification, AddDocumentAttributeEntity, AddDocumentAttributeRelationship, AddDocumentAttributeStandard. %d class(es) match the result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s",
validCount, errorMessages, jsonElement.toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttributeClassification.java b/src/main/java/com/formkiq/client/model/AddDocumentAttributeClassification.java
index 2994efcd8..ccc9a3e82 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentAttributeClassification.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributeClassification.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -50,7 +49,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -58,8 +56,8 @@
* Document Classification
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentAttributeClassification {
public static final String SERIALIZED_NAME_CLASSIFICATION_ID = "classificationId";
@SerializedName(SERIALIZED_NAME_CLASSIFICATION_ID)
@@ -152,7 +150,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!AddDocumentAttributeClassification.openapiRequiredFields.isEmpty()) { // has required
// fields but JSON
// element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentAttributeClassification is not found in the empty JSON string",
AddDocumentAttributeClassification.openapiRequiredFields.toString()));
}
@@ -162,7 +160,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentAttributeClassification.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentAttributeClassification` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -171,14 +169,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : AddDocumentAttributeClassification.openapiRequiredFields) {
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s", requiredField,
jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("classificationId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `classificationId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("classificationId").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttributeEntity.java b/src/main/java/com/formkiq/client/model/AddDocumentAttributeEntity.java
index bd32ebdef..bf04bf610 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentAttributeEntity.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributeEntity.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.EntityTypeNamespace;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -51,7 +50,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -59,8 +57,8 @@
* Document Entity Attribute
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentAttributeEntity {
public static final String SERIALIZED_NAME_KEY = "key";
@SerializedName(SERIALIZED_NAME_KEY)
@@ -231,7 +229,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddDocumentAttributeEntity.openapiRequiredFields.isEmpty()) { // has required fields but
// JSON element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentAttributeEntity is not found in the empty JSON string",
AddDocumentAttributeEntity.openapiRequiredFields.toString()));
}
@@ -241,7 +239,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentAttributeEntity.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentAttributeEntity` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -250,24 +248,24 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : AddDocumentAttributeEntity.openapiRequiredFields) {
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s", requiredField,
jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("key").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `key` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("key").toString()));
}
if (!jsonObj.get("entityTypeId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `entityTypeId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("entityTypeId").toString()));
}
if (!jsonObj.get("entityId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `entityId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("entityId").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttributeRelationship.java b/src/main/java/com/formkiq/client/model/AddDocumentAttributeRelationship.java
index 1dfe65c8b..0f9a82f7c 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentAttributeRelationship.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributeRelationship.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.DocumentRelationshipType;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -51,7 +50,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -59,8 +57,8 @@
* Document Relationship
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentAttributeRelationship {
public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId";
@SerializedName(SERIALIZED_NAME_DOCUMENT_ID)
@@ -211,7 +209,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!AddDocumentAttributeRelationship.openapiRequiredFields.isEmpty()) { // has required
// fields but JSON
// element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentAttributeRelationship is not found in the empty JSON string",
AddDocumentAttributeRelationship.openapiRequiredFields.toString()));
}
@@ -221,7 +219,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentAttributeRelationship.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentAttributeRelationship` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -230,14 +228,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : AddDocumentAttributeRelationship.openapiRequiredFields) {
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s", requiredField,
jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("documentId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `documentId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("documentId").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttributeStandard.java b/src/main/java/com/formkiq/client/model/AddDocumentAttributeStandard.java
index 3d4e09fe7..b9def69d3 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentAttributeStandard.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributeStandard.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -53,7 +52,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -61,8 +59,8 @@
* Document Attribute
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentAttributeStandard {
public static final String SERIALIZED_NAME_KEY = "key";
@SerializedName(SERIALIZED_NAME_KEY)
@@ -307,7 +305,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!AddDocumentAttributeStandard.openapiRequiredFields.isEmpty()) { // has required fields
// but JSON element is
// null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentAttributeStandard is not found in the empty JSON string",
AddDocumentAttributeStandard.openapiRequiredFields.toString()));
}
@@ -317,7 +315,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentAttributeStandard.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentAttributeStandard` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -326,34 +324,34 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : AddDocumentAttributeStandard.openapiRequiredFields) {
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s", requiredField,
jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("key").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `key` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("key").toString()));
}
if ((jsonObj.get("stringValue") != null && !jsonObj.get("stringValue").isJsonNull())
&& !jsonObj.get("stringValue").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `stringValue` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("stringValue").toString()));
}
// ensure the optional json data is an array if present
if (jsonObj.get("stringValues") != null && !jsonObj.get("stringValues").isJsonNull()
&& !jsonObj.get("stringValues").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `stringValues` to be an array in the JSON string but got `%s`",
jsonObj.get("stringValues").toString()));
}
// ensure the optional json data is an array if present
if (jsonObj.get("numberValues") != null && !jsonObj.get("numberValues").isJsonNull()
&& !jsonObj.get("numberValues").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `numberValues` to be an array in the JSON string but got `%s`",
jsonObj.get("numberValues").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttributeValue.java b/src/main/java/com/formkiq/client/model/AddDocumentAttributeValue.java
index 0103f2fa7..91a36c552 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentAttributeValue.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributeValue.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -53,7 +52,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -61,8 +59,8 @@
* Document Attribute Value
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentAttributeValue {
public static final String SERIALIZED_NAME_STRING_VALUE = "stringValue";
@SerializedName(SERIALIZED_NAME_STRING_VALUE)
@@ -277,7 +275,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddDocumentAttributeValue.openapiRequiredFields.isEmpty()) { // has required fields but
// JSON element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentAttributeValue is not found in the empty JSON string",
AddDocumentAttributeValue.openapiRequiredFields.toString()));
}
@@ -287,7 +285,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentAttributeValue.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentAttributeValue` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -295,21 +293,21 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("stringValue") != null && !jsonObj.get("stringValue").isJsonNull())
&& !jsonObj.get("stringValue").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `stringValue` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("stringValue").toString()));
}
// ensure the optional json data is an array if present
if (jsonObj.get("stringValues") != null && !jsonObj.get("stringValues").isJsonNull()
&& !jsonObj.get("stringValues").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `stringValues` to be an array in the JSON string but got `%s`",
jsonObj.get("stringValues").toString()));
}
// ensure the optional json data is an array if present
if (jsonObj.get("numberValues") != null && !jsonObj.get("numberValues").isJsonNull()
&& !jsonObj.get("numberValues").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `numberValues` to be an array in the JSON string but got `%s`",
jsonObj.get("numberValues").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttributesRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentAttributesRequest.java
index 57143b033..38c04c827 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentAttributesRequest.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributesRequest.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.AddDocumentAttribute;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -53,7 +52,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -61,8 +59,8 @@
* Add List of document attributes
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentAttributesRequest {
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
@@ -160,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!AddDocumentAttributesRequest.openapiRequiredFields.isEmpty()) { // has required fields
// but JSON element is
// null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentAttributesRequest is not found in the empty JSON string",
AddDocumentAttributesRequest.openapiRequiredFields.toString()));
}
@@ -170,7 +168,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentAttributesRequest.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentAttributesRequest` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -181,7 +179,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonArrayattributes != null) {
// ensure the json data is an array
if (!jsonObj.get("attributes").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `attributes` to be an array in the JSON string but got `%s`",
jsonObj.get("attributes").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentCertificationRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentCertificationRequest.java
new file mode 100644
index 000000000..60cd54c01
--- /dev/null
+++ b/src/main/java/com/formkiq/client/model/AddDocumentCertificationRequest.java
@@ -0,0 +1,286 @@
+/*
+ * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You
+ * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction
+ * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API
+ * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API
+ * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the
+ * API spec file with any application that supports the OpenAPI specification. Open API OAuth
+ * Specification -
+ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open
+ * API IAM Specification -
+ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ##
+ * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key
+ *
+ * The version of the OpenAPI document: 1.18.1 Contact: support@formkiq.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech Do not edit the class manually.
+ */
+
+
+package com.formkiq.client.model;
+
+import java.util.Objects;
+import com.formkiq.client.model.DocumentCertification;
+import com.formkiq.client.model.DocumentCertificationTarget;
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+
+import com.google.gson.Gson;
+import com.google.gson.GsonBuilder;
+import com.google.gson.JsonArray;
+import com.google.gson.JsonDeserializationContext;
+import com.google.gson.JsonDeserializer;
+import com.google.gson.JsonElement;
+import com.google.gson.JsonObject;
+import com.google.gson.JsonParseException;
+import com.google.gson.TypeAdapterFactory;
+import com.google.gson.reflect.TypeToken;
+import com.google.gson.TypeAdapter;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+import com.formkiq.client.invoker.JSON;
+
+/**
+ * AddDocumentCertificationRequest
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
+public class AddDocumentCertificationRequest {
+ public static final String SERIALIZED_NAME_TARGET = "target";
+ @SerializedName(SERIALIZED_NAME_TARGET)
+ @javax.annotation.Nonnull
+ private DocumentCertificationTarget target;
+
+ public static final String SERIALIZED_NAME_CERTIFICATES = "certificates";
+ @SerializedName(SERIALIZED_NAME_CERTIFICATES)
+ @javax.annotation.Nonnull
+ private List certificates = new ArrayList<>();
+
+ public AddDocumentCertificationRequest() {}
+
+ public AddDocumentCertificationRequest target(
+ @javax.annotation.Nonnull DocumentCertificationTarget target) {
+ this.target = target;
+ return this;
+ }
+
+ /**
+ * Get target
+ *
+ * @return target
+ */
+ @javax.annotation.Nonnull
+ public DocumentCertificationTarget getTarget() {
+ return target;
+ }
+
+ public void setTarget(@javax.annotation.Nonnull DocumentCertificationTarget target) {
+ this.target = target;
+ }
+
+
+ public AddDocumentCertificationRequest certificates(
+ @javax.annotation.Nonnull List certificates) {
+ this.certificates = certificates;
+ return this;
+ }
+
+ public AddDocumentCertificationRequest addCertificatesItem(
+ DocumentCertification certificatesItem) {
+ if (this.certificates == null) {
+ this.certificates = new ArrayList<>();
+ }
+ this.certificates.add(certificatesItem);
+ return this;
+ }
+
+ /**
+ * One or more certificates used to certify/sign the document (in order).
+ *
+ * @return certificates
+ */
+ @javax.annotation.Nonnull
+ public List getCertificates() {
+ return certificates;
+ }
+
+ public void setCertificates(@javax.annotation.Nonnull List certificates) {
+ this.certificates = certificates;
+ }
+
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ AddDocumentCertificationRequest addDocumentCertificationRequest =
+ (AddDocumentCertificationRequest) o;
+ return Objects.equals(this.target, addDocumentCertificationRequest.target)
+ && Objects.equals(this.certificates, addDocumentCertificationRequest.certificates);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(target, certificates);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class AddDocumentCertificationRequest {\n");
+ sb.append(" target: ").append(toIndentedString(target)).append("\n");
+ sb.append(" certificates: ").append(toIndentedString(certificates)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+
+ public static HashSet openapiFields;
+ public static HashSet openapiRequiredFields;
+
+ static {
+ // a set of all properties/fields (JSON key names)
+ openapiFields = new HashSet(Arrays.asList("target", "certificates"));
+
+ // a set of required properties/fields (JSON key names)
+ openapiRequiredFields = new HashSet(Arrays.asList("target", "certificates"));
+ }
+
+ /**
+ * Validates the JSON Element and throws an exception if issues found
+ *
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to
+ * AddDocumentCertificationRequest
+ */
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!AddDocumentCertificationRequest.openapiRequiredFields.isEmpty()) { // has required fields
+ // but JSON element is
+ // null
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "The required field(s) %s in AddDocumentCertificationRequest is not found in the empty JSON string",
+ AddDocumentCertificationRequest.openapiRequiredFields.toString()));
+ }
+ }
+
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
+ // check to see if the JSON string contains additional fields
+ for (Map.Entry entry : entries) {
+ if (!AddDocumentCertificationRequest.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 `AddDocumentCertificationRequest` properties. JSON: %s",
+ entry.getKey(), jsonElement.toString()));
+ }
+ }
+
+ // check to make sure all required properties/fields are present in the JSON string
+ for (String requiredField : AddDocumentCertificationRequest.openapiRequiredFields) {
+ 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()));
+ }
+ }
+ JsonObject jsonObj = jsonElement.getAsJsonObject();
+ // validate the required field `target`
+ DocumentCertificationTarget.validateJsonElement(jsonObj.get("target"));
+ if (jsonObj.get("certificates") != null) {
+ if (!jsonObj.get("certificates").isJsonArray()) {
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "Expected the field `certificates` to be an array in the JSON string but got `%s`",
+ jsonObj.get("certificates").toString()));
+ }
+ JsonArray jsonArraycertificates = jsonObj.getAsJsonArray("certificates");
+ // validate the required field `certificates` (array)
+ for (int i = 0; i < jsonArraycertificates.size(); i++) {
+ DocumentCertification.validateJsonElement(jsonArraycertificates.get(i));
+ }
+ }
+ }
+
+ public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
+ @SuppressWarnings("unchecked")
+ @Override
+ public TypeAdapter create(Gson gson, TypeToken type) {
+ if (!AddDocumentCertificationRequest.class.isAssignableFrom(type.getRawType())) {
+ return null; // this class only serializes 'AddDocumentCertificationRequest' and its
+ // subtypes
+ }
+ final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class);
+ final TypeAdapter thisAdapter =
+ gson.getDelegateAdapter(this, TypeToken.get(AddDocumentCertificationRequest.class));
+
+ return (TypeAdapter) new TypeAdapter() {
+ @Override
+ public void write(JsonWriter out, AddDocumentCertificationRequest value)
+ throws IOException {
+ JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject();
+ elementAdapter.write(out, obj);
+ }
+
+ @Override
+ public AddDocumentCertificationRequest read(JsonReader in) throws IOException {
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
+ }
+
+ }.nullSafe();
+ }
+ }
+
+ /**
+ * Create an instance of AddDocumentCertificationRequest given an JSON string
+ *
+ * @param jsonString JSON string
+ * @return An instance of AddDocumentCertificationRequest
+ * @throws IOException if the JSON string is invalid with respect to
+ * AddDocumentCertificationRequest
+ */
+ public static AddDocumentCertificationRequest fromJson(String jsonString) throws IOException {
+ return JSON.getGson().fromJson(jsonString, AddDocumentCertificationRequest.class);
+ }
+
+ /**
+ * Convert an instance of AddDocumentCertificationRequest to an JSON string
+ *
+ * @return JSON string
+ */
+ public String toJson() {
+ return JSON.getGson().toJson(this);
+ }
+}
+
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentCertificationResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentCertificationResponse.java
new file mode 100644
index 000000000..fee799286
--- /dev/null
+++ b/src/main/java/com/formkiq/client/model/AddDocumentCertificationResponse.java
@@ -0,0 +1,260 @@
+/*
+ * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You
+ * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction
+ * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API
+ * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API
+ * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the
+ * API spec file with any application that supports the OpenAPI specification. Open API OAuth
+ * Specification -
+ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open
+ * API IAM Specification -
+ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ##
+ * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key
+ *
+ * The version of the OpenAPI document: 1.18.1 Contact: support@formkiq.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech Do not edit the class manually.
+ */
+
+
+package com.formkiq.client.model;
+
+import java.util.Objects;
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+import java.util.Arrays;
+
+import com.google.gson.Gson;
+import com.google.gson.GsonBuilder;
+import com.google.gson.JsonArray;
+import com.google.gson.JsonDeserializationContext;
+import com.google.gson.JsonDeserializer;
+import com.google.gson.JsonElement;
+import com.google.gson.JsonObject;
+import com.google.gson.JsonParseException;
+import com.google.gson.TypeAdapterFactory;
+import com.google.gson.reflect.TypeToken;
+import com.google.gson.TypeAdapter;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+import com.formkiq.client.invoker.JSON;
+
+/**
+ * AddDocumentCertificationResponse
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
+public class AddDocumentCertificationResponse {
+ public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId";
+ @SerializedName(SERIALIZED_NAME_DOCUMENT_ID)
+ @javax.annotation.Nullable
+ private String documentId;
+
+ public static final String SERIALIZED_NAME_URL = "url";
+ @SerializedName(SERIALIZED_NAME_URL)
+ @javax.annotation.Nullable
+ private String url;
+
+ public AddDocumentCertificationResponse() {}
+
+ public AddDocumentCertificationResponse documentId(@javax.annotation.Nullable String documentId) {
+ this.documentId = documentId;
+ return this;
+ }
+
+ /**
+ * Document identifier (NEW_VERSION / NEW_DOCUMENT).
+ *
+ * @return documentId
+ */
+ @javax.annotation.Nullable
+ public String getDocumentId() {
+ return documentId;
+ }
+
+ public void setDocumentId(@javax.annotation.Nullable String documentId) {
+ this.documentId = documentId;
+ }
+
+
+ public AddDocumentCertificationResponse url(@javax.annotation.Nullable String url) {
+ this.url = url;
+ return this;
+ }
+
+ /**
+ * Presigned download URL (DOWNLOAD).
+ *
+ * @return url
+ */
+ @javax.annotation.Nullable
+ public String getUrl() {
+ return url;
+ }
+
+ public void setUrl(@javax.annotation.Nullable String url) {
+ this.url = url;
+ }
+
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ AddDocumentCertificationResponse addDocumentCertificationResponse =
+ (AddDocumentCertificationResponse) o;
+ return Objects.equals(this.documentId, addDocumentCertificationResponse.documentId)
+ && Objects.equals(this.url, addDocumentCertificationResponse.url);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(documentId, url);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class AddDocumentCertificationResponse {\n");
+ sb.append(" documentId: ").append(toIndentedString(documentId)).append("\n");
+ sb.append(" url: ").append(toIndentedString(url)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+
+ public static HashSet openapiFields;
+ public static HashSet openapiRequiredFields;
+
+ static {
+ // a set of all properties/fields (JSON key names)
+ openapiFields = new HashSet(Arrays.asList("documentId", "url"));
+
+ // a set of required properties/fields (JSON key names)
+ openapiRequiredFields = new HashSet(0);
+ }
+
+ /**
+ * Validates the JSON Element and throws an exception if issues found
+ *
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to
+ * AddDocumentCertificationResponse
+ */
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!AddDocumentCertificationResponse.openapiRequiredFields.isEmpty()) { // has required
+ // fields but JSON
+ // element is null
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "The required field(s) %s in AddDocumentCertificationResponse is not found in the empty JSON string",
+ AddDocumentCertificationResponse.openapiRequiredFields.toString()));
+ }
+ }
+
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
+ // check to see if the JSON string contains additional fields
+ for (Map.Entry entry : entries) {
+ if (!AddDocumentCertificationResponse.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 `AddDocumentCertificationResponse` properties. JSON: %s",
+ entry.getKey(), jsonElement.toString()));
+ }
+ }
+ JsonObject jsonObj = jsonElement.getAsJsonObject();
+ if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull())
+ && !jsonObj.get("documentId").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`",
+ jsonObj.get("documentId").toString()));
+ }
+ if ((jsonObj.get("url") != null && !jsonObj.get("url").isJsonNull())
+ && !jsonObj.get("url").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "Expected the field `url` to be a primitive type in the JSON string but got `%s`",
+ jsonObj.get("url").toString()));
+ }
+ }
+
+ public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
+ @SuppressWarnings("unchecked")
+ @Override
+ public TypeAdapter create(Gson gson, TypeToken type) {
+ if (!AddDocumentCertificationResponse.class.isAssignableFrom(type.getRawType())) {
+ return null; // this class only serializes 'AddDocumentCertificationResponse' and its
+ // subtypes
+ }
+ final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class);
+ final TypeAdapter thisAdapter =
+ gson.getDelegateAdapter(this, TypeToken.get(AddDocumentCertificationResponse.class));
+
+ return (TypeAdapter) new TypeAdapter() {
+ @Override
+ public void write(JsonWriter out, AddDocumentCertificationResponse value)
+ throws IOException {
+ JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject();
+ elementAdapter.write(out, obj);
+ }
+
+ @Override
+ public AddDocumentCertificationResponse read(JsonReader in) throws IOException {
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
+ }
+
+ }.nullSafe();
+ }
+ }
+
+ /**
+ * Create an instance of AddDocumentCertificationResponse given an JSON string
+ *
+ * @param jsonString JSON string
+ * @return An instance of AddDocumentCertificationResponse
+ * @throws IOException if the JSON string is invalid with respect to
+ * AddDocumentCertificationResponse
+ */
+ public static AddDocumentCertificationResponse fromJson(String jsonString) throws IOException {
+ return JSON.getGson().fromJson(jsonString, AddDocumentCertificationResponse.class);
+ }
+
+ /**
+ * Convert an instance of AddDocumentCertificationResponse to an JSON string
+ *
+ * @return JSON string
+ */
+ public String toJson() {
+ return JSON.getGson().toJson(this);
+ }
+}
+
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentFulltextRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentFulltextRequest.java
index 78c49018f..ac80c1afc 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentFulltextRequest.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentFulltextRequest.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.AddDocumentMetadata;
import com.formkiq.client.model.AddDocumentTag;
import com.formkiq.client.model.ChecksumType;
@@ -58,7 +57,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -66,8 +64,8 @@
* AddDocumentFulltextRequest
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentFulltextRequest {
public static final String SERIALIZED_NAME_CONTENT_TYPE = "contentType";
@SerializedName(SERIALIZED_NAME_CONTENT_TYPE)
@@ -492,7 +490,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddDocumentFulltextRequest.openapiRequiredFields.isEmpty()) { // has required fields but
// JSON element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentFulltextRequest is not found in the empty JSON string",
AddDocumentFulltextRequest.openapiRequiredFields.toString()));
}
@@ -502,7 +500,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentFulltextRequest.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentFulltextRequest` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -510,50 +508,50 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull())
&& !jsonObj.get("contentType").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `contentType` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("contentType").toString()));
}
if ((jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull())
&& !jsonObj.get("content").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `content` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("content").toString()));
}
// ensure the optional json data is an array if present
if (jsonObj.get("contentUrls") != null && !jsonObj.get("contentUrls").isJsonNull()
&& !jsonObj.get("contentUrls").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `contentUrls` to be an array in the JSON string but got `%s`",
jsonObj.get("contentUrls").toString()));
}
if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull())
&& !jsonObj.get("path").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ 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()));
}
if ((jsonObj.get("width") != null && !jsonObj.get("width").isJsonNull())
&& !jsonObj.get("width").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `width` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("width").toString()));
}
if ((jsonObj.get("height") != null && !jsonObj.get("height").isJsonNull())
&& !jsonObj.get("height").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `height` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("height").toString()));
}
if ((jsonObj.get("deepLinkPath") != null && !jsonObj.get("deepLinkPath").isJsonNull())
&& !jsonObj.get("deepLinkPath").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `deepLinkPath` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("deepLinkPath").toString()));
}
if ((jsonObj.get("checksum") != null && !jsonObj.get("checksum").isJsonNull())
&& !jsonObj.get("checksum").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `checksum` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("checksum").toString()));
}
@@ -566,7 +564,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonArraytags != null) {
// ensure the json data is an array
if (!jsonObj.get("tags").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `tags` to be an array in the JSON string but got `%s`",
jsonObj.get("tags").toString()));
}
@@ -582,7 +580,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonArraymetadata != null) {
// ensure the json data is an array
if (!jsonObj.get("metadata").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `metadata` to be an array in the JSON string but got `%s`",
jsonObj.get("metadata").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentFulltextResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentFulltextResponse.java
index afe3d3068..4419d09f9 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentFulltextResponse.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentFulltextResponse.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -50,7 +49,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -58,8 +56,8 @@
* AddDocumentFulltextResponse
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentFulltextResponse {
public static final String SERIALIZED_NAME_MESSAGE = "message";
@SerializedName(SERIALIZED_NAME_MESSAGE)
@@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddDocumentFulltextResponse.openapiRequiredFields.isEmpty()) { // has required fields but
// JSON element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentFulltextResponse is not found in the empty JSON string",
AddDocumentFulltextResponse.openapiRequiredFields.toString()));
}
@@ -157,7 +155,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentFulltextResponse.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentFulltextResponse` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -165,7 +163,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull())
&& !jsonObj.get("message").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `message` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("message").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentGenerateRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentGenerateRequest.java
index fc4163330..f56a38df3 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentGenerateRequest.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentGenerateRequest.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.DocumentGenerateDataSource;
import com.formkiq.client.model.DocumentGenerateInsertDocument;
import com.formkiq.client.model.DocumentGenerateOutputType;
@@ -56,7 +55,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -64,8 +62,8 @@
* AddDocumentGenerateRequest
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentGenerateRequest {
public static final String SERIALIZED_NAME_LOCALE = "locale";
@SerializedName(SERIALIZED_NAME_LOCALE)
@@ -312,7 +310,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddDocumentGenerateRequest.openapiRequiredFields.isEmpty()) { // has required fields but
// JSON element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentGenerateRequest is not found in the empty JSON string",
AddDocumentGenerateRequest.openapiRequiredFields.toString()));
}
@@ -322,7 +320,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentGenerateRequest.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentGenerateRequest` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -337,7 +335,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonArrayinsertDocuments != null) {
// ensure the json data is an array
if (!jsonObj.get("insertDocuments").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `insertDocuments` to be an array in the JSON string but got `%s`",
jsonObj.get("insertDocuments").toString()));
}
@@ -353,7 +351,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonArraydatasources != null) {
// ensure the json data is an array
if (!jsonObj.get("datasources").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `datasources` to be an array in the JSON string but got `%s`",
jsonObj.get("datasources").toString()));
}
@@ -370,13 +368,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
if ((jsonObj.get("saveAsDocumentId") != null && !jsonObj.get("saveAsDocumentId").isJsonNull())
&& !jsonObj.get("saveAsDocumentId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `saveAsDocumentId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("saveAsDocumentId").toString()));
}
if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull())
&& !jsonObj.get("path").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `path` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("path").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentGenerateResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentGenerateResponse.java
index 7bb2fa754..76fe43f51 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentGenerateResponse.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentGenerateResponse.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -50,7 +49,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -58,8 +56,8 @@
* AddDocumentGenerateResponse
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentGenerateResponse {
public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId";
@SerializedName(SERIALIZED_NAME_DOCUMENT_ID)
@@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddDocumentGenerateResponse.openapiRequiredFields.isEmpty()) { // has required fields but
// JSON element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentGenerateResponse is not found in the empty JSON string",
AddDocumentGenerateResponse.openapiRequiredFields.toString()));
}
@@ -157,7 +155,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentGenerateResponse.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentGenerateResponse` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -165,7 +163,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull())
&& !jsonObj.get("documentId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `documentId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("documentId").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentMetadata.java b/src/main/java/com/formkiq/client/model/AddDocumentMetadata.java
index fa7e29ec9..380bd746c 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentMetadata.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentMetadata.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -52,7 +51,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -60,8 +58,8 @@
* Document Metadata (use either 'value' or 'values' not both)
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentMetadata {
public static final String SERIALIZED_NAME_KEY = "key";
@SerializedName(SERIALIZED_NAME_KEY)
@@ -211,7 +209,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddDocumentMetadata.openapiRequiredFields.isEmpty()) { // has required fields but JSON
// element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentMetadata is not found in the empty JSON string",
AddDocumentMetadata.openapiRequiredFields.toString()));
}
@@ -221,7 +219,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentMetadata.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentMetadata` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -230,27 +228,27 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : AddDocumentMetadata.openapiRequiredFields) {
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s", requiredField,
jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("key").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `key` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("key").toString()));
}
if ((jsonObj.get("value") != null && !jsonObj.get("value").isJsonNull())
&& !jsonObj.get("value").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `value` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("value").toString()));
}
// ensure the optional json data is an array if present
if (jsonObj.get("values") != null && !jsonObj.get("values").isJsonNull()
&& !jsonObj.get("values").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `values` to be an array in the JSON string but got `%s`",
jsonObj.get("values").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentMetadataExtractionResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentMetadataExtractionResponse.java
new file mode 100644
index 000000000..00c03a278
--- /dev/null
+++ b/src/main/java/com/formkiq/client/model/AddDocumentMetadataExtractionResponse.java
@@ -0,0 +1,286 @@
+/*
+ * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You
+ * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction
+ * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API
+ * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API
+ * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the
+ * API spec file with any application that supports the OpenAPI specification. Open API OAuth
+ * Specification -
+ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open
+ * API IAM Specification -
+ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ##
+ * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key
+ *
+ * The version of the OpenAPI document: 1.18.1 Contact: support@formkiq.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech Do not edit the class manually.
+ */
+
+
+package com.formkiq.client.model;
+
+import java.util.Objects;
+import com.formkiq.client.model.DataClassificationAttribute;
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+
+import com.google.gson.Gson;
+import com.google.gson.GsonBuilder;
+import com.google.gson.JsonArray;
+import com.google.gson.JsonDeserializationContext;
+import com.google.gson.JsonDeserializer;
+import com.google.gson.JsonElement;
+import com.google.gson.JsonObject;
+import com.google.gson.JsonParseException;
+import com.google.gson.TypeAdapterFactory;
+import com.google.gson.reflect.TypeToken;
+import com.google.gson.TypeAdapter;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+import com.formkiq.client.invoker.JSON;
+
+/**
+ * AddDocumentMetadataExtractionResponse
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
+public class AddDocumentMetadataExtractionResponse {
+ public static final String SERIALIZED_NAME_CONTENT = "content";
+ @SerializedName(SERIALIZED_NAME_CONTENT)
+ @javax.annotation.Nullable
+ private String content;
+
+ public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
+ @SerializedName(SERIALIZED_NAME_ATTRIBUTES)
+ @javax.annotation.Nullable
+ private List attributes = new ArrayList<>();
+
+ public AddDocumentMetadataExtractionResponse() {}
+
+ public AddDocumentMetadataExtractionResponse content(@javax.annotation.Nullable String content) {
+ this.content = content;
+ return this;
+ }
+
+ /**
+ * Result content
+ *
+ * @return content
+ */
+ @javax.annotation.Nullable
+ public String getContent() {
+ return content;
+ }
+
+ public void setContent(@javax.annotation.Nullable String content) {
+ this.content = content;
+ }
+
+
+ public AddDocumentMetadataExtractionResponse attributes(
+ @javax.annotation.Nullable List attributes) {
+ this.attributes = attributes;
+ return this;
+ }
+
+ public AddDocumentMetadataExtractionResponse addAttributesItem(
+ DataClassificationAttribute attributesItem) {
+ if (this.attributes == null) {
+ this.attributes = new ArrayList<>();
+ }
+ this.attributes.add(attributesItem);
+ return this;
+ }
+
+ /**
+ * Attributes extracted from result content
+ *
+ * @return attributes
+ */
+ @javax.annotation.Nullable
+ public List getAttributes() {
+ return attributes;
+ }
+
+ public void setAttributes(
+ @javax.annotation.Nullable List attributes) {
+ this.attributes = attributes;
+ }
+
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ AddDocumentMetadataExtractionResponse addDocumentMetadataExtractionResponse =
+ (AddDocumentMetadataExtractionResponse) o;
+ return Objects.equals(this.content, addDocumentMetadataExtractionResponse.content)
+ && Objects.equals(this.attributes, addDocumentMetadataExtractionResponse.attributes);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(content, attributes);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class AddDocumentMetadataExtractionResponse {\n");
+ sb.append(" content: ").append(toIndentedString(content)).append("\n");
+ sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+
+ public static HashSet openapiFields;
+ public static HashSet openapiRequiredFields;
+
+ static {
+ // a set of all properties/fields (JSON key names)
+ openapiFields = new HashSet(Arrays.asList("content", "attributes"));
+
+ // a set of required properties/fields (JSON key names)
+ openapiRequiredFields = new HashSet(0);
+ }
+
+ /**
+ * Validates the JSON Element and throws an exception if issues found
+ *
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to
+ * AddDocumentMetadataExtractionResponse
+ */
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!AddDocumentMetadataExtractionResponse.openapiRequiredFields.isEmpty()) { // has required
+ // fields but
+ // JSON element
+ // is null
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "The required field(s) %s in AddDocumentMetadataExtractionResponse is not found in the empty JSON string",
+ AddDocumentMetadataExtractionResponse.openapiRequiredFields.toString()));
+ }
+ }
+
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
+ // check to see if the JSON string contains additional fields
+ for (Map.Entry entry : entries) {
+ if (!AddDocumentMetadataExtractionResponse.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 `AddDocumentMetadataExtractionResponse` properties. JSON: %s",
+ entry.getKey(), jsonElement.toString()));
+ }
+ }
+ JsonObject jsonObj = jsonElement.getAsJsonObject();
+ if ((jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull())
+ && !jsonObj.get("content").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "Expected the field `content` to be a primitive type in the JSON string but got `%s`",
+ jsonObj.get("content").toString()));
+ }
+ if (jsonObj.get("attributes") != null && !jsonObj.get("attributes").isJsonNull()) {
+ JsonArray jsonArrayattributes = jsonObj.getAsJsonArray("attributes");
+ if (jsonArrayattributes != null) {
+ // ensure the json data is an array
+ if (!jsonObj.get("attributes").isJsonArray()) {
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
+ "Expected the field `attributes` to be an array in the JSON string but got `%s`",
+ jsonObj.get("attributes").toString()));
+ }
+
+ // validate the optional field `attributes` (array)
+ for (int i = 0; i < jsonArrayattributes.size(); i++) {
+ DataClassificationAttribute.validateJsonElement(jsonArrayattributes.get(i));
+ } ;
+ }
+ }
+ }
+
+ public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
+ @SuppressWarnings("unchecked")
+ @Override
+ public TypeAdapter create(Gson gson, TypeToken type) {
+ if (!AddDocumentMetadataExtractionResponse.class.isAssignableFrom(type.getRawType())) {
+ return null; // this class only serializes 'AddDocumentMetadataExtractionResponse' and its
+ // subtypes
+ }
+ final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class);
+ final TypeAdapter thisAdapter =
+ gson.getDelegateAdapter(this, TypeToken.get(AddDocumentMetadataExtractionResponse.class));
+
+ return (TypeAdapter) new TypeAdapter() {
+ @Override
+ public void write(JsonWriter out, AddDocumentMetadataExtractionResponse value)
+ throws IOException {
+ JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject();
+ elementAdapter.write(out, obj);
+ }
+
+ @Override
+ public AddDocumentMetadataExtractionResponse read(JsonReader in) throws IOException {
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
+ }
+
+ }.nullSafe();
+ }
+ }
+
+ /**
+ * Create an instance of AddDocumentMetadataExtractionResponse given an JSON string
+ *
+ * @param jsonString JSON string
+ * @return An instance of AddDocumentMetadataExtractionResponse
+ * @throws IOException if the JSON string is invalid with respect to
+ * AddDocumentMetadataExtractionResponse
+ */
+ public static AddDocumentMetadataExtractionResponse fromJson(String jsonString)
+ throws IOException {
+ return JSON.getGson().fromJson(jsonString, AddDocumentMetadataExtractionResponse.class);
+ }
+
+ /**
+ * Convert an instance of AddDocumentMetadataExtractionResponse to an JSON string
+ *
+ * @return JSON string
+ */
+ public String toJson() {
+ return JSON.getGson().toJson(this);
+ }
+}
+
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentOcrRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentOcrRequest.java
index d2bde64c0..6420940f8 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentOcrRequest.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentOcrRequest.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.OcrEngine;
import com.formkiq.client.model.OcrOutputType;
import com.formkiq.client.model.TextractQuery;
@@ -55,7 +54,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -63,8 +61,8 @@
* AddDocumentOcrRequest
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentOcrRequest {
public static final String SERIALIZED_NAME_TEXTRACT_QUERIES = "textractQueries";
@SerializedName(SERIALIZED_NAME_TEXTRACT_QUERIES)
@@ -313,7 +311,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddDocumentOcrRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON
// element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentOcrRequest is not found in the empty JSON string",
AddDocumentOcrRequest.openapiRequiredFields.toString()));
}
@@ -323,7 +321,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentOcrRequest.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentOcrRequest` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -334,7 +332,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonArraytextractQueries != null) {
// ensure the json data is an array
if (!jsonObj.get("textractQueries").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `textractQueries` to be an array in the JSON string but got `%s`",
jsonObj.get("textractQueries").toString()));
}
@@ -348,7 +346,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// ensure the optional json data is an array if present
if (jsonObj.get("parseTypes") != null && !jsonObj.get("parseTypes").isJsonNull()
&& !jsonObj.get("parseTypes").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `parseTypes` to be an array in the JSON string but got `%s`",
jsonObj.get("parseTypes").toString()));
}
@@ -358,7 +356,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
if ((jsonObj.get("ocrNumberOfPages") != null && !jsonObj.get("ocrNumberOfPages").isJsonNull())
&& !jsonObj.get("ocrNumberOfPages").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `ocrNumberOfPages` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("ocrNumberOfPages").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentOcrResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentOcrResponse.java
index d303044ec..99a6e09fa 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentOcrResponse.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentOcrResponse.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -50,7 +49,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -58,8 +56,8 @@
* AddDocumentOcrResponse
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentOcrResponse {
public static final String SERIALIZED_NAME_MESSAGE = "message";
@SerializedName(SERIALIZED_NAME_MESSAGE)
@@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddDocumentOcrResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON
// element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentOcrResponse is not found in the empty JSON string",
AddDocumentOcrResponse.openapiRequiredFields.toString()));
}
@@ -157,7 +155,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentOcrResponse.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentOcrResponse` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -165,7 +163,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull())
&& !jsonObj.get("message").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `message` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("message").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentRequest.java
index d5b0e554f..36dcf6fd1 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentRequest.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentRequest.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.AddAction;
import com.formkiq.client.model.AddChildDocument;
import com.formkiq.client.model.AddDocumentAttribute;
@@ -58,7 +57,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -66,8 +64,8 @@
* AddDocumentRequest
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentRequest {
public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId";
@SerializedName(SERIALIZED_NAME_DOCUMENT_ID)
@@ -578,7 +576,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddDocumentRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON
// element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentRequest is not found in the empty JSON string",
AddDocumentRequest.openapiRequiredFields.toString()));
}
@@ -588,7 +586,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentRequest.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentRequest` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -597,7 +595,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : AddDocumentRequest.openapiRequiredFields) {
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s", requiredField,
jsonElement.toString()));
}
@@ -605,13 +603,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull())
&& !jsonObj.get("documentId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `documentId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("documentId").toString()));
}
if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull())
&& !jsonObj.get("path").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ 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()));
}
@@ -621,36 +619,36 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
if ((jsonObj.get("checksum") != null && !jsonObj.get("checksum").isJsonNull())
&& !jsonObj.get("checksum").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `checksum` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("checksum").toString()));
}
if ((jsonObj.get("width") != null && !jsonObj.get("width").isJsonNull())
&& !jsonObj.get("width").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `width` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("width").toString()));
}
if ((jsonObj.get("height") != null && !jsonObj.get("height").isJsonNull())
&& !jsonObj.get("height").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `height` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("height").toString()));
}
if ((jsonObj.get("deepLinkPath") != null && !jsonObj.get("deepLinkPath").isJsonNull())
&& !jsonObj.get("deepLinkPath").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `deepLinkPath` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("deepLinkPath").toString()));
}
if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull())
&& !jsonObj.get("contentType").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `contentType` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("contentType").toString()));
}
if (!jsonObj.get("content").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `content` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("content").toString()));
}
@@ -659,7 +657,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonArraytags != null) {
// ensure the json data is an array
if (!jsonObj.get("tags").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `tags` to be an array in the JSON string but got `%s`",
jsonObj.get("tags").toString()));
}
@@ -675,7 +673,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonArraymetadata != null) {
// ensure the json data is an array
if (!jsonObj.get("metadata").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `metadata` to be an array in the JSON string but got `%s`",
jsonObj.get("metadata").toString()));
}
@@ -691,7 +689,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonArrayactions != null) {
// ensure the json data is an array
if (!jsonObj.get("actions").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `actions` to be an array in the JSON string but got `%s`",
jsonObj.get("actions").toString()));
}
@@ -707,7 +705,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonArrayattributes != null) {
// ensure the json data is an array
if (!jsonObj.get("attributes").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `attributes` to be an array in the JSON string but got `%s`",
jsonObj.get("attributes").toString()));
}
@@ -723,7 +721,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonArraydocuments != null) {
// ensure the json data is an array
if (!jsonObj.get("documents").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `documents` to be an array in the JSON string but got `%s`",
jsonObj.get("documents").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentResponse.java
index a33729649..d5e6aed5d 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentResponse.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentResponse.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.AddChildDocumentResponse;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -55,7 +54,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -63,8 +61,8 @@
* AddDocumentResponse
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentResponse {
public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId";
@SerializedName(SERIALIZED_NAME_DOCUMENT_ID)
@@ -278,7 +276,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddDocumentResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON
// element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentResponse is not found in the empty JSON string",
AddDocumentResponse.openapiRequiredFields.toString()));
}
@@ -288,7 +286,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentResponse.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentResponse` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -296,19 +294,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull())
&& !jsonObj.get("documentId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `documentId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("documentId").toString()));
}
if ((jsonObj.get("siteId") != null && !jsonObj.get("siteId").isJsonNull())
&& !jsonObj.get("siteId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `siteId` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("siteId").toString()));
}
if ((jsonObj.get("uploadUrl") != null && !jsonObj.get("uploadUrl").isJsonNull())
&& !jsonObj.get("uploadUrl").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `uploadUrl` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("uploadUrl").toString()));
}
@@ -317,7 +315,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonArraydocuments != null) {
// ensure the json data is an array
if (!jsonObj.get("documents").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `documents` to be an array in the JSON string but got `%s`",
jsonObj.get("documents").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentSync.java b/src/main/java/com/formkiq/client/model/AddDocumentSync.java
index 83cfb30dd..0a4abff7c 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentSync.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentSync.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.AddDocumentSyncService;
import com.formkiq.client.model.DocumentSyncType;
import com.google.gson.TypeAdapter;
@@ -52,7 +51,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -60,8 +58,8 @@
* AddDocumentSync
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentSync {
public static final String SERIALIZED_NAME_SERVICE = "service";
@SerializedName(SERIALIZED_NAME_SERVICE)
@@ -176,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddDocumentSync.openapiRequiredFields.isEmpty()) { // has required fields but JSON
// element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentSync is not found in the empty JSON string",
AddDocumentSync.openapiRequiredFields.toString()));
}
@@ -186,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentSync.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentSync` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentSyncRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentSyncRequest.java
index 27d53b88f..1071b3733 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentSyncRequest.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentSyncRequest.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.AddDocumentSync;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -51,7 +50,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -59,8 +57,8 @@
* AddDocumentSyncRequest
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentSyncRequest {
public static final String SERIALIZED_NAME_SYNC = "sync";
@SerializedName(SERIALIZED_NAME_SYNC)
@@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddDocumentSyncRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON
// element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentSyncRequest is not found in the empty JSON string",
AddDocumentSyncRequest.openapiRequiredFields.toString()));
}
@@ -158,7 +156,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentSyncRequest.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentSyncRequest` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentSyncService.java b/src/main/java/com/formkiq/client/model/AddDocumentSyncService.java
index 69d1b2cde..49f2df451 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentSyncService.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentSyncService.java
@@ -21,11 +21,9 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
-import java.util.Locale;
import com.google.gson.TypeAdapter;
import com.google.gson.JsonElement;
import com.google.gson.annotations.JsonAdapter;
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentTag.java b/src/main/java/com/formkiq/client/model/AddDocumentTag.java
index e50b1e018..7157ab968 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentTag.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentTag.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -52,7 +51,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -60,8 +58,8 @@
* List of Document Tags (use either 'value' or 'values' not both)
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentTag {
public static final String SERIALIZED_NAME_KEY = "key";
@SerializedName(SERIALIZED_NAME_KEY)
@@ -211,7 +209,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddDocumentTag.openapiRequiredFields.isEmpty()) { // has required fields but JSON element
// is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentTag is not found in the empty JSON string",
AddDocumentTag.openapiRequiredFields.toString()));
}
@@ -221,7 +219,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry entry : entries) {
if (!AddDocumentTag.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The field `%s` in the JSON string is not defined in the `AddDocumentTag` properties. JSON: %s",
entry.getKey(), jsonElement.toString()));
}
@@ -230,27 +228,27 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : AddDocumentTag.openapiRequiredFields) {
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field `%s` is not found in the JSON string: %s", requiredField,
jsonElement.toString()));
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if (!jsonObj.get("key").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `key` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("key").toString()));
}
if ((jsonObj.get("value") != null && !jsonObj.get("value").isJsonNull())
&& !jsonObj.get("value").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `value` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("value").toString()));
}
// ensure the optional json data is an array if present
if (jsonObj.get("values") != null && !jsonObj.get("values").isJsonNull()
&& !jsonObj.get("values").isJsonArray()) {
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"Expected the field `values` to be an array in the JSON string but got `%s`",
jsonObj.get("values").toString()));
}
diff --git a/src/main/java/com/formkiq/client/model/AddDocumentTagsRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentTagsRequest.java
index cdd0edd0d..57e5ca7d3 100644
--- a/src/main/java/com/formkiq/client/model/AddDocumentTagsRequest.java
+++ b/src/main/java/com/formkiq/client/model/AddDocumentTagsRequest.java
@@ -21,7 +21,6 @@
package com.formkiq.client.model;
import java.util.Objects;
-import java.util.Locale;
import com.formkiq.client.model.AddDocumentTag;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -53,7 +52,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Locale;
import com.formkiq.client.invoker.JSON;
@@ -61,8 +59,8 @@
* Add List of document tags
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
- date = "2025-12-07T17:20:11.660615-06:00[America/Winnipeg]",
- comments = "Generator version: 7.17.0")
+ date = "2026-03-16T21:45:19.549360-05:00[America/Winnipeg]",
+ comments = "Generator version: 7.20.0")
public class AddDocumentTagsRequest {
public static final String SERIALIZED_NAME_TAGS = "tags";
@SerializedName(SERIALIZED_NAME_TAGS)
@@ -158,7 +156,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonElement == null) {
if (!AddDocumentTagsRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON
// element is null
- throw new IllegalArgumentException(String.format(Locale.ROOT,
+ throw new IllegalArgumentException(String.format(java.util.Locale.ROOT,
"The required field(s) %s in AddDocumentTagsRequest is not found in the empty JSON string",
AddDocumentTagsRequest.openapiRequiredFields.toString()));
}
@@ -168,7 +166,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// check to see if the JSON string contains additional fields
for (Map.Entry