diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 000000000..d7a2b6c0d --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,30 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven +# +# This file is auto-generated by OpenAPI Generator (https://openapi-generator.tech) + +name: Java CI with Maven + +on: + push: + branches: [ main, master ] + pull_request: + branches: [ main, master ] + +jobs: + build: + name: Build FormKiQ API JWT + runs-on: ubuntu-latest + strategy: + matrix: + java: [ 17, 21 ] + steps: + - uses: actions/checkout@v4 + - name: Set up JDK + uses: actions/setup-java@v4 + with: + java-version: ${{ matrix.java }} + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B package --no-transfer-progress --file pom.xml diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index e132215b5..65ab3e584 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -34,11 +34,14 @@ docs/AddDocumentAttributeRelationship.md docs/AddDocumentAttributeStandard.md docs/AddDocumentAttributeValue.md docs/AddDocumentAttributesRequest.md +docs/AddDocumentCertificationRequest.md +docs/AddDocumentCertificationResponse.md docs/AddDocumentFulltextRequest.md docs/AddDocumentFulltextResponse.md docs/AddDocumentGenerateRequest.md docs/AddDocumentGenerateResponse.md docs/AddDocumentMetadata.md +docs/AddDocumentMetadataExtractionResponse.md docs/AddDocumentOcrRequest.md docs/AddDocumentOcrResponse.md docs/AddDocumentRequest.md @@ -155,9 +158,12 @@ docs/DocumentActionType.md docs/DocumentActionsApi.md docs/DocumentAttribute.md docs/DocumentAttributesApi.md +docs/DocumentCertification.md +docs/DocumentCertificationAwsSecretsManager.md +docs/DocumentCertificationSourceType.md +docs/DocumentCertificationTarget.md docs/DocumentConfig.md docs/DocumentConfigContentTypes.md -docs/DocumentDataClassificationApi.md docs/DocumentFoldersApi.md docs/DocumentFulltextAttribute.md docs/DocumentFulltextAttributeEq.md @@ -244,6 +250,7 @@ docs/GetDocumentAttributesResponse.md docs/GetDocumentContentResponse.md docs/GetDocumentDataClassificationResponse.md docs/GetDocumentFulltextResponse.md +docs/GetDocumentMetadataExtractionResponse.md docs/GetDocumentOcrResponse.md docs/GetDocumentResponse.md docs/GetDocumentSyncResponse.md @@ -310,6 +317,7 @@ docs/IndexFolderMoveResponse.md docs/IndexSearch.md docs/IndexSearchRequest.md docs/IndexSearchResponse.md +docs/IntelligentDocumentProcessingApi.md docs/LocaleInfo.md docs/LocaleResourceType.md docs/MalwareEngine.md @@ -323,6 +331,8 @@ docs/MappingAttributeMetadataField.md docs/MappingAttributeSourceType.md docs/MappingsApi.md docs/MatchDocumentTag.md +docs/MetadataExtraction.md +docs/MetadataExtractionAttribute.md docs/ModelCase.md docs/Nigo.md docs/NigoStatus.md @@ -489,7 +499,6 @@ src/main/java/com/formkiq/client/api/CaseManagementApi.java src/main/java/com/formkiq/client/api/CustomIndexApi.java src/main/java/com/formkiq/client/api/DocumentActionsApi.java src/main/java/com/formkiq/client/api/DocumentAttributesApi.java -src/main/java/com/formkiq/client/api/DocumentDataClassificationApi.java src/main/java/com/formkiq/client/api/DocumentFoldersApi.java src/main/java/com/formkiq/client/api/DocumentGenerationApi.java src/main/java/com/formkiq/client/api/DocumentOcrApi.java @@ -503,6 +512,7 @@ src/main/java/com/formkiq/client/api/ESignatureApi.java src/main/java/com/formkiq/client/api/EntityApi.java src/main/java/com/formkiq/client/api/ExamineObjectsApi.java src/main/java/com/formkiq/client/api/GoogleIntegrationApi.java +src/main/java/com/formkiq/client/api/IntelligentDocumentProcessingApi.java src/main/java/com/formkiq/client/api/MalwareScanApi.java src/main/java/com/formkiq/client/api/MappingsApi.java src/main/java/com/formkiq/client/api/PublicApi.java @@ -565,11 +575,14 @@ src/main/java/com/formkiq/client/model/AddDocumentAttributeRelationship.java src/main/java/com/formkiq/client/model/AddDocumentAttributeStandard.java src/main/java/com/formkiq/client/model/AddDocumentAttributeValue.java src/main/java/com/formkiq/client/model/AddDocumentAttributesRequest.java +src/main/java/com/formkiq/client/model/AddDocumentCertificationRequest.java +src/main/java/com/formkiq/client/model/AddDocumentCertificationResponse.java src/main/java/com/formkiq/client/model/AddDocumentFulltextRequest.java src/main/java/com/formkiq/client/model/AddDocumentFulltextResponse.java src/main/java/com/formkiq/client/model/AddDocumentGenerateRequest.java src/main/java/com/formkiq/client/model/AddDocumentGenerateResponse.java src/main/java/com/formkiq/client/model/AddDocumentMetadata.java +src/main/java/com/formkiq/client/model/AddDocumentMetadataExtractionResponse.java src/main/java/com/formkiq/client/model/AddDocumentOcrRequest.java src/main/java/com/formkiq/client/model/AddDocumentOcrResponse.java src/main/java/com/formkiq/client/model/AddDocumentRequest.java @@ -680,6 +693,10 @@ src/main/java/com/formkiq/client/model/DocumentAction.java src/main/java/com/formkiq/client/model/DocumentActionStatus.java src/main/java/com/formkiq/client/model/DocumentActionType.java src/main/java/com/formkiq/client/model/DocumentAttribute.java +src/main/java/com/formkiq/client/model/DocumentCertification.java +src/main/java/com/formkiq/client/model/DocumentCertificationAwsSecretsManager.java +src/main/java/com/formkiq/client/model/DocumentCertificationSourceType.java +src/main/java/com/formkiq/client/model/DocumentCertificationTarget.java src/main/java/com/formkiq/client/model/DocumentConfig.java src/main/java/com/formkiq/client/model/DocumentConfigContentTypes.java src/main/java/com/formkiq/client/model/DocumentFulltextAttribute.java @@ -756,6 +773,7 @@ src/main/java/com/formkiq/client/model/GetDocumentAttributesResponse.java src/main/java/com/formkiq/client/model/GetDocumentContentResponse.java src/main/java/com/formkiq/client/model/GetDocumentDataClassificationResponse.java src/main/java/com/formkiq/client/model/GetDocumentFulltextResponse.java +src/main/java/com/formkiq/client/model/GetDocumentMetadataExtractionResponse.java src/main/java/com/formkiq/client/model/GetDocumentOcrResponse.java src/main/java/com/formkiq/client/model/GetDocumentResponse.java src/main/java/com/formkiq/client/model/GetDocumentSyncResponse.java @@ -832,6 +850,8 @@ src/main/java/com/formkiq/client/model/MappingAttributeLabelMatchingType.java src/main/java/com/formkiq/client/model/MappingAttributeMetadataField.java src/main/java/com/formkiq/client/model/MappingAttributeSourceType.java src/main/java/com/formkiq/client/model/MatchDocumentTag.java +src/main/java/com/formkiq/client/model/MetadataExtraction.java +src/main/java/com/formkiq/client/model/MetadataExtractionAttribute.java src/main/java/com/formkiq/client/model/ModelCase.java src/main/java/com/formkiq/client/model/Nigo.java src/main/java/com/formkiq/client/model/NigoStatus.java @@ -980,7 +1000,6 @@ src/test/java/com/formkiq/client/api/CaseManagementApiTest.java src/test/java/com/formkiq/client/api/CustomIndexApiTest.java src/test/java/com/formkiq/client/api/DocumentActionsApiTest.java src/test/java/com/formkiq/client/api/DocumentAttributesApiTest.java -src/test/java/com/formkiq/client/api/DocumentDataClassificationApiTest.java src/test/java/com/formkiq/client/api/DocumentFoldersApiTest.java src/test/java/com/formkiq/client/api/DocumentGenerationApiTest.java src/test/java/com/formkiq/client/api/DocumentOcrApiTest.java @@ -994,6 +1013,7 @@ src/test/java/com/formkiq/client/api/ESignatureApiTest.java src/test/java/com/formkiq/client/api/EntityApiTest.java src/test/java/com/formkiq/client/api/ExamineObjectsApiTest.java src/test/java/com/formkiq/client/api/GoogleIntegrationApiTest.java +src/test/java/com/formkiq/client/api/IntelligentDocumentProcessingApiTest.java src/test/java/com/formkiq/client/api/MalwareScanApiTest.java src/test/java/com/formkiq/client/api/MappingsApiTest.java src/test/java/com/formkiq/client/api/PublicApiTest.java @@ -1033,10 +1053,13 @@ src/test/java/com/formkiq/client/model/AddDocumentAttributeStandardTest.java src/test/java/com/formkiq/client/model/AddDocumentAttributeTest.java src/test/java/com/formkiq/client/model/AddDocumentAttributeValueTest.java src/test/java/com/formkiq/client/model/AddDocumentAttributesRequestTest.java +src/test/java/com/formkiq/client/model/AddDocumentCertificationRequestTest.java +src/test/java/com/formkiq/client/model/AddDocumentCertificationResponseTest.java src/test/java/com/formkiq/client/model/AddDocumentFulltextRequestTest.java src/test/java/com/formkiq/client/model/AddDocumentFulltextResponseTest.java src/test/java/com/formkiq/client/model/AddDocumentGenerateRequestTest.java src/test/java/com/formkiq/client/model/AddDocumentGenerateResponseTest.java +src/test/java/com/formkiq/client/model/AddDocumentMetadataExtractionResponseTest.java src/test/java/com/formkiq/client/model/AddDocumentMetadataTest.java src/test/java/com/formkiq/client/model/AddDocumentOcrRequestTest.java src/test/java/com/formkiq/client/model/AddDocumentOcrResponseTest.java @@ -1147,6 +1170,10 @@ src/test/java/com/formkiq/client/model/DocumentActionStatusTest.java src/test/java/com/formkiq/client/model/DocumentActionTest.java src/test/java/com/formkiq/client/model/DocumentActionTypeTest.java src/test/java/com/formkiq/client/model/DocumentAttributeTest.java +src/test/java/com/formkiq/client/model/DocumentCertificationAwsSecretsManagerTest.java +src/test/java/com/formkiq/client/model/DocumentCertificationSourceTypeTest.java +src/test/java/com/formkiq/client/model/DocumentCertificationTargetTest.java +src/test/java/com/formkiq/client/model/DocumentCertificationTest.java src/test/java/com/formkiq/client/model/DocumentConfigContentTypesTest.java src/test/java/com/formkiq/client/model/DocumentConfigTest.java src/test/java/com/formkiq/client/model/DocumentFulltextAttributeEqTest.java @@ -1224,6 +1251,7 @@ src/test/java/com/formkiq/client/model/GetDocumentAttributesResponseTest.java src/test/java/com/formkiq/client/model/GetDocumentContentResponseTest.java src/test/java/com/formkiq/client/model/GetDocumentDataClassificationResponseTest.java src/test/java/com/formkiq/client/model/GetDocumentFulltextResponseTest.java +src/test/java/com/formkiq/client/model/GetDocumentMetadataExtractionResponseTest.java src/test/java/com/formkiq/client/model/GetDocumentOcrResponseTest.java src/test/java/com/formkiq/client/model/GetDocumentResponseTest.java src/test/java/com/formkiq/client/model/GetDocumentSyncResponseTest.java @@ -1300,6 +1328,8 @@ src/test/java/com/formkiq/client/model/MappingAttributeSourceTypeTest.java src/test/java/com/formkiq/client/model/MappingAttributeTest.java src/test/java/com/formkiq/client/model/MappingTest.java src/test/java/com/formkiq/client/model/MatchDocumentTagTest.java +src/test/java/com/formkiq/client/model/MetadataExtractionAttributeTest.java +src/test/java/com/formkiq/client/model/MetadataExtractionTest.java src/test/java/com/formkiq/client/model/ModelCaseTest.java src/test/java/com/formkiq/client/model/NigoStatusTest.java src/test/java/com/formkiq/client/model/NigoTest.java diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 6328c5424..2540a3a5b 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.17.0 +7.20.0 diff --git a/README.md b/README.md index 12d93656e..e3ced275d 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ This is the official supported Java library for the FormKiQ API. FormKiQ HTTP API - API version: 1.18.1 - - Build date: 2025-12-07T17:20:11.660615-06:00[America/Winnipeg] - - Generator version: 7.17.0 + - Build date: 2026-03-16T21:45:19.549360-05:00[America/Winnipeg] + - Generator version: 7.20.0 Formkiq API: Document Management Platform API using OAuth(JWT) Authentication @@ -231,13 +231,12 @@ Class | Method | HTTP request | Description *DocumentAttributesApi* | [**getDocumentAttributes**](docs/DocumentAttributesApi.md#getDocumentAttributes) | **GET** /documents/{documentId}/attributes | Get document's attributes *DocumentAttributesApi* | [**setDocumentAttributeValue**](docs/DocumentAttributesApi.md#setDocumentAttributeValue) | **PUT** /documents/{documentId}/attributes/{attributeKey} | Set document's attributes value *DocumentAttributesApi* | [**setDocumentAttributes**](docs/DocumentAttributesApi.md#setDocumentAttributes) | **PUT** /documents/{documentId}/attributes | Set document's attributes -*DocumentDataClassificationApi* | [**getDocumentDataClassification**](docs/DocumentDataClassificationApi.md#getDocumentDataClassification) | **GET** /documents/{documentId}/dataClassification | Get document's data classification -*DocumentDataClassificationApi* | [**setDocumentDataClassification**](docs/DocumentDataClassificationApi.md#setDocumentDataClassification) | **PUT** /documents/{documentId}/dataClassification | Set document's data classification *DocumentFoldersApi* | [**addFolder**](docs/DocumentFoldersApi.md#addFolder) | **POST** /folders | Add document folder *DocumentFoldersApi* | [**deleteFolder**](docs/DocumentFoldersApi.md#deleteFolder) | **DELETE** /folders/{indexKey} | Delete document folder *DocumentFoldersApi* | [**getFolderDocuments**](docs/DocumentFoldersApi.md#getFolderDocuments) | **GET** /folders | Get document folders *DocumentFoldersApi* | [**getFolderPermissions**](docs/DocumentFoldersApi.md#getFolderPermissions) | **GET** /folders/{indexKey}/permissions | Get folder permissions *DocumentFoldersApi* | [**setFolderPermissions**](docs/DocumentFoldersApi.md#setFolderPermissions) | **PUT** /folders/permissions | Sets Folder Permissions +*DocumentGenerationApi* | [**addDocumentCertification**](docs/DocumentGenerationApi.md#addDocumentCertification) | **POST** /documents/{documentId}/certifications | Add Document Certification *DocumentGenerationApi* | [**addDocumentGenerate**](docs/DocumentGenerationApi.md#addDocumentGenerate) | **POST** /documents/{documentId}/generate | Add Document Generate *DocumentOcrApi* | [**addDocumentOcr**](docs/DocumentOcrApi.md#addDocumentOcr) | **POST** /documents/{documentId}/ocr | Perform document ocr *DocumentOcrApi* | [**deleteDocumentOcr**](docs/DocumentOcrApi.md#deleteDocumentOcr) | **DELETE** /documents/{documentId}/ocr | Delete document ocr @@ -301,6 +300,7 @@ Class | Method | HTTP request | Description *EntityApi* | [**addEntity**](docs/EntityApi.md#addEntity) | **POST** /entities/{entityTypeId} | Add New Entity *EntityApi* | [**addEntityType**](docs/EntityApi.md#addEntityType) | **POST** /entityTypes | Add New EntityType *EntityApi* | [**deleteEntity**](docs/EntityApi.md#deleteEntity) | **DELETE** /entities/{entityTypeId}/{entityId} | Deletes Entity +*EntityApi* | [**deleteEntityAttribute**](docs/EntityApi.md#deleteEntityAttribute) | **DELETE** /entities/{entityTypeId}/{entityId}/attributes/{attributeKey} | Deletes Entity Attribute *EntityApi* | [**deleteEntityType**](docs/EntityApi.md#deleteEntityType) | **DELETE** /entityTypes/{entityTypeId} | Deletes Entity Type *EntityApi* | [**getEntities**](docs/EntityApi.md#getEntities) | **GET** /entities/{entityTypeId} | Get Entities *EntityApi* | [**getEntity**](docs/EntityApi.md#getEntity) | **GET** /entities/{entityTypeId}/{entityId} | Get Entity @@ -310,6 +310,11 @@ Class | Method | HTTP request | Description *ExamineObjectsApi* | [**getExaminePdf**](docs/ExamineObjectsApi.md#getExaminePdf) | **GET** /objects/examine/{id}/pdf | Add Examine Pdf *ExamineObjectsApi* | [**getExaminePdfUrl**](docs/ExamineObjectsApi.md#getExaminePdfUrl) | **GET** /objects/examine/pdf | Add Examine Pdf *GoogleIntegrationApi* | [**addGoogleDocumentExport**](docs/GoogleIntegrationApi.md#addGoogleDocumentExport) | **POST** /integrations/google/drive/documents/{documentId}/export | Add Google Document Export +*IntelligentDocumentProcessingApi* | [**addDocumentMetadataExtractionResult**](docs/IntelligentDocumentProcessingApi.md#addDocumentMetadataExtractionResult) | **POST** /documents/{documentId}/metadataExtractionResults/{llmPromptEntityName} | Add document's metadata extraction result +*IntelligentDocumentProcessingApi* | [**getAllDocumentMetadataExtractionResults**](docs/IntelligentDocumentProcessingApi.md#getAllDocumentMetadataExtractionResults) | **GET** /documents/{documentId}/metadataExtractionResults | Get all document's metadata extraction results +*IntelligentDocumentProcessingApi* | [**getDocumentDataClassification**](docs/IntelligentDocumentProcessingApi.md#getDocumentDataClassification) | **GET** /documents/{documentId}/dataClassification | Get document's data classification +*IntelligentDocumentProcessingApi* | [**getDocumentMetadataExtractionResults**](docs/IntelligentDocumentProcessingApi.md#getDocumentMetadataExtractionResults) | **GET** /documents/{documentId}/metadataExtractionResults/{llmPromptEntityName} | Get document's metadata extraction results +*IntelligentDocumentProcessingApi* | [**setDocumentDataClassification**](docs/IntelligentDocumentProcessingApi.md#setDocumentDataClassification) | **PUT** /documents/{documentId}/dataClassification | Set document's data classification *MalwareScanApi* | [**getMalwareScanResults**](docs/MalwareScanApi.md#getMalwareScanResults) | **GET** /documents/{documentId}/malwareScan | Get Malware Scan results *MalwareScanApi* | [**setAntivirus**](docs/MalwareScanApi.md#setAntivirus) | **PUT** /documents/{documentId}/antivirus | Antivirus document scan *MalwareScanApi* | [**setMalwareScan**](docs/MalwareScanApi.md#setMalwareScan) | **PUT** /documents/{documentId}/malwareScan | MalwareScan document scan @@ -434,11 +439,14 @@ Class | Method | HTTP request | Description - [AddDocumentAttributeStandard](docs/AddDocumentAttributeStandard.md) - [AddDocumentAttributeValue](docs/AddDocumentAttributeValue.md) - [AddDocumentAttributesRequest](docs/AddDocumentAttributesRequest.md) + - [AddDocumentCertificationRequest](docs/AddDocumentCertificationRequest.md) + - [AddDocumentCertificationResponse](docs/AddDocumentCertificationResponse.md) - [AddDocumentFulltextRequest](docs/AddDocumentFulltextRequest.md) - [AddDocumentFulltextResponse](docs/AddDocumentFulltextResponse.md) - [AddDocumentGenerateRequest](docs/AddDocumentGenerateRequest.md) - [AddDocumentGenerateResponse](docs/AddDocumentGenerateResponse.md) - [AddDocumentMetadata](docs/AddDocumentMetadata.md) + - [AddDocumentMetadataExtractionResponse](docs/AddDocumentMetadataExtractionResponse.md) - [AddDocumentOcrRequest](docs/AddDocumentOcrRequest.md) - [AddDocumentOcrResponse](docs/AddDocumentOcrResponse.md) - [AddDocumentRequest](docs/AddDocumentRequest.md) @@ -549,6 +557,10 @@ Class | Method | HTTP request | Description - [DocumentActionStatus](docs/DocumentActionStatus.md) - [DocumentActionType](docs/DocumentActionType.md) - [DocumentAttribute](docs/DocumentAttribute.md) + - [DocumentCertification](docs/DocumentCertification.md) + - [DocumentCertificationAwsSecretsManager](docs/DocumentCertificationAwsSecretsManager.md) + - [DocumentCertificationSourceType](docs/DocumentCertificationSourceType.md) + - [DocumentCertificationTarget](docs/DocumentCertificationTarget.md) - [DocumentConfig](docs/DocumentConfig.md) - [DocumentConfigContentTypes](docs/DocumentConfigContentTypes.md) - [DocumentFulltextAttribute](docs/DocumentFulltextAttribute.md) @@ -625,6 +637,7 @@ Class | Method | HTTP request | Description - [GetDocumentContentResponse](docs/GetDocumentContentResponse.md) - [GetDocumentDataClassificationResponse](docs/GetDocumentDataClassificationResponse.md) - [GetDocumentFulltextResponse](docs/GetDocumentFulltextResponse.md) + - [GetDocumentMetadataExtractionResponse](docs/GetDocumentMetadataExtractionResponse.md) - [GetDocumentOcrResponse](docs/GetDocumentOcrResponse.md) - [GetDocumentResponse](docs/GetDocumentResponse.md) - [GetDocumentSyncResponse](docs/GetDocumentSyncResponse.md) @@ -701,6 +714,8 @@ Class | Method | HTTP request | Description - [MappingAttributeMetadataField](docs/MappingAttributeMetadataField.md) - [MappingAttributeSourceType](docs/MappingAttributeSourceType.md) - [MatchDocumentTag](docs/MatchDocumentTag.md) + - [MetadataExtraction](docs/MetadataExtraction.md) + - [MetadataExtractionAttribute](docs/MetadataExtractionAttribute.md) - [ModelCase](docs/ModelCase.md) - [Nigo](docs/Nigo.md) - [NigoStatus](docs/NigoStatus.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index 08a749b42..203ed48e1 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -2479,6 +2479,12 @@ paths: Returns a unique **documentId** used in subsequent operations. + **Content Type Detection** + If the document **Content-Type** is not specified during upload, the service will determine it + asynchronously after the upload completes. + + This may result in a **temporary delay** before the content type and related metadata are available. + See POST /documents/{documentId}/tags for adding tags to document schema See POST /documents/{documentId}/actions for adding actions to document schema @@ -4014,11 +4020,17 @@ paths: x-accepts: - application/json post: - description: "Returns a URL that can be used to upload document content and\ - \ create a new document, while allowing metadata to also be sent; this endpoint\ - \ (whether GET or POST) is required in order to add content that is larger\ - \ than 5 MB. The POST endpoint allow the adding of document metadata at the\ - \ same time as the document is created." + description: |- + Returns a URL that can be used to upload document content and create a new document. + This endpoint is required for uploading content larger than 5 MB and allows document metadata + to be provided at creation time. + + **Content Type Detection** + If the document **Content-Type** is not specified during upload, the service will determine it + asynchronously after the upload completes. + This may result in a **temporary delay** before the content type and related metadata are available. + + To avoid this delay, provide the **Content-Type** when uploading the document. operationId: AddDocumentUpload parameters: - description: Site Identifier @@ -4907,6 +4919,8 @@ paths: | OCR | ocrNumberOfPages | Number of pages to OCR (from start) | -1 | | OCR | addPdfDetectedCharactersAsText | PDF Documents convert images to text | true or false | | DATA_CLASSIFICATION | llmPromptEntityName | LLM Prompt Entity Name | + | METADATA_EXTRACTION | llmPromptEntityName | LLM Prompt Entity Name | + | CHECKSUM | checksumType | Checksum algorithm to calculate and persist for the document | SHA1 or SHA256 | | FULLTEXT | characterMax | Maximum number of characters to add to Fulltext destination | -1 | | DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | DOCUMENTTAGGING | tags | Comma-deliminted list of keywords | author,title,description | @@ -7632,7 +7646,7 @@ paths: - ApiAuthorization: [] summary: Get document's data classification tags: - - Document Data Classification + - Intelligent Document Processing x-amazon-apigateway-integration: $ref: "#/components/x-amazon-apigateway-integrations/dataClassificationLambdaApi200" x-accepts: @@ -7682,12 +7696,196 @@ paths: - ApiAuthorization: [] summary: Set document's data classification tags: - - Document Data Classification + - Intelligent Document Processing x-amazon-apigateway-integration: $ref: "#/components/x-amazon-apigateway-integrations/dataClassificationLambdaApi200" x-content-type: application/json x-accepts: - application/json + /documents/{documentId}/metadataExtractionResults: + get: + description: Retrieve all document's metadata extraction; available as an Add-On + Module + operationId: GetAllDocumentMetadataExtractionResults + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Document Identifier + explode: false + in: path + name: documentId + required: true + schema: + type: string + style: simple + - description: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form + - description: Next page of results token + explode: true + in: query + name: next + required: false + schema: + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetDocumentMetadataExtractionResponse" + description: 200 OK + headers: + Access-Control-Allow-Origin: + $ref: "#/components/headers/AccessControlAllowOrigin" + Access-Control-Allow-Methods: + $ref: "#/components/headers/AccessControlAllowMethods" + Access-Control-Allow-Headers: + $ref: "#/components/headers/AccessControlAllowHeaders" + security: + - ApiAuthorization: [] + summary: Get all document's metadata extraction results + tags: + - Intelligent Document Processing + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/dataClassificationLambdaApi200" + x-accepts: + - application/json + /documents/{documentId}/metadataExtractionResults/{llmPromptEntityName}: + get: + description: Retrieve an document's metadata extraction; available as an Add-On + Module + operationId: GetDocumentMetadataExtractionResults + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Document Identifier + explode: false + in: path + name: documentId + required: true + schema: + type: string + style: simple + - description: LlmPrompt Entity Name + explode: false + in: path + name: llmPromptEntityName + required: true + schema: + type: string + style: simple + - description: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form + - description: Next page of results token + explode: true + in: query + name: next + required: false + schema: + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetDocumentMetadataExtractionResponse" + description: 200 OK + headers: + Access-Control-Allow-Origin: + $ref: "#/components/headers/AccessControlAllowOrigin" + Access-Control-Allow-Methods: + $ref: "#/components/headers/AccessControlAllowMethods" + Access-Control-Allow-Headers: + $ref: "#/components/headers/AccessControlAllowHeaders" + security: + - ApiAuthorization: [] + summary: Get document's metadata extraction results + tags: + - Intelligent Document Processing + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/dataClassificationLambdaApi200" + x-accepts: + - application/json + post: + description: Create a document Metadatq Extraction Result attributes within + a document; available as an Add-On Module + operationId: AddDocumentMetadataExtractionResult + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Document Identifier + explode: false + in: path + name: documentId + required: true + schema: + type: string + style: simple + - description: LlmPrompt Entity Name + explode: false + in: path + name: llmPromptEntityName + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/AddDocumentMetadataExtractionResponse" + description: 200 OK + headers: + Access-Control-Allow-Origin: + $ref: "#/components/headers/AccessControlAllowOrigin" + Access-Control-Allow-Methods: + $ref: "#/components/headers/AccessControlAllowMethods" + Access-Control-Allow-Headers: + $ref: "#/components/headers/AccessControlAllowHeaders" + security: + - ApiAuthorization: [] + summary: Add document's metadata extraction result + tags: + - Intelligent Document Processing + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/dataClassificationLambdaApi200" + x-accepts: + - application/json /userActivities: get: description: Retrieve a user's activities @@ -7858,6 +8056,82 @@ paths: schema: type: string style: form + - description: RulesetId Identifier + explode: true + in: query + name: rulesetId + required: false + schema: + type: string + style: form + - description: RuleId Identifier + explode: true + in: query + name: ruleId + required: false + schema: + type: string + style: form + - description: Workflow Identifier + explode: true + in: query + name: workflowId + required: false + schema: + type: string + style: form + - description: Attribute Key + explode: true + in: query + name: attributeKey + required: false + schema: + type: string + style: form + - description: Schema Type + explode: true + in: query + name: schema + required: false + schema: + enum: + - document + type: string + style: form + - description: Classification Id + explode: true + in: query + name: classificationId + required: false + schema: + type: string + style: form + - description: Mapping Id + explode: true + in: query + name: mappingId + required: false + schema: + type: string + style: form + - description: Api Key + explode: true + in: query + name: apiKey + required: false + schema: + type: string + style: form + - description: Control Policy + explode: true + in: query + name: controlPolicy + required: false + schema: + enum: + - opa + type: string + style: form - description: Start of date-time range (UTC) explode: true in: query @@ -11451,6 +11725,66 @@ paths: x-content-type: application/json x-accepts: - application/json + /documents/{documentId}/certifications: + post: + description: |- + Applies one or more certifications (digital signatures) to a document using one or more certificates. + Target determines whether a presigned download is returned, a new version is created, or a new document is created. + ; available as an Add-On Module + operationId: AddDocumentCertification + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Document Identifier + explode: false + in: path + name: documentId + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddDocumentCertificationRequest" + required: true + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/AddDocumentCertificationResponse" + description: 201 CREATED + headers: + Access-Control-Allow-Origin: + $ref: "#/components/headers/AccessControlAllowOrigin" + Access-Control-Allow-Methods: + $ref: "#/components/headers/AccessControlAllowMethods" + Access-Control-Allow-Headers: + $ref: "#/components/headers/AccessControlAllowHeaders" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ValidationErrorsResponse" + description: 400 BAD REQUEST + security: + - ApiAuthorization: [] + summary: Add Document Certification + tags: + - Document Generation + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/documentSignatureLambdaApi" + x-content-type: application/json + x-accepts: + - application/json /integrations/google/drive/documents/{documentId}/export: post: description: Exports a Google Document; available as an Add-On Module @@ -12106,6 +12440,66 @@ paths: x-content-type: application/json x-accepts: - application/json + /entities/{entityTypeId}/{entityId}/attributes/{attributeKey}: + delete: + description: Deletes Entity Attribute + operationId: DeleteEntityAttribute + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: EntityType Identifier + explode: false + in: path + name: entityTypeId + required: true + schema: + type: string + style: simple + - description: Entity Identifier + explode: false + in: path + name: entityId + required: true + schema: + type: string + style: simple + - description: Attribute Key + explode: false + in: path + name: attributeKey + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteResponse" + description: 200 OK + headers: + Access-Control-Allow-Origin: + $ref: "#/components/headers/AccessControlAllowOrigin" + Access-Control-Allow-Methods: + $ref: "#/components/headers/AccessControlAllowMethods" + Access-Control-Allow-Headers: + $ref: "#/components/headers/AccessControlAllowHeaders" + security: + - ApiAuthorization: [] + summary: Deletes Entity Attribute + tags: + - Entity + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json components: headers: AccessControlAllowOrigin: @@ -12232,6 +12626,91 @@ components: schema: type: string style: form + rulesetIdQuery: + description: RulesetId Identifier + explode: true + in: query + name: rulesetId + required: false + schema: + type: string + style: form + ruleIdQuery: + description: RuleId Identifier + explode: true + in: query + name: ruleId + required: false + schema: + type: string + style: form + workflowIdQuery: + description: Workflow Identifier + explode: true + in: query + name: workflowId + required: false + schema: + type: string + style: form + attributeKeyQuery: + description: Attribute Key + explode: true + in: query + name: attributeKey + required: false + schema: + type: string + style: form + schemaQuery: + description: Schema Type + explode: true + in: query + name: schema + required: false + schema: + enum: + - document + type: string + style: form + controlPolicyQuery: + description: Control Policy + explode: true + in: query + name: controlPolicy + required: false + schema: + enum: + - opa + type: string + style: form + classificationIdQuery: + description: Classification Id + explode: true + in: query + name: classificationId + required: false + schema: + type: string + style: form + mappingIdQuery: + description: Mapping Id + explode: true + in: query + name: mappingId + required: false + schema: + type: string + style: form + apiKeyQuery: + description: Api Key + explode: true + in: query + name: apiKey + required: false + schema: + type: string + style: form entityTypeIdParam: description: EntityType Identifier explode: false @@ -12567,6 +13046,15 @@ components: schema: type: string style: simple + llmPromptEntityNameParam: + description: LlmPrompt Entity Name + explode: false + in: path + name: llmPromptEntityName + required: true + schema: + type: string + style: simple documentIdQuery: description: Document Identifier explode: true @@ -13418,6 +13906,34 @@ components: numberValue: 0.8008281904610115 userId: userId key: key + entity: + insertedDate: insertedDate + name: name + entityId: entityId + entityTypeId: entityTypeId + attributes: + - numberValues: + - 5.962133916683182 + - 5.962133916683182 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + valueType: null + booleanValue: true + numberValue: 1.4658129805029452 + key: key + - numberValues: + - 5.962133916683182 + - 5.962133916683182 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + valueType: null + booleanValue: true + numberValue: 1.4658129805029452 + key: key properties: attribute: $ref: "#/components/schemas/DocumentAttribute" @@ -13439,6 +13955,34 @@ components: numberValue: 0.8008281904610115 userId: userId key: key + entity: + insertedDate: insertedDate + name: name + entityId: entityId + entityTypeId: entityTypeId + attributes: + - numberValues: + - 5.962133916683182 + - 5.962133916683182 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + valueType: null + booleanValue: true + numberValue: 1.4658129805029452 + key: key + - numberValues: + - 5.962133916683182 + - 5.962133916683182 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + valueType: null + booleanValue: true + numberValue: 1.4658129805029452 + key: key - numberValues: - 6.027456183070403 - 6.027456183070403 @@ -13452,6 +13996,34 @@ components: numberValue: 0.8008281904610115 userId: userId key: key + entity: + insertedDate: insertedDate + name: name + entityId: entityId + entityTypeId: entityTypeId + attributes: + - numberValues: + - 5.962133916683182 + - 5.962133916683182 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + valueType: null + booleanValue: true + numberValue: 1.4658129805029452 + key: key + - numberValues: + - 5.962133916683182 + - 5.962133916683182 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + valueType: null + booleanValue: true + numberValue: 1.4658129805029452 + key: key properties: next: description: Next page of results token @@ -14449,6 +15021,7 @@ components: engine: chatgpt notificationText: notificationText eventBusName: eventBusName + checksumType: null width: width llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml @@ -14485,6 +15058,7 @@ components: engine: chatgpt notificationText: notificationText eventBusName: eventBusName + checksumType: null width: width llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml @@ -14697,6 +15271,7 @@ components: engine: chatgpt notificationText: notificationText eventBusName: eventBusName + checksumType: null width: width llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml @@ -14733,6 +15308,7 @@ components: engine: chatgpt notificationText: notificationText eventBusName: eventBusName + checksumType: null width: width llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml @@ -14946,6 +15522,7 @@ components: engine: chatgpt notificationText: notificationText eventBusName: eventBusName + checksumType: null width: width llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml @@ -14982,6 +15559,7 @@ components: engine: chatgpt notificationText: notificationText eventBusName: eventBusName + checksumType: null width: width llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml @@ -15576,6 +16154,34 @@ components: numberValue: 0.8008281904610115 userId: userId key: key + entity: + insertedDate: insertedDate + name: name + entityId: entityId + entityTypeId: entityTypeId + attributes: + - numberValues: + - 5.962133916683182 + - 5.962133916683182 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + valueType: null + booleanValue: true + numberValue: 1.4658129805029452 + key: key + - numberValues: + - 5.962133916683182 + - 5.962133916683182 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + valueType: null + booleanValue: true + numberValue: 1.4658129805029452 + key: key properties: key: description: Attribute key @@ -15607,6 +16213,8 @@ components: type: string valueType: $ref: "#/components/schemas/AttributeValueType" + entity: + $ref: "#/components/schemas/Entity" type: object DocumentTag: example: @@ -16113,6 +16721,24 @@ components: required: - llmPromptEntityName type: object + AddDocumentMetadataExtractionResponse: + example: + attributes: + - value: value + key: key + - value: value + key: key + content: content + properties: + content: + description: Result content + type: string + attributes: + description: Attributes extracted from result content + items: + $ref: "#/components/schemas/DataClassificationAttribute" + type: array + type: object SetDocumentDataClassificationResponse: example: attributes: @@ -16205,11 +16831,90 @@ components: $ref: "#/components/schemas/DataClassification" type: array type: object + MetadataExtractionAttribute: + example: + value: value + key: key + properties: + key: + description: Data Classification Attribute Key + type: string + value: + description: Data Classification Attribute Value + type: string + type: object + MetadataExtraction: + example: + insertedDate: insertedDate + attributes: + - value: value + key: key + - value: value + key: key + llmPromptEntityName: llmPromptEntityName + userId: userId + content: content + properties: + llmPromptEntityName: + description: Name of the LLM Prompt Entity + type: string + insertedDate: + description: Inserted Timestamp + type: string + content: + description: Result content + type: string + userId: + description: UserId that created Result + type: string + attributes: + description: Attributes extracted from result content + items: + $ref: "#/components/schemas/MetadataExtractionAttribute" + type: array + type: object + GetDocumentMetadataExtractionResponse: + example: + next: next + metadataExtractions: + - insertedDate: insertedDate + attributes: + - value: value + key: key + - value: value + key: key + llmPromptEntityName: llmPromptEntityName + userId: userId + content: content + - insertedDate: insertedDate + attributes: + - value: value + key: key + - value: value + key: key + llmPromptEntityName: llmPromptEntityName + userId: userId + content: content + properties: + next: + description: Next page of results token + type: string + metadataExtractions: + description: List of Metadata Extractions + items: + $ref: "#/components/schemas/MetadataExtraction" + type: array + type: object GetActivitesResponse: example: next: next activities: - - resource: resource + - rulesetId: rulesetId + schema: schema + mappingId: mappingId + controlPolicy: controlPolicy + apiKey: apiKey + resource: resource changes: key: newValue: "{}" @@ -16221,11 +16926,19 @@ components: type: type message: message userId: userId + classificationId: classificationId insertedDate: insertedDate documentId: "" entityTypeId: entityTypeId + ruleId: ruleId + workflowId: workflowId status: COMPLETE - - resource: resource + - rulesetId: rulesetId + schema: schema + mappingId: mappingId + controlPolicy: controlPolicy + apiKey: apiKey + resource: resource changes: key: newValue: "{}" @@ -16237,9 +16950,12 @@ components: type: type message: message userId: userId + classificationId: classificationId insertedDate: insertedDate documentId: "" entityTypeId: entityTypeId + ruleId: ruleId + workflowId: workflowId status: COMPLETE properties: next: @@ -16341,12 +17057,14 @@ components: description: The type of the activity enum: - VIEW + - DOWNLOAD - CREATE - UPDATE - DELETE - SOFT_DELETE - RESTORE - NEW_VERSION + - UPDATE_VERSION type: string UserActivity: example: @@ -16423,6 +17141,11 @@ components: type: string Activity: example: + rulesetId: rulesetId + schema: schema + mappingId: mappingId + controlPolicy: controlPolicy + apiKey: apiKey resource: resource changes: key: @@ -16435,9 +17158,12 @@ components: type: type message: message userId: userId + classificationId: classificationId insertedDate: insertedDate documentId: "" entityTypeId: entityTypeId + ruleId: ruleId + workflowId: workflowId status: COMPLETE properties: resource: @@ -16473,6 +17199,30 @@ components: entityId: description: Entity Identifier type: string + apiKey: + description: API Key + type: string + rulesetId: + description: Ruleset Identifier + type: string + schema: + description: Schema Identifier + type: string + mappingId: + description: Mapping Identifier + type: string + classificationId: + description: Classification Identifier + type: string + ruleId: + description: Ruleset Rule Identifier + type: string + workflowId: + description: Workflow Identifier + type: string + controlPolicy: + description: Control Policy Type + type: string changes: additionalProperties: $ref: "#/components/schemas/UserActivityChanges" @@ -18639,26 +19389,26 @@ components: entityTypeId: entityTypeId attributes: - numberValues: - - 6.027456183070403 - - 6.027456183070403 + - 5.962133916683182 + - 5.962133916683182 stringValue: stringValue stringValues: - stringValues - stringValues - valueType: BOOLEAN + valueType: null booleanValue: true - numberValue: 0.8008281904610115 + numberValue: 1.4658129805029452 key: key - numberValues: - - 6.027456183070403 - - 6.027456183070403 + - 5.962133916683182 + - 5.962133916683182 stringValue: stringValue stringValues: - stringValues - stringValues - valueType: BOOLEAN + valueType: null booleanValue: true - numberValue: 0.8008281904610115 + numberValue: 1.4658129805029452 key: key - insertedDate: insertedDate name: name @@ -18666,26 +19416,26 @@ components: entityTypeId: entityTypeId attributes: - numberValues: - - 6.027456183070403 - - 6.027456183070403 + - 5.962133916683182 + - 5.962133916683182 stringValue: stringValue stringValues: - stringValues - stringValues - valueType: BOOLEAN + valueType: null booleanValue: true - numberValue: 0.8008281904610115 + numberValue: 1.4658129805029452 key: key - numberValues: - - 6.027456183070403 - - 6.027456183070403 + - 5.962133916683182 + - 5.962133916683182 stringValue: stringValue stringValues: - stringValues - stringValues - valueType: BOOLEAN + valueType: null booleanValue: true - numberValue: 0.8008281904610115 + numberValue: 1.4658129805029452 key: key properties: next: @@ -18706,26 +19456,26 @@ components: entityTypeId: entityTypeId attributes: - numberValues: - - 6.027456183070403 - - 6.027456183070403 + - 5.962133916683182 + - 5.962133916683182 stringValue: stringValue stringValues: - stringValues - stringValues - valueType: BOOLEAN + valueType: null booleanValue: true - numberValue: 0.8008281904610115 + numberValue: 1.4658129805029452 key: key - numberValues: - - 6.027456183070403 - - 6.027456183070403 + - 5.962133916683182 + - 5.962133916683182 stringValue: stringValue stringValues: - stringValues - stringValues - valueType: BOOLEAN + valueType: null booleanValue: true - numberValue: 0.8008281904610115 + numberValue: 1.4658129805029452 key: key properties: entity: @@ -18750,26 +19500,26 @@ components: entityTypeId: entityTypeId attributes: - numberValues: - - 6.027456183070403 - - 6.027456183070403 + - 5.962133916683182 + - 5.962133916683182 stringValue: stringValue stringValues: - stringValues - stringValues - valueType: BOOLEAN + valueType: null booleanValue: true - numberValue: 0.8008281904610115 + numberValue: 1.4658129805029452 key: key - numberValues: - - 6.027456183070403 - - 6.027456183070403 + - 5.962133916683182 + - 5.962133916683182 stringValue: stringValue stringValues: - stringValues - stringValues - valueType: BOOLEAN + valueType: null booleanValue: true - numberValue: 0.8008281904610115 + numberValue: 1.4658129805029452 key: key properties: entityId: @@ -18921,15 +19671,15 @@ components: EntityAttribute: example: numberValues: - - 6.027456183070403 - - 6.027456183070403 + - 5.962133916683182 + - 5.962133916683182 stringValue: stringValue stringValues: - stringValues - stringValues - valueType: BOOLEAN + valueType: null booleanValue: true - numberValue: 0.8008281904610115 + numberValue: 1.4658129805029452 key: key properties: key: @@ -19224,6 +19974,7 @@ components: - defaultValues - defaultValues attributeKey: attributeKey + llmPromptEntityName: llmPromptEntityName metadataField: USERNAME validationRegex: validationRegex labelTexts: @@ -19236,6 +19987,7 @@ components: - defaultValues - defaultValues attributeKey: attributeKey + llmPromptEntityName: llmPromptEntityName metadataField: USERNAME validationRegex: validationRegex labelTexts: @@ -19258,6 +20010,7 @@ components: - defaultValues - defaultValues attributeKey: attributeKey + llmPromptEntityName: llmPromptEntityName metadataField: USERNAME validationRegex: validationRegex labelTexts: @@ -19270,6 +20023,7 @@ components: - defaultValues - defaultValues attributeKey: attributeKey + llmPromptEntityName: llmPromptEntityName metadataField: USERNAME validationRegex: validationRegex labelTexts: @@ -19291,6 +20045,7 @@ components: - defaultValues - defaultValues attributeKey: attributeKey + llmPromptEntityName: llmPromptEntityName metadataField: USERNAME validationRegex: validationRegex labelTexts: @@ -19303,6 +20058,7 @@ components: - defaultValues - defaultValues attributeKey: attributeKey + llmPromptEntityName: llmPromptEntityName metadataField: USERNAME validationRegex: validationRegex labelTexts: @@ -19336,6 +20092,7 @@ components: - defaultValues - defaultValues attributeKey: attributeKey + llmPromptEntityName: llmPromptEntityName metadataField: USERNAME validationRegex: validationRegex labelTexts: @@ -19348,6 +20105,7 @@ components: - defaultValues - defaultValues attributeKey: attributeKey + llmPromptEntityName: llmPromptEntityName metadataField: USERNAME validationRegex: validationRegex labelTexts: @@ -19364,6 +20122,7 @@ components: - defaultValues - defaultValues attributeKey: attributeKey + llmPromptEntityName: llmPromptEntityName metadataField: USERNAME validationRegex: validationRegex labelTexts: @@ -19376,6 +20135,7 @@ components: - defaultValues - defaultValues attributeKey: attributeKey + llmPromptEntityName: llmPromptEntityName metadataField: USERNAME validationRegex: validationRegex labelTexts: @@ -19404,6 +20164,7 @@ components: - defaultValues - defaultValues attributeKey: attributeKey + llmPromptEntityName: llmPromptEntityName metadataField: USERNAME validationRegex: validationRegex labelTexts: @@ -19416,6 +20177,7 @@ components: - defaultValues - defaultValues attributeKey: attributeKey + llmPromptEntityName: llmPromptEntityName metadataField: USERNAME validationRegex: validationRegex labelTexts: @@ -19438,6 +20200,7 @@ components: - defaultValues - defaultValues attributeKey: attributeKey + llmPromptEntityName: llmPromptEntityName metadataField: USERNAME validationRegex: validationRegex labelTexts: @@ -19450,6 +20213,7 @@ components: - defaultValues - defaultValues attributeKey: attributeKey + llmPromptEntityName: llmPromptEntityName metadataField: USERNAME validationRegex: validationRegex labelTexts: @@ -19480,6 +20244,7 @@ components: - defaultValues - defaultValues attributeKey: attributeKey + llmPromptEntityName: llmPromptEntityName metadataField: USERNAME validationRegex: validationRegex labelTexts: @@ -19491,6 +20256,9 @@ components: type: string sourceType: $ref: "#/components/schemas/MappingAttributeSourceType" + llmPromptEntityName: + description: LLM Prompt Entity Name (used for METADATA_EXTRACTION) + type: string defaultValue: description: Default value type: string @@ -19535,6 +20303,7 @@ components: - METADATA - MANUAL - DATA_CLASSIFICATION + - METADATA_EXTRACTION_RESULT - MALWARE_SCAN type: string GetAttributeAllowedValuesResponse: @@ -20092,6 +20861,7 @@ components: - ANTIVIRUS - DOCUMENTTAGGING - FULLTEXT + - CHECKSUM - NOTIFICATION - OCR - QUEUE @@ -20102,6 +20872,7 @@ components: - EVENTBRIDGE - RESIZE - DATA_CLASSIFICATION + - METADATA_EXTRACTION - MALWARE_SCAN type: string DocumentAction: @@ -20704,6 +21475,7 @@ components: engine: chatgpt notificationText: notificationText eventBusName: eventBusName + checksumType: null width: width llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml @@ -20740,6 +21512,7 @@ components: engine: chatgpt notificationText: notificationText eventBusName: eventBusName + checksumType: null width: width llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml @@ -20785,6 +21558,7 @@ components: engine: chatgpt notificationText: notificationText eventBusName: eventBusName + checksumType: null width: width llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml @@ -20863,6 +21637,7 @@ components: engine: chatgpt notificationText: notificationText eventBusName: eventBusName + checksumType: null width: width llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml @@ -20888,7 +21663,8 @@ components: \ image text to searchable text" type: string llmPromptEntityName: - description: "DATA_CLASSIFICATION: Set the LLM Prompt Entity Name" + description: "DATA_CLASSIFICATION / METADATA_EXTRACTION: Set the LLM Prompt\ + \ Entity Name" type: string url: description: "Webhook: Callback URL" @@ -20934,6 +21710,8 @@ components: eventBusName: description: The name or ARN of the event bus to receive the event type: string + checksumType: + $ref: "#/components/schemas/ChecksumType" width: description: The width of the image to resize (or 'auto') type: string @@ -23201,6 +23979,9 @@ components: maxPagesPerTransaction: 0.8008281904610115 maxTransactions: 6.027456183070403 status: ACTIVE + samlGroups: + - samlGroups + - samlGroups username: username properties: username: @@ -23210,6 +23991,11 @@ components: items: type: string type: array + samlGroups: + description: List of User Saml Groups + items: + type: string + type: array sites: description: List of sites items: @@ -23361,6 +24147,7 @@ components: engine: chatgpt notificationText: notificationText eventBusName: eventBusName + checksumType: null width: width llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml @@ -23409,6 +24196,7 @@ components: engine: chatgpt notificationText: notificationText eventBusName: eventBusName + checksumType: null width: width llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml @@ -23482,6 +24270,7 @@ components: engine: chatgpt notificationText: notificationText eventBusName: eventBusName + checksumType: null width: width llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml @@ -23530,6 +24319,7 @@ components: engine: chatgpt notificationText: notificationText eventBusName: eventBusName + checksumType: null width: width llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml @@ -23600,6 +24390,7 @@ components: engine: chatgpt notificationText: notificationText eventBusName: eventBusName + checksumType: null width: width llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml @@ -24074,35 +24865,43 @@ components: - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId maxNumberOfValues: 5.962133916683182 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 1.4658129805029452 - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId maxNumberOfValues: 5.962133916683182 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 1.4658129805029452 required: - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId defaultValue: defaultValue defaultValues: - defaultValues - defaultValues maxNumberOfValues: 6.027456183070403 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 0.8008281904610115 - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId defaultValue: defaultValue defaultValues: - defaultValues - defaultValues maxNumberOfValues: 6.027456183070403 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 0.8008281904610115 properties: name: @@ -24128,35 +24927,43 @@ components: - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId maxNumberOfValues: 5.962133916683182 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 1.4658129805029452 - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId maxNumberOfValues: 5.962133916683182 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 1.4658129805029452 required: - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId defaultValue: defaultValue defaultValues: - defaultValues - defaultValues maxNumberOfValues: 6.027456183070403 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 0.8008281904610115 - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId defaultValue: defaultValue defaultValues: - defaultValues - defaultValues maxNumberOfValues: 6.027456183070403 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 0.8008281904610115 properties: classification: @@ -24239,35 +25046,43 @@ components: - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId maxNumberOfValues: 5.962133916683182 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 1.4658129805029452 - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId maxNumberOfValues: 5.962133916683182 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 1.4658129805029452 required: - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId defaultValue: defaultValue defaultValues: - defaultValues - defaultValues maxNumberOfValues: 6.027456183070403 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 0.8008281904610115 - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId defaultValue: defaultValue defaultValues: - defaultValues - defaultValues maxNumberOfValues: 6.027456183070403 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 0.8008281904610115 properties: classification: @@ -24289,35 +25104,43 @@ components: - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId maxNumberOfValues: 5.962133916683182 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 1.4658129805029452 - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId maxNumberOfValues: 5.962133916683182 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 1.4658129805029452 required: - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId defaultValue: defaultValue defaultValues: - defaultValues - defaultValues maxNumberOfValues: 6.027456183070403 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 0.8008281904610115 - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId defaultValue: defaultValue defaultValues: - defaultValues - defaultValues maxNumberOfValues: 6.027456183070403 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 0.8008281904610115 properties: name: @@ -24340,35 +25163,43 @@ components: - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId maxNumberOfValues: 5.962133916683182 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 1.4658129805029452 - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId maxNumberOfValues: 5.962133916683182 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 1.4658129805029452 required: - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId defaultValue: defaultValue defaultValues: - defaultValues - defaultValues maxNumberOfValues: 6.027456183070403 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 0.8008281904610115 - allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId defaultValue: defaultValue defaultValues: - defaultValues - defaultValues maxNumberOfValues: 6.027456183070403 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 0.8008281904610115 properties: compositeKeys: @@ -24478,14 +25309,20 @@ components: allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId defaultValue: defaultValue defaultValues: - defaultValues - defaultValues maxNumberOfValues: 6.027456183070403 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 0.8008281904610115 properties: + defaultEntityTypeId: + type: string + defaultEntityId: + type: string minNumberOfValues: description: The minimum number of attribute values type: number @@ -24554,10 +25391,16 @@ components: allowedValues: - allowedValues - allowedValues + defaultEntityId: defaultEntityId maxNumberOfValues: 5.962133916683182 attributeKey: attributeKey + defaultEntityTypeId: defaultEntityTypeId minNumberOfValues: 1.4658129805029452 properties: + defaultEntityTypeId: + type: string + defaultEntityId: + type: string minNumberOfValues: description: The minimum number of attribute values type: number @@ -25060,6 +25903,89 @@ components: description: The view URL to be navigated to complete DocuSign signing type: string type: object + AddDocumentCertificationRequest: + example: + certificates: + - awsSecretsManager: + certificateArn: certificateArn + passwordArn: passwordArn + sourceType: AWS_SECRETS_MANAGER + alias: alias + - awsSecretsManager: + certificateArn: certificateArn + passwordArn: passwordArn + sourceType: AWS_SECRETS_MANAGER + alias: alias + target: DOWNLOAD + properties: + target: + $ref: "#/components/schemas/DocumentCertificationTarget" + certificates: + description: One or more certificates used to certify/sign the document + (in order). + items: + $ref: "#/components/schemas/DocumentCertification" + minItems: 1 + type: array + required: + - certificates + - target + type: object + DocumentCertificationTarget: + description: Target for Document Certification + enum: + - DOWNLOAD + type: string + DocumentCertificationSourceType: + description: Document Certification Source Type + enum: + - AWS_SECRETS_MANAGER + type: string + DocumentCertification: + example: + awsSecretsManager: + certificateArn: certificateArn + passwordArn: passwordArn + sourceType: AWS_SECRETS_MANAGER + alias: alias + properties: + alias: + description: Certificate alias. + type: string + sourceType: + $ref: "#/components/schemas/DocumentCertificationSourceType" + awsSecretsManager: + $ref: "#/components/schemas/DocumentCertificationAwsSecretsManager" + required: + - alias + - type + type: object + DocumentCertificationAwsSecretsManager: + example: + certificateArn: certificateArn + passwordArn: passwordArn + properties: + certificateArn: + description: AWS Secrets Manager - Certificate ARN + type: string + passwordArn: + description: AWS Secrets Manager - Certificate password ARN + type: string + required: + - certificateArn + type: object + AddDocumentCertificationResponse: + example: + documentId: documentId + url: url + properties: + documentId: + description: Document identifier (NEW_VERSION / NEW_DOCUMENT). + type: string + url: + description: Presigned download URL (DOWNLOAD). + type: string + type: object UpdateMatchingDocumentTagsRequest_match: example: tag: @@ -25244,6 +26170,20 @@ components: httpMethod: POST type: aws_proxy payloadFormatVersion: "1.0" + documentSignatureLambdaApi: + uri: + Fn::Sub: "arn:${AWS::Partition}:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${DocumentsApiRequestsArn}/invocations" + responses: + default: + statusCode: "201" + responseParameters: + method.response.header.Access-Control-Allow-Methods: '''*''' + method.response.header.Access-Control-Allow-Headers: "'Content-Type,X-Amz-Date,Authorization,X-Api-Key'" + method.response.header.Access-Control-Allow-Origin: '''*''' + passthroughBehavior: when_no_templates + httpMethod: POST + type: aws_proxy + payloadFormatVersion: "1.0" dataClassificationLambdaApi200: uri: Fn::Sub: "arn:${AWS::Partition}:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${DocumentsApiRequestsArn}/invocations" diff --git a/build.gradle b/build.gradle index 93d5ac5d9..84acd1572 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ plugins { } group = 'com.formkiq' -version = '1.18.1' +version = '1.18.2' sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 diff --git a/build.sbt b/build.sbt index 490cdc4cb..a724415d9 100644 --- a/build.sbt +++ b/build.sbt @@ -15,7 +15,7 @@ lazy val root = (project in file(".")). "com.google.code.gson" % "gson" % "2.9.1", "org.apache.commons" % "commons-lang3" % "3.18.0", "jakarta.ws.rs" % "jakarta.ws.rs-api" % "2.1.6", - "org.openapitools" % "jackson-databind-nullable" % "0.2.8", + "org.openapitools" % "jackson-databind-nullable" % "0.2.9", "software.amazon.awssdk" % "auth" % "2.20.157", "io.gsonfire" % "gson-fire" % "1.9.0" % "compile", "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", diff --git a/docs/Activity.md b/docs/Activity.md index 8f811ddbf..c513d695c 100644 --- a/docs/Activity.md +++ b/docs/Activity.md @@ -19,6 +19,14 @@ |**attributeKey** | **Object** | Document Attribute Key | [optional] | |**entityTypeId** | **String** | Entity Type Identifier | [optional] | |**entityId** | **String** | Entity Identifier | [optional] | +|**apiKey** | **String** | API Key | [optional] | +|**rulesetId** | **String** | Ruleset Identifier | [optional] | +|**schema** | **String** | Schema Identifier | [optional] | +|**mappingId** | **String** | Mapping Identifier | [optional] | +|**classificationId** | **String** | Classification Identifier | [optional] | +|**ruleId** | **String** | Ruleset Rule Identifier | [optional] | +|**workflowId** | **String** | Workflow Identifier | [optional] | +|**controlPolicy** | **String** | Control Policy Type | [optional] | |**changes** | [**Map<String, UserActivityChanges>**](UserActivityChanges.md) | | [optional] | diff --git a/docs/AddActionParameters.md b/docs/AddActionParameters.md index 880e89ad5..c36c6b083 100644 --- a/docs/AddActionParameters.md +++ b/docs/AddActionParameters.md @@ -13,7 +13,7 @@ |**ocrOutputType** | **OcrOutputType** | | [optional] | |**ocrNumberOfPages** | **String** | Number of pages to OCR (from start) (-1 all) | [optional] | |**addPdfDetectedCharactersAsText** | **String** | OCR: For the rewriting of the PDF document, converting any image text to searchable text | [optional] | -|**llmPromptEntityName** | **String** | DATA_CLASSIFICATION: Set the LLM Prompt Entity Name | [optional] | +|**llmPromptEntityName** | **String** | DATA_CLASSIFICATION / METADATA_EXTRACTION: Set the LLM Prompt Entity Name | [optional] | |**url** | **String** | Webhook: Callback URL | [optional] | |**characterMax** | **String** | Fulltext: Maximum number of characters (-1 unlimited, Typesense defaults to 2048 characters) | [optional] | |**engine** | [**EngineEnum**](#EngineEnum) | DocumentTagging: Engine to use for document tagging generation | [optional] | @@ -26,6 +26,7 @@ |**tags** | **String** | DocumentTagging: Comma-deliminted list of keywords to generate tags for | [optional] | |**mappingId** | **String** | Id of Mapping | [optional] | |**eventBusName** | **String** | The name or ARN of the event bus to receive the event | [optional] | +|**checksumType** | **ChecksumType** | | [optional] | |**width** | **String** | The width of the image to resize (or 'auto') | [optional] | |**height** | **String** | The height of the image to resize (or 'auto') | [optional] | |**path** | **String** | The path to use when creating resized document (optional) | [optional] | diff --git a/docs/AddAttributeSchemaOptional.md b/docs/AddAttributeSchemaOptional.md index 5aea07061..49233be17 100644 --- a/docs/AddAttributeSchemaOptional.md +++ b/docs/AddAttributeSchemaOptional.md @@ -7,6 +7,8 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| +|**defaultEntityTypeId** | **String** | | [optional] | +|**defaultEntityId** | **String** | | [optional] | |**minNumberOfValues** | **BigDecimal** | The minimum number of attribute values | [optional] | |**maxNumberOfValues** | **BigDecimal** | The maximum number of attribute values | [optional] | |**attributeKey** | **String** | | [optional] | diff --git a/docs/AddAttributeSchemaRequired.md b/docs/AddAttributeSchemaRequired.md index 5d69ae865..f9d4ec18d 100644 --- a/docs/AddAttributeSchemaRequired.md +++ b/docs/AddAttributeSchemaRequired.md @@ -7,6 +7,8 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| +|**defaultEntityTypeId** | **String** | | [optional] | +|**defaultEntityId** | **String** | | [optional] | |**minNumberOfValues** | **BigDecimal** | The minimum number of attribute values | [optional] | |**maxNumberOfValues** | **BigDecimal** | The maximum number of attribute values | [optional] | |**attributeKey** | **String** | | [optional] | diff --git a/docs/AddDocumentCertificationRequest.md b/docs/AddDocumentCertificationRequest.md new file mode 100644 index 000000000..cc0d5f302 --- /dev/null +++ b/docs/AddDocumentCertificationRequest.md @@ -0,0 +1,14 @@ + + +# AddDocumentCertificationRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**target** | **DocumentCertificationTarget** | | | +|**certificates** | [**List<DocumentCertification>**](DocumentCertification.md) | One or more certificates used to certify/sign the document (in order). | | + + + diff --git a/docs/AddDocumentCertificationResponse.md b/docs/AddDocumentCertificationResponse.md new file mode 100644 index 000000000..dc6117846 --- /dev/null +++ b/docs/AddDocumentCertificationResponse.md @@ -0,0 +1,14 @@ + + +# AddDocumentCertificationResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**documentId** | **String** | Document identifier (NEW_VERSION / NEW_DOCUMENT). | [optional] | +|**url** | **String** | Presigned download URL (DOWNLOAD). | [optional] | + + + diff --git a/docs/AddDocumentMetadataExtractionRequest.md b/docs/AddDocumentMetadataExtractionRequest.md new file mode 100644 index 000000000..7c4c00700 --- /dev/null +++ b/docs/AddDocumentMetadataExtractionRequest.md @@ -0,0 +1,13 @@ + + +# AddDocumentMetadataExtractionRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**llmPromptEntityName** | **String** | Name of the LLM Prompt Entity | | + + + diff --git a/docs/AddDocumentMetadataExtractionResponse.md b/docs/AddDocumentMetadataExtractionResponse.md new file mode 100644 index 000000000..bf0c58004 --- /dev/null +++ b/docs/AddDocumentMetadataExtractionResponse.md @@ -0,0 +1,14 @@ + + +# AddDocumentMetadataExtractionResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | **String** | Result content | [optional] | +|**attributes** | [**List<DataClassificationAttribute>**](DataClassificationAttribute.md) | Attributes extracted from result content | [optional] | + + + diff --git a/docs/DocumentActionType.md b/docs/DocumentActionType.md index ff67acb70..4b8e831f3 100644 --- a/docs/DocumentActionType.md +++ b/docs/DocumentActionType.md @@ -11,6 +11,8 @@ * `FULLTEXT` (value: `"FULLTEXT"`) +* `CHECKSUM` (value: `"CHECKSUM"`) + * `NOTIFICATION` (value: `"NOTIFICATION"`) * `OCR` (value: `"OCR"`) @@ -31,6 +33,8 @@ * `DATA_CLASSIFICATION` (value: `"DATA_CLASSIFICATION"`) +* `METADATA_EXTRACTION` (value: `"METADATA_EXTRACTION"`) + * `MALWARE_SCAN` (value: `"MALWARE_SCAN"`) diff --git a/docs/DocumentActionsApi.md b/docs/DocumentActionsApi.md index ac79f661a..cfac5394b 100644 --- a/docs/DocumentActionsApi.md +++ b/docs/DocumentActionsApi.md @@ -15,7 +15,7 @@ All URIs are relative to *http://localhost* Add document action -Add one or more actions to a document; this appends actions and does not replace previous actions Each action type supports a different set of parameters as shown in the table below: ### Action Parameters | ActionType | Parameter | Description | Example | | -------- | ------- | ------- | ------- | | OCR | ocrParseTypes | Ocr Parsing strategy to use | TEXT, FORMS, TABLES, QUERIES (requires 'ocrTextractQueries') | | OCR | ocrTextractQueries | Required for \"QUERIES\", questions to ask Textract | | OCR | ocrEngine | Ocr Engine to use | tesseract or textract | | OCR | ocrOutputType | Convert OCR result to an Output format (textract table only) | true | | OCR | ocrNumberOfPages | Number of pages to OCR (from start) | -1 | | OCR | addPdfDetectedCharactersAsText | PDF Documents convert images to text | true or false | | DATA_CLASSIFICATION | llmPromptEntityName | LLM Prompt Entity Name | | FULLTEXT | characterMax | Maximum number of characters to add to Fulltext destination | -1 | | DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | DOCUMENTTAGGING | tags | Comma-deliminted list of keywords | author,title,description | | WEBHOOK | url | Webhook URL | https://yourdomain.com/webhook-endpoint | | NOTIFICATION | notificationType | Type of Notification | email | | NOTIFICATION | notificationToCc | Notification Carbon Copy | email@yourdomain.com | | NOTIFICATION | notificationToBcc | Notification Blind Carbon Copy | email@yourdomain.com | | NOTIFICATION | notificationSubject | Notification Subject | Email Subject | | NOTIFICATION | notificationText | Notification as Text | Email Text | | NOTIFICATION | notificationHtml | Notification as Html | Email HTML Text | | QUEUE | queueId | Id of Queue | | | IDP | mappingId | Id of Mapping | | | EVENTBRIDGE | eventBusName | The name or ARN of the Amazon EventBridge to receive the event. | | | RESIZE | width | The width of the image to resize (or 'auto'). | | | RESIZE | height | The height of the image to resize (or 'auto'). | | | RESIZE | outputType | The output type of the image (optional). | | | RESIZE | path | The path to use when creating resized document (optional). | | +Add one or more actions to a document; this appends actions and does not replace previous actions Each action type supports a different set of parameters as shown in the table below: ### Action Parameters | ActionType | Parameter | Description | Example | | -------- | ------- | ------- | ------- | | OCR | ocrParseTypes | Ocr Parsing strategy to use | TEXT, FORMS, TABLES, QUERIES (requires 'ocrTextractQueries') | | OCR | ocrTextractQueries | Required for \"QUERIES\", questions to ask Textract | | OCR | ocrEngine | Ocr Engine to use | tesseract or textract | | OCR | ocrOutputType | Convert OCR result to an Output format (textract table only) | true | | OCR | ocrNumberOfPages | Number of pages to OCR (from start) | -1 | | OCR | addPdfDetectedCharactersAsText | PDF Documents convert images to text | true or false | | DATA_CLASSIFICATION | llmPromptEntityName | LLM Prompt Entity Name | | METADATA_EXTRACTION | llmPromptEntityName | LLM Prompt Entity Name | | CHECKSUM | checksumType | Checksum algorithm to calculate and persist for the document | SHA1 or SHA256 | | FULLTEXT | characterMax | Maximum number of characters to add to Fulltext destination | -1 | | DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | DOCUMENTTAGGING | tags | Comma-deliminted list of keywords | author,title,description | | WEBHOOK | url | Webhook URL | https://yourdomain.com/webhook-endpoint | | NOTIFICATION | notificationType | Type of Notification | email | | NOTIFICATION | notificationToCc | Notification Carbon Copy | email@yourdomain.com | | NOTIFICATION | notificationToBcc | Notification Blind Carbon Copy | email@yourdomain.com | | NOTIFICATION | notificationSubject | Notification Subject | Email Subject | | NOTIFICATION | notificationText | Notification as Text | Email Text | | NOTIFICATION | notificationHtml | Notification as Html | Email HTML Text | | QUEUE | queueId | Id of Queue | | | IDP | mappingId | Id of Mapping | | | EVENTBRIDGE | eventBusName | The name or ARN of the Amazon EventBridge to receive the event. | | | RESIZE | width | The width of the image to resize (or 'auto'). | | | RESIZE | height | The height of the image to resize (or 'auto'). | | | RESIZE | outputType | The output type of the image (optional). | | | RESIZE | path | The path to use when creating resized document (optional). | | ### Example ```java diff --git a/docs/DocumentAttribute.md b/docs/DocumentAttribute.md index 8f21c8e9d..ce97e9832 100644 --- a/docs/DocumentAttribute.md +++ b/docs/DocumentAttribute.md @@ -16,6 +16,7 @@ |**insertedDate** | **String** | Inserted Timestamp | [optional] | |**userId** | **String** | User who added attribute | [optional] | |**valueType** | **AttributeValueType** | | [optional] | +|**entity** | [**Entity**](Entity.md) | | [optional] | diff --git a/docs/DocumentCertification.md b/docs/DocumentCertification.md new file mode 100644 index 000000000..78c77ac25 --- /dev/null +++ b/docs/DocumentCertification.md @@ -0,0 +1,15 @@ + + +# DocumentCertification + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**alias** | **String** | Certificate alias. | | +|**sourceType** | **DocumentCertificationSourceType** | | [optional] | +|**awsSecretsManager** | [**DocumentCertificationAwsSecretsManager**](DocumentCertificationAwsSecretsManager.md) | | [optional] | + + + diff --git a/docs/DocumentCertificationAwsSecretsManager.md b/docs/DocumentCertificationAwsSecretsManager.md new file mode 100644 index 000000000..e05d110cf --- /dev/null +++ b/docs/DocumentCertificationAwsSecretsManager.md @@ -0,0 +1,14 @@ + + +# DocumentCertificationAwsSecretsManager + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**certificateArn** | **String** | AWS Secrets Manager - Certificate ARN | | +|**passwordArn** | **String** | AWS Secrets Manager - Certificate password ARN | [optional] | + + + diff --git a/docs/DocumentCertificationParameterStore.md b/docs/DocumentCertificationParameterStore.md new file mode 100644 index 000000000..0bd37768a --- /dev/null +++ b/docs/DocumentCertificationParameterStore.md @@ -0,0 +1,14 @@ + + +# DocumentCertificationParameterStore + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**pkcs12BundleParam** | **String** | SSM Parameter Store Key containing the PKCS#12/PFX bundle. | | +|**pkcs12PasswordParam** | **String** | SSM Parameter Store Key containing the PKCS#12/PFX password. | | + + + diff --git a/docs/DocumentCertificationSourceType.md b/docs/DocumentCertificationSourceType.md new file mode 100644 index 000000000..6d362de9f --- /dev/null +++ b/docs/DocumentCertificationSourceType.md @@ -0,0 +1,11 @@ + + +# DocumentCertificationSourceType + +## Enum + + +* `AWS_SECRETS_MANAGER` (value: `"AWS_SECRETS_MANAGER"`) + + + diff --git a/docs/DocumentCertificationTarget.md b/docs/DocumentCertificationTarget.md new file mode 100644 index 000000000..7086a3804 --- /dev/null +++ b/docs/DocumentCertificationTarget.md @@ -0,0 +1,11 @@ + + +# DocumentCertificationTarget + +## Enum + + +* `DOWNLOAD` (value: `"DOWNLOAD"`) + + + diff --git a/docs/DocumentGenerationApi.md b/docs/DocumentGenerationApi.md index 699fa398c..bceb38621 100644 --- a/docs/DocumentGenerationApi.md +++ b/docs/DocumentGenerationApi.md @@ -4,9 +4,80 @@ All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| +| [**addDocumentCertification**](DocumentGenerationApi.md#addDocumentCertification) | **POST** /documents/{documentId}/certifications | Add Document Certification | | [**addDocumentGenerate**](DocumentGenerationApi.md#addDocumentGenerate) | **POST** /documents/{documentId}/generate | Add Document Generate | + +# **addDocumentCertification** +> AddDocumentCertificationResponse addDocumentCertification(documentId, addDocumentCertificationRequest, siteId) + +Add Document Certification + +Applies one or more certifications (digital signatures) to a document using one or more certificates. Target determines whether a presigned download is returned, a new version is created, or a new document is created. ; available as an Add-On Module + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.DocumentGenerationApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + DocumentGenerationApi apiInstance = new DocumentGenerationApi(defaultClient); + String documentId = "documentId_example"; // String | Document Identifier + AddDocumentCertificationRequest addDocumentCertificationRequest = new AddDocumentCertificationRequest(); // AddDocumentCertificationRequest | + String siteId = "siteId_example"; // String | Site Identifier + try { + AddDocumentCertificationResponse result = apiInstance.addDocumentCertification(documentId, addDocumentCertificationRequest, siteId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DocumentGenerationApi#addDocumentCertification"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **documentId** | **String**| Document Identifier | | +| **addDocumentCertificationRequest** | [**AddDocumentCertificationRequest**](AddDocumentCertificationRequest.md)| | | +| **siteId** | **String**| Site Identifier | [optional] | + +### Return type + +[**AddDocumentCertificationResponse**](AddDocumentCertificationResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | 201 CREATED | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| +| **400** | 400 BAD REQUEST | - | + # **addDocumentGenerate** > AddDocumentGenerateResponse addDocumentGenerate(documentId, addDocumentGenerateRequest, siteId) diff --git a/docs/DocumentsApi.md b/docs/DocumentsApi.md index 3673aa5d3..e3f475eb9 100644 --- a/docs/DocumentsApi.md +++ b/docs/DocumentsApi.md @@ -32,7 +32,7 @@ All URIs are relative to *http://localhost* Add new document -Creates a new document; body may include document content if less than 5 MB. Returns a unique **documentId** used in subsequent operations. See POST /documents/{documentId}/tags for adding tags to document schema See POST /documents/{documentId}/actions for adding actions to document schema +Creates a new document; body may include document content if less than 5 MB. Returns a unique **documentId** used in subsequent operations. **Content Type Detection** If the document **Content-Type** is not specified during upload, the service will determine it asynchronously after the upload completes. This may result in a **temporary delay** before the content type and related metadata are available. See POST /documents/{documentId}/tags for adding tags to document schema See POST /documents/{documentId}/actions for adding actions to document schema ### Example ```java @@ -171,7 +171,7 @@ No authorization required Add large document -Returns a URL that can be used to upload document content and create a new document, while allowing metadata to also be sent; this endpoint (whether GET or POST) is required in order to add content that is larger than 5 MB. The POST endpoint allow the adding of document metadata at the same time as the document is created. +Returns a URL that can be used to upload document content and create a new document. This endpoint is required for uploading content larger than 5 MB and allows document metadata to be provided at creation time. **Content Type Detection** If the document **Content-Type** is not specified during upload, the service will determine it asynchronously after the upload completes. This may result in a **temporary delay** before the content type and related metadata are available. To avoid this delay, provide the **Content-Type** when uploading the document. ### Example ```java diff --git a/docs/EntityApi.md b/docs/EntityApi.md index 6e556b7b8..25e47189a 100644 --- a/docs/EntityApi.md +++ b/docs/EntityApi.md @@ -7,6 +7,7 @@ All URIs are relative to *http://localhost* | [**addEntity**](EntityApi.md#addEntity) | **POST** /entities/{entityTypeId} | Add New Entity | | [**addEntityType**](EntityApi.md#addEntityType) | **POST** /entityTypes | Add New EntityType | | [**deleteEntity**](EntityApi.md#deleteEntity) | **DELETE** /entities/{entityTypeId}/{entityId} | Deletes Entity | +| [**deleteEntityAttribute**](EntityApi.md#deleteEntityAttribute) | **DELETE** /entities/{entityTypeId}/{entityId}/attributes/{attributeKey} | Deletes Entity Attribute | | [**deleteEntityType**](EntityApi.md#deleteEntityType) | **DELETE** /entityTypes/{entityTypeId} | Deletes Entity Type | | [**getEntities**](EntityApi.md#getEntities) | **GET** /entities/{entityTypeId} | Get Entities | | [**getEntity**](EntityApi.md#getEntity) | **GET** /entities/{entityTypeId}/{entityId} | Get Entity | @@ -224,6 +225,77 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + +# **deleteEntityAttribute** +> DeleteResponse deleteEntityAttribute(entityTypeId, entityId, attributeKey, siteId) + +Deletes Entity Attribute + +Deletes Entity Attribute + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.EntityApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + EntityApi apiInstance = new EntityApi(defaultClient); + String entityTypeId = "entityTypeId_example"; // String | EntityType Identifier + String entityId = "entityId_example"; // String | Entity Identifier + String attributeKey = "attributeKey_example"; // String | Attribute Key + String siteId = "siteId_example"; // String | Site Identifier + try { + DeleteResponse result = apiInstance.deleteEntityAttribute(entityTypeId, entityId, attributeKey, siteId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EntityApi#deleteEntityAttribute"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **entityTypeId** | **String**| EntityType Identifier | | +| **entityId** | **String**| Entity Identifier | | +| **attributeKey** | **String**| Attribute Key | | +| **siteId** | **String**| Site Identifier | [optional] | + +### Return type + +[**DeleteResponse**](DeleteResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + # **deleteEntityType** > DeleteResponse deleteEntityType(entityTypeId, siteId) diff --git a/docs/GetDocumentMetadataExtractionResponse.md b/docs/GetDocumentMetadataExtractionResponse.md new file mode 100644 index 000000000..754dea518 --- /dev/null +++ b/docs/GetDocumentMetadataExtractionResponse.md @@ -0,0 +1,14 @@ + + +# GetDocumentMetadataExtractionResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**next** | **String** | Next page of results token | [optional] | +|**metadataExtractions** | [**List<MetadataExtraction>**](MetadataExtraction.md) | List of Metadata Extractions | [optional] | + + + diff --git a/docs/GetSitesResponse.md b/docs/GetSitesResponse.md index fa51d7279..01e51835f 100644 --- a/docs/GetSitesResponse.md +++ b/docs/GetSitesResponse.md @@ -9,6 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**username** | **String** | Username of request caller | [optional] | |**roles** | **List<String>** | | [optional] | +|**samlGroups** | **List<String>** | List of User Saml Groups | [optional] | |**sites** | [**List<Site>**](Site.md) | List of sites | [optional] | diff --git a/docs/IntelligentDocumentProcessingApi.md b/docs/IntelligentDocumentProcessingApi.md new file mode 100644 index 000000000..288dcace7 --- /dev/null +++ b/docs/IntelligentDocumentProcessingApi.md @@ -0,0 +1,366 @@ +# IntelligentDocumentProcessingApi + +All URIs are relative to *http://localhost* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**addDocumentMetadataExtractionResult**](IntelligentDocumentProcessingApi.md#addDocumentMetadataExtractionResult) | **POST** /documents/{documentId}/metadataExtractionResults/{llmPromptEntityName} | Add document's metadata extraction result | +| [**getAllDocumentMetadataExtractionResults**](IntelligentDocumentProcessingApi.md#getAllDocumentMetadataExtractionResults) | **GET** /documents/{documentId}/metadataExtractionResults | Get all document's metadata extraction results | +| [**getDocumentDataClassification**](IntelligentDocumentProcessingApi.md#getDocumentDataClassification) | **GET** /documents/{documentId}/dataClassification | Get document's data classification | +| [**getDocumentMetadataExtractionResults**](IntelligentDocumentProcessingApi.md#getDocumentMetadataExtractionResults) | **GET** /documents/{documentId}/metadataExtractionResults/{llmPromptEntityName} | Get document's metadata extraction results | +| [**setDocumentDataClassification**](IntelligentDocumentProcessingApi.md#setDocumentDataClassification) | **PUT** /documents/{documentId}/dataClassification | Set document's data classification | + + + +# **addDocumentMetadataExtractionResult** +> AddDocumentMetadataExtractionResponse addDocumentMetadataExtractionResult(documentId, llmPromptEntityName, siteId) + +Add document's metadata extraction result + +Create a document Metadatq Extraction Result attributes within a document; available as an Add-On Module + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.IntelligentDocumentProcessingApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + IntelligentDocumentProcessingApi apiInstance = new IntelligentDocumentProcessingApi(defaultClient); + String documentId = "documentId_example"; // String | Document Identifier + String llmPromptEntityName = "llmPromptEntityName_example"; // String | LlmPrompt Entity Name + String siteId = "siteId_example"; // String | Site Identifier + try { + AddDocumentMetadataExtractionResponse result = apiInstance.addDocumentMetadataExtractionResult(documentId, llmPromptEntityName, siteId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling IntelligentDocumentProcessingApi#addDocumentMetadataExtractionResult"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **documentId** | **String**| Document Identifier | | +| **llmPromptEntityName** | **String**| LlmPrompt Entity Name | | +| **siteId** | **String**| Site Identifier | [optional] | + +### Return type + +[**AddDocumentMetadataExtractionResponse**](AddDocumentMetadataExtractionResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **getAllDocumentMetadataExtractionResults** +> GetDocumentMetadataExtractionResponse getAllDocumentMetadataExtractionResults(documentId, siteId, limit, next) + +Get all document's metadata extraction results + +Retrieve all document's metadata extraction; available as an Add-On Module + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.IntelligentDocumentProcessingApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + IntelligentDocumentProcessingApi apiInstance = new IntelligentDocumentProcessingApi(defaultClient); + String documentId = "documentId_example"; // String | Document Identifier + String siteId = "siteId_example"; // String | Site Identifier + String limit = "10"; // String | Limit Results + String next = "next_example"; // String | Next page of results token + try { + GetDocumentMetadataExtractionResponse result = apiInstance.getAllDocumentMetadataExtractionResults(documentId, siteId, limit, next); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling IntelligentDocumentProcessingApi#getAllDocumentMetadataExtractionResults"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **documentId** | **String**| Document Identifier | | +| **siteId** | **String**| Site Identifier | [optional] | +| **limit** | **String**| Limit Results | [optional] [default to 10] | +| **next** | **String**| Next page of results token | [optional] | + +### Return type + +[**GetDocumentMetadataExtractionResponse**](GetDocumentMetadataExtractionResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **getDocumentDataClassification** +> GetDocumentDataClassificationResponse getDocumentDataClassification(documentId, siteId, limit, next) + +Get document's data classification + +Retrieve an document's data classification; available as an Add-On Module + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.IntelligentDocumentProcessingApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + IntelligentDocumentProcessingApi apiInstance = new IntelligentDocumentProcessingApi(defaultClient); + String documentId = "documentId_example"; // String | Document Identifier + String siteId = "siteId_example"; // String | Site Identifier + String limit = "10"; // String | Limit Results + String next = "next_example"; // String | Next page of results token + try { + GetDocumentDataClassificationResponse result = apiInstance.getDocumentDataClassification(documentId, siteId, limit, next); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling IntelligentDocumentProcessingApi#getDocumentDataClassification"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **documentId** | **String**| Document Identifier | | +| **siteId** | **String**| Site Identifier | [optional] | +| **limit** | **String**| Limit Results | [optional] [default to 10] | +| **next** | **String**| Next page of results token | [optional] | + +### Return type + +[**GetDocumentDataClassificationResponse**](GetDocumentDataClassificationResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **getDocumentMetadataExtractionResults** +> GetDocumentMetadataExtractionResponse getDocumentMetadataExtractionResults(documentId, llmPromptEntityName, siteId, limit, next) + +Get document's metadata extraction results + +Retrieve an document's metadata extraction; available as an Add-On Module + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.IntelligentDocumentProcessingApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + IntelligentDocumentProcessingApi apiInstance = new IntelligentDocumentProcessingApi(defaultClient); + String documentId = "documentId_example"; // String | Document Identifier + String llmPromptEntityName = "llmPromptEntityName_example"; // String | LlmPrompt Entity Name + String siteId = "siteId_example"; // String | Site Identifier + String limit = "10"; // String | Limit Results + String next = "next_example"; // String | Next page of results token + try { + GetDocumentMetadataExtractionResponse result = apiInstance.getDocumentMetadataExtractionResults(documentId, llmPromptEntityName, siteId, limit, next); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling IntelligentDocumentProcessingApi#getDocumentMetadataExtractionResults"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **documentId** | **String**| Document Identifier | | +| **llmPromptEntityName** | **String**| LlmPrompt Entity Name | | +| **siteId** | **String**| Site Identifier | [optional] | +| **limit** | **String**| Limit Results | [optional] [default to 10] | +| **next** | **String**| Next page of results token | [optional] | + +### Return type + +[**GetDocumentMetadataExtractionResponse**](GetDocumentMetadataExtractionResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **setDocumentDataClassification** +> SetDocumentDataClassificationResponse setDocumentDataClassification(documentId, siteId, setDocumentDataClassificationRequest) + +Set document's data classification + +Generate Data Classfication attributes within a document; available as an Add-On Module + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.IntelligentDocumentProcessingApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + IntelligentDocumentProcessingApi apiInstance = new IntelligentDocumentProcessingApi(defaultClient); + String documentId = "documentId_example"; // String | Document Identifier + String siteId = "siteId_example"; // String | Site Identifier + SetDocumentDataClassificationRequest setDocumentDataClassificationRequest = new SetDocumentDataClassificationRequest(); // SetDocumentDataClassificationRequest | + try { + SetDocumentDataClassificationResponse result = apiInstance.setDocumentDataClassification(documentId, siteId, setDocumentDataClassificationRequest); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling IntelligentDocumentProcessingApi#setDocumentDataClassification"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **documentId** | **String**| Document Identifier | | +| **siteId** | **String**| Site Identifier | [optional] | +| **setDocumentDataClassificationRequest** | [**SetDocumentDataClassificationRequest**](SetDocumentDataClassificationRequest.md)| | [optional] | + +### Return type + +[**SetDocumentDataClassificationResponse**](SetDocumentDataClassificationResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + diff --git a/docs/MappingAttribute.md b/docs/MappingAttribute.md index 283615f63..a6dc35d98 100644 --- a/docs/MappingAttribute.md +++ b/docs/MappingAttribute.md @@ -9,6 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**attributeKey** | **String** | Attribute Key | [optional] | |**sourceType** | **MappingAttributeSourceType** | | [optional] | +|**llmPromptEntityName** | **String** | LLM Prompt Entity Name (used for METADATA_EXTRACTION) | [optional] | |**defaultValue** | **String** | Default value | [optional] | |**defaultValues** | **List<String>** | Default values | [optional] | |**labelTexts** | **List<String>** | | [optional] | diff --git a/docs/MappingAttributeSourceType.md b/docs/MappingAttributeSourceType.md index cbdaba2cc..76f4ee820 100644 --- a/docs/MappingAttributeSourceType.md +++ b/docs/MappingAttributeSourceType.md @@ -15,6 +15,8 @@ * `DATA_CLASSIFICATION` (value: `"DATA_CLASSIFICATION"`) +* `METADATA_EXTRACTION_RESULT` (value: `"METADATA_EXTRACTION_RESULT"`) + * `MALWARE_SCAN` (value: `"MALWARE_SCAN"`) diff --git a/docs/MetadataExtraction.md b/docs/MetadataExtraction.md new file mode 100644 index 000000000..5b538a1f3 --- /dev/null +++ b/docs/MetadataExtraction.md @@ -0,0 +1,17 @@ + + +# MetadataExtraction + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**llmPromptEntityName** | **String** | Name of the LLM Prompt Entity | [optional] | +|**insertedDate** | **String** | Inserted Timestamp | [optional] | +|**content** | **String** | Result content | [optional] | +|**userId** | **String** | UserId that created Result | [optional] | +|**attributes** | [**List<MetadataExtractionAttribute>**](MetadataExtractionAttribute.md) | Attributes extracted from result content | [optional] | + + + diff --git a/docs/MetadataExtractionAttribute.md b/docs/MetadataExtractionAttribute.md new file mode 100644 index 000000000..8d6028f54 --- /dev/null +++ b/docs/MetadataExtractionAttribute.md @@ -0,0 +1,14 @@ + + +# MetadataExtractionAttribute + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**key** | **String** | Data Classification Attribute Key | [optional] | +|**value** | **String** | Data Classification Attribute Value | [optional] | + + + diff --git a/docs/UserActivitiesApi.md b/docs/UserActivitiesApi.md index aa0362486..f2d39603a 100644 --- a/docs/UserActivitiesApi.md +++ b/docs/UserActivitiesApi.md @@ -82,7 +82,7 @@ No authorization required # **getResourceActivities** -> GetActivitesResponse getResourceActivities(siteId, documentId, entityTypeId, namespace, entityId, start, end, sort, next, limit, userId) +> GetActivitesResponse getResourceActivities(siteId, documentId, entityTypeId, namespace, entityId, rulesetId, ruleId, workflowId, attributeKey, schema, classificationId, mappingId, apiKey, controlPolicy, start, end, sort, next, limit, userId) Get resource activities @@ -111,6 +111,15 @@ public class Example { String entityTypeId = "entityTypeId_example"; // String | EntityType Identifier String namespace = "PRESET"; // String | Namespace Identifier String entityId = "entityId_example"; // String | Entity Identifier + String rulesetId = "rulesetId_example"; // String | RulesetId Identifier + String ruleId = "ruleId_example"; // String | RuleId Identifier + String workflowId = "workflowId_example"; // String | Workflow Identifier + String attributeKey = "attributeKey_example"; // String | Attribute Key + String schema = "document"; // String | Schema Type + String classificationId = "classificationId_example"; // String | Classification Id + String mappingId = "mappingId_example"; // String | Mapping Id + String apiKey = "apiKey_example"; // String | Api Key + String controlPolicy = "opa"; // String | Control Policy OffsetDateTime start = OffsetDateTime.now(); // OffsetDateTime | Start of date-time range (UTC) OffsetDateTime end = OffsetDateTime.now(); // OffsetDateTime | End of date-time range (UTC) String sort = "ASC"; // String | Sort order (default DESC) @@ -118,7 +127,7 @@ public class Example { String limit = "10"; // String | Limit Results String userId = "userId_example"; // String | Fetch specific user activities try { - GetActivitesResponse result = apiInstance.getResourceActivities(siteId, documentId, entityTypeId, namespace, entityId, start, end, sort, next, limit, userId); + GetActivitesResponse result = apiInstance.getResourceActivities(siteId, documentId, entityTypeId, namespace, entityId, rulesetId, ruleId, workflowId, attributeKey, schema, classificationId, mappingId, apiKey, controlPolicy, start, end, sort, next, limit, userId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling UserActivitiesApi#getResourceActivities"); @@ -140,6 +149,15 @@ public class Example { | **entityTypeId** | **String**| EntityType Identifier | [optional] | | **namespace** | **String**| Namespace Identifier | [optional] [enum: PRESET, CUSTOM] | | **entityId** | **String**| Entity Identifier | [optional] | +| **rulesetId** | **String**| RulesetId Identifier | [optional] | +| **ruleId** | **String**| RuleId Identifier | [optional] | +| **workflowId** | **String**| Workflow Identifier | [optional] | +| **attributeKey** | **String**| Attribute Key | [optional] | +| **schema** | **String**| Schema Type | [optional] [enum: document] | +| **classificationId** | **String**| Classification Id | [optional] | +| **mappingId** | **String**| Mapping Id | [optional] | +| **apiKey** | **String**| Api Key | [optional] | +| **controlPolicy** | **String**| Control Policy | [optional] [enum: opa] | | **start** | **OffsetDateTime**| Start of date-time range (UTC) | [optional] | | **end** | **OffsetDateTime**| End of date-time range (UTC) | [optional] | | **sort** | **String**| Sort order (default DESC) | [optional] [enum: ASC, DESC] | diff --git a/docs/UserActivityType.md b/docs/UserActivityType.md index 4a5e8da31..6fc8f57be 100644 --- a/docs/UserActivityType.md +++ b/docs/UserActivityType.md @@ -7,6 +7,8 @@ * `VIEW` (value: `"VIEW"`) +* `DOWNLOAD` (value: `"DOWNLOAD"`) + * `CREATE` (value: `"CREATE"`) * `UPDATE` (value: `"UPDATE"`) @@ -19,5 +21,7 @@ * `NEW_VERSION` (value: `"NEW_VERSION"`) +* `UPDATE_VERSION` (value: `"UPDATE_VERSION"`) + diff --git a/src/main/java/com/formkiq/client/api/DocumentActionsApi.java b/src/main/java/com/formkiq/client/api/DocumentActionsApi.java index 73f300e9b..a3a2ee081 100644 --- a/src/main/java/com/formkiq/client/api/DocumentActionsApi.java +++ b/src/main/java/com/formkiq/client/api/DocumentActionsApi.java @@ -193,21 +193,22 @@ private okhttp3.Call addDocumentActionsValidateBeforeCall( * result to an Output format (textract table only) | true | | OCR | ocrNumberOfPages | Number of * pages to OCR (from start) | -1 | | OCR | addPdfDetectedCharactersAsText | PDF Documents convert * images to text | true or false | | DATA_CLASSIFICATION | llmPromptEntityName | LLM Prompt - * Entity Name | | FULLTEXT | characterMax | Maximum number of characters to add to Fulltext - * destination | -1 | | DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | - * DOCUMENTTAGGING | tags | Comma-deliminted list of keywords | author,title,description | | - * WEBHOOK | url | Webhook URL | https://yourdomain.com/webhook-endpoint | | NOTIFICATION | - * notificationType | Type of Notification | email | | NOTIFICATION | notificationToCc | - * Notification Carbon Copy | email@yourdomain.com | | NOTIFICATION | notificationToBcc | - * Notification Blind Carbon Copy | email@yourdomain.com | | NOTIFICATION | notificationSubject | - * Notification Subject | Email Subject | | NOTIFICATION | notificationText | Notification as Text - * | Email Text | | NOTIFICATION | notificationHtml | Notification as Html | Email HTML Text | | - * QUEUE | queueId | Id of Queue | | | IDP | mappingId | Id of Mapping | | | EVENTBRIDGE | - * eventBusName | The name or ARN of the Amazon EventBridge to receive the event. | | | RESIZE | - * width | The width of the image to resize (or 'auto'). | | | RESIZE | height | The - * height of the image to resize (or 'auto'). | | | RESIZE | outputType | The output type - * of the image (optional). | | | RESIZE | path | The path to use when creating resized document - * (optional). | | + * Entity Name | | METADATA_EXTRACTION | llmPromptEntityName | LLM Prompt Entity Name | | CHECKSUM + * | checksumType | Checksum algorithm to calculate and persist for the document | SHA1 or SHA256 + * | | FULLTEXT | characterMax | Maximum number of characters to add to Fulltext destination | -1 + * | | DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | DOCUMENTTAGGING | tags | + * Comma-deliminted list of keywords | author,title,description | | WEBHOOK | url | Webhook URL | + * https://yourdomain.com/webhook-endpoint | | NOTIFICATION | notificationType | Type of + * Notification | email | | NOTIFICATION | notificationToCc | Notification Carbon Copy | + * email@yourdomain.com | | NOTIFICATION | notificationToBcc | Notification Blind Carbon Copy | + * email@yourdomain.com | | NOTIFICATION | notificationSubject | Notification Subject | Email + * Subject | | NOTIFICATION | notificationText | Notification as Text | Email Text | | + * NOTIFICATION | notificationHtml | Notification as Html | Email HTML Text | | QUEUE | queueId | + * Id of Queue | | | IDP | mappingId | Id of Mapping | | | EVENTBRIDGE | eventBusName | The name + * or ARN of the Amazon EventBridge to receive the event. | | | RESIZE | width | The width of the + * image to resize (or 'auto'). | | | RESIZE | height | The height of the image to resize + * (or 'auto'). | | | RESIZE | outputType | The output type of the image (optional). | | | + * RESIZE | path | The path to use when creating resized document (optional). | | * * @param documentId Document Identifier (required) * @param siteId Site Identifier (optional) @@ -258,21 +259,22 @@ public AddDocumentActionsResponse addDocumentActions(@javax.annotation.Nonnull S * result to an Output format (textract table only) | true | | OCR | ocrNumberOfPages | Number of * pages to OCR (from start) | -1 | | OCR | addPdfDetectedCharactersAsText | PDF Documents convert * images to text | true or false | | DATA_CLASSIFICATION | llmPromptEntityName | LLM Prompt - * Entity Name | | FULLTEXT | characterMax | Maximum number of characters to add to Fulltext - * destination | -1 | | DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | - * DOCUMENTTAGGING | tags | Comma-deliminted list of keywords | author,title,description | | - * WEBHOOK | url | Webhook URL | https://yourdomain.com/webhook-endpoint | | NOTIFICATION | - * notificationType | Type of Notification | email | | NOTIFICATION | notificationToCc | - * Notification Carbon Copy | email@yourdomain.com | | NOTIFICATION | notificationToBcc | - * Notification Blind Carbon Copy | email@yourdomain.com | | NOTIFICATION | notificationSubject | - * Notification Subject | Email Subject | | NOTIFICATION | notificationText | Notification as Text - * | Email Text | | NOTIFICATION | notificationHtml | Notification as Html | Email HTML Text | | - * QUEUE | queueId | Id of Queue | | | IDP | mappingId | Id of Mapping | | | EVENTBRIDGE | - * eventBusName | The name or ARN of the Amazon EventBridge to receive the event. | | | RESIZE | - * width | The width of the image to resize (or 'auto'). | | | RESIZE | height | The - * height of the image to resize (or 'auto'). | | | RESIZE | outputType | The output type - * of the image (optional). | | | RESIZE | path | The path to use when creating resized document - * (optional). | | + * Entity Name | | METADATA_EXTRACTION | llmPromptEntityName | LLM Prompt Entity Name | | CHECKSUM + * | checksumType | Checksum algorithm to calculate and persist for the document | SHA1 or SHA256 + * | | FULLTEXT | characterMax | Maximum number of characters to add to Fulltext destination | -1 + * | | DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | DOCUMENTTAGGING | tags | + * Comma-deliminted list of keywords | author,title,description | | WEBHOOK | url | Webhook URL | + * https://yourdomain.com/webhook-endpoint | | NOTIFICATION | notificationType | Type of + * Notification | email | | NOTIFICATION | notificationToCc | Notification Carbon Copy | + * email@yourdomain.com | | NOTIFICATION | notificationToBcc | Notification Blind Carbon Copy | + * email@yourdomain.com | | NOTIFICATION | notificationSubject | Notification Subject | Email + * Subject | | NOTIFICATION | notificationText | Notification as Text | Email Text | | + * NOTIFICATION | notificationHtml | Notification as Html | Email HTML Text | | QUEUE | queueId | + * Id of Queue | | | IDP | mappingId | Id of Mapping | | | EVENTBRIDGE | eventBusName | The name + * or ARN of the Amazon EventBridge to receive the event. | | | RESIZE | width | The width of the + * image to resize (or 'auto'). | | | RESIZE | height | The height of the image to resize + * (or 'auto'). | | | RESIZE | outputType | The output type of the image (optional). | | | + * RESIZE | path | The path to use when creating resized document (optional). | | * * @param documentId Document Identifier (required) * @param siteId Site Identifier (optional) @@ -324,8 +326,10 @@ public ApiResponse addDocumentActionsWithHttpInfo( * OCR result to an Output format (textract table only) | true | | OCR | ocrNumberOfPages | Number * of pages to OCR (from start) | -1 | | OCR | addPdfDetectedCharactersAsText | PDF Documents * convert images to text | true or false | | DATA_CLASSIFICATION | llmPromptEntityName | LLM - * Prompt Entity Name | | FULLTEXT | characterMax | Maximum number of characters to add to - * Fulltext destination | -1 | | DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | + * Prompt Entity Name | | METADATA_EXTRACTION | llmPromptEntityName | LLM Prompt Entity Name | | + * CHECKSUM | checksumType | Checksum algorithm to calculate and persist for the document | SHA1 + * or SHA256 | | FULLTEXT | characterMax | Maximum number of characters to add to Fulltext + * destination | -1 | | DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | * DOCUMENTTAGGING | tags | Comma-deliminted list of keywords | author,title,description | | * WEBHOOK | url | Webhook URL | https://yourdomain.com/webhook-endpoint | | NOTIFICATION | * notificationType | Type of Notification | email | | NOTIFICATION | notificationToCc | diff --git a/src/main/java/com/formkiq/client/api/DocumentDataClassificationApi.java b/src/main/java/com/formkiq/client/api/DocumentDataClassificationApi.java deleted file mode 100644 index 4bcb1828f..000000000 --- a/src/main/java/com/formkiq/client/api/DocumentDataClassificationApi.java +++ /dev/null @@ -1,514 +0,0 @@ -/* - * 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.api; - -import com.formkiq.client.invoker.ApiCallback; -import com.formkiq.client.invoker.ApiClient; -import com.formkiq.client.invoker.ApiException; -import com.formkiq.client.invoker.ApiResponse; -import com.formkiq.client.invoker.Configuration; -import com.formkiq.client.invoker.Pair; -import com.formkiq.client.invoker.ProgressRequestBody; -import com.formkiq.client.invoker.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import com.formkiq.client.model.GetDocumentDataClassificationResponse; -import com.formkiq.client.model.SetDocumentDataClassificationRequest; -import com.formkiq.client.model.SetDocumentDataClassificationResponse; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class DocumentDataClassificationApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public DocumentDataClassificationApi() { - this(Configuration.getDefaultApiClient()); - } - - public DocumentDataClassificationApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for getDocumentDataClassification - * - * @param documentId Document Identifier (required) - * @param siteId Site Identifier (optional) - * @param limit Limit Results (optional, default to 10) - * @param next Next page of results token (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - * - * - * - * - * - * - * - * - * - * - * - * - *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
- * * Access-Control-Allow-Methods -
- * * Access-Control-Allow-Headers -
- *
- */ - public okhttp3.Call getDocumentDataClassificationCall(@javax.annotation.Nonnull String documentId, - @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String limit, - @javax.annotation.Nullable String next, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] {}; - - // Determine Base Path to Use - if (localCustomBaseUrl != null) { - basePath = localCustomBaseUrl; - } else if (localBasePaths.length > 0) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/documents/{documentId}/dataClassification" - .replace("{" + "documentId" + "}", localVarApiClient.escapeString(documentId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (siteId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (next != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("next", next)); - } - - final String[] localVarAccepts = {"application/json"}; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = {}; - final String localVarContentType = - localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] {"AWS4Auth"}; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, - localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, - localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getDocumentDataClassificationValidateBeforeCall( - @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, - @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next, - final ApiCallback _callback) throws ApiException { - // verify the required parameter 'documentId' is set - if (documentId == null) { - throw new ApiException( - "Missing the required parameter 'documentId' when calling getDocumentDataClassification(Async)"); - } - - return getDocumentDataClassificationCall(documentId, siteId, limit, next, _callback); - - } - - /** - * Get document's data classification Retrieve an document's data classification; - * available as an Add-On Module - * - * @param documentId Document Identifier (required) - * @param siteId Site Identifier (optional) - * @param limit Limit Results (optional, default to 10) - * @param next Next page of results token (optional) - * @return GetDocumentDataClassificationResponse - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the - * response body - * @http.response.details - * - * - * - * - * - * - * - * - * - * - * - * - *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
- * * Access-Control-Allow-Methods -
- * * Access-Control-Allow-Headers -
- *
- */ - public GetDocumentDataClassificationResponse getDocumentDataClassification( - @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, - @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next) - throws ApiException { - ApiResponse localVarResp = - getDocumentDataClassificationWithHttpInfo(documentId, siteId, limit, next); - return localVarResp.getData(); - } - - /** - * Get document's data classification Retrieve an document's data classification; - * available as an Add-On Module - * - * @param documentId Document Identifier (required) - * @param siteId Site Identifier (optional) - * @param limit Limit Results (optional, default to 10) - * @param next Next page of results token (optional) - * @return ApiResponse<GetDocumentDataClassificationResponse> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the - * response body - * @http.response.details - * - * - * - * - * - * - * - * - * - * - * - * - *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
- * * Access-Control-Allow-Methods -
- * * Access-Control-Allow-Headers -
- *
- */ - public ApiResponse getDocumentDataClassificationWithHttpInfo( - @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, - @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next) - throws ApiException { - okhttp3.Call localVarCall = - getDocumentDataClassificationValidateBeforeCall(documentId, siteId, limit, next, null); - Type localVarReturnType = new TypeToken() {}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get document's data classification (asynchronously) Retrieve an document's data - * classification; available as an Add-On Module - * - * @param documentId Document Identifier (required) - * @param siteId Site Identifier (optional) - * @param limit Limit Results (optional, default to 10) - * @param next Next page of results token (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - * - * - * - * - * - * - * - * - * - * - * - * - *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
- * * Access-Control-Allow-Methods -
- * * Access-Control-Allow-Headers -
- *
- */ - public okhttp3.Call getDocumentDataClassificationAsync( - @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, - @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next, - final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = - getDocumentDataClassificationValidateBeforeCall(documentId, siteId, limit, next, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - /** - * Build call for setDocumentDataClassification - * - * @param documentId Document Identifier (required) - * @param siteId Site Identifier (optional) - * @param setDocumentDataClassificationRequest (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - * - * - * - * - * - * - * - * - * - * - * - * - *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
- * * Access-Control-Allow-Methods -
- * * Access-Control-Allow-Headers -
- *
- */ - public okhttp3.Call setDocumentDataClassificationCall(@javax.annotation.Nonnull String documentId, - @javax.annotation.Nullable String siteId, - @javax.annotation.Nullable SetDocumentDataClassificationRequest setDocumentDataClassificationRequest, - final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] {}; - - // Determine Base Path to Use - if (localCustomBaseUrl != null) { - basePath = localCustomBaseUrl; - } else if (localBasePaths.length > 0) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = setDocumentDataClassificationRequest; - - // create path and map variables - String localVarPath = "/documents/{documentId}/dataClassification" - .replace("{" + "documentId" + "}", localVarApiClient.escapeString(documentId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (siteId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); - } - - final String[] localVarAccepts = {"application/json"}; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = {"application/json"}; - final String localVarContentType = - localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] {"AWS4Auth"}; - return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, - localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, - localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call setDocumentDataClassificationValidateBeforeCall( - @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, - @javax.annotation.Nullable SetDocumentDataClassificationRequest setDocumentDataClassificationRequest, - final ApiCallback _callback) throws ApiException { - // verify the required parameter 'documentId' is set - if (documentId == null) { - throw new ApiException( - "Missing the required parameter 'documentId' when calling setDocumentDataClassification(Async)"); - } - - return setDocumentDataClassificationCall(documentId, siteId, - setDocumentDataClassificationRequest, _callback); - - } - - /** - * Set document's data classification Generate Data Classfication attributes within a - * document; available as an Add-On Module - * - * @param documentId Document Identifier (required) - * @param siteId Site Identifier (optional) - * @param setDocumentDataClassificationRequest (optional) - * @return SetDocumentDataClassificationResponse - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the - * response body - * @http.response.details - * - * - * - * - * - * - * - * - * - * - * - * - *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
- * * Access-Control-Allow-Methods -
- * * Access-Control-Allow-Headers -
- *
- */ - public SetDocumentDataClassificationResponse setDocumentDataClassification( - @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, - @javax.annotation.Nullable SetDocumentDataClassificationRequest setDocumentDataClassificationRequest) - throws ApiException { - ApiResponse localVarResp = - setDocumentDataClassificationWithHttpInfo(documentId, siteId, - setDocumentDataClassificationRequest); - return localVarResp.getData(); - } - - /** - * Set document's data classification Generate Data Classfication attributes within a - * document; available as an Add-On Module - * - * @param documentId Document Identifier (required) - * @param siteId Site Identifier (optional) - * @param setDocumentDataClassificationRequest (optional) - * @return ApiResponse<SetDocumentDataClassificationResponse> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the - * response body - * @http.response.details - * - * - * - * - * - * - * - * - * - * - * - * - *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
- * * Access-Control-Allow-Methods -
- * * Access-Control-Allow-Headers -
- *
- */ - public ApiResponse setDocumentDataClassificationWithHttpInfo( - @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, - @javax.annotation.Nullable SetDocumentDataClassificationRequest setDocumentDataClassificationRequest) - throws ApiException { - okhttp3.Call localVarCall = setDocumentDataClassificationValidateBeforeCall(documentId, siteId, - setDocumentDataClassificationRequest, null); - Type localVarReturnType = new TypeToken() {}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Set document's data classification (asynchronously) Generate Data Classfication attributes - * within a document; available as an Add-On Module - * - * @param documentId Document Identifier (required) - * @param siteId Site Identifier (optional) - * @param setDocumentDataClassificationRequest (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - * - * - * - * - * - * - * - * - * - * - * - * - *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
- * * Access-Control-Allow-Methods -
- * * Access-Control-Allow-Headers -
- *
- */ - public okhttp3.Call setDocumentDataClassificationAsync( - @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, - @javax.annotation.Nullable SetDocumentDataClassificationRequest setDocumentDataClassificationRequest, - final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = setDocumentDataClassificationValidateBeforeCall(documentId, siteId, - setDocumentDataClassificationRequest, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/formkiq/client/api/DocumentGenerationApi.java b/src/main/java/com/formkiq/client/api/DocumentGenerationApi.java index 7a6582165..e57e8ab1b 100644 --- a/src/main/java/com/formkiq/client/api/DocumentGenerationApi.java +++ b/src/main/java/com/formkiq/client/api/DocumentGenerationApi.java @@ -34,6 +34,8 @@ import java.io.IOException; +import com.formkiq.client.model.AddDocumentCertificationRequest; +import com.formkiq.client.model.AddDocumentCertificationResponse; import com.formkiq.client.model.AddDocumentGenerateRequest; import com.formkiq.client.model.AddDocumentGenerateResponse; import com.formkiq.client.model.ValidationErrorsResponse; @@ -81,6 +83,247 @@ public void setCustomBaseUrl(String customBaseUrl) { this.localCustomBaseUrl = customBaseUrl; } + /** + * Build call for addDocumentCertification + * + * @param documentId Document Identifier (required) + * @param addDocumentCertificationRequest (required) + * @param siteId Site Identifier (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
201201 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 BAD REQUEST-
+ */ + public okhttp3.Call addDocumentCertificationCall(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nonnull AddDocumentCertificationRequest addDocumentCertificationRequest, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = addDocumentCertificationRequest; + + // create path and map variables + String localVarPath = "/documents/{documentId}/certifications".replace("{" + "documentId" + "}", + localVarApiClient.escapeString(documentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {"application/json"}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call addDocumentCertificationValidateBeforeCall( + @javax.annotation.Nonnull String documentId, + @javax.annotation.Nonnull AddDocumentCertificationRequest addDocumentCertificationRequest, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling addDocumentCertification(Async)"); + } + + // verify the required parameter 'addDocumentCertificationRequest' is set + if (addDocumentCertificationRequest == null) { + throw new ApiException( + "Missing the required parameter 'addDocumentCertificationRequest' when calling addDocumentCertification(Async)"); + } + + return addDocumentCertificationCall(documentId, addDocumentCertificationRequest, siteId, + _callback); + + } + + /** + * Add Document Certification Applies one or more certifications (digital signatures) to a + * document using one or more certificates. Target determines whether a presigned download is + * returned, a new version is created, or a new document is created. ; available as an Add-On + * Module + * + * @param documentId Document Identifier (required) + * @param addDocumentCertificationRequest (required) + * @param siteId Site Identifier (optional) + * @return AddDocumentCertificationResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
201201 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 BAD REQUEST-
+ */ + public AddDocumentCertificationResponse addDocumentCertification( + @javax.annotation.Nonnull String documentId, + @javax.annotation.Nonnull AddDocumentCertificationRequest addDocumentCertificationRequest, + @javax.annotation.Nullable String siteId) throws ApiException { + ApiResponse localVarResp = + addDocumentCertificationWithHttpInfo(documentId, addDocumentCertificationRequest, siteId); + return localVarResp.getData(); + } + + /** + * Add Document Certification Applies one or more certifications (digital signatures) to a + * document using one or more certificates. Target determines whether a presigned download is + * returned, a new version is created, or a new document is created. ; available as an Add-On + * Module + * + * @param documentId Document Identifier (required) + * @param addDocumentCertificationRequest (required) + * @param siteId Site Identifier (optional) + * @return ApiResponse<AddDocumentCertificationResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
201201 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 BAD REQUEST-
+ */ + public ApiResponse addDocumentCertificationWithHttpInfo( + @javax.annotation.Nonnull String documentId, + @javax.annotation.Nonnull AddDocumentCertificationRequest addDocumentCertificationRequest, + @javax.annotation.Nullable String siteId) throws ApiException { + okhttp3.Call localVarCall = addDocumentCertificationValidateBeforeCall(documentId, + addDocumentCertificationRequest, siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Add Document Certification (asynchronously) Applies one or more certifications (digital + * signatures) to a document using one or more certificates. Target determines whether a presigned + * download is returned, a new version is created, or a new document is created. ; available as an + * Add-On Module + * + * @param documentId Document Identifier (required) + * @param addDocumentCertificationRequest (required) + * @param siteId Site Identifier (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
201201 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 BAD REQUEST-
+ */ + public okhttp3.Call addDocumentCertificationAsync(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nonnull AddDocumentCertificationRequest addDocumentCertificationRequest, + @javax.annotation.Nullable String siteId, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = addDocumentCertificationValidateBeforeCall(documentId, + addDocumentCertificationRequest, siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** * Build call for addDocumentGenerate * diff --git a/src/main/java/com/formkiq/client/api/DocumentsApi.java b/src/main/java/com/formkiq/client/api/DocumentsApi.java index d9de0b960..6d643324e 100644 --- a/src/main/java/com/formkiq/client/api/DocumentsApi.java +++ b/src/main/java/com/formkiq/client/api/DocumentsApi.java @@ -199,9 +199,12 @@ private okhttp3.Call addDocumentValidateBeforeCall( /** * Add new document Creates a new document; body may include document content if less than 5 MB. - * Returns a unique **documentId** used in subsequent operations. See POST - * /documents/{documentId}/tags for adding tags to document schema See POST - * /documents/{documentId}/actions for adding actions to document schema + * Returns a unique **documentId** used in subsequent operations. **Content Type Detection** If + * the document **Content-Type** is not specified during upload, the service will determine it + * asynchronously after the upload completes. This may result in a **temporary delay** before the + * content type and related metadata are available. See POST /documents/{documentId}/tags for + * adding tags to document schema See POST /documents/{documentId}/actions for adding actions to + * document schema * * @param addDocumentRequest (required) * @param siteId Site Identifier (optional) @@ -243,9 +246,12 @@ public AddDocumentResponse addDocument( /** * Add new document Creates a new document; body may include document content if less than 5 MB. - * Returns a unique **documentId** used in subsequent operations. See POST - * /documents/{documentId}/tags for adding tags to document schema See POST - * /documents/{documentId}/actions for adding actions to document schema + * Returns a unique **documentId** used in subsequent operations. **Content Type Detection** If + * the document **Content-Type** is not specified during upload, the service will determine it + * asynchronously after the upload completes. This may result in a **temporary delay** before the + * content type and related metadata are available. See POST /documents/{documentId}/tags for + * adding tags to document schema See POST /documents/{documentId}/actions for adding actions to + * document schema * * @param addDocumentRequest (required) * @param siteId Site Identifier (optional) @@ -288,7 +294,10 @@ public ApiResponse addDocumentWithHttpInfo( /** * Add new document (asynchronously) Creates a new document; body may include document content if - * less than 5 MB. Returns a unique **documentId** used in subsequent operations. See POST + * less than 5 MB. Returns a unique **documentId** used in subsequent operations. **Content Type + * Detection** If the document **Content-Type** is not specified during upload, the service will + * determine it asynchronously after the upload completes. This may result in a **temporary + * delay** before the content type and related metadata are available. See POST * /documents/{documentId}/tags for adding tags to document schema See POST * /documents/{documentId}/actions for adding actions to document schema * @@ -651,9 +660,12 @@ private okhttp3.Call addDocumentUploadValidateBeforeCall( /** * Add large document Returns a URL that can be used to upload document content and create a new - * document, while allowing metadata to also be sent; this endpoint (whether GET or POST) is - * required in order to add content that is larger than 5 MB. The POST endpoint allow the adding - * of document metadata at the same time as the document is created. + * document. This endpoint is required for uploading content larger than 5 MB and allows document + * metadata to be provided at creation time. **Content Type Detection** If the document + * **Content-Type** is not specified during upload, the service will determine it asynchronously + * after the upload completes. This may result in a **temporary delay** before the content type + * and related metadata are available. To avoid this delay, provide the **Content-Type** when + * uploading the document. * * @param addDocumentUploadRequest (required) * @param siteId Site Identifier (optional) @@ -693,9 +705,12 @@ public GetDocumentUrlResponse addDocumentUpload( /** * Add large document Returns a URL that can be used to upload document content and create a new - * document, while allowing metadata to also be sent; this endpoint (whether GET or POST) is - * required in order to add content that is larger than 5 MB. The POST endpoint allow the adding - * of document metadata at the same time as the document is created. + * document. This endpoint is required for uploading content larger than 5 MB and allows document + * metadata to be provided at creation time. **Content Type Detection** If the document + * **Content-Type** is not specified during upload, the service will determine it asynchronously + * after the upload completes. This may result in a **temporary delay** before the content type + * and related metadata are available. To avoid this delay, provide the **Content-Type** when + * uploading the document. * * @param addDocumentUploadRequest (required) * @param siteId Site Identifier (optional) @@ -736,9 +751,12 @@ public ApiResponse addDocumentUploadWithHttpInfo( /** * Add large document (asynchronously) Returns a URL that can be used to upload document content - * and create a new document, while allowing metadata to also be sent; this endpoint (whether GET - * or POST) is required in order to add content that is larger than 5 MB. The POST endpoint allow - * the adding of document metadata at the same time as the document is created. + * and create a new document. This endpoint is required for uploading content larger than 5 MB and + * allows document metadata to be provided at creation time. **Content Type Detection** If the + * document **Content-Type** is not specified during upload, the service will determine it + * asynchronously after the upload completes. This may result in a **temporary delay** before the + * content type and related metadata are available. To avoid this delay, provide the + * **Content-Type** when uploading the document. * * @param addDocumentUploadRequest (required) * @param siteId Site Identifier (optional) diff --git a/src/main/java/com/formkiq/client/api/EntityApi.java b/src/main/java/com/formkiq/client/api/EntityApi.java index 8c80fe548..ad42a131c 100644 --- a/src/main/java/com/formkiq/client/api/EntityApi.java +++ b/src/main/java/com/formkiq/client/api/EntityApi.java @@ -756,6 +756,230 @@ public okhttp3.Call deleteEntityAsync(@javax.annotation.Nonnull String entityTyp return localVarCall; } + /** + * Build call for deleteEntityAttribute + * + * @param entityTypeId EntityType Identifier (required) + * @param entityId Entity Identifier (required) + * @param attributeKey Attribute Key (required) + * @param siteId Site Identifier (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteEntityAttributeCall(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull String entityId, @javax.annotation.Nonnull String attributeKey, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/entities/{entityTypeId}/{entityId}/attributes/{attributeKey}" + .replace("{" + "entityTypeId" + "}", + localVarApiClient.escapeString(entityTypeId.toString())) + .replace("{" + "entityId" + "}", localVarApiClient.escapeString(entityId.toString())) + .replace("{" + "attributeKey" + "}", + localVarApiClient.escapeString(attributeKey.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteEntityAttributeValidateBeforeCall( + @javax.annotation.Nonnull String entityTypeId, @javax.annotation.Nonnull String entityId, + @javax.annotation.Nonnull String attributeKey, @javax.annotation.Nullable String siteId, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'entityTypeId' is set + if (entityTypeId == null) { + throw new ApiException( + "Missing the required parameter 'entityTypeId' when calling deleteEntityAttribute(Async)"); + } + + // verify the required parameter 'entityId' is set + if (entityId == null) { + throw new ApiException( + "Missing the required parameter 'entityId' when calling deleteEntityAttribute(Async)"); + } + + // verify the required parameter 'attributeKey' is set + if (attributeKey == null) { + throw new ApiException( + "Missing the required parameter 'attributeKey' when calling deleteEntityAttribute(Async)"); + } + + return deleteEntityAttributeCall(entityTypeId, entityId, attributeKey, siteId, _callback); + + } + + /** + * Deletes Entity Attribute Deletes Entity Attribute + * + * @param entityTypeId EntityType Identifier (required) + * @param entityId Entity Identifier (required) + * @param attributeKey Attribute Key (required) + * @param siteId Site Identifier (optional) + * @return DeleteResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public DeleteResponse deleteEntityAttribute(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull String entityId, @javax.annotation.Nonnull String attributeKey, + @javax.annotation.Nullable String siteId) throws ApiException { + ApiResponse localVarResp = + deleteEntityAttributeWithHttpInfo(entityTypeId, entityId, attributeKey, siteId); + return localVarResp.getData(); + } + + /** + * Deletes Entity Attribute Deletes Entity Attribute + * + * @param entityTypeId EntityType Identifier (required) + * @param entityId Entity Identifier (required) + * @param attributeKey Attribute Key (required) + * @param siteId Site Identifier (optional) + * @return ApiResponse<DeleteResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse deleteEntityAttributeWithHttpInfo( + @javax.annotation.Nonnull String entityTypeId, @javax.annotation.Nonnull String entityId, + @javax.annotation.Nonnull String attributeKey, @javax.annotation.Nullable String siteId) + throws ApiException { + okhttp3.Call localVarCall = + deleteEntityAttributeValidateBeforeCall(entityTypeId, entityId, attributeKey, siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Deletes Entity Attribute (asynchronously) Deletes Entity Attribute + * + * @param entityTypeId EntityType Identifier (required) + * @param entityId Entity Identifier (required) + * @param attributeKey Attribute Key (required) + * @param siteId Site Identifier (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteEntityAttributeAsync(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull String entityId, @javax.annotation.Nonnull String attributeKey, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = deleteEntityAttributeValidateBeforeCall(entityTypeId, entityId, + attributeKey, siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** * Build call for deleteEntityType * diff --git a/src/main/java/com/formkiq/client/api/IntelligentDocumentProcessingApi.java b/src/main/java/com/formkiq/client/api/IntelligentDocumentProcessingApi.java new file mode 100644 index 000000000..f472aeb7f --- /dev/null +++ b/src/main/java/com/formkiq/client/api/IntelligentDocumentProcessingApi.java @@ -0,0 +1,1197 @@ +/* + * 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.api; + +import com.formkiq.client.invoker.ApiCallback; +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.ApiResponse; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.Pair; +import com.formkiq.client.invoker.ProgressRequestBody; +import com.formkiq.client.invoker.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.formkiq.client.model.AddDocumentMetadataExtractionResponse; +import com.formkiq.client.model.GetDocumentDataClassificationResponse; +import com.formkiq.client.model.GetDocumentMetadataExtractionResponse; +import com.formkiq.client.model.SetDocumentDataClassificationRequest; +import com.formkiq.client.model.SetDocumentDataClassificationResponse; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class IntelligentDocumentProcessingApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public IntelligentDocumentProcessingApi() { + this(Configuration.getDefaultApiClient()); + } + + public IntelligentDocumentProcessingApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for addDocumentMetadataExtractionResult + * + * @param documentId Document Identifier (required) + * @param llmPromptEntityName LlmPrompt Entity Name (required) + * @param siteId Site Identifier (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call addDocumentMetadataExtractionResultCall( + @javax.annotation.Nonnull String documentId, + @javax.annotation.Nonnull String llmPromptEntityName, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/documents/{documentId}/metadataExtractionResults/{llmPromptEntityName}" + .replace("{" + "documentId" + "}", localVarApiClient.escapeString(documentId.toString())) + .replace("{" + "llmPromptEntityName" + "}", + localVarApiClient.escapeString(llmPromptEntityName.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call addDocumentMetadataExtractionResultValidateBeforeCall( + @javax.annotation.Nonnull String documentId, + @javax.annotation.Nonnull String llmPromptEntityName, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling addDocumentMetadataExtractionResult(Async)"); + } + + // verify the required parameter 'llmPromptEntityName' is set + if (llmPromptEntityName == null) { + throw new ApiException( + "Missing the required parameter 'llmPromptEntityName' when calling addDocumentMetadataExtractionResult(Async)"); + } + + return addDocumentMetadataExtractionResultCall(documentId, llmPromptEntityName, siteId, + _callback); + + } + + /** + * Add document's metadata extraction result Create a document Metadatq Extraction Result + * attributes within a document; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param llmPromptEntityName LlmPrompt Entity Name (required) + * @param siteId Site Identifier (optional) + * @return AddDocumentMetadataExtractionResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public AddDocumentMetadataExtractionResponse addDocumentMetadataExtractionResult( + @javax.annotation.Nonnull String documentId, + @javax.annotation.Nonnull String llmPromptEntityName, + @javax.annotation.Nullable String siteId) throws ApiException { + ApiResponse localVarResp = + addDocumentMetadataExtractionResultWithHttpInfo(documentId, llmPromptEntityName, siteId); + return localVarResp.getData(); + } + + /** + * Add document's metadata extraction result Create a document Metadatq Extraction Result + * attributes within a document; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param llmPromptEntityName LlmPrompt Entity Name (required) + * @param siteId Site Identifier (optional) + * @return ApiResponse<AddDocumentMetadataExtractionResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse addDocumentMetadataExtractionResultWithHttpInfo( + @javax.annotation.Nonnull String documentId, + @javax.annotation.Nonnull String llmPromptEntityName, + @javax.annotation.Nullable String siteId) throws ApiException { + okhttp3.Call localVarCall = addDocumentMetadataExtractionResultValidateBeforeCall(documentId, + llmPromptEntityName, siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Add document's metadata extraction result (asynchronously) Create a document Metadatq + * Extraction Result attributes within a document; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param llmPromptEntityName LlmPrompt Entity Name (required) + * @param siteId Site Identifier (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call addDocumentMetadataExtractionResultAsync( + @javax.annotation.Nonnull String documentId, + @javax.annotation.Nonnull String llmPromptEntityName, + @javax.annotation.Nullable String siteId, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = addDocumentMetadataExtractionResultValidateBeforeCall(documentId, + llmPromptEntityName, siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for getAllDocumentMetadataExtractionResults + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param limit Limit Results (optional, default to 10) + * @param next Next page of results token (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getAllDocumentMetadataExtractionResultsCall( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next, + final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/documents/{documentId}/metadataExtractionResults" + .replace("{" + "documentId" + "}", localVarApiClient.escapeString(documentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (next != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("next", next)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAllDocumentMetadataExtractionResultsValidateBeforeCall( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling getAllDocumentMetadataExtractionResults(Async)"); + } + + return getAllDocumentMetadataExtractionResultsCall(documentId, siteId, limit, next, _callback); + + } + + /** + * Get all document's metadata extraction results Retrieve all document's metadata + * extraction; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param limit Limit Results (optional, default to 10) + * @param next Next page of results token (optional) + * @return GetDocumentMetadataExtractionResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public GetDocumentMetadataExtractionResponse getAllDocumentMetadataExtractionResults( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next) + throws ApiException { + ApiResponse localVarResp = + getAllDocumentMetadataExtractionResultsWithHttpInfo(documentId, siteId, limit, next); + return localVarResp.getData(); + } + + /** + * Get all document's metadata extraction results Retrieve all document's metadata + * extraction; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param limit Limit Results (optional, default to 10) + * @param next Next page of results token (optional) + * @return ApiResponse<GetDocumentMetadataExtractionResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse getAllDocumentMetadataExtractionResultsWithHttpInfo( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next) + throws ApiException { + okhttp3.Call localVarCall = getAllDocumentMetadataExtractionResultsValidateBeforeCall( + documentId, siteId, limit, next, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all document's metadata extraction results (asynchronously) Retrieve all document's + * metadata extraction; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param limit Limit Results (optional, default to 10) + * @param next Next page of results token (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getAllDocumentMetadataExtractionResultsAsync( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAllDocumentMetadataExtractionResultsValidateBeforeCall( + documentId, siteId, limit, next, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for getDocumentDataClassification + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param limit Limit Results (optional, default to 10) + * @param next Next page of results token (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getDocumentDataClassificationCall(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String limit, + @javax.annotation.Nullable String next, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/documents/{documentId}/dataClassification" + .replace("{" + "documentId" + "}", localVarApiClient.escapeString(documentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (next != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("next", next)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getDocumentDataClassificationValidateBeforeCall( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling getDocumentDataClassification(Async)"); + } + + return getDocumentDataClassificationCall(documentId, siteId, limit, next, _callback); + + } + + /** + * Get document's data classification Retrieve an document's data classification; + * available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param limit Limit Results (optional, default to 10) + * @param next Next page of results token (optional) + * @return GetDocumentDataClassificationResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public GetDocumentDataClassificationResponse getDocumentDataClassification( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next) + throws ApiException { + ApiResponse localVarResp = + getDocumentDataClassificationWithHttpInfo(documentId, siteId, limit, next); + return localVarResp.getData(); + } + + /** + * Get document's data classification Retrieve an document's data classification; + * available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param limit Limit Results (optional, default to 10) + * @param next Next page of results token (optional) + * @return ApiResponse<GetDocumentDataClassificationResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse getDocumentDataClassificationWithHttpInfo( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next) + throws ApiException { + okhttp3.Call localVarCall = + getDocumentDataClassificationValidateBeforeCall(documentId, siteId, limit, next, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get document's data classification (asynchronously) Retrieve an document's data + * classification; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param limit Limit Results (optional, default to 10) + * @param next Next page of results token (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getDocumentDataClassificationAsync( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = + getDocumentDataClassificationValidateBeforeCall(documentId, siteId, limit, next, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for getDocumentMetadataExtractionResults + * + * @param documentId Document Identifier (required) + * @param llmPromptEntityName LlmPrompt Entity Name (required) + * @param siteId Site Identifier (optional) + * @param limit Limit Results (optional, default to 10) + * @param next Next page of results token (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getDocumentMetadataExtractionResultsCall( + @javax.annotation.Nonnull String documentId, + @javax.annotation.Nonnull String llmPromptEntityName, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String limit, + @javax.annotation.Nullable String next, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/documents/{documentId}/metadataExtractionResults/{llmPromptEntityName}" + .replace("{" + "documentId" + "}", localVarApiClient.escapeString(documentId.toString())) + .replace("{" + "llmPromptEntityName" + "}", + localVarApiClient.escapeString(llmPromptEntityName.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (next != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("next", next)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getDocumentMetadataExtractionResultsValidateBeforeCall( + @javax.annotation.Nonnull String documentId, + @javax.annotation.Nonnull String llmPromptEntityName, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String limit, + @javax.annotation.Nullable String next, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling getDocumentMetadataExtractionResults(Async)"); + } + + // verify the required parameter 'llmPromptEntityName' is set + if (llmPromptEntityName == null) { + throw new ApiException( + "Missing the required parameter 'llmPromptEntityName' when calling getDocumentMetadataExtractionResults(Async)"); + } + + return getDocumentMetadataExtractionResultsCall(documentId, llmPromptEntityName, siteId, limit, + next, _callback); + + } + + /** + * Get document's metadata extraction results Retrieve an document's metadata extraction; + * available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param llmPromptEntityName LlmPrompt Entity Name (required) + * @param siteId Site Identifier (optional) + * @param limit Limit Results (optional, default to 10) + * @param next Next page of results token (optional) + * @return GetDocumentMetadataExtractionResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public GetDocumentMetadataExtractionResponse getDocumentMetadataExtractionResults( + @javax.annotation.Nonnull String documentId, + @javax.annotation.Nonnull String llmPromptEntityName, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String limit, + @javax.annotation.Nullable String next) throws ApiException { + ApiResponse localVarResp = + getDocumentMetadataExtractionResultsWithHttpInfo(documentId, llmPromptEntityName, siteId, + limit, next); + return localVarResp.getData(); + } + + /** + * Get document's metadata extraction results Retrieve an document's metadata extraction; + * available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param llmPromptEntityName LlmPrompt Entity Name (required) + * @param siteId Site Identifier (optional) + * @param limit Limit Results (optional, default to 10) + * @param next Next page of results token (optional) + * @return ApiResponse<GetDocumentMetadataExtractionResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse getDocumentMetadataExtractionResultsWithHttpInfo( + @javax.annotation.Nonnull String documentId, + @javax.annotation.Nonnull String llmPromptEntityName, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String limit, + @javax.annotation.Nullable String next) throws ApiException { + okhttp3.Call localVarCall = getDocumentMetadataExtractionResultsValidateBeforeCall(documentId, + llmPromptEntityName, siteId, limit, next, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get document's metadata extraction results (asynchronously) Retrieve an document's + * metadata extraction; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param llmPromptEntityName LlmPrompt Entity Name (required) + * @param siteId Site Identifier (optional) + * @param limit Limit Results (optional, default to 10) + * @param next Next page of results token (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getDocumentMetadataExtractionResultsAsync( + @javax.annotation.Nonnull String documentId, + @javax.annotation.Nonnull String llmPromptEntityName, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String limit, + @javax.annotation.Nullable String next, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getDocumentMetadataExtractionResultsValidateBeforeCall(documentId, + llmPromptEntityName, siteId, limit, next, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for setDocumentDataClassification + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param setDocumentDataClassificationRequest (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call setDocumentDataClassificationCall(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable SetDocumentDataClassificationRequest setDocumentDataClassificationRequest, + final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = setDocumentDataClassificationRequest; + + // create path and map variables + String localVarPath = "/documents/{documentId}/dataClassification" + .replace("{" + "documentId" + "}", localVarApiClient.escapeString(documentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {"application/json"}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call setDocumentDataClassificationValidateBeforeCall( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable SetDocumentDataClassificationRequest setDocumentDataClassificationRequest, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling setDocumentDataClassification(Async)"); + } + + return setDocumentDataClassificationCall(documentId, siteId, + setDocumentDataClassificationRequest, _callback); + + } + + /** + * Set document's data classification Generate Data Classfication attributes within a + * document; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param setDocumentDataClassificationRequest (optional) + * @return SetDocumentDataClassificationResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public SetDocumentDataClassificationResponse setDocumentDataClassification( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable SetDocumentDataClassificationRequest setDocumentDataClassificationRequest) + throws ApiException { + ApiResponse localVarResp = + setDocumentDataClassificationWithHttpInfo(documentId, siteId, + setDocumentDataClassificationRequest); + return localVarResp.getData(); + } + + /** + * Set document's data classification Generate Data Classfication attributes within a + * document; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param setDocumentDataClassificationRequest (optional) + * @return ApiResponse<SetDocumentDataClassificationResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse setDocumentDataClassificationWithHttpInfo( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable SetDocumentDataClassificationRequest setDocumentDataClassificationRequest) + throws ApiException { + okhttp3.Call localVarCall = setDocumentDataClassificationValidateBeforeCall(documentId, siteId, + setDocumentDataClassificationRequest, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Set document's data classification (asynchronously) Generate Data Classfication attributes + * within a document; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param setDocumentDataClassificationRequest (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call setDocumentDataClassificationAsync( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable SetDocumentDataClassificationRequest setDocumentDataClassificationRequest, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = setDocumentDataClassificationValidateBeforeCall(documentId, siteId, + setDocumentDataClassificationRequest, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/formkiq/client/api/UserActivitiesApi.java b/src/main/java/com/formkiq/client/api/UserActivitiesApi.java index f05225949..ca8923a44 100644 --- a/src/main/java/com/formkiq/client/api/UserActivitiesApi.java +++ b/src/main/java/com/formkiq/client/api/UserActivitiesApi.java @@ -307,6 +307,15 @@ public okhttp3.Call getDocumentUserActivitiesAsync(@javax.annotation.Nonnull Str * @param entityTypeId EntityType Identifier (optional) * @param namespace Namespace Identifier (optional) * @param entityId Entity Identifier (optional) + * @param rulesetId RulesetId Identifier (optional) + * @param ruleId RuleId Identifier (optional) + * @param workflowId Workflow Identifier (optional) + * @param attributeKey Attribute Key (optional) + * @param schema Schema Type (optional) + * @param classificationId Classification Id (optional) + * @param mappingId Mapping Id (optional) + * @param apiKey Api Key (optional) + * @param controlPolicy Control Policy (optional) * @param start Start of date-time range (UTC) (optional) * @param end End of date-time range (UTC) (optional) * @param sort Sort order (default DESC) (optional) @@ -337,6 +346,11 @@ public okhttp3.Call getDocumentUserActivitiesAsync(@javax.annotation.Nonnull Str public okhttp3.Call getResourceActivitiesCall(@javax.annotation.Nullable String siteId, @javax.annotation.Nullable String documentId, @javax.annotation.Nullable String entityTypeId, @javax.annotation.Nullable String namespace, @javax.annotation.Nullable String entityId, + @javax.annotation.Nullable String rulesetId, @javax.annotation.Nullable String ruleId, + @javax.annotation.Nullable String workflowId, @javax.annotation.Nullable String attributeKey, + @javax.annotation.Nullable String schema, @javax.annotation.Nullable String classificationId, + @javax.annotation.Nullable String mappingId, @javax.annotation.Nullable String apiKey, + @javax.annotation.Nullable String controlPolicy, @javax.annotation.Nullable OffsetDateTime start, @javax.annotation.Nullable OffsetDateTime end, @javax.annotation.Nullable String sort, @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, @@ -385,6 +399,43 @@ public okhttp3.Call getResourceActivitiesCall(@javax.annotation.Nullable String localVarQueryParams.addAll(localVarApiClient.parameterToPair("entityId", entityId)); } + if (rulesetId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("rulesetId", rulesetId)); + } + + if (ruleId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("ruleId", ruleId)); + } + + if (workflowId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("workflowId", workflowId)); + } + + if (attributeKey != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("attributeKey", attributeKey)); + } + + if (schema != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("schema", schema)); + } + + if (classificationId != null) { + localVarQueryParams + .addAll(localVarApiClient.parameterToPair("classificationId", classificationId)); + } + + if (mappingId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("mappingId", mappingId)); + } + + if (apiKey != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("apiKey", apiKey)); + } + + if (controlPolicy != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("controlPolicy", controlPolicy)); + } + if (start != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("start", start)); } @@ -432,12 +483,19 @@ public okhttp3.Call getResourceActivitiesCall(@javax.annotation.Nullable String private okhttp3.Call getResourceActivitiesValidateBeforeCall( @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String documentId, @javax.annotation.Nullable String entityTypeId, @javax.annotation.Nullable String namespace, - @javax.annotation.Nullable String entityId, @javax.annotation.Nullable OffsetDateTime start, + @javax.annotation.Nullable String entityId, @javax.annotation.Nullable String rulesetId, + @javax.annotation.Nullable String ruleId, @javax.annotation.Nullable String workflowId, + @javax.annotation.Nullable String attributeKey, @javax.annotation.Nullable String schema, + @javax.annotation.Nullable String classificationId, + @javax.annotation.Nullable String mappingId, @javax.annotation.Nullable String apiKey, + @javax.annotation.Nullable String controlPolicy, + @javax.annotation.Nullable OffsetDateTime start, @javax.annotation.Nullable OffsetDateTime end, @javax.annotation.Nullable String sort, @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, @javax.annotation.Nullable String userId, final ApiCallback _callback) throws ApiException { - return getResourceActivitiesCall(siteId, documentId, entityTypeId, namespace, entityId, start, - end, sort, next, limit, userId, _callback); + return getResourceActivitiesCall(siteId, documentId, entityTypeId, namespace, entityId, + rulesetId, ruleId, workflowId, attributeKey, schema, classificationId, mappingId, apiKey, + controlPolicy, start, end, sort, next, limit, userId, _callback); } @@ -449,6 +507,15 @@ private okhttp3.Call getResourceActivitiesValidateBeforeCall( * @param entityTypeId EntityType Identifier (optional) * @param namespace Namespace Identifier (optional) * @param entityId Entity Identifier (optional) + * @param rulesetId RulesetId Identifier (optional) + * @param ruleId RuleId Identifier (optional) + * @param workflowId Workflow Identifier (optional) + * @param attributeKey Attribute Key (optional) + * @param schema Schema Type (optional) + * @param classificationId Classification Id (optional) + * @param mappingId Mapping Id (optional) + * @param apiKey Api Key (optional) + * @param controlPolicy Control Policy (optional) * @param start Start of date-time range (UTC) (optional) * @param end End of date-time range (UTC) (optional) * @param sort Sort order (default DESC) (optional) @@ -479,12 +546,19 @@ private okhttp3.Call getResourceActivitiesValidateBeforeCall( public GetActivitesResponse getResourceActivities(@javax.annotation.Nullable String siteId, @javax.annotation.Nullable String documentId, @javax.annotation.Nullable String entityTypeId, @javax.annotation.Nullable String namespace, @javax.annotation.Nullable String entityId, + @javax.annotation.Nullable String rulesetId, @javax.annotation.Nullable String ruleId, + @javax.annotation.Nullable String workflowId, @javax.annotation.Nullable String attributeKey, + @javax.annotation.Nullable String schema, @javax.annotation.Nullable String classificationId, + @javax.annotation.Nullable String mappingId, @javax.annotation.Nullable String apiKey, + @javax.annotation.Nullable String controlPolicy, @javax.annotation.Nullable OffsetDateTime start, @javax.annotation.Nullable OffsetDateTime end, @javax.annotation.Nullable String sort, @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, @javax.annotation.Nullable String userId) throws ApiException { - ApiResponse localVarResp = getResourceActivitiesWithHttpInfo(siteId, - documentId, entityTypeId, namespace, entityId, start, end, sort, next, limit, userId); + ApiResponse localVarResp = + getResourceActivitiesWithHttpInfo(siteId, documentId, entityTypeId, namespace, entityId, + rulesetId, ruleId, workflowId, attributeKey, schema, classificationId, mappingId, + apiKey, controlPolicy, start, end, sort, next, limit, userId); return localVarResp.getData(); } @@ -496,6 +570,15 @@ public GetActivitesResponse getResourceActivities(@javax.annotation.Nullable Str * @param entityTypeId EntityType Identifier (optional) * @param namespace Namespace Identifier (optional) * @param entityId Entity Identifier (optional) + * @param rulesetId RulesetId Identifier (optional) + * @param ruleId RuleId Identifier (optional) + * @param workflowId Workflow Identifier (optional) + * @param attributeKey Attribute Key (optional) + * @param schema Schema Type (optional) + * @param classificationId Classification Id (optional) + * @param mappingId Mapping Id (optional) + * @param apiKey Api Key (optional) + * @param controlPolicy Control Policy (optional) * @param start Start of date-time range (UTC) (optional) * @param end End of date-time range (UTC) (optional) * @param sort Sort order (default DESC) (optional) @@ -526,12 +609,20 @@ public GetActivitesResponse getResourceActivities(@javax.annotation.Nullable Str public ApiResponse getResourceActivitiesWithHttpInfo( @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String documentId, @javax.annotation.Nullable String entityTypeId, @javax.annotation.Nullable String namespace, - @javax.annotation.Nullable String entityId, @javax.annotation.Nullable OffsetDateTime start, + @javax.annotation.Nullable String entityId, @javax.annotation.Nullable String rulesetId, + @javax.annotation.Nullable String ruleId, @javax.annotation.Nullable String workflowId, + @javax.annotation.Nullable String attributeKey, @javax.annotation.Nullable String schema, + @javax.annotation.Nullable String classificationId, + @javax.annotation.Nullable String mappingId, @javax.annotation.Nullable String apiKey, + @javax.annotation.Nullable String controlPolicy, + @javax.annotation.Nullable OffsetDateTime start, @javax.annotation.Nullable OffsetDateTime end, @javax.annotation.Nullable String sort, @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, @javax.annotation.Nullable String userId) throws ApiException { - okhttp3.Call localVarCall = getResourceActivitiesValidateBeforeCall(siteId, documentId, - entityTypeId, namespace, entityId, start, end, sort, next, limit, userId, null); + okhttp3.Call localVarCall = + getResourceActivitiesValidateBeforeCall(siteId, documentId, entityTypeId, namespace, + entityId, rulesetId, ruleId, workflowId, attributeKey, schema, classificationId, + mappingId, apiKey, controlPolicy, start, end, sort, next, limit, userId, null); Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -544,6 +635,15 @@ public ApiResponse getResourceActivitiesWithHttpInfo( * @param entityTypeId EntityType Identifier (optional) * @param namespace Namespace Identifier (optional) * @param entityId Entity Identifier (optional) + * @param rulesetId RulesetId Identifier (optional) + * @param ruleId RuleId Identifier (optional) + * @param workflowId Workflow Identifier (optional) + * @param attributeKey Attribute Key (optional) + * @param schema Schema Type (optional) + * @param classificationId Classification Id (optional) + * @param mappingId Mapping Id (optional) + * @param apiKey Api Key (optional) + * @param controlPolicy Control Policy (optional) * @param start Start of date-time range (UTC) (optional) * @param end End of date-time range (UTC) (optional) * @param sort Sort order (default DESC) (optional) @@ -574,14 +674,21 @@ public ApiResponse getResourceActivitiesWithHttpInfo( public okhttp3.Call getResourceActivitiesAsync(@javax.annotation.Nullable String siteId, @javax.annotation.Nullable String documentId, @javax.annotation.Nullable String entityTypeId, @javax.annotation.Nullable String namespace, @javax.annotation.Nullable String entityId, + @javax.annotation.Nullable String rulesetId, @javax.annotation.Nullable String ruleId, + @javax.annotation.Nullable String workflowId, @javax.annotation.Nullable String attributeKey, + @javax.annotation.Nullable String schema, @javax.annotation.Nullable String classificationId, + @javax.annotation.Nullable String mappingId, @javax.annotation.Nullable String apiKey, + @javax.annotation.Nullable String controlPolicy, @javax.annotation.Nullable OffsetDateTime start, @javax.annotation.Nullable OffsetDateTime end, @javax.annotation.Nullable String sort, @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, @javax.annotation.Nullable String userId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getResourceActivitiesValidateBeforeCall(siteId, documentId, - entityTypeId, namespace, entityId, start, end, sort, next, limit, userId, _callback); + okhttp3.Call localVarCall = + getResourceActivitiesValidateBeforeCall(siteId, documentId, entityTypeId, namespace, + entityId, rulesetId, ruleId, workflowId, attributeKey, schema, classificationId, + mappingId, apiKey, controlPolicy, start, end, sort, next, limit, userId, _callback); Type localVarReturnType = new TypeToken() {}.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 entry : entries) { if (!AddDocumentTagsRequest.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 `AddDocumentTagsRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -179,7 +177,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())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentUploadRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentUploadRequest.java index f5f563dae..1cdbb2138 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentUploadRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentUploadRequest.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.AddDocumentAttribute; import com.formkiq.client.model.AddDocumentTag; @@ -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 @@ * AddDocumentUploadRequest */ @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 AddDocumentUploadRequest { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -451,7 +449,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentUploadRequest.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 AddDocumentUploadRequest is not found in the empty JSON string", AddDocumentUploadRequest.openapiRequiredFields.toString())); } @@ -461,7 +459,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 (!AddDocumentUploadRequest.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 `AddDocumentUploadRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -469,37 +467,37 @@ 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())); } 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("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())); } @@ -509,7 +507,7 @@ 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())); } @@ -518,7 +516,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())); } @@ -534,7 +532,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())); } @@ -550,7 +548,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/AddDocumentWorkflowDecisionsRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsRequest.java index 3b0f319db..b9eceafcc 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsRequest.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 @@ * AddDocumentWorkflowDecisionsRequest */ @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 AddDocumentWorkflowDecisionsRequest { public static final String SERIALIZED_NAME_STEP_ID = "stepId"; @SerializedName(SERIALIZED_NAME_STEP_ID) @@ -258,7 +256,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddDocumentWorkflowDecisionsRequest.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 AddDocumentWorkflowDecisionsRequest is not found in the empty JSON string", AddDocumentWorkflowDecisionsRequest.openapiRequiredFields.toString())); } @@ -268,7 +266,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 (!AddDocumentWorkflowDecisionsRequest.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 `AddDocumentWorkflowDecisionsRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -277,7 +275,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 : AddDocumentWorkflowDecisionsRequest.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())); } @@ -285,18 +283,18 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("stepId") != null && !jsonObj.get("stepId").isJsonNull()) && !jsonObj.get("stepId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `stepId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("stepId").toString())); } if ((jsonObj.get("comments") != null && !jsonObj.get("comments").isJsonNull()) && !jsonObj.get("comments").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `comments` to be a primitive type in the JSON string but got `%s`", jsonObj.get("comments").toString())); } if (!jsonObj.get("decision").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `decision` to be a primitive type in the JSON string but got `%s`", jsonObj.get("decision").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsResponse.java index 90d5482af..2438d08a1 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsResponse.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 @@ * AddDocumentWorkflowDecisionsResponse */ @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 AddDocumentWorkflowDecisionsResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -151,7 +149,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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 AddDocumentWorkflowDecisionsResponse is not found in the empty JSON string", AddDocumentWorkflowDecisionsResponse.openapiRequiredFields.toString())); } @@ -161,7 +159,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 (!AddDocumentWorkflowDecisionsResponse.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 `AddDocumentWorkflowDecisionsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -169,7 +167,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/AddDocumentWorkflowRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowRequest.java index 6771b7a1d..c8c9d91c2 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowRequest.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 @@ * AddDocumentWorkflowRequest */ @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 AddDocumentWorkflowRequest { public static final String SERIALIZED_NAME_WORKFLOW_ID = "workflowId"; @SerializedName(SERIALIZED_NAME_WORKFLOW_ID) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentWorkflowRequest.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 AddDocumentWorkflowRequest is not found in the empty JSON string", AddDocumentWorkflowRequest.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 (!AddDocumentWorkflowRequest.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 `AddDocumentWorkflowRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -166,14 +164,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 : AddDocumentWorkflowRequest.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("workflowId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + 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())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowResponse.java index f36117a46..b2de30ae8 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowResponse.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 @@ * AddDocumentWorkflowResponse */ @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 AddDocumentWorkflowResponse { 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 (!AddDocumentWorkflowResponse.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 AddDocumentWorkflowResponse is not found in the empty JSON string", AddDocumentWorkflowResponse.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 (!AddDocumentWorkflowResponse.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 `AddDocumentWorkflowResponse` 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/AddDocusignEnvelopesRequest.java b/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesRequest.java index 08b141f3c..d633ed6a9 100644 --- a/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocusignEnvironment; import com.formkiq.client.model.DocusignInpersonSigner; import com.formkiq.client.model.DocusignNotification; @@ -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 @@ * AddDocusignEnvelopesRequest */ @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 AddDocusignEnvelopesRequest { public static final String SERIALIZED_NAME_EMAIL_SUBJECT = "emailSubject"; @SerializedName(SERIALIZED_NAME_EMAIL_SUBJECT) @@ -284,7 +282,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocusignEnvelopesRequest.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 AddDocusignEnvelopesRequest is not found in the empty JSON string", AddDocusignEnvelopesRequest.openapiRequiredFields.toString())); } @@ -294,7 +292,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 (!AddDocusignEnvelopesRequest.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 `AddDocusignEnvelopesRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -303,7 +301,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 : AddDocusignEnvelopesRequest.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())); } @@ -311,7 +309,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("emailSubject") != null && !jsonObj.get("emailSubject").isJsonNull()) && !jsonObj.get("emailSubject").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `emailSubject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailSubject").toString())); } @@ -322,7 +320,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraysigners != null) { // ensure the json data is an array if (!jsonObj.get("signers").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `signers` to be an array in the JSON string but got `%s`", jsonObj.get("signers").toString())); } @@ -338,7 +336,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayinpersonSigners != null) { // ensure the json data is an array if (!jsonObj.get("inpersonSigners").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `inpersonSigners` to be an array in the JSON string but got `%s`", jsonObj.get("inpersonSigners").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesResponse.java b/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesResponse.java index eaee3b144..33dd0477b 100644 --- a/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesResponse.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 @@ * AddDocusignEnvelopesResponse */ @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 AddDocusignEnvelopesResponse { public static final String SERIALIZED_NAME_ENVELOPE_ID = "envelopeId"; @SerializedName(SERIALIZED_NAME_ENVELOPE_ID) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddDocusignEnvelopesResponse.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 AddDocusignEnvelopesResponse is not found in the empty JSON string", AddDocusignEnvelopesResponse.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 (!AddDocusignEnvelopesResponse.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 `AddDocusignEnvelopesResponse` 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("envelopeId") != null && !jsonObj.get("envelopeId").isJsonNull()) && !jsonObj.get("envelopeId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `envelopeId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("envelopeId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewRequest.java b/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewRequest.java index 0ab314581..178f405bf 100644 --- a/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocusignEnvironment; import com.formkiq.client.model.DocusignRecipientView; 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 @@ * AddDocusignRecipientViewRequest */ @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 AddDocusignRecipientViewRequest { public static final String SERIALIZED_NAME_ENVIRONMENT = "environment"; @SerializedName(SERIALIZED_NAME_ENVIRONMENT) @@ -181,7 +179,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddDocusignRecipientViewRequest.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 AddDocusignRecipientViewRequest is not found in the empty JSON string", AddDocusignRecipientViewRequest.openapiRequiredFields.toString())); } @@ -191,7 +189,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 (!AddDocusignRecipientViewRequest.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 `AddDocusignRecipientViewRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -200,7 +198,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 : AddDocusignRecipientViewRequest.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/AddDocusignRecipientViewResponse.java b/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewResponse.java index 12457468f..b53100973 100644 --- a/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewResponse.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 @@ * AddDocusignRecipientViewResponse */ @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 AddDocusignRecipientViewResponse { public static final String SERIALIZED_NAME_VIEW_URL = "viewUrl"; @SerializedName(SERIALIZED_NAME_VIEW_URL) @@ -150,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddDocusignRecipientViewResponse.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 AddDocusignRecipientViewResponse is not found in the empty JSON string", AddDocusignRecipientViewResponse.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 (!AddDocusignRecipientViewResponse.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 `AddDocusignRecipientViewResponse` 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("viewUrl") != null && !jsonObj.get("viewUrl").isJsonNull()) && !jsonObj.get("viewUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `viewUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("viewUrl").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddEntity.java b/src/main/java/com/formkiq/client/model/AddEntity.java index e6a597ec5..bed7db80b 100644 --- a/src/main/java/com/formkiq/client/model/AddEntity.java +++ b/src/main/java/com/formkiq/client/model/AddEntity.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddEntityAttribute; 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 @@ * AddEntity */ @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 AddEntity { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddEntity.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 AddEntity is not found in the empty JSON string", AddEntity.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!AddEntity.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 `AddEntity` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,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())); } @@ -212,7 +210,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/AddEntityAttribute.java b/src/main/java/com/formkiq/client/model/AddEntityAttribute.java index 8a8a3985d..056445ca6 100644 --- a/src/main/java/com/formkiq/client/model/AddEntityAttribute.java +++ b/src/main/java/com/formkiq/client/model/AddEntityAttribute.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 @@ * AddEntityAttribute */ @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 AddEntityAttribute { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -302,7 +300,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddEntityAttribute.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 AddEntityAttribute is not found in the empty JSON string", AddEntityAttribute.openapiRequiredFields.toString())); } @@ -312,7 +310,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 (!AddEntityAttribute.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 `AddEntityAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -320,27 +318,27 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !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/AddEntityRequest.java b/src/main/java/com/formkiq/client/model/AddEntityRequest.java index 613e2c0ad..d49ebd0b1 100644 --- a/src/main/java/com/formkiq/client/model/AddEntityRequest.java +++ b/src/main/java/com/formkiq/client/model/AddEntityRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddEntity; 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 @@ * AddEntityRequest */ @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 AddEntityRequest { public static final String SERIALIZED_NAME_ENTITY = "entity"; @SerializedName(SERIALIZED_NAME_ENTITY) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddEntityRequest.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 AddEntityRequest is not found in the empty JSON string", AddEntityRequest.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 (!AddEntityRequest.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 `AddEntityRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddEntityResponse.java b/src/main/java/com/formkiq/client/model/AddEntityResponse.java index 00ba30b6a..d6242c901 100644 --- a/src/main/java/com/formkiq/client/model/AddEntityResponse.java +++ b/src/main/java/com/formkiq/client/model/AddEntityResponse.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 @@ * AddEntityResponse */ @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 AddEntityResponse { public static final String SERIALIZED_NAME_ENTITY_ID = "entityId"; @SerializedName(SERIALIZED_NAME_ENTITY_ID) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddEntityResponse.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 AddEntityResponse is not found in the empty JSON string", AddEntityResponse.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 (!AddEntityResponse.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 `AddEntityResponse` 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("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())); } diff --git a/src/main/java/com/formkiq/client/model/AddEntityType.java b/src/main/java/com/formkiq/client/model/AddEntityType.java index d70505119..809e36152 100644 --- a/src/main/java/com/formkiq/client/model/AddEntityType.java +++ b/src/main/java/com/formkiq/client/model/AddEntityType.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 @@ * AddEntityType */ @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 AddEntityType { public static final String SERIALIZED_NAME_NAMESPACE = "namespace"; @SerializedName(SERIALIZED_NAME_NAMESPACE) @@ -175,7 +173,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddEntityType.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 AddEntityType is not found in the empty JSON string", AddEntityType.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 (!AddEntityType.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 `AddEntityType` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -197,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } 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/AddEntityTypeRequest.java b/src/main/java/com/formkiq/client/model/AddEntityTypeRequest.java index 29bb7df28..7067ca498 100644 --- a/src/main/java/com/formkiq/client/model/AddEntityTypeRequest.java +++ b/src/main/java/com/formkiq/client/model/AddEntityTypeRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddEntityType; 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 @@ * AddEntityTypeRequest */ @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 AddEntityTypeRequest { public static final String SERIALIZED_NAME_ENTITY_TYPE = "entityType"; @SerializedName(SERIALIZED_NAME_ENTITY_TYPE) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddEntityTypeRequest.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 AddEntityTypeRequest is not found in the empty JSON string", AddEntityTypeRequest.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 (!AddEntityTypeRequest.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 `AddEntityTypeRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddEntityTypeResponse.java b/src/main/java/com/formkiq/client/model/AddEntityTypeResponse.java index 9a38a294a..a53b3918b 100644 --- a/src/main/java/com/formkiq/client/model/AddEntityTypeResponse.java +++ b/src/main/java/com/formkiq/client/model/AddEntityTypeResponse.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 @@ * AddEntityTypeResponse */ @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 AddEntityTypeResponse { public static final String SERIALIZED_NAME_ENTITY_TYPE_ID = "entityTypeId"; @SerializedName(SERIALIZED_NAME_ENTITY_TYPE_ID) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddEntityTypeResponse.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 AddEntityTypeResponse is not found in the empty JSON string", AddEntityTypeResponse.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 (!AddEntityTypeResponse.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 `AddEntityTypeResponse` 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("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())); } diff --git a/src/main/java/com/formkiq/client/model/AddFolderPermission.java b/src/main/java/com/formkiq/client/model/AddFolderPermission.java index c8224021d..ed7f3d230 100644 --- a/src/main/java/com/formkiq/client/model/AddFolderPermission.java +++ b/src/main/java/com/formkiq/client/model/AddFolderPermission.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.FolderPermissionType; 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 @@ * AddFolderPermission */ @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 AddFolderPermission { public static final String SERIALIZED_NAME_ROLE_NAME = "roleName"; @SerializedName(SERIALIZED_NAME_ROLE_NAME) @@ -186,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddFolderPermission.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 AddFolderPermission is not found in the empty JSON string", AddFolderPermission.openapiRequiredFields.toString())); } @@ -196,7 +194,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 (!AddFolderPermission.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 `AddFolderPermission` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -204,14 +202,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("roleName") != null && !jsonObj.get("roleName").isJsonNull()) && !jsonObj.get("roleName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `roleName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("roleName").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/AddFolderRequest.java b/src/main/java/com/formkiq/client/model/AddFolderRequest.java index fe6bae383..b2a09acbb 100644 --- a/src/main/java/com/formkiq/client/model/AddFolderRequest.java +++ b/src/main/java/com/formkiq/client/model/AddFolderRequest.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 @@ * AddFolderRequest */ @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 AddFolderRequest { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddFolderRequest.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 AddFolderRequest is not found in the empty JSON string", AddFolderRequest.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 (!AddFolderRequest.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 `AddFolderRequest` 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("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/AddFolderResponse.java b/src/main/java/com/formkiq/client/model/AddFolderResponse.java index a263b8986..a314b18e1 100644 --- a/src/main/java/com/formkiq/client/model/AddFolderResponse.java +++ b/src/main/java/com/formkiq/client/model/AddFolderResponse.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 @@ * AddFolderResponse */ @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 AddFolderResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -174,7 +172,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddFolderResponse.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 AddFolderResponse is not found in the empty JSON string", AddFolderResponse.openapiRequiredFields.toString())); } @@ -184,7 +182,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 (!AddFolderResponse.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 `AddFolderResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +190,13 @@ 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())); } if ((jsonObj.get("indexKey") != null && !jsonObj.get("indexKey").isJsonNull()) && !jsonObj.get("indexKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `indexKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("indexKey").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddFolderShareRequest.java b/src/main/java/com/formkiq/client/model/AddFolderShareRequest.java index 2347e9b1c..ef826da0a 100644 --- a/src/main/java/com/formkiq/client/model/AddFolderShareRequest.java +++ b/src/main/java/com/formkiq/client/model/AddFolderShareRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddShare; 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 @@ * AddFolderShareRequest */ @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 AddFolderShareRequest { public static final String SERIALIZED_NAME_SHARE = "share"; @SerializedName(SERIALIZED_NAME_SHARE) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddFolderShareRequest.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 AddFolderShareRequest is not found in the empty JSON string", AddFolderShareRequest.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 (!AddFolderShareRequest.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 `AddFolderShareRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddFolderShareResponse.java b/src/main/java/com/formkiq/client/model/AddFolderShareResponse.java index 025203c5e..8daf1058f 100644 --- a/src/main/java/com/formkiq/client/model/AddFolderShareResponse.java +++ b/src/main/java/com/formkiq/client/model/AddFolderShareResponse.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 @@ * AddFolderShareResponse */ @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 AddFolderShareResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -174,7 +172,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddFolderShareResponse.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 AddFolderShareResponse is not found in the empty JSON string", AddFolderShareResponse.openapiRequiredFields.toString())); } @@ -184,7 +182,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 (!AddFolderShareResponse.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 `AddFolderShareResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +190,13 @@ 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())); } if ((jsonObj.get("shareKey") != null && !jsonObj.get("shareKey").isJsonNull()) && !jsonObj.get("shareKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `shareKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shareKey").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportRequest.java b/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportRequest.java index 04501db67..07b6c1329 100644 --- a/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportRequest.java +++ b/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.GoogleExportOutputType; 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 @@ * AddGoogleDocumentExportRequest */ @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 AddGoogleDocumentExportRequest { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -179,7 +177,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddGoogleDocumentExportRequest.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 AddGoogleDocumentExportRequest is not found in the empty JSON string", AddGoogleDocumentExportRequest.openapiRequiredFields.toString())); } @@ -189,7 +187,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 (!AddGoogleDocumentExportRequest.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 `AddGoogleDocumentExportRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -197,7 +195,7 @@ 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())); } diff --git a/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportResponse.java b/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportResponse.java index 427593014..18939759d 100644 --- a/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportResponse.java +++ b/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportResponse.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 @@ * AddGoogleDocumentExportResponse */ @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 AddGoogleDocumentExportResponse { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -150,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddGoogleDocumentExportResponse.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 AddGoogleDocumentExportResponse is not found in the empty JSON string", AddGoogleDocumentExportResponse.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 (!AddGoogleDocumentExportResponse.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 `AddGoogleDocumentExportResponse` 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("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/AddGroup.java b/src/main/java/com/formkiq/client/model/AddGroup.java index 90b67cc33..9a614fab4 100644 --- a/src/main/java/com/formkiq/client/model/AddGroup.java +++ b/src/main/java/com/formkiq/client/model/AddGroup.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 @@ * AddGroup */ @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 AddGroup { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -174,7 +172,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddGroup.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 AddGroup is not found in the empty JSON string", AddGroup.openapiRequiredFields.toString())); } @@ -184,7 +182,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 (!AddGroup.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 `AddGroup` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +190,13 @@ 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())); } 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())); } diff --git a/src/main/java/com/formkiq/client/model/AddGroupRequest.java b/src/main/java/com/formkiq/client/model/AddGroupRequest.java index 278da8b12..db0c62355 100644 --- a/src/main/java/com/formkiq/client/model/AddGroupRequest.java +++ b/src/main/java/com/formkiq/client/model/AddGroupRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddGroup; 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 @@ * AddGroupRequest */ @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 AddGroupRequest { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddGroupRequest.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 AddGroupRequest is not found in the empty JSON string", AddGroupRequest.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 (!AddGroupRequest.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 `AddGroupRequest` 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 : AddGroupRequest.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/AddLocaleRequest.java b/src/main/java/com/formkiq/client/model/AddLocaleRequest.java index 5540fca42..77ef433e7 100644 --- a/src/main/java/com/formkiq/client/model/AddLocaleRequest.java +++ b/src/main/java/com/formkiq/client/model/AddLocaleRequest.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 @@ * AddLocaleRequest */ @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 AddLocaleRequest { public static final String SERIALIZED_NAME_LOCALE = "locale"; @SerializedName(SERIALIZED_NAME_LOCALE) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddLocaleRequest.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 AddLocaleRequest is not found in the empty JSON string", AddLocaleRequest.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 (!AddLocaleRequest.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 `AddLocaleRequest` 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("locale") != null && !jsonObj.get("locale").isJsonNull()) && !jsonObj.get("locale").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `locale` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locale").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddLocaleResourceClassificationItem.java b/src/main/java/com/formkiq/client/model/AddLocaleResourceClassificationItem.java index 9b89622a4..7e44fe792 100644 --- a/src/main/java/com/formkiq/client/model/AddLocaleResourceClassificationItem.java +++ b/src/main/java/com/formkiq/client/model/AddLocaleResourceClassificationItem.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.LocaleResourceType; 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 @@ * AddLocaleResourceClassificationItem */ @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 AddLocaleResourceClassificationItem { public static final String SERIALIZED_NAME_ITEM_TYPE = "itemType"; @SerializedName(SERIALIZED_NAME_ITEM_TYPE) @@ -267,7 +265,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddLocaleResourceClassificationItem.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 AddLocaleResourceClassificationItem is not found in the empty JSON string", AddLocaleResourceClassificationItem.openapiRequiredFields.toString())); } @@ -277,7 +275,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 (!AddLocaleResourceClassificationItem.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 `AddLocaleResourceClassificationItem` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -286,7 +284,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 : AddLocaleResourceClassificationItem.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())); } @@ -295,22 +293,22 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the required field `itemType` LocaleResourceType.validateJsonElement(jsonObj.get("itemType")); 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())); } if (!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("allowedValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `allowedValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("allowedValue").toString())); } if (!jsonObj.get("localizedValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `localizedValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("localizedValue").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddLocaleResourceInterfaceItem.java b/src/main/java/com/formkiq/client/model/AddLocaleResourceInterfaceItem.java index 503c8468e..0dfe8136e 100644 --- a/src/main/java/com/formkiq/client/model/AddLocaleResourceInterfaceItem.java +++ b/src/main/java/com/formkiq/client/model/AddLocaleResourceInterfaceItem.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.LocaleResourceType; 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 @@ * AddLocaleResourceInterfaceItem */ @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 AddLocaleResourceInterfaceItem { public static final String SERIALIZED_NAME_ITEM_TYPE = "itemType"; @SerializedName(SERIALIZED_NAME_ITEM_TYPE) @@ -210,7 +208,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddLocaleResourceInterfaceItem.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 AddLocaleResourceInterfaceItem is not found in the empty JSON string", AddLocaleResourceInterfaceItem.openapiRequiredFields.toString())); } @@ -220,7 +218,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 (!AddLocaleResourceInterfaceItem.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 `AddLocaleResourceInterfaceItem` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -229,7 +227,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 : AddLocaleResourceInterfaceItem.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())); } @@ -238,12 +236,12 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the required field `itemType` LocaleResourceType.validateJsonElement(jsonObj.get("itemType")); if (!jsonObj.get("localizedValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `localizedValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("localizedValue").toString())); } if (!jsonObj.get("interfaceKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `interfaceKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("interfaceKey").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java b/src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java index 7144c58d8..aa51cb717 100644 --- a/src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java +++ b/src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddResourceItem; 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 @@ * AddLocaleResourceItemRequest */ @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 AddLocaleResourceItemRequest { public static final String SERIALIZED_NAME_RESOURCE_ITEM = "resourceItem"; @SerializedName(SERIALIZED_NAME_RESOURCE_ITEM) @@ -150,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddLocaleResourceItemRequest.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 AddLocaleResourceItemRequest is not found in the empty JSON string", AddLocaleResourceItemRequest.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 (!AddLocaleResourceItemRequest.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 `AddLocaleResourceItemRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java b/src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java index a4639efbc..4823d549b 100644 --- a/src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java +++ b/src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.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 @@ * AddLocaleResourceItemResponse */ @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 AddLocaleResourceItemResponse { public static final String SERIALIZED_NAME_ITEM_KEY = "itemKey"; @SerializedName(SERIALIZED_NAME_ITEM_KEY) @@ -149,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddLocaleResourceItemResponse.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 AddLocaleResourceItemResponse is not found in the empty JSON string", AddLocaleResourceItemResponse.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 (!AddLocaleResourceItemResponse.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 `AddLocaleResourceItemResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -167,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("itemKey") != null && !jsonObj.get("itemKey").isJsonNull()) && !jsonObj.get("itemKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `itemKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("itemKey").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddLocaleResourceSchemaItem.java b/src/main/java/com/formkiq/client/model/AddLocaleResourceSchemaItem.java index f1d1bd0ea..046830b59 100644 --- a/src/main/java/com/formkiq/client/model/AddLocaleResourceSchemaItem.java +++ b/src/main/java/com/formkiq/client/model/AddLocaleResourceSchemaItem.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.LocaleResourceType; 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 @@ * AddLocaleResourceSchemaItem */ @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 AddLocaleResourceSchemaItem { public static final String SERIALIZED_NAME_ITEM_TYPE = "itemType"; @SerializedName(SERIALIZED_NAME_ITEM_TYPE) @@ -233,7 +231,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddLocaleResourceSchemaItem.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 AddLocaleResourceSchemaItem is not found in the empty JSON string", AddLocaleResourceSchemaItem.openapiRequiredFields.toString())); } @@ -243,7 +241,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 (!AddLocaleResourceSchemaItem.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 `AddLocaleResourceSchemaItem` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -252,7 +250,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 : AddLocaleResourceSchemaItem.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())); } @@ -261,17 +259,17 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the required field `itemType` LocaleResourceType.validateJsonElement(jsonObj.get("itemType")); if (!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("allowedValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `allowedValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("allowedValue").toString())); } if (!jsonObj.get("localizedValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `localizedValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("localizedValue").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddMapping.java b/src/main/java/com/formkiq/client/model/AddMapping.java index 8f09f2663..d88ea1886 100644 --- a/src/main/java/com/formkiq/client/model/AddMapping.java +++ b/src/main/java/com/formkiq/client/model/AddMapping.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.MappingAttribute; 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 @@ * AddMapping */ @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 AddMapping { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddMapping.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 AddMapping is not found in the empty JSON string", AddMapping.openapiRequiredFields.toString())); } @@ -222,7 +220,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 (!AddMapping.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 `AddMapping` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -230,13 +228,13 @@ 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())); } 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())); } @@ -245,7 +243,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/AddMappingRequest.java b/src/main/java/com/formkiq/client/model/AddMappingRequest.java index e30460a99..3cfcf30a9 100644 --- a/src/main/java/com/formkiq/client/model/AddMappingRequest.java +++ b/src/main/java/com/formkiq/client/model/AddMappingRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddMapping; 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 @@ * AddMappingRequest */ @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 AddMappingRequest { public static final String SERIALIZED_NAME_MAPPING = "mapping"; @SerializedName(SERIALIZED_NAME_MAPPING) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddMappingRequest.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 AddMappingRequest is not found in the empty JSON string", AddMappingRequest.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 (!AddMappingRequest.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 `AddMappingRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddMappingResponse.java b/src/main/java/com/formkiq/client/model/AddMappingResponse.java index ff521dffe..a52b48e96 100644 --- a/src/main/java/com/formkiq/client/model/AddMappingResponse.java +++ b/src/main/java/com/formkiq/client/model/AddMappingResponse.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 @@ * AddMappingResponse */ @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 AddMappingResponse { public static final String SERIALIZED_NAME_MAPPING_ID = "mappingId"; @SerializedName(SERIALIZED_NAME_MAPPING_ID) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddMappingResponse.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 AddMappingResponse is not found in the empty JSON string", AddMappingResponse.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 (!AddMappingResponse.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 `AddMappingResponse` 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("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())); } diff --git a/src/main/java/com/formkiq/client/model/AddNigo.java b/src/main/java/com/formkiq/client/model/AddNigo.java index 1d871eca9..0bb193098 100644 --- a/src/main/java/com/formkiq/client/model/AddNigo.java +++ b/src/main/java/com/formkiq/client/model/AddNigo.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.NigoStatus; 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 @@ * AddNigo */ @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 AddNigo { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -386,7 +384,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddNigo.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 AddNigo is not found in the empty JSON string", AddNigo.openapiRequiredFields.toString())); } @@ -396,7 +394,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 (!AddNigo.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 `AddNigo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -405,20 +403,20 @@ 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 : AddNigo.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())); } 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())); } @@ -428,32 +426,32 @@ 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())); } // 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/AddNigoRequest.java b/src/main/java/com/formkiq/client/model/AddNigoRequest.java index 2d143c3a9..705f661f8 100644 --- a/src/main/java/com/formkiq/client/model/AddNigoRequest.java +++ b/src/main/java/com/formkiq/client/model/AddNigoRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddNigo; 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 @@ * AddNigoRequest */ @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 AddNigoRequest { public static final String SERIALIZED_NAME_NIGO = "nigo"; @SerializedName(SERIALIZED_NAME_NIGO) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddNigoRequest.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 AddNigoRequest is not found in the empty JSON string", AddNigoRequest.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 (!AddNigoRequest.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 `AddNigoRequest` 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 : AddNigoRequest.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/AddNigoResponse.java b/src/main/java/com/formkiq/client/model/AddNigoResponse.java index 59d5534d7..8b71b3589 100644 --- a/src/main/java/com/formkiq/client/model/AddNigoResponse.java +++ b/src/main/java/com/formkiq/client/model/AddNigoResponse.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 @@ * AddNigoResponse */ @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 AddNigoResponse { public static final String SERIALIZED_NAME_NIGO_ID = "nigoId"; @SerializedName(SERIALIZED_NAME_NIGO_ID) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddNigoResponse.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 AddNigoResponse is not found in the empty JSON string", AddNigoResponse.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 (!AddNigoResponse.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 `AddNigoResponse` 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("nigoId") != null && !jsonObj.get("nigoId").isJsonNull()) && !jsonObj.get("nigoId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `nigoId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nigoId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddQueueRequest.java b/src/main/java/com/formkiq/client/model/AddQueueRequest.java index e53c0fdb0..6a1d96d27 100644 --- a/src/main/java/com/formkiq/client/model/AddQueueRequest.java +++ b/src/main/java/com/formkiq/client/model/AddQueueRequest.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 @@ * AddQueueRequest */ @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 AddQueueRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddQueueRequest.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 AddQueueRequest is not found in the empty JSON string", AddQueueRequest.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 (!AddQueueRequest.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 `AddQueueRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -166,14 +164,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 : AddQueueRequest.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())); } diff --git a/src/main/java/com/formkiq/client/model/AddQueueResponse.java b/src/main/java/com/formkiq/client/model/AddQueueResponse.java index 87bd610a0..7b8ef21c4 100644 --- a/src/main/java/com/formkiq/client/model/AddQueueResponse.java +++ b/src/main/java/com/formkiq/client/model/AddQueueResponse.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 @@ * AddQueueResponse */ @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 AddQueueResponse { public static final String SERIALIZED_NAME_QUEUE_ID = "queueId"; @SerializedName(SERIALIZED_NAME_QUEUE_ID) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddQueueResponse.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 AddQueueResponse is not found in the empty JSON string", AddQueueResponse.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 (!AddQueueResponse.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 `AddQueueResponse` 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("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/AddReindexDocumentRequest.java b/src/main/java/com/formkiq/client/model/AddReindexDocumentRequest.java index 21a0948df..516faf31f 100644 --- a/src/main/java/com/formkiq/client/model/AddReindexDocumentRequest.java +++ b/src/main/java/com/formkiq/client/model/AddReindexDocumentRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.ReindexTarget; 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 @@ * AddReindexDocumentRequest */ @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 AddReindexDocumentRequest { public static final String SERIALIZED_NAME_TARGET = "target"; @SerializedName(SERIALIZED_NAME_TARGET) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddReindexDocumentRequest.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 AddReindexDocumentRequest is not found in the empty JSON string", AddReindexDocumentRequest.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 (!AddReindexDocumentRequest.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 `AddReindexDocumentRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddResourceItem.java b/src/main/java/com/formkiq/client/model/AddResourceItem.java index e4803e595..3a0a3dd53 100644 --- a/src/main/java/com/formkiq/client/model/AddResourceItem.java +++ b/src/main/java/com/formkiq/client/model/AddResourceItem.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddLocaleResourceClassificationItem; import com.formkiq.client.model.AddLocaleResourceInterfaceItem; import com.formkiq.client.model.AddLocaleResourceSchemaItem; @@ -46,7 +45,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; @@ -71,8 +69,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 AddResourceItem extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(AddResourceItem.class.getName()); @@ -142,7 +140,7 @@ public AddResourceItem read(JsonReader in) throws IOException { log.log(Level.FINER, "Input data matches schema 'AddLocaleResourceInterfaceItem'"); } catch (Exception e) { // deserialization failed, continue - errorMessages.add(String.format(Locale.ROOT, + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for AddLocaleResourceInterfaceItem failed with `%s`.", e.getMessage())); log.log(Level.FINER, @@ -157,7 +155,7 @@ public AddResourceItem read(JsonReader in) throws IOException { log.log(Level.FINER, "Input data matches schema 'AddLocaleResourceSchemaItem'"); } catch (Exception e) { // deserialization failed, continue - errorMessages.add(String.format(Locale.ROOT, + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for AddLocaleResourceSchemaItem failed with `%s`.", e.getMessage())); log.log(Level.FINER, "Input data does not match schema 'AddLocaleResourceSchemaItem'", @@ -172,7 +170,7 @@ public AddResourceItem read(JsonReader in) throws IOException { log.log(Level.FINER, "Input data matches schema 'AddLocaleResourceClassificationItem'"); } catch (Exception e) { // deserialization failed, continue - errorMessages.add(String.format(Locale.ROOT, + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for AddLocaleResourceClassificationItem failed with `%s`.", e.getMessage())); log.log(Level.FINER, @@ -185,7 +183,7 @@ public AddResourceItem 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 AddResourceItem: %d classes match result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", match, errorMessages, jsonElement.toString())); } @@ -307,7 +305,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti AddLocaleResourceInterfaceItem.validateJsonElement(jsonElement); validCount++; } catch (Exception e) { - errorMessages.add(String.format(Locale.ROOT, + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for AddLocaleResourceInterfaceItem failed with `%s`.", e.getMessage())); // continue to the next one } @@ -316,7 +314,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti AddLocaleResourceSchemaItem.validateJsonElement(jsonElement); validCount++; } catch (Exception e) { - errorMessages.add(String.format(Locale.ROOT, + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for AddLocaleResourceSchemaItem failed with `%s`.", e.getMessage())); // continue to the next one } @@ -325,13 +323,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti AddLocaleResourceClassificationItem.validateJsonElement(jsonElement); validCount++; } catch (Exception e) { - errorMessages.add(String.format(Locale.ROOT, + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for AddLocaleResourceClassificationItem 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 AddResourceItem with oneOf schemas: AddLocaleResourceClassificationItem, AddLocaleResourceInterfaceItem, AddLocaleResourceSchemaItem. %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/AddResponse.java b/src/main/java/com/formkiq/client/model/AddResponse.java index 599507409..b5442022d 100644 --- a/src/main/java/com/formkiq/client/model/AddResponse.java +++ b/src/main/java/com/formkiq/client/model/AddResponse.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 @@ * AddResponse */ @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 AddResponse { 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 (!AddResponse.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 AddResponse is not found in the empty JSON string", AddResponse.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 (!AddResponse.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 `AddResponse` 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/AddRule.java b/src/main/java/com/formkiq/client/model/AddRule.java index 5f2c54c31..cbad238e3 100644 --- a/src/main/java/com/formkiq/client/model/AddRule.java +++ b/src/main/java/com/formkiq/client/model/AddRule.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.RuleCondition; import com.formkiq.client.model.RulesetStatus; import com.google.gson.TypeAdapter; @@ -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 @@ * AddRule */ @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 AddRule { public static final String SERIALIZED_NAME_PRIORITY = "priority"; @SerializedName(SERIALIZED_NAME_PRIORITY) @@ -259,7 +257,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddRule.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 AddRule is not found in the empty JSON string", AddRule.openapiRequiredFields.toString())); } @@ -269,7 +267,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 (!AddRule.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 `AddRule` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -277,13 +275,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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())); } if ((jsonObj.get("workflowId") != null && !jsonObj.get("workflowId").isJsonNull()) && !jsonObj.get("workflowId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + 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())); } diff --git a/src/main/java/com/formkiq/client/model/AddRuleRequest.java b/src/main/java/com/formkiq/client/model/AddRuleRequest.java index fb76ffb48..f5ffba2c0 100644 --- a/src/main/java/com/formkiq/client/model/AddRuleRequest.java +++ b/src/main/java/com/formkiq/client/model/AddRuleRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddRule; 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 @@ * AddRuleRequest */ @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 AddRuleRequest { public static final String SERIALIZED_NAME_RULE = "rule"; @SerializedName(SERIALIZED_NAME_RULE) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddRuleRequest.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 AddRuleRequest is not found in the empty JSON string", AddRuleRequest.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 (!AddRuleRequest.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 `AddRuleRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddRuleResponse.java b/src/main/java/com/formkiq/client/model/AddRuleResponse.java index 32f19d3ed..0b8f494a2 100644 --- a/src/main/java/com/formkiq/client/model/AddRuleResponse.java +++ b/src/main/java/com/formkiq/client/model/AddRuleResponse.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 @@ * AddRuleResponse */ @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 AddRuleResponse { public static final String SERIALIZED_NAME_RULE_ID = "ruleId"; @SerializedName(SERIALIZED_NAME_RULE_ID) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddRuleResponse.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 AddRuleResponse is not found in the empty JSON string", AddRuleResponse.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 (!AddRuleResponse.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 `AddRuleResponse` 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("ruleId") != null && !jsonObj.get("ruleId").isJsonNull()) && !jsonObj.get("ruleId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + 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())); } diff --git a/src/main/java/com/formkiq/client/model/AddRuleset.java b/src/main/java/com/formkiq/client/model/AddRuleset.java index 16750d566..35d3a1990 100644 --- a/src/main/java/com/formkiq/client/model/AddRuleset.java +++ b/src/main/java/com/formkiq/client/model/AddRuleset.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.RulesetStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -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 @@ * AddRuleset */ @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 AddRuleset { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) @@ -231,7 +229,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddRuleset.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 AddRuleset is not found in the empty JSON string", AddRuleset.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 (!AddRuleset.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 `AddRuleset` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -249,7 +247,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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())); } diff --git a/src/main/java/com/formkiq/client/model/AddRulesetRequest.java b/src/main/java/com/formkiq/client/model/AddRulesetRequest.java index eaec332e0..bdc6bc561 100644 --- a/src/main/java/com/formkiq/client/model/AddRulesetRequest.java +++ b/src/main/java/com/formkiq/client/model/AddRulesetRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddRuleset; 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 @@ * AddRulesetRequest */ @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 AddRulesetRequest { public static final String SERIALIZED_NAME_RULESET = "ruleset"; @SerializedName(SERIALIZED_NAME_RULESET) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddRulesetRequest.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 AddRulesetRequest is not found in the empty JSON string", AddRulesetRequest.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 (!AddRulesetRequest.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 `AddRulesetRequest` 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 : AddRulesetRequest.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/AddRulesetResponse.java b/src/main/java/com/formkiq/client/model/AddRulesetResponse.java index 8eab8a9c0..0a7c66245 100644 --- a/src/main/java/com/formkiq/client/model/AddRulesetResponse.java +++ b/src/main/java/com/formkiq/client/model/AddRulesetResponse.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 @@ * AddRulesetResponse */ @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 AddRulesetResponse { public static final String SERIALIZED_NAME_RULESET_ID = "rulesetId"; @SerializedName(SERIALIZED_NAME_RULESET_ID) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddRulesetResponse.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 AddRulesetResponse is not found in the empty JSON string", AddRulesetResponse.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 (!AddRulesetResponse.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 `AddRulesetResponse` 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("rulesetId") != null && !jsonObj.get("rulesetId").isJsonNull()) && !jsonObj.get("rulesetId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + 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())); } diff --git a/src/main/java/com/formkiq/client/model/AddShare.java b/src/main/java/com/formkiq/client/model/AddShare.java index d47ee689f..6cdd99dc3 100644 --- a/src/main/java/com/formkiq/client/model/AddShare.java +++ b/src/main/java/com/formkiq/client/model/AddShare.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.UserSharePermission; 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 @@ * AddShare */ @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 AddShare { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddShare.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 AddShare is not found in the empty JSON string", AddShare.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!AddShare.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 `AddShare` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,14 +201,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("group") != null && !jsonObj.get("group").isJsonNull()) && !jsonObj.get("group").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `group` to be a primitive type in the JSON string but got `%s`", jsonObj.get("group").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/AddSite.java b/src/main/java/com/formkiq/client/model/AddSite.java index 53c40f980..98b2b9840 100644 --- a/src/main/java/com/formkiq/client/model/AddSite.java +++ b/src/main/java/com/formkiq/client/model/AddSite.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.SiteStatus; 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 @@ * AddSite */ @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 AddSite { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -201,7 +199,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddSite.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 AddSite is not found in the empty JSON string", AddSite.openapiRequiredFields.toString())); } @@ -211,7 +209,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 (!AddSite.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 `AddSite` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -219,13 +217,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); } if ((jsonObj.get("title") != null && !jsonObj.get("title").isJsonNull()) && !jsonObj.get("title").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `title` to be a primitive type in the JSON string but got `%s`", jsonObj.get("title").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddSiteRequest.java b/src/main/java/com/formkiq/client/model/AddSiteRequest.java index b1ac7c328..484a641f4 100644 --- a/src/main/java/com/formkiq/client/model/AddSiteRequest.java +++ b/src/main/java/com/formkiq/client/model/AddSiteRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddSite; 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 @@ * AddSiteRequest */ @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 AddSiteRequest { public static final String SERIALIZED_NAME_SITE = "site"; @SerializedName(SERIALIZED_NAME_SITE) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddSiteRequest.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 AddSiteRequest is not found in the empty JSON string", AddSiteRequest.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 (!AddSiteRequest.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 `AddSiteRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddTask.java b/src/main/java/com/formkiq/client/model/AddTask.java index acd345a6e..6413ecf9c 100644 --- a/src/main/java/com/formkiq/client/model/AddTask.java +++ b/src/main/java/com/formkiq/client/model/AddTask.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.TaskStatus; 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 @@ * AddTask */ @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 AddTask { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -386,7 +384,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddTask.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 AddTask is not found in the empty JSON string", AddTask.openapiRequiredFields.toString())); } @@ -396,7 +394,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 (!AddTask.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 `AddTask` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -405,7 +403,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 : AddTask.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())); } @@ -413,12 +411,12 @@ 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())); } if (!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())); } @@ -428,32 +426,32 @@ 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())); } // 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/AddTaskRequest.java b/src/main/java/com/formkiq/client/model/AddTaskRequest.java index 857f3cac5..028348d0d 100644 --- a/src/main/java/com/formkiq/client/model/AddTaskRequest.java +++ b/src/main/java/com/formkiq/client/model/AddTaskRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddTask; 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 @@ * AddTaskRequest */ @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 AddTaskRequest { public static final String SERIALIZED_NAME_TASK = "task"; @SerializedName(SERIALIZED_NAME_TASK) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddTaskRequest.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 AddTaskRequest is not found in the empty JSON string", AddTaskRequest.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 (!AddTaskRequest.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 `AddTaskRequest` 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 : AddTaskRequest.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/AddTaskResponse.java b/src/main/java/com/formkiq/client/model/AddTaskResponse.java index 9d8a2eee6..a93cab7bc 100644 --- a/src/main/java/com/formkiq/client/model/AddTaskResponse.java +++ b/src/main/java/com/formkiq/client/model/AddTaskResponse.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 @@ * AddTaskResponse */ @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 AddTaskResponse { public static final String SERIALIZED_NAME_TASK_ID = "taskId"; @SerializedName(SERIALIZED_NAME_TASK_ID) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddTaskResponse.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 AddTaskResponse is not found in the empty JSON string", AddTaskResponse.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 (!AddTaskResponse.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 `AddTaskResponse` 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("taskId") != null && !jsonObj.get("taskId").isJsonNull()) && !jsonObj.get("taskId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `taskId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("taskId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddUser.java b/src/main/java/com/formkiq/client/model/AddUser.java index 445276bb3..21e034e53 100644 --- a/src/main/java/com/formkiq/client/model/AddUser.java +++ b/src/main/java/com/formkiq/client/model/AddUser.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.UserAttributes; 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 @@ * AddUser */ @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 AddUser { public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) @@ -175,7 +173,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddUser.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 AddUser is not found in the empty JSON string", AddUser.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 (!AddUser.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 `AddUser` 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("username") != null && !jsonObj.get("username").isJsonNull()) && !jsonObj.get("username").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `username` to be a primitive type in the JSON string but got `%s`", jsonObj.get("username").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddUserRequest.java b/src/main/java/com/formkiq/client/model/AddUserRequest.java index 0601f0b6e..5ccae6029 100644 --- a/src/main/java/com/formkiq/client/model/AddUserRequest.java +++ b/src/main/java/com/formkiq/client/model/AddUserRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddUser; 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 @@ * AddUserRequest */ @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 AddUserRequest { public static final String SERIALIZED_NAME_USER = "user"; @SerializedName(SERIALIZED_NAME_USER) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddUserRequest.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 AddUserRequest is not found in the empty JSON string", AddUserRequest.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 (!AddUserRequest.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 `AddUserRequest` 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 : AddUserRequest.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/AddWebhookRequest.java b/src/main/java/com/formkiq/client/model/AddWebhookRequest.java index cc7d8e57a..cf66db32a 100644 --- a/src/main/java/com/formkiq/client/model/AddWebhookRequest.java +++ b/src/main/java/com/formkiq/client/model/AddWebhookRequest.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 @@ * AddWebhookRequest */ @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 AddWebhookRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -239,7 +237,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddWebhookRequest.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 AddWebhookRequest is not found in the empty JSON string", AddWebhookRequest.openapiRequiredFields.toString())); } @@ -249,7 +247,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 (!AddWebhookRequest.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 `AddWebhookRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -258,26 +256,26 @@ 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 : AddWebhookRequest.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())); } if ((jsonObj.get("ttl") != null && !jsonObj.get("ttl").isJsonNull()) && !jsonObj.get("ttl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `ttl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ttl").toString())); } if ((jsonObj.get("enabled") != null && !jsonObj.get("enabled").isJsonNull()) && !jsonObj.get("enabled").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `enabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("enabled").toString())); } @@ -286,7 +284,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())); } diff --git a/src/main/java/com/formkiq/client/model/AddWebhookResponse.java b/src/main/java/com/formkiq/client/model/AddWebhookResponse.java index 642acf7f7..6269c9629 100644 --- a/src/main/java/com/formkiq/client/model/AddWebhookResponse.java +++ b/src/main/java/com/formkiq/client/model/AddWebhookResponse.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 @@ * AddWebhookResponse */ @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 AddWebhookResponse { public static final String SERIALIZED_NAME_WEBHOOK_ID = "webhookId"; @SerializedName(SERIALIZED_NAME_WEBHOOK_ID) @@ -174,7 +172,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddWebhookResponse.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 AddWebhookResponse is not found in the empty JSON string", AddWebhookResponse.openapiRequiredFields.toString())); } @@ -184,7 +182,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 (!AddWebhookResponse.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 `AddWebhookResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +190,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("webhookId") != null && !jsonObj.get("webhookId").isJsonNull()) && !jsonObj.get("webhookId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `webhookId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookId").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())); } diff --git a/src/main/java/com/formkiq/client/model/AddWebhookTagRequest.java b/src/main/java/com/formkiq/client/model/AddWebhookTagRequest.java index bc399d339..e5cdaea10 100644 --- a/src/main/java/com/formkiq/client/model/AddWebhookTagRequest.java +++ b/src/main/java/com/formkiq/client/model/AddWebhookTagRequest.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 @@ * AddWebhookTagRequest */ @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 AddWebhookTagRequest { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -211,7 +209,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddWebhookTagRequest.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 AddWebhookTagRequest is not found in the empty JSON string", AddWebhookTagRequest.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 (!AddWebhookTagRequest.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 `AddWebhookTagRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -229,20 +227,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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())); } if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !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/AddWorkflowRequest.java b/src/main/java/com/formkiq/client/model/AddWorkflowRequest.java index 8316be1a5..7314f1095 100644 --- a/src/main/java/com/formkiq/client/model/AddWorkflowRequest.java +++ b/src/main/java/com/formkiq/client/model/AddWorkflowRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddWorkflowStep; import com.formkiq.client.model.WorkflowStatus; import com.google.gson.TypeAdapter; @@ -54,7 +53,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +60,8 @@ * AddWorkflowRequest */ @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 AddWorkflowRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -240,7 +238,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddWorkflowRequest.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 AddWorkflowRequest is not found in the empty JSON string", AddWorkflowRequest.openapiRequiredFields.toString())); } @@ -250,7 +248,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 (!AddWorkflowRequest.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 `AddWorkflowRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -259,37 +257,37 @@ 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 : AddWorkflowRequest.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())); } 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())); } // validate the required field `status` WorkflowStatus.validateJsonElement(jsonObj.get("status")); - // ensure the json data is an array - if (!jsonObj.get("steps").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, - "Expected the field `steps` to be an array in the JSON string but got `%s`", - jsonObj.get("steps").toString())); + if (jsonObj.get("steps") != null) { + if (!jsonObj.get("steps").isJsonArray()) { + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, + "Expected the field `steps` to be an array in the JSON string but got `%s`", + jsonObj.get("steps").toString())); + } + JsonArray jsonArraysteps = jsonObj.getAsJsonArray("steps"); + // validate the required field `steps` (array) + for (int i = 0; i < jsonArraysteps.size(); i++) { + AddWorkflowStep.validateJsonElement(jsonArraysteps.get(i)); + } } - - JsonArray jsonArraysteps = jsonObj.getAsJsonArray("steps"); - // validate the required field `steps` (array) - for (int i = 0; i < jsonArraysteps.size(); i++) { - AddWorkflowStep.validateJsonElement(jsonArraysteps.get(i)); - } ; } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/com/formkiq/client/model/AddWorkflowResponse.java b/src/main/java/com/formkiq/client/model/AddWorkflowResponse.java index 4aca6ab1c..5448b3af7 100644 --- a/src/main/java/com/formkiq/client/model/AddWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/AddWorkflowResponse.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 @@ * AddWorkflowResponse */ @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 AddWorkflowResponse { public static final String SERIALIZED_NAME_WORKFLOW_ID = "workflowId"; @SerializedName(SERIALIZED_NAME_WORKFLOW_ID) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddWorkflowResponse.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 AddWorkflowResponse is not found in the empty JSON string", AddWorkflowResponse.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 (!AddWorkflowResponse.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 `AddWorkflowResponse` 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("workflowId") != null && !jsonObj.get("workflowId").isJsonNull()) && !jsonObj.get("workflowId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + 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())); } diff --git a/src/main/java/com/formkiq/client/model/AddWorkflowStep.java b/src/main/java/com/formkiq/client/model/AddWorkflowStep.java index f3c118ade..2f179f70c 100644 --- a/src/main/java/com/formkiq/client/model/AddWorkflowStep.java +++ b/src/main/java/com/formkiq/client/model/AddWorkflowStep.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.AddWorkflowStepDecision; import com.formkiq.client.model.AddWorkflowStepQueue; @@ -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 @@ * AddWorkflowStep */ @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 AddWorkflowStep { public static final String SERIALIZED_NAME_STEP_ID = "stepId"; @SerializedName(SERIALIZED_NAME_STEP_ID) @@ -242,7 +240,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddWorkflowStep.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 AddWorkflowStep is not found in the empty JSON string", AddWorkflowStep.openapiRequiredFields.toString())); } @@ -252,7 +250,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 (!AddWorkflowStep.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 `AddWorkflowStep` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -260,7 +258,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("stepId") != null && !jsonObj.get("stepId").isJsonNull()) && !jsonObj.get("stepId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `stepId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("stepId").toString())); } @@ -277,7 +275,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydecisions != null) { // ensure the json data is an array if (!jsonObj.get("decisions").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `decisions` to be an array in the JSON string but got `%s`", jsonObj.get("decisions").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddWorkflowStepDecision.java b/src/main/java/com/formkiq/client/model/AddWorkflowStepDecision.java index ad515ae4c..cdde2187b 100644 --- a/src/main/java/com/formkiq/client/model/AddWorkflowStepDecision.java +++ b/src/main/java/com/formkiq/client/model/AddWorkflowStepDecision.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.WorkflowStepDecisionType; 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 @@ * AddWorkflowStepDecision */ @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 AddWorkflowStepDecision { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -175,7 +173,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddWorkflowStepDecision.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 AddWorkflowStepDecision is not found in the empty JSON string", AddWorkflowStepDecision.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 (!AddWorkflowStepDecision.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 `AddWorkflowStepDecision` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -194,7 +192,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 : AddWorkflowStepDecision.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())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the required field `type` WorkflowStepDecisionType.validateJsonElement(jsonObj.get("type")); if (!jsonObj.get("nextStepId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `nextStepId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nextStepId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddWorkflowStepQueue.java b/src/main/java/com/formkiq/client/model/AddWorkflowStepQueue.java index 86ac5cc92..bfbdf38fc 100644 --- a/src/main/java/com/formkiq/client/model/AddWorkflowStepQueue.java +++ b/src/main/java/com/formkiq/client/model/AddWorkflowStepQueue.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 @@ * AddWorkflowStepQueue */ @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 AddWorkflowStepQueue { public static final String SERIALIZED_NAME_QUEUE_ID = "queueId"; @SerializedName(SERIALIZED_NAME_QUEUE_ID) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddWorkflowStepQueue.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 AddWorkflowStepQueue is not found in the empty JSON string", AddWorkflowStepQueue.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!AddWorkflowStepQueue.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 `AddWorkflowStepQueue` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -204,21 +202,21 @@ 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 : AddWorkflowStepQueue.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("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())); } // ensure the optional json data is an array if present if (jsonObj.get("approvalGroups") != null && !jsonObj.get("approvalGroups").isJsonNull() && !jsonObj.get("approvalGroups").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `approvalGroups` to be an array in the JSON string but got `%s`", jsonObj.get("approvalGroups").toString())); } diff --git a/src/main/java/com/formkiq/client/model/ApiKey.java b/src/main/java/com/formkiq/client/model/ApiKey.java index 329b145ff..75cf42c44 100644 --- a/src/main/java/com/formkiq/client/model/ApiKey.java +++ b/src/main/java/com/formkiq/client/model/ApiKey.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 @@ * ApiKey */ @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 ApiKey { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -326,7 +324,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ApiKey.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 ApiKey is not found in the empty JSON string", ApiKey.openapiRequiredFields.toString())); } @@ -336,7 +334,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 (!ApiKey.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 `ApiKey` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -344,45 +342,45 @@ 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())); } 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())); } 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("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("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())); } // 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())); } // 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())); } diff --git a/src/main/java/com/formkiq/client/model/ApiKeyPermission.java b/src/main/java/com/formkiq/client/model/ApiKeyPermission.java index 8df035999..a166936f0 100644 --- a/src/main/java/com/formkiq/client/model/ApiKeyPermission.java +++ b/src/main/java/com/formkiq/client/model/ApiKeyPermission.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/Attribute.java b/src/main/java/com/formkiq/client/model/Attribute.java index 267f70cb7..e2c9d755a 100644 --- a/src/main/java/com/formkiq/client/model/Attribute.java +++ b/src/main/java/com/formkiq/client/model/Attribute.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 @@ * 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 Attribute { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -230,7 +228,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!Attribute.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 Attribute is not found in the empty JSON string", Attribute.openapiRequiredFields.toString())); } @@ -240,7 +238,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 (!Attribute.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 `Attribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -252,7 +250,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !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/AttributeDataType.java b/src/main/java/com/formkiq/client/model/AttributeDataType.java index e7c6499e2..ae3023eb8 100644 --- a/src/main/java/com/formkiq/client/model/AttributeDataType.java +++ b/src/main/java/com/formkiq/client/model/AttributeDataType.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/AttributeSchemaCompositeKey.java b/src/main/java/com/formkiq/client/model/AttributeSchemaCompositeKey.java index 7ed295ddc..8195cb89c 100644 --- a/src/main/java/com/formkiq/client/model/AttributeSchemaCompositeKey.java +++ b/src/main/java/com/formkiq/client/model/AttributeSchemaCompositeKey.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 @@ * AttributeSchemaCompositeKey */ @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 AttributeSchemaCompositeKey { public static final String SERIALIZED_NAME_ATTRIBUTE_KEYS = "attributeKeys"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_KEYS) @@ -158,7 +156,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AttributeSchemaCompositeKey.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 AttributeSchemaCompositeKey is not found in the empty JSON string", AttributeSchemaCompositeKey.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 (!AttributeSchemaCompositeKey.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 `AttributeSchemaCompositeKey` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -177,7 +175,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("attributeKeys") != null && !jsonObj.get("attributeKeys").isJsonNull() && !jsonObj.get("attributeKeys").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `attributeKeys` to be an array in the JSON string but got `%s`", jsonObj.get("attributeKeys").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AttributeSchemaOptional.java b/src/main/java/com/formkiq/client/model/AttributeSchemaOptional.java index ffa3853a6..29dc84ef2 100644 --- a/src/main/java/com/formkiq/client/model/AttributeSchemaOptional.java +++ b/src/main/java/com/formkiq/client/model/AttributeSchemaOptional.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; @@ -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 @@ * AttributeSchemaOptional */ @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 AttributeSchemaOptional { public static final String SERIALIZED_NAME_MIN_NUMBER_OF_VALUES = "minNumberOfValues"; @SerializedName(SERIALIZED_NAME_MIN_NUMBER_OF_VALUES) @@ -285,7 +283,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AttributeSchemaOptional.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 AttributeSchemaOptional is not found in the empty JSON string", AttributeSchemaOptional.openapiRequiredFields.toString())); } @@ -295,7 +293,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 (!AttributeSchemaOptional.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 `AttributeSchemaOptional` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -303,14 +301,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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/AttributeSchemaRequired.java b/src/main/java/com/formkiq/client/model/AttributeSchemaRequired.java index d1e30305b..9b2746234 100644 --- a/src/main/java/com/formkiq/client/model/AttributeSchemaRequired.java +++ b/src/main/java/com/formkiq/client/model/AttributeSchemaRequired.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; @@ -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 @@ * AttributeSchemaRequired */ @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 AttributeSchemaRequired { public static final String SERIALIZED_NAME_ATTRIBUTE_KEY = "attributeKey"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_KEY) @@ -349,7 +347,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AttributeSchemaRequired.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 AttributeSchemaRequired is not found in the empty JSON string", AttributeSchemaRequired.openapiRequiredFields.toString())); } @@ -359,7 +357,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 (!AttributeSchemaRequired.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 `AttributeSchemaRequired` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -367,27 +365,27 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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/AttributeType.java b/src/main/java/com/formkiq/client/model/AttributeType.java index 91375aa89..c6d48d37c 100644 --- a/src/main/java/com/formkiq/client/model/AttributeType.java +++ b/src/main/java/com/formkiq/client/model/AttributeType.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/AttributeValueType.java b/src/main/java/com/formkiq/client/model/AttributeValueType.java index d162bba12..e423dbfcd 100644 --- a/src/main/java/com/formkiq/client/model/AttributeValueType.java +++ b/src/main/java/com/formkiq/client/model/AttributeValueType.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/CaseStatus.java b/src/main/java/com/formkiq/client/model/CaseStatus.java index 41b0c6b11..0161376bd 100644 --- a/src/main/java/com/formkiq/client/model/CaseStatus.java +++ b/src/main/java/com/formkiq/client/model/CaseStatus.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/ChecksumType.java b/src/main/java/com/formkiq/client/model/ChecksumType.java index 242a5eb09..edbe46b4e 100644 --- a/src/main/java/com/formkiq/client/model/ChecksumType.java +++ b/src/main/java/com/formkiq/client/model/ChecksumType.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/ChildDocument.java b/src/main/java/com/formkiq/client/model/ChildDocument.java index 42230c1c3..4b74b28fa 100644 --- a/src/main/java/com/formkiq/client/model/ChildDocument.java +++ b/src/main/java/com/formkiq/client/model/ChildDocument.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 @@ * ChildDocument */ @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 ChildDocument { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -475,7 +473,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!ChildDocument.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 ChildDocument is not found in the empty JSON string", ChildDocument.openapiRequiredFields.toString())); } @@ -485,7 +483,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 (!ChildDocument.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 `ChildDocument` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -494,7 +492,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 : ChildDocument.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())); } @@ -502,73 +500,73 @@ 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("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("lastModifiedDate") != null && !jsonObj.get("lastModifiedDate").isJsonNull()) && !jsonObj.get("lastModifiedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `lastModifiedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastModifiedDate").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())); } 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())); } 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("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("versionId") != null && !jsonObj.get("versionId").isJsonNull()) && !jsonObj.get("versionId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `versionId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("versionId").toString())); } if ((jsonObj.get("belongsToDocumentId") != null && !jsonObj.get("belongsToDocumentId").isJsonNull()) && !jsonObj.get("belongsToDocumentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `belongsToDocumentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("belongsToDocumentId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/Classification.java b/src/main/java/com/formkiq/client/model/Classification.java index 33e03e157..c779d2e4f 100644 --- a/src/main/java/com/formkiq/client/model/Classification.java +++ b/src/main/java/com/formkiq/client/model/Classification.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.SchemaAttributes; 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 @@ * 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 Classification { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -230,7 +228,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!Classification.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 Classification is not found in the empty JSON string", Classification.openapiRequiredFields.toString())); } @@ -240,7 +238,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 (!Classification.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 `Classification` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -248,19 +246,19 @@ 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())); } 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("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())); } diff --git a/src/main/java/com/formkiq/client/model/ClassificationSummary.java b/src/main/java/com/formkiq/client/model/ClassificationSummary.java index c9d9b5eda..b47c7cc34 100644 --- a/src/main/java/com/formkiq/client/model/ClassificationSummary.java +++ b/src/main/java/com/formkiq/client/model/ClassificationSummary.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 @@ * ClassificationSummary */ @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 ClassificationSummary { public static final String SERIALIZED_NAME_CLASSIFICATION_ID = "classificationId"; @SerializedName(SERIALIZED_NAME_CLASSIFICATION_ID) @@ -230,7 +228,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!ClassificationSummary.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 ClassificationSummary is not found in the empty JSON string", ClassificationSummary.openapiRequiredFields.toString())); } @@ -240,7 +238,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 (!ClassificationSummary.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 `ClassificationSummary` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -248,25 +246,25 @@ 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())); } 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())); } 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("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())); } diff --git a/src/main/java/com/formkiq/client/model/DataClassification.java b/src/main/java/com/formkiq/client/model/DataClassification.java index b64c79e0b..33d197dc7 100644 --- a/src/main/java/com/formkiq/client/model/DataClassification.java +++ b/src/main/java/com/formkiq/client/model/DataClassification.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DataClassificationAttribute; 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 @@ * DataClassification */ @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 DataClassification { public static final String SERIALIZED_NAME_LLM_PROMPT_ENTITY_NAME = "llmPromptEntityName"; @SerializedName(SERIALIZED_NAME_LLM_PROMPT_ENTITY_NAME) @@ -271,7 +269,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DataClassification.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 DataClassification is not found in the empty JSON string", DataClassification.openapiRequiredFields.toString())); } @@ -281,7 +279,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 (!DataClassification.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 `DataClassification` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -290,25 +288,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti 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("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("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())); } 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())); } @@ -317,7 +315,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/DataClassificationAttribute.java b/src/main/java/com/formkiq/client/model/DataClassificationAttribute.java index 6525d64d2..2316273b3 100644 --- a/src/main/java/com/formkiq/client/model/DataClassificationAttribute.java +++ b/src/main/java/com/formkiq/client/model/DataClassificationAttribute.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 @@ * DataClassificationAttribute */ @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 DataClassificationAttribute { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -174,7 +172,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DataClassificationAttribute.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 DataClassificationAttribute is not found in the empty JSON string", DataClassificationAttribute.openapiRequiredFields.toString())); } @@ -184,7 +182,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 (!DataClassificationAttribute.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 `DataClassificationAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +190,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !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())); } diff --git a/src/main/java/com/formkiq/client/model/DeleteApiKeyResponse.java b/src/main/java/com/formkiq/client/model/DeleteApiKeyResponse.java index f0b452273..6d0463405 100644 --- a/src/main/java/com/formkiq/client/model/DeleteApiKeyResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteApiKeyResponse.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 @@ * DeleteApiKeyResponse */ @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 DeleteApiKeyResponse { 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 (!DeleteApiKeyResponse.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 DeleteApiKeyResponse is not found in the empty JSON string", DeleteApiKeyResponse.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 (!DeleteApiKeyResponse.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 `DeleteApiKeyResponse` 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/DeleteCaseDocumentResponse.java b/src/main/java/com/formkiq/client/model/DeleteCaseDocumentResponse.java index f0d31b3da..518df325c 100644 --- a/src/main/java/com/formkiq/client/model/DeleteCaseDocumentResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteCaseDocumentResponse.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 @@ * DeleteCaseDocumentResponse */ @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 DeleteCaseDocumentResponse { 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 (!DeleteCaseDocumentResponse.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 DeleteCaseDocumentResponse is not found in the empty JSON string", DeleteCaseDocumentResponse.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 (!DeleteCaseDocumentResponse.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 `DeleteCaseDocumentResponse` 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/DeleteCaseNigoDocumentResponse.java b/src/main/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponse.java index e0eeb5520..b07aa52c8 100644 --- a/src/main/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponse.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 @@ * DeleteCaseNigoDocumentResponse */ @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 DeleteCaseNigoDocumentResponse { 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 (!DeleteCaseNigoDocumentResponse.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 DeleteCaseNigoDocumentResponse is not found in the empty JSON string", DeleteCaseNigoDocumentResponse.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 (!DeleteCaseNigoDocumentResponse.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 `DeleteCaseNigoDocumentResponse` 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/DeleteCaseNigoResponse.java b/src/main/java/com/formkiq/client/model/DeleteCaseNigoResponse.java index 00d8c4069..4a4cdda6d 100644 --- a/src/main/java/com/formkiq/client/model/DeleteCaseNigoResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteCaseNigoResponse.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 @@ * DeleteCaseNigoResponse */ @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 DeleteCaseNigoResponse { 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 (!DeleteCaseNigoResponse.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 DeleteCaseNigoResponse is not found in the empty JSON string", DeleteCaseNigoResponse.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 (!DeleteCaseNigoResponse.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 `DeleteCaseNigoResponse` 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/DeleteCaseResponse.java b/src/main/java/com/formkiq/client/model/DeleteCaseResponse.java index 6e2ff0973..9b64f1d29 100644 --- a/src/main/java/com/formkiq/client/model/DeleteCaseResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteCaseResponse.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 @@ * DeleteCaseResponse */ @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 DeleteCaseResponse { 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 (!DeleteCaseResponse.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 DeleteCaseResponse is not found in the empty JSON string", DeleteCaseResponse.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 (!DeleteCaseResponse.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 `DeleteCaseResponse` 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/DeleteCaseTaskDocumentResponse.java b/src/main/java/com/formkiq/client/model/DeleteCaseTaskDocumentResponse.java index b80cfb7e4..fd6b61852 100644 --- a/src/main/java/com/formkiq/client/model/DeleteCaseTaskDocumentResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteCaseTaskDocumentResponse.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 @@ * DeleteCaseTaskDocumentResponse */ @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 DeleteCaseTaskDocumentResponse { 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 (!DeleteCaseTaskDocumentResponse.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 DeleteCaseTaskDocumentResponse is not found in the empty JSON string", DeleteCaseTaskDocumentResponse.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 (!DeleteCaseTaskDocumentResponse.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 `DeleteCaseTaskDocumentResponse` 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/DeleteCaseTaskResponse.java b/src/main/java/com/formkiq/client/model/DeleteCaseTaskResponse.java index 6362f76c2..ed8e8bdd0 100644 --- a/src/main/java/com/formkiq/client/model/DeleteCaseTaskResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteCaseTaskResponse.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 @@ * DeleteCaseTaskResponse */ @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 DeleteCaseTaskResponse { 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 (!DeleteCaseTaskResponse.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 DeleteCaseTaskResponse is not found in the empty JSON string", DeleteCaseTaskResponse.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 (!DeleteCaseTaskResponse.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 `DeleteCaseTaskResponse` 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/DeleteFolderResponse.java b/src/main/java/com/formkiq/client/model/DeleteFolderResponse.java index a488a8aa6..4645f44f3 100644 --- a/src/main/java/com/formkiq/client/model/DeleteFolderResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteFolderResponse.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 @@ * DeleteFolderResponse */ @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 DeleteFolderResponse { 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 (!DeleteFolderResponse.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 DeleteFolderResponse is not found in the empty JSON string", DeleteFolderResponse.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 (!DeleteFolderResponse.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 `DeleteFolderResponse` 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/DeleteFulltextResponse.java b/src/main/java/com/formkiq/client/model/DeleteFulltextResponse.java index 1be327e13..22f75d712 100644 --- a/src/main/java/com/formkiq/client/model/DeleteFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteFulltextResponse.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 @@ * DeleteFulltextResponse */ @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 DeleteFulltextResponse { 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 (!DeleteFulltextResponse.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 DeleteFulltextResponse is not found in the empty JSON string", DeleteFulltextResponse.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 (!DeleteFulltextResponse.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 `DeleteFulltextResponse` 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/DeleteIndicesResponse.java b/src/main/java/com/formkiq/client/model/DeleteIndicesResponse.java index 74ba5c2e9..0283b364f 100644 --- a/src/main/java/com/formkiq/client/model/DeleteIndicesResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteIndicesResponse.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 @@ * DeleteIndicesResponse */ @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 DeleteIndicesResponse { 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 (!DeleteIndicesResponse.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 DeleteIndicesResponse is not found in the empty JSON string", DeleteIndicesResponse.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 (!DeleteIndicesResponse.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 `DeleteIndicesResponse` 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/DeleteQueueResponse.java b/src/main/java/com/formkiq/client/model/DeleteQueueResponse.java index 03221ffc5..711c117b9 100644 --- a/src/main/java/com/formkiq/client/model/DeleteQueueResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteQueueResponse.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 @@ * DeleteQueueResponse */ @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 DeleteQueueResponse { 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 (!DeleteQueueResponse.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 DeleteQueueResponse is not found in the empty JSON string", DeleteQueueResponse.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 (!DeleteQueueResponse.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 `DeleteQueueResponse` 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/DeleteResponse.java b/src/main/java/com/formkiq/client/model/DeleteResponse.java index 7295606f9..f1db98fd5 100644 --- a/src/main/java/com/formkiq/client/model/DeleteResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteResponse.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 @@ * DeleteResponse */ @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 DeleteResponse { 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 (!DeleteResponse.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 DeleteResponse is not found in the empty JSON string", DeleteResponse.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 (!DeleteResponse.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 `DeleteResponse` 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/DeleteRuleResponse.java b/src/main/java/com/formkiq/client/model/DeleteRuleResponse.java index ce529535e..aa06a7b06 100644 --- a/src/main/java/com/formkiq/client/model/DeleteRuleResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteRuleResponse.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 @@ * DeleteRuleResponse */ @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 DeleteRuleResponse { 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 (!DeleteRuleResponse.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 DeleteRuleResponse is not found in the empty JSON string", DeleteRuleResponse.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 (!DeleteRuleResponse.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 `DeleteRuleResponse` 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/DeleteRulesetResponse.java b/src/main/java/com/formkiq/client/model/DeleteRulesetResponse.java index 607ea8e88..06e9ded0d 100644 --- a/src/main/java/com/formkiq/client/model/DeleteRulesetResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteRulesetResponse.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 @@ * DeleteRulesetResponse */ @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 DeleteRulesetResponse { 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 (!DeleteRulesetResponse.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 DeleteRulesetResponse is not found in the empty JSON string", DeleteRulesetResponse.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 (!DeleteRulesetResponse.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 `DeleteRulesetResponse` 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/DeleteShareResponse.java b/src/main/java/com/formkiq/client/model/DeleteShareResponse.java index 41ab45c04..a2c607acc 100644 --- a/src/main/java/com/formkiq/client/model/DeleteShareResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteShareResponse.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 @@ * DeleteShareResponse */ @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 DeleteShareResponse { 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 (!DeleteShareResponse.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 DeleteShareResponse is not found in the empty JSON string", DeleteShareResponse.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 (!DeleteShareResponse.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 `DeleteShareResponse` 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/DeleteWorkflowResponse.java b/src/main/java/com/formkiq/client/model/DeleteWorkflowResponse.java index c99a5841b..d1988cd2d 100644 --- a/src/main/java/com/formkiq/client/model/DeleteWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteWorkflowResponse.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 @@ * DeleteWorkflowResponse */ @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 DeleteWorkflowResponse { 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 (!DeleteWorkflowResponse.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 DeleteWorkflowResponse is not found in the empty JSON string", DeleteWorkflowResponse.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 (!DeleteWorkflowResponse.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 `DeleteWorkflowResponse` 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/Document.java b/src/main/java/com/formkiq/client/model/Document.java index 8b4e7521f..958306ae5 100644 --- a/src/main/java/com/formkiq/client/model/Document.java +++ b/src/main/java/com/formkiq/client/model/Document.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.ChecksumType; import com.formkiq.client.model.DocumentMetadata; import com.google.gson.TypeAdapter; @@ -54,7 +53,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +60,8 @@ * Document */ @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 Document { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -623,7 +621,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!Document.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 Document is not found in the empty JSON string", Document.openapiRequiredFields.toString())); } @@ -633,7 +631,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 (!Document.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 `Document` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -641,49 +639,49 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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("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("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("lastModifiedDate") != null && !jsonObj.get("lastModifiedDate").isJsonNull()) && !jsonObj.get("lastModifiedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `lastModifiedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastModifiedDate").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())); } @@ -693,44 +691,44 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } 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("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("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("version") != null && !jsonObj.get("version").isJsonNull()) && !jsonObj.get("version").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `version` to be a primitive type in the JSON string but got `%s`", jsonObj.get("version").toString())); } if ((jsonObj.get("versionKey") != null && !jsonObj.get("versionKey").isJsonNull()) && !jsonObj.get("versionKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `versionKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("versionKey").toString())); } if ((jsonObj.get("s3version") != null && !jsonObj.get("s3version").isJsonNull()) && !jsonObj.get("s3version").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `s3version` to be a primitive type in the JSON string but got `%s`", jsonObj.get("s3version").toString())); } if ((jsonObj.get("belongsToDocumentId") != null && !jsonObj.get("belongsToDocumentId").isJsonNull()) && !jsonObj.get("belongsToDocumentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `belongsToDocumentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("belongsToDocumentId").toString())); } @@ -739,7 +737,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/DocumentAction.java b/src/main/java/com/formkiq/client/model/DocumentAction.java index 9c2c482ff..9c6eae649 100644 --- a/src/main/java/com/formkiq/client/model/DocumentAction.java +++ b/src/main/java/com/formkiq/client/model/DocumentAction.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentActionStatus; import com.formkiq.client.model.DocumentActionType; 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 @@ * DocumentAction */ @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 DocumentAction { public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) @@ -522,7 +520,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentAction.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 DocumentAction is not found in the empty JSON string", DocumentAction.openapiRequiredFields.toString())); } @@ -532,7 +530,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 (!DocumentAction.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 `DocumentAction` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -548,49 +546,49 @@ 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())); } if ((jsonObj.get("workflowId") != null && !jsonObj.get("workflowId").isJsonNull()) && !jsonObj.get("workflowId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + 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("workflowStepId") != null && !jsonObj.get("workflowStepId").isJsonNull()) && !jsonObj.get("workflowStepId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `workflowStepId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("workflowStepId").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())); } 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("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("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("completedDate") != null && !jsonObj.get("completedDate").isJsonNull()) && !jsonObj.get("completedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `completedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("completedDate").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentActionStatus.java b/src/main/java/com/formkiq/client/model/DocumentActionStatus.java index 774b1ed49..58fab472b 100644 --- a/src/main/java/com/formkiq/client/model/DocumentActionStatus.java +++ b/src/main/java/com/formkiq/client/model/DocumentActionStatus.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/DocumentActionType.java b/src/main/java/com/formkiq/client/model/DocumentActionType.java index 26785c47d..05baca9a5 100644 --- a/src/main/java/com/formkiq/client/model/DocumentActionType.java +++ b/src/main/java/com/formkiq/client/model/DocumentActionType.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; @@ -44,6 +42,8 @@ public enum DocumentActionType { FULLTEXT("FULLTEXT"), + CHECKSUM("CHECKSUM"), + NOTIFICATION("NOTIFICATION"), OCR("OCR"), @@ -64,6 +64,8 @@ public enum DocumentActionType { DATA_CLASSIFICATION("DATA_CLASSIFICATION"), + METADATA_EXTRACTION("METADATA_EXTRACTION"), + MALWARE_SCAN("MALWARE_SCAN"); private String value; diff --git a/src/main/java/com/formkiq/client/model/DocumentAttribute.java b/src/main/java/com/formkiq/client/model/DocumentAttribute.java index 56e815e96..635577acd 100644 --- a/src/main/java/com/formkiq/client/model/DocumentAttribute.java +++ b/src/main/java/com/formkiq/client/model/DocumentAttribute.java @@ -21,8 +21,8 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AttributeValueType; +import com.formkiq.client.model.Entity; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -54,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; @@ -62,8 +61,8 @@ * DocumentAttribute */ @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 DocumentAttribute { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -110,6 +109,11 @@ public class DocumentAttribute { @javax.annotation.Nullable private AttributeValueType valueType; + public static final String SERIALIZED_NAME_ENTITY = "entity"; + @SerializedName(SERIALIZED_NAME_ENTITY) + @javax.annotation.Nullable + private Entity entity; + public DocumentAttribute() {} public DocumentAttribute key(@javax.annotation.Nullable String key) { @@ -308,6 +312,26 @@ public void setValueType(@javax.annotation.Nullable AttributeValueType valueType } + public DocumentAttribute entity(@javax.annotation.Nullable Entity entity) { + this.entity = entity; + return this; + } + + /** + * Get entity + * + * @return entity + */ + @javax.annotation.Nullable + public Entity getEntity() { + return entity; + } + + public void setEntity(@javax.annotation.Nullable Entity entity) { + this.entity = entity; + } + + @Override public boolean equals(Object o) { @@ -326,13 +350,14 @@ public boolean equals(Object o) { && Objects.equals(this.booleanValue, documentAttribute.booleanValue) && Objects.equals(this.insertedDate, documentAttribute.insertedDate) && Objects.equals(this.userId, documentAttribute.userId) - && Objects.equals(this.valueType, documentAttribute.valueType); + && Objects.equals(this.valueType, documentAttribute.valueType) + && Objects.equals(this.entity, documentAttribute.entity); } @Override public int hashCode() { return Objects.hash(key, stringValue, stringValues, numberValue, numberValues, booleanValue, - insertedDate, userId, valueType); + insertedDate, userId, valueType, entity); } @Override @@ -348,6 +373,7 @@ public String toString() { sb.append(" insertedDate: ").append(toIndentedString(insertedDate)).append("\n"); sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); sb.append(" valueType: ").append(toIndentedString(valueType)).append("\n"); + sb.append(" entity: ").append(toIndentedString(entity)).append("\n"); sb.append("}"); return sb.toString(); } @@ -368,8 +394,9 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(Arrays.asList("key", "stringValue", "stringValues", - "numberValue", "numberValues", "booleanValue", "insertedDate", "userId", "valueType")); + openapiFields = + new HashSet(Arrays.asList("key", "stringValue", "stringValues", "numberValue", + "numberValues", "booleanValue", "insertedDate", "userId", "valueType", "entity")); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(0); @@ -385,7 +412,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentAttribute.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 DocumentAttribute is not found in the empty JSON string", DocumentAttribute.openapiRequiredFields.toString())); } @@ -395,7 +422,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 (!DocumentAttribute.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 `DocumentAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -403,39 +430,39 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !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())); } 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())); } @@ -443,6 +470,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonObj.get("valueType") != null && !jsonObj.get("valueType").isJsonNull()) { AttributeValueType.validateJsonElement(jsonObj.get("valueType")); } + // validate the optional field `entity` + if (jsonObj.get("entity") != null && !jsonObj.get("entity").isJsonNull()) { + Entity.validateJsonElement(jsonObj.get("entity")); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/com/formkiq/client/model/DocumentCertification.java b/src/main/java/com/formkiq/client/model/DocumentCertification.java new file mode 100644 index 000000000..d0e8dbc36 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/DocumentCertification.java @@ -0,0 +1,297 @@ +/* + * 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.DocumentCertificationAwsSecretsManager; +import com.formkiq.client.model.DocumentCertificationSourceType; +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; + +/** + * DocumentCertification + */ +@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 DocumentCertification { + public static final String SERIALIZED_NAME_ALIAS = "alias"; + @SerializedName(SERIALIZED_NAME_ALIAS) + @javax.annotation.Nonnull + private String alias; + + public static final String SERIALIZED_NAME_SOURCE_TYPE = "sourceType"; + @SerializedName(SERIALIZED_NAME_SOURCE_TYPE) + @javax.annotation.Nullable + private DocumentCertificationSourceType sourceType; + + public static final String SERIALIZED_NAME_AWS_SECRETS_MANAGER = "awsSecretsManager"; + @SerializedName(SERIALIZED_NAME_AWS_SECRETS_MANAGER) + @javax.annotation.Nullable + private DocumentCertificationAwsSecretsManager awsSecretsManager; + + public DocumentCertification() {} + + public DocumentCertification alias(@javax.annotation.Nonnull String alias) { + this.alias = alias; + return this; + } + + /** + * Certificate alias. + * + * @return alias + */ + @javax.annotation.Nonnull + public String getAlias() { + return alias; + } + + public void setAlias(@javax.annotation.Nonnull String alias) { + this.alias = alias; + } + + + public DocumentCertification sourceType( + @javax.annotation.Nullable DocumentCertificationSourceType sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Get sourceType + * + * @return sourceType + */ + @javax.annotation.Nullable + public DocumentCertificationSourceType getSourceType() { + return sourceType; + } + + public void setSourceType(@javax.annotation.Nullable DocumentCertificationSourceType sourceType) { + this.sourceType = sourceType; + } + + + public DocumentCertification awsSecretsManager( + @javax.annotation.Nullable DocumentCertificationAwsSecretsManager awsSecretsManager) { + this.awsSecretsManager = awsSecretsManager; + return this; + } + + /** + * Get awsSecretsManager + * + * @return awsSecretsManager + */ + @javax.annotation.Nullable + public DocumentCertificationAwsSecretsManager getAwsSecretsManager() { + return awsSecretsManager; + } + + public void setAwsSecretsManager( + @javax.annotation.Nullable DocumentCertificationAwsSecretsManager awsSecretsManager) { + this.awsSecretsManager = awsSecretsManager; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DocumentCertification documentCertification = (DocumentCertification) o; + return Objects.equals(this.alias, documentCertification.alias) + && Objects.equals(this.sourceType, documentCertification.sourceType) + && Objects.equals(this.awsSecretsManager, documentCertification.awsSecretsManager); + } + + @Override + public int hashCode() { + return Objects.hash(alias, sourceType, awsSecretsManager); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DocumentCertification {\n"); + sb.append(" alias: ").append(toIndentedString(alias)).append("\n"); + sb.append(" sourceType: ").append(toIndentedString(sourceType)).append("\n"); + sb.append(" awsSecretsManager: ").append(toIndentedString(awsSecretsManager)).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("alias", "sourceType", "awsSecretsManager")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(Arrays.asList("alias")); + } + + /** + * 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 DocumentCertification + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!DocumentCertification.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 DocumentCertification is not found in the empty JSON string", + DocumentCertification.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!DocumentCertification.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 `DocumentCertification` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : DocumentCertification.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(); + if (!jsonObj.get("alias").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, + "Expected the field `alias` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("alias").toString())); + } + // validate the optional field `sourceType` + if (jsonObj.get("sourceType") != null && !jsonObj.get("sourceType").isJsonNull()) { + DocumentCertificationSourceType.validateJsonElement(jsonObj.get("sourceType")); + } + // validate the optional field `awsSecretsManager` + if (jsonObj.get("awsSecretsManager") != null + && !jsonObj.get("awsSecretsManager").isJsonNull()) { + DocumentCertificationAwsSecretsManager.validateJsonElement(jsonObj.get("awsSecretsManager")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!DocumentCertification.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'DocumentCertification' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(DocumentCertification.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, DocumentCertification value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public DocumentCertification read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of DocumentCertification given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentCertification + * @throws IOException if the JSON string is invalid with respect to DocumentCertification + */ + public static DocumentCertification fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, DocumentCertification.class); + } + + /** + * Convert an instance of DocumentCertification 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/DocumentCertificationAwsSecretsManager.java b/src/main/java/com/formkiq/client/model/DocumentCertificationAwsSecretsManager.java new file mode 100644 index 000000000..f44ecb5e8 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/DocumentCertificationAwsSecretsManager.java @@ -0,0 +1,273 @@ +/* + * 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; + +/** + * DocumentCertificationAwsSecretsManager + */ +@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 DocumentCertificationAwsSecretsManager { + public static final String SERIALIZED_NAME_CERTIFICATE_ARN = "certificateArn"; + @SerializedName(SERIALIZED_NAME_CERTIFICATE_ARN) + @javax.annotation.Nonnull + private String certificateArn; + + public static final String SERIALIZED_NAME_PASSWORD_ARN = "passwordArn"; + @SerializedName(SERIALIZED_NAME_PASSWORD_ARN) + @javax.annotation.Nullable + private String passwordArn; + + public DocumentCertificationAwsSecretsManager() {} + + public DocumentCertificationAwsSecretsManager certificateArn( + @javax.annotation.Nonnull String certificateArn) { + this.certificateArn = certificateArn; + return this; + } + + /** + * AWS Secrets Manager - Certificate ARN + * + * @return certificateArn + */ + @javax.annotation.Nonnull + public String getCertificateArn() { + return certificateArn; + } + + public void setCertificateArn(@javax.annotation.Nonnull String certificateArn) { + this.certificateArn = certificateArn; + } + + + public DocumentCertificationAwsSecretsManager passwordArn( + @javax.annotation.Nullable String passwordArn) { + this.passwordArn = passwordArn; + return this; + } + + /** + * AWS Secrets Manager - Certificate password ARN + * + * @return passwordArn + */ + @javax.annotation.Nullable + public String getPasswordArn() { + return passwordArn; + } + + public void setPasswordArn(@javax.annotation.Nullable String passwordArn) { + this.passwordArn = passwordArn; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DocumentCertificationAwsSecretsManager documentCertificationAwsSecretsManager = + (DocumentCertificationAwsSecretsManager) o; + return Objects.equals(this.certificateArn, + documentCertificationAwsSecretsManager.certificateArn) + && Objects.equals(this.passwordArn, documentCertificationAwsSecretsManager.passwordArn); + } + + @Override + public int hashCode() { + return Objects.hash(certificateArn, passwordArn); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DocumentCertificationAwsSecretsManager {\n"); + sb.append(" certificateArn: ").append(toIndentedString(certificateArn)).append("\n"); + sb.append(" passwordArn: ").append(toIndentedString(passwordArn)).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("certificateArn", "passwordArn")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(Arrays.asList("certificateArn")); + } + + /** + * 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 + * DocumentCertificationAwsSecretsManager + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!DocumentCertificationAwsSecretsManager.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 DocumentCertificationAwsSecretsManager is not found in the empty JSON string", + DocumentCertificationAwsSecretsManager.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!DocumentCertificationAwsSecretsManager.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 `DocumentCertificationAwsSecretsManager` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : DocumentCertificationAwsSecretsManager.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(); + if (!jsonObj.get("certificateArn").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, + "Expected the field `certificateArn` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("certificateArn").toString())); + } + if ((jsonObj.get("passwordArn") != null && !jsonObj.get("passwordArn").isJsonNull()) + && !jsonObj.get("passwordArn").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, + "Expected the field `passwordArn` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("passwordArn").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!DocumentCertificationAwsSecretsManager.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'DocumentCertificationAwsSecretsManager' and its + // subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = gson + .getDelegateAdapter(this, TypeToken.get(DocumentCertificationAwsSecretsManager.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, DocumentCertificationAwsSecretsManager value) + throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public DocumentCertificationAwsSecretsManager read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of DocumentCertificationAwsSecretsManager given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentCertificationAwsSecretsManager + * @throws IOException if the JSON string is invalid with respect to + * DocumentCertificationAwsSecretsManager + */ + public static DocumentCertificationAwsSecretsManager fromJson(String jsonString) + throws IOException { + return JSON.getGson().fromJson(jsonString, DocumentCertificationAwsSecretsManager.class); + } + + /** + * Convert an instance of DocumentCertificationAwsSecretsManager 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/DocumentCertificationSourceType.java b/src/main/java/com/formkiq/client/model/DocumentCertificationSourceType.java new file mode 100644 index 000000000..a507b2597 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/DocumentCertificationSourceType.java @@ -0,0 +1,84 @@ +/* + * 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.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.JsonElement; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Document Certification Source Type + */ +@JsonAdapter(DocumentCertificationSourceType.Adapter.class) +public enum DocumentCertificationSourceType { + + AWS_SECRETS_MANAGER("AWS_SECRETS_MANAGER"); + + private String value; + + DocumentCertificationSourceType(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static DocumentCertificationSourceType fromValue(String value) { + for (DocumentCertificationSourceType b : DocumentCertificationSourceType.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, + final DocumentCertificationSourceType enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public DocumentCertificationSourceType read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return DocumentCertificationSourceType.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + DocumentCertificationSourceType.fromValue(value); + } +} + diff --git a/src/main/java/com/formkiq/client/model/DocumentCertificationTarget.java b/src/main/java/com/formkiq/client/model/DocumentCertificationTarget.java new file mode 100644 index 000000000..79034ea6b --- /dev/null +++ b/src/main/java/com/formkiq/client/model/DocumentCertificationTarget.java @@ -0,0 +1,84 @@ +/* + * 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.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.JsonElement; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Target for Document Certification + */ +@JsonAdapter(DocumentCertificationTarget.Adapter.class) +public enum DocumentCertificationTarget { + + DOWNLOAD("DOWNLOAD"); + + private String value; + + DocumentCertificationTarget(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static DocumentCertificationTarget fromValue(String value) { + for (DocumentCertificationTarget b : DocumentCertificationTarget.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final DocumentCertificationTarget enumeration) + throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public DocumentCertificationTarget read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return DocumentCertificationTarget.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + DocumentCertificationTarget.fromValue(value); + } +} + diff --git a/src/main/java/com/formkiq/client/model/DocumentConfig.java b/src/main/java/com/formkiq/client/model/DocumentConfig.java index 209897b50..0b8ed30bc 100644 --- a/src/main/java/com/formkiq/client/model/DocumentConfig.java +++ b/src/main/java/com/formkiq/client/model/DocumentConfig.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentConfigContentTypes; 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 @@ * DocumentConfig */ @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 DocumentConfig { public static final String SERIALIZED_NAME_CONTENT_TYPES = "contentTypes"; @SerializedName(SERIALIZED_NAME_CONTENT_TYPES) @@ -149,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentConfig.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 DocumentConfig is not found in the empty JSON string", DocumentConfig.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 (!DocumentConfig.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 `DocumentConfig` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentConfigContentTypes.java b/src/main/java/com/formkiq/client/model/DocumentConfigContentTypes.java index 1644e2651..ac28834e4 100644 --- a/src/main/java/com/formkiq/client/model/DocumentConfigContentTypes.java +++ b/src/main/java/com/formkiq/client/model/DocumentConfigContentTypes.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 @@ * DocumentConfigContentTypes */ @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 DocumentConfigContentTypes { public static final String SERIALIZED_NAME_ALLOWLIST = "allowlist"; @SerializedName(SERIALIZED_NAME_ALLOWLIST) @@ -192,7 +190,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentConfigContentTypes.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 DocumentConfigContentTypes is not found in the empty JSON string", DocumentConfigContentTypes.openapiRequiredFields.toString())); } @@ -202,7 +200,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 (!DocumentConfigContentTypes.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 `DocumentConfigContentTypes` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -211,14 +209,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("allowlist") != null && !jsonObj.get("allowlist").isJsonNull() && !jsonObj.get("allowlist").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `allowlist` to be an array in the JSON string but got `%s`", jsonObj.get("allowlist").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("denylist") != null && !jsonObj.get("denylist").isJsonNull() && !jsonObj.get("denylist").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `denylist` to be an array in the JSON string but got `%s`", jsonObj.get("denylist").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentFulltextAttribute.java b/src/main/java/com/formkiq/client/model/DocumentFulltextAttribute.java index 5d786a473..fe8d9c7ca 100644 --- a/src/main/java/com/formkiq/client/model/DocumentFulltextAttribute.java +++ b/src/main/java/com/formkiq/client/model/DocumentFulltextAttribute.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentFulltextAttributeEq; 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 @@ * DocumentFulltextAttribute */ @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 DocumentFulltextAttribute { public static final String SERIALIZED_NAME_EQ = "eq"; @SerializedName(SERIALIZED_NAME_EQ) @@ -213,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentFulltextAttribute.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 DocumentFulltextAttribute is not found in the empty JSON string", DocumentFulltextAttribute.openapiRequiredFields.toString())); } @@ -223,7 +221,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 (!DocumentFulltextAttribute.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 `DocumentFulltextAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -232,7 +230,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 : DocumentFulltextAttribute.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())); } @@ -247,7 +245,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayeqOr != null) { // ensure the json data is an array if (!jsonObj.get("eqOr").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `eqOr` to be an array in the JSON string but got `%s`", jsonObj.get("eqOr").toString())); } @@ -259,7 +257,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } 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/DocumentFulltextAttributeEq.java b/src/main/java/com/formkiq/client/model/DocumentFulltextAttributeEq.java index 19ad29d6a..1d1c294d4 100644 --- a/src/main/java/com/formkiq/client/model/DocumentFulltextAttributeEq.java +++ b/src/main/java/com/formkiq/client/model/DocumentFulltextAttributeEq.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; @@ -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 @@ * DocumentFulltextAttributeEq */ @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 DocumentFulltextAttributeEq { public static final String SERIALIZED_NAME_STRING_VALUE = "stringValue"; @SerializedName(SERIALIZED_NAME_STRING_VALUE) @@ -204,7 +202,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentFulltextAttributeEq.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 DocumentFulltextAttributeEq is not found in the empty JSON string", DocumentFulltextAttributeEq.openapiRequiredFields.toString())); } @@ -214,7 +212,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 (!DocumentFulltextAttributeEq.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 `DocumentFulltextAttributeEq` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -222,7 +220,7 @@ 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())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentFulltextRequest.java b/src/main/java/com/formkiq/client/model/DocumentFulltextRequest.java index 54fdc57a2..c4f5049f1 100644 --- a/src/main/java/com/formkiq/client/model/DocumentFulltextRequest.java +++ b/src/main/java/com/formkiq/client/model/DocumentFulltextRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentFulltextSearch; import com.formkiq.client.model.SearchResponseFields; 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 @@ * Document full text search */ @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 DocumentFulltextRequest { public static final String SERIALIZED_NAME_QUERY = "query"; @SerializedName(SERIALIZED_NAME_QUERY) @@ -177,7 +175,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentFulltextRequest.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 DocumentFulltextRequest is not found in the empty JSON string", DocumentFulltextRequest.openapiRequiredFields.toString())); } @@ -187,7 +185,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 (!DocumentFulltextRequest.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 `DocumentFulltextRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -196,7 +194,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 : DocumentFulltextRequest.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/DocumentFulltextResponse.java b/src/main/java/com/formkiq/client/model/DocumentFulltextResponse.java index af46269e5..7a95d5533 100644 --- a/src/main/java/com/formkiq/client/model/DocumentFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/DocumentFulltextResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.FulltextSearchItem; 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 @@ * DocumentFulltextResponse */ @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 DocumentFulltextResponse { public static final String SERIALIZED_NAME_TOTAL_COUNT = "totalCount"; @SerializedName(SERIALIZED_NAME_TOTAL_COUNT) @@ -188,7 +186,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentFulltextResponse.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 DocumentFulltextResponse is not found in the empty JSON string", DocumentFulltextResponse.openapiRequiredFields.toString())); } @@ -198,7 +196,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 (!DocumentFulltextResponse.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 `DocumentFulltextResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -209,7 +207,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/DocumentFulltextSearch.java b/src/main/java/com/formkiq/client/model/DocumentFulltextSearch.java index 3891d77d6..1b9023308 100644 --- a/src/main/java/com/formkiq/client/model/DocumentFulltextSearch.java +++ b/src/main/java/com/formkiq/client/model/DocumentFulltextSearch.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentFulltextAttribute; import com.formkiq.client.model.DocumentFulltextTag; import com.google.gson.TypeAdapter; @@ -54,7 +53,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +60,8 @@ * Document full text search criteria */ @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 DocumentFulltextSearch { public static final String SERIALIZED_NAME_PAGE = "page"; @SerializedName(SERIALIZED_NAME_PAGE) @@ -249,7 +247,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentFulltextSearch.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 DocumentFulltextSearch is not found in the empty JSON string", DocumentFulltextSearch.openapiRequiredFields.toString())); } @@ -259,7 +257,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 (!DocumentFulltextSearch.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 `DocumentFulltextSearch` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -267,7 +265,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("text") != null && !jsonObj.get("text").isJsonNull()) && !jsonObj.get("text").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("text").toString())); } @@ -276,7 +274,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())); } @@ -292,7 +290,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/DocumentFulltextTag.java b/src/main/java/com/formkiq/client/model/DocumentFulltextTag.java index 9511d2d06..825c2319b 100644 --- a/src/main/java/com/formkiq/client/model/DocumentFulltextTag.java +++ b/src/main/java/com/formkiq/client/model/DocumentFulltextTag.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 @@ * DocumentFulltextTag */ @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 DocumentFulltextTag { public static final String SERIALIZED_NAME_EQ = "eq"; @SerializedName(SERIALIZED_NAME_EQ) @@ -211,7 +209,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentFulltextTag.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 DocumentFulltextTag is not found in the empty JSON string", DocumentFulltextTag.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 (!DocumentFulltextTag.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 `DocumentFulltextTag` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -230,7 +228,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 : DocumentFulltextTag.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())); } @@ -238,19 +236,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("eq") != null && !jsonObj.get("eq").isJsonNull()) && !jsonObj.get("eq").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `eq` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eq").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("eqOr") != null && !jsonObj.get("eqOr").isJsonNull() && !jsonObj.get("eqOr").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `eqOr` to be an array in the JSON string but got `%s`", jsonObj.get("eqOr").toString())); } 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/DocumentGenerateDataSource.java b/src/main/java/com/formkiq/client/model/DocumentGenerateDataSource.java index 549add6c7..3e19d7280 100644 --- a/src/main/java/com/formkiq/client/model/DocumentGenerateDataSource.java +++ b/src/main/java/com/formkiq/client/model/DocumentGenerateDataSource.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 @@ * DocumentGenerateDataSource */ @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 DocumentGenerateDataSource { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -201,7 +199,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentGenerateDataSource.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 DocumentGenerateDataSource is not found in the empty JSON string", DocumentGenerateDataSource.openapiRequiredFields.toString())); } @@ -211,7 +209,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 (!DocumentGenerateDataSource.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 `DocumentGenerateDataSource` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -220,7 +218,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 : DocumentGenerateDataSource.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())); } @@ -228,18 +226,18 @@ 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())); } 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())); } if ((jsonObj.get("dataRoot") != null && !jsonObj.get("dataRoot").isJsonNull()) && !jsonObj.get("dataRoot").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `dataRoot` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dataRoot").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocument.java b/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocument.java index 1d8400b69..1804c0840 100644 --- a/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocument.java +++ b/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocument.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentGenerateInsertDocumentPosition; 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 @@ * DocumentGenerateInsertDocument */ @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 DocumentGenerateInsertDocument { public static final String SERIALIZED_NAME_POSITION = "position"; @SerializedName(SERIALIZED_NAME_POSITION) @@ -180,7 +178,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!DocumentGenerateInsertDocument.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 DocumentGenerateInsertDocument is not found in the empty JSON string", DocumentGenerateInsertDocument.openapiRequiredFields.toString())); } @@ -190,7 +188,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 (!DocumentGenerateInsertDocument.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 `DocumentGenerateInsertDocument` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -199,7 +197,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 : DocumentGenerateInsertDocument.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())); } @@ -208,7 +206,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the required field `position` DocumentGenerateInsertDocumentPosition.validateJsonElement(jsonObj.get("position")); 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/DocumentGenerateInsertDocumentPosition.java b/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocumentPosition.java index 05111e4ab..6a42d5031 100644 --- a/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocumentPosition.java +++ b/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocumentPosition.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/DocumentGenerateOutputType.java b/src/main/java/com/formkiq/client/model/DocumentGenerateOutputType.java index a8b737677..f790a911e 100644 --- a/src/main/java/com/formkiq/client/model/DocumentGenerateOutputType.java +++ b/src/main/java/com/formkiq/client/model/DocumentGenerateOutputType.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/DocumentId.java b/src/main/java/com/formkiq/client/model/DocumentId.java index 122066af6..e2b0359f1 100644 --- a/src/main/java/com/formkiq/client/model/DocumentId.java +++ b/src/main/java/com/formkiq/client/model/DocumentId.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 @@ * DocumentId */ @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 DocumentId { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -174,7 +172,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentId.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 DocumentId is not found in the empty JSON string", DocumentId.openapiRequiredFields.toString())); } @@ -184,7 +182,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 (!DocumentId.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 `DocumentId` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -193,20 +191,20 @@ 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 : DocumentId.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())); } 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())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentMetadata.java b/src/main/java/com/formkiq/client/model/DocumentMetadata.java index 5e3241aad..4652e87a0 100644 --- a/src/main/java/com/formkiq/client/model/DocumentMetadata.java +++ b/src/main/java/com/formkiq/client/model/DocumentMetadata.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 DocumentMetadata { 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 (!DocumentMetadata.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 DocumentMetadata is not found in the empty JSON string", DocumentMetadata.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 (!DocumentMetadata.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 `DocumentMetadata` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -229,20 +227,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !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/DocumentRelationshipType.java b/src/main/java/com/formkiq/client/model/DocumentRelationshipType.java index 981170d0a..eabb4542b 100644 --- a/src/main/java/com/formkiq/client/model/DocumentRelationshipType.java +++ b/src/main/java/com/formkiq/client/model/DocumentRelationshipType.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/DocumentSearch.java b/src/main/java/com/formkiq/client/model/DocumentSearch.java index 01860f130..28e499b6f 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearch.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearch.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentSearchAttribute; import com.formkiq.client.model.DocumentSearchMeta; import com.formkiq.client.model.DocumentSearchTag; @@ -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 @@ * Document tag search criteria */ @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 DocumentSearch { public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) @@ -341,7 +339,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSearch.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 DocumentSearch is not found in the empty JSON string", DocumentSearch.openapiRequiredFields.toString())); } @@ -351,7 +349,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 (!DocumentSearch.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 `DocumentSearch` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -359,7 +357,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("text") != null && !jsonObj.get("text").isJsonNull()) && !jsonObj.get("text").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("text").toString())); } @@ -376,7 +374,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())); } @@ -396,7 +394,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())); } @@ -410,7 +408,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/DocumentSearchAttribute.java b/src/main/java/com/formkiq/client/model/DocumentSearchAttribute.java index fe25c3414..93f8aed5e 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchAttribute.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchAttribute.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentSearchRange; 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 @@ * DocumentSearchAttribute */ @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 DocumentSearchAttribute { public static final String SERIALIZED_NAME_EQ = "eq"; @SerializedName(SERIALIZED_NAME_EQ) @@ -266,7 +264,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSearchAttribute.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 DocumentSearchAttribute is not found in the empty JSON string", DocumentSearchAttribute.openapiRequiredFields.toString())); } @@ -276,7 +274,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 (!DocumentSearchAttribute.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 `DocumentSearchAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -285,7 +283,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 : DocumentSearchAttribute.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())); } @@ -293,20 +291,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("eq") != null && !jsonObj.get("eq").isJsonNull()) && !jsonObj.get("eq").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `eq` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eq").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("eqOr") != null && !jsonObj.get("eqOr").isJsonNull() && !jsonObj.get("eqOr").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `eqOr` to be an array in the JSON string but got `%s`", jsonObj.get("eqOr").toString())); } if ((jsonObj.get("beginsWith") != null && !jsonObj.get("beginsWith").isJsonNull()) && !jsonObj.get("beginsWith").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `beginsWith` to be a primitive type in the JSON string but got `%s`", jsonObj.get("beginsWith").toString())); } @@ -315,7 +313,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti DocumentSearchRange.validateJsonElement(jsonObj.get("range")); } 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/DocumentSearchMatchAttribute.java b/src/main/java/com/formkiq/client/model/DocumentSearchMatchAttribute.java index 62babef96..54932a36d 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchMatchAttribute.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchMatchAttribute.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; @@ -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 @@ * DocumentSearchMatchAttribute */ @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 DocumentSearchMatchAttribute { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -233,7 +231,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!DocumentSearchMatchAttribute.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 DocumentSearchMatchAttribute is not found in the empty JSON string", DocumentSearchMatchAttribute.openapiRequiredFields.toString())); } @@ -243,7 +241,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 (!DocumentSearchMatchAttribute.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 `DocumentSearchMatchAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -251,13 +249,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !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())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchMatchTag.java b/src/main/java/com/formkiq/client/model/DocumentSearchMatchTag.java index 70a492fb1..cfa732c33 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchMatchTag.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchMatchTag.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 @@ * DocumentSearchMatchTag */ @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 DocumentSearchMatchTag { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -201,7 +199,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSearchMatchTag.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 DocumentSearchMatchTag is not found in the empty JSON string", DocumentSearchMatchTag.openapiRequiredFields.toString())); } @@ -211,7 +209,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 (!DocumentSearchMatchTag.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 `DocumentSearchMatchTag` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -219,19 +217,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !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())); } 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())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchMeta.java b/src/main/java/com/formkiq/client/model/DocumentSearchMeta.java index 5c85a0e58..a8a37899a 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchMeta.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchMeta.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 @@ * DocumentSearchMeta */ @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 DocumentSearchMeta { public static final String SERIALIZED_NAME_FOLDER = "folder"; @SerializedName(SERIALIZED_NAME_FOLDER) @@ -309,7 +307,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSearchMeta.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 DocumentSearchMeta is not found in the empty JSON string", DocumentSearchMeta.openapiRequiredFields.toString())); } @@ -319,7 +317,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 (!DocumentSearchMeta.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 `DocumentSearchMeta` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -327,25 +325,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("folder") != null && !jsonObj.get("folder").isJsonNull()) && !jsonObj.get("folder").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `folder` to be a primitive type in the JSON string but got `%s`", jsonObj.get("folder").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("eq") != null && !jsonObj.get("eq").isJsonNull()) && !jsonObj.get("eq").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `eq` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eq").toString())); } if ((jsonObj.get("indexType") != null && !jsonObj.get("indexType").isJsonNull()) && !jsonObj.get("indexType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `indexType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("indexType").toString())); } @@ -356,7 +354,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("indexFilterBeginsWith") != null && !jsonObj.get("indexFilterBeginsWith").isJsonNull()) && !jsonObj.get("indexFilterBeginsWith").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `indexFilterBeginsWith` to be a primitive type in the JSON string but got `%s`", jsonObj.get("indexFilterBeginsWith").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchRange.java b/src/main/java/com/formkiq/client/model/DocumentSearchRange.java index 08f2cdd3d..561bd5cc3 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchRange.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchRange.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.SearchRangeDataType; 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 @@ * DocumentSearchRange */ @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 DocumentSearchRange { public static final String SERIALIZED_NAME_START = "start"; @SerializedName(SERIALIZED_NAME_START) @@ -202,7 +200,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSearchRange.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 DocumentSearchRange is not found in the empty JSON string", DocumentSearchRange.openapiRequiredFields.toString())); } @@ -212,7 +210,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 (!DocumentSearchRange.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 `DocumentSearchRange` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -221,19 +219,19 @@ 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 : DocumentSearchRange.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("start").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `start` to be a primitive type in the JSON string but got `%s`", jsonObj.get("start").toString())); } if (!jsonObj.get("end").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `end` to be a primitive type in the JSON string but got `%s`", jsonObj.get("end").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchRequest.java b/src/main/java/com/formkiq/client/model/DocumentSearchRequest.java index 3d7b8bb7a..5245fe09e 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchRequest.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentSearch; import com.formkiq.client.model.SearchResponseFields; 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 @@ * Document search tag criteria */ @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 DocumentSearchRequest { public static final String SERIALIZED_NAME_QUERY = "query"; @SerializedName(SERIALIZED_NAME_QUERY) @@ -177,7 +175,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSearchRequest.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 DocumentSearchRequest is not found in the empty JSON string", DocumentSearchRequest.openapiRequiredFields.toString())); } @@ -187,7 +185,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 (!DocumentSearchRequest.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 `DocumentSearchRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -196,7 +194,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 : DocumentSearchRequest.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/DocumentSearchResponse.java b/src/main/java/com/formkiq/client/model/DocumentSearchResponse.java index a8b648ab7..e981329c2 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchResponse.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.SearchResultDocument; 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 @@ * DocumentSearchResponse */ @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 DocumentSearchResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -213,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSearchResponse.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 DocumentSearchResponse is not found in the empty JSON string", DocumentSearchResponse.openapiRequiredFields.toString())); } @@ -223,7 +221,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 (!DocumentSearchResponse.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 `DocumentSearchResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -231,13 +229,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } if ((jsonObj.get("previous") != null && !jsonObj.get("previous").isJsonNull()) && !jsonObj.get("previous").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `previous` to be a primitive type in the JSON string but got `%s`", jsonObj.get("previous").toString())); } @@ -246,7 +244,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/DocumentSearchTag.java b/src/main/java/com/formkiq/client/model/DocumentSearchTag.java index 22b0c1037..fb6082755 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchTag.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchTag.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentSearchRange; 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 @@ * DocumentSearchTag */ @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 DocumentSearchTag { public static final String SERIALIZED_NAME_BEGINS_WITH = "beginsWith"; @SerializedName(SERIALIZED_NAME_BEGINS_WITH) @@ -266,7 +264,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSearchTag.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 DocumentSearchTag is not found in the empty JSON string", DocumentSearchTag.openapiRequiredFields.toString())); } @@ -276,7 +274,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 (!DocumentSearchTag.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 `DocumentSearchTag` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -285,7 +283,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 : DocumentSearchTag.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())); } @@ -293,20 +291,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("beginsWith") != null && !jsonObj.get("beginsWith").isJsonNull()) && !jsonObj.get("beginsWith").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `beginsWith` to be a primitive type in the JSON string but got `%s`", jsonObj.get("beginsWith").toString())); } if ((jsonObj.get("eq") != null && !jsonObj.get("eq").isJsonNull()) && !jsonObj.get("eq").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `eq` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eq").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("eqOr") != null && !jsonObj.get("eqOr").isJsonNull() && !jsonObj.get("eqOr").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `eqOr` to be an array in the JSON string but got `%s`", jsonObj.get("eqOr").toString())); } @@ -315,7 +313,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti DocumentSearchRange.validateJsonElement(jsonObj.get("range")); } 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/DocumentSearchTags.java b/src/main/java/com/formkiq/client/model/DocumentSearchTags.java index 9e2b02ca3..384444286 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchTags.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchTags.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentSearchRange; 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 @@ * DocumentSearchTags */ @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 DocumentSearchTags { public static final String SERIALIZED_NAME_EQ = "eq"; @SerializedName(SERIALIZED_NAME_EQ) @@ -229,7 +227,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSearchTags.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 DocumentSearchTags is not found in the empty JSON string", DocumentSearchTags.openapiRequiredFields.toString())); } @@ -239,7 +237,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 (!DocumentSearchTags.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 `DocumentSearchTags` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -248,7 +246,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 : DocumentSearchTags.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())); } @@ -256,13 +254,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("eq") != null && !jsonObj.get("eq").isJsonNull()) && !jsonObj.get("eq").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `eq` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eq").toString())); } if ((jsonObj.get("beginsWith") != null && !jsonObj.get("beginsWith").isJsonNull()) && !jsonObj.get("beginsWith").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `beginsWith` to be a primitive type in the JSON string but got `%s`", jsonObj.get("beginsWith").toString())); } @@ -271,7 +269,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti DocumentSearchRange.validateJsonElement(jsonObj.get("range")); } 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/DocumentSync.java b/src/main/java/com/formkiq/client/model/DocumentSync.java index fd267e37d..2c11e2d96 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSync.java +++ b/src/main/java/com/formkiq/client/model/DocumentSync.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentSyncService; import com.formkiq.client.model.DocumentSyncStatus; import com.formkiq.client.model.DocumentSyncType; @@ -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 @@ * DocumentSync */ @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 DocumentSync { public static final String SERIALIZED_NAME_SERVICE = "service"; @SerializedName(SERIALIZED_NAME_SERVICE) @@ -313,7 +311,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSync.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 DocumentSync is not found in the empty JSON string", DocumentSync.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 (!DocumentSync.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 `DocumentSync` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -343,25 +341,25 @@ 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("syncDate") != null && !jsonObj.get("syncDate").isJsonNull()) && !jsonObj.get("syncDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `syncDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("syncDate").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("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/DocumentSyncService.java b/src/main/java/com/formkiq/client/model/DocumentSyncService.java index 017c841f9..6841b235d 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSyncService.java +++ b/src/main/java/com/formkiq/client/model/DocumentSyncService.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/DocumentSyncStatus.java b/src/main/java/com/formkiq/client/model/DocumentSyncStatus.java index 65b0126e5..a8967de78 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSyncStatus.java +++ b/src/main/java/com/formkiq/client/model/DocumentSyncStatus.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/DocumentSyncType.java b/src/main/java/com/formkiq/client/model/DocumentSyncType.java index ecd80bdc0..d7d8f1600 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSyncType.java +++ b/src/main/java/com/formkiq/client/model/DocumentSyncType.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/DocumentTag.java b/src/main/java/com/formkiq/client/model/DocumentTag.java index a56b20e51..5625f4592 100644 --- a/src/main/java/com/formkiq/client/model/DocumentTag.java +++ b/src/main/java/com/formkiq/client/model/DocumentTag.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 @@ * DocumentTag */ @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 DocumentTag { public static final String SERIALIZED_NAME_INSERTED_DATE = "insertedDate"; @SerializedName(SERIALIZED_NAME_INSERTED_DATE) @@ -320,7 +318,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentTag.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 DocumentTag is not found in the empty JSON string", DocumentTag.openapiRequiredFields.toString())); } @@ -330,7 +328,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 (!DocumentTag.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 `DocumentTag` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -338,44 +336,44 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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("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("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("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("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())); } if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !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/DocumentVersion.java b/src/main/java/com/formkiq/client/model/DocumentVersion.java index b0f131aa6..1bee04535 100644 --- a/src/main/java/com/formkiq/client/model/DocumentVersion.java +++ b/src/main/java/com/formkiq/client/model/DocumentVersion.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.ChecksumType; 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 @@ * DocumentVersion */ @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 DocumentVersion { public static final String SERIALIZED_NAME_INSERTED_DATE = "insertedDate"; @SerializedName(SERIALIZED_NAME_INSERTED_DATE) @@ -339,7 +337,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentVersion.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 DocumentVersion is not found in the empty JSON string", DocumentVersion.openapiRequiredFields.toString())); } @@ -349,7 +347,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 (!DocumentVersion.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 `DocumentVersion` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -357,13 +355,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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("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())); } @@ -373,25 +371,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } 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("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("versionKey") != null && !jsonObj.get("versionKey").isJsonNull()) && !jsonObj.get("versionKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `versionKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("versionKey").toString())); } if ((jsonObj.get("s3version") != null && !jsonObj.get("s3version").isJsonNull()) && !jsonObj.get("s3version").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `s3version` to be a primitive type in the JSON string but got `%s`", jsonObj.get("s3version").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentWorkflow.java b/src/main/java/com/formkiq/client/model/DocumentWorkflow.java index e80b2dbb3..9519d82ae 100644 --- a/src/main/java/com/formkiq/client/model/DocumentWorkflow.java +++ b/src/main/java/com/formkiq/client/model/DocumentWorkflow.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentWorkflowStatus; 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 @@ * DocumentWorkflow */ @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 DocumentWorkflow { public static final String SERIALIZED_NAME_WORKFLOW_ID = "workflowId"; @SerializedName(SERIALIZED_NAME_WORKFLOW_ID) @@ -284,7 +282,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentWorkflow.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 DocumentWorkflow is not found in the empty JSON string", DocumentWorkflow.openapiRequiredFields.toString())); } @@ -294,7 +292,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 (!DocumentWorkflow.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 `DocumentWorkflow` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -302,25 +300,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("workflowId") != null && !jsonObj.get("workflowId").isJsonNull()) && !jsonObj.get("workflowId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + 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("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())); } 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())); } if ((jsonObj.get("currentStepId") != null && !jsonObj.get("currentStepId").isJsonNull()) && !jsonObj.get("currentStepId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `currentStepId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currentStepId").toString())); } @@ -330,7 +328,7 @@ 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())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentWorkflowStatus.java b/src/main/java/com/formkiq/client/model/DocumentWorkflowStatus.java index 5f5675b67..8fc2db89d 100644 --- a/src/main/java/com/formkiq/client/model/DocumentWorkflowStatus.java +++ b/src/main/java/com/formkiq/client/model/DocumentWorkflowStatus.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/DocumentsCompressRequest.java b/src/main/java/com/formkiq/client/model/DocumentsCompressRequest.java index 31c0f1229..a3e16fa5f 100644 --- a/src/main/java/com/formkiq/client/model/DocumentsCompressRequest.java +++ b/src/main/java/com/formkiq/client/model/DocumentsCompressRequest.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 @@ * DocumentsCompressRequest */ @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 DocumentsCompressRequest { public static final String SERIALIZED_NAME_DOCUMENT_IDS = "documentIds"; @SerializedName(SERIALIZED_NAME_DOCUMENT_IDS) @@ -157,7 +155,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentsCompressRequest.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 DocumentsCompressRequest is not found in the empty JSON string", DocumentsCompressRequest.openapiRequiredFields.toString())); } @@ -167,7 +165,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 (!DocumentsCompressRequest.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 `DocumentsCompressRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -176,7 +174,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 : DocumentsCompressRequest.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())); } @@ -187,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti throw new IllegalArgumentException( "Expected the field `linkedContent` to be an array in the JSON string but got `null`"); } else if (!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/DocumentsCompressResponse.java b/src/main/java/com/formkiq/client/model/DocumentsCompressResponse.java index 0a03ab4c2..0858403d0 100644 --- a/src/main/java/com/formkiq/client/model/DocumentsCompressResponse.java +++ b/src/main/java/com/formkiq/client/model/DocumentsCompressResponse.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 @@ * DocumentsCompressResponse */ @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 DocumentsCompressResponse { public static final String SERIALIZED_NAME_DOWNLOAD_URL = "downloadUrl"; @SerializedName(SERIALIZED_NAME_DOWNLOAD_URL) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentsCompressResponse.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 DocumentsCompressResponse is not found in the empty JSON string", DocumentsCompressResponse.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 (!DocumentsCompressResponse.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 `DocumentsCompressResponse` 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("downloadUrl") != null && !jsonObj.get("downloadUrl").isJsonNull()) && !jsonObj.get("downloadUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `downloadUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("downloadUrl").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocusignConfig.java b/src/main/java/com/formkiq/client/model/DocusignConfig.java index c0a81c006..d6e7a72bc 100644 --- a/src/main/java/com/formkiq/client/model/DocusignConfig.java +++ b/src/main/java/com/formkiq/client/model/DocusignConfig.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 @@ * DocusignConfig */ @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 DocusignConfig { public static final String SERIALIZED_NAME_USER_ID = "userId"; @SerializedName(SERIALIZED_NAME_USER_ID) @@ -231,7 +229,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocusignConfig.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 DocusignConfig is not found in the empty JSON string", DocusignConfig.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 (!DocusignConfig.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 `DocusignConfig` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -249,25 +247,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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("integrationKey") != null && !jsonObj.get("integrationKey").isJsonNull()) && !jsonObj.get("integrationKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `integrationKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("integrationKey").toString())); } if ((jsonObj.get("rsaPrivateKey") != null && !jsonObj.get("rsaPrivateKey").isJsonNull()) && !jsonObj.get("rsaPrivateKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `rsaPrivateKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("rsaPrivateKey").toString())); } if ((jsonObj.get("hmacSignature") != null && !jsonObj.get("hmacSignature").isJsonNull()) && !jsonObj.get("hmacSignature").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `hmacSignature` to be a primitive type in the JSON string but got `%s`", jsonObj.get("hmacSignature").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocusignEnvironment.java b/src/main/java/com/formkiq/client/model/DocusignEnvironment.java index 03a39574d..d50b78cac 100644 --- a/src/main/java/com/formkiq/client/model/DocusignEnvironment.java +++ b/src/main/java/com/formkiq/client/model/DocusignEnvironment.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/DocusignInpersonSigner.java b/src/main/java/com/formkiq/client/model/DocusignInpersonSigner.java index ffcbf3c2f..de5ff54fa 100644 --- a/src/main/java/com/formkiq/client/model/DocusignInpersonSigner.java +++ b/src/main/java/com/formkiq/client/model/DocusignInpersonSigner.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocusignSigningTabs; 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 @@ * DocusignInpersonSigner */ @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 DocusignInpersonSigner { public static final String SERIALIZED_NAME_HOST_EMAIL = "hostEmail"; @SerializedName(SERIALIZED_NAME_HOST_EMAIL) @@ -341,7 +339,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocusignInpersonSigner.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 DocusignInpersonSigner is not found in the empty JSON string", DocusignInpersonSigner.openapiRequiredFields.toString())); } @@ -351,7 +349,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 (!DocusignInpersonSigner.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 `DocusignInpersonSigner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -360,48 +358,48 @@ 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 : DocusignInpersonSigner.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("hostEmail").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `hostEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("hostEmail").toString())); } if (!jsonObj.get("hostName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `hostName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("hostName").toString())); } if (!jsonObj.get("signerName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `signerName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("signerName").toString())); } if ((jsonObj.get("signerEmail") != null && !jsonObj.get("signerEmail").isJsonNull()) && !jsonObj.get("signerEmail").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `signerEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("signerEmail").toString())); } if ((jsonObj.get("recipientId") != null && !jsonObj.get("recipientId").isJsonNull()) && !jsonObj.get("recipientId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `recipientId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientId").toString())); } if ((jsonObj.get("routingOrder") != null && !jsonObj.get("routingOrder").isJsonNull()) && !jsonObj.get("routingOrder").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `routingOrder` to be a primitive type in the JSON string but got `%s`", jsonObj.get("routingOrder").toString())); } if ((jsonObj.get("suppressEmails") != null && !jsonObj.get("suppressEmails").isJsonNull()) && !jsonObj.get("suppressEmails").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `suppressEmails` to be a primitive type in the JSON string but got `%s`", jsonObj.get("suppressEmails").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocusignNotification.java b/src/main/java/com/formkiq/client/model/DocusignNotification.java index 530562dc4..bf4a780ed 100644 --- a/src/main/java/com/formkiq/client/model/DocusignNotification.java +++ b/src/main/java/com/formkiq/client/model/DocusignNotification.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocusignNotificationExpirations; import com.formkiq.client.model.DocusignNotificationReminders; 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 @@ * DocusignNotification */ @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 DocusignNotification { public static final String SERIALIZED_NAME_USE_ACCOUNT_DEFAULTS = "useAccountDefaults"; @SerializedName(SERIALIZED_NAME_USE_ACCOUNT_DEFAULTS) @@ -210,7 +208,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocusignNotification.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 DocusignNotification is not found in the empty JSON string", DocusignNotification.openapiRequiredFields.toString())); } @@ -220,7 +218,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 (!DocusignNotification.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 `DocusignNotification` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -229,7 +227,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("useAccountDefaults") != null && !jsonObj.get("useAccountDefaults").isJsonNull()) && !jsonObj.get("useAccountDefaults").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `useAccountDefaults` to be a primitive type in the JSON string but got `%s`", jsonObj.get("useAccountDefaults").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocusignNotificationExpirations.java b/src/main/java/com/formkiq/client/model/DocusignNotificationExpirations.java index 4404e49e4..0da97cda5 100644 --- a/src/main/java/com/formkiq/client/model/DocusignNotificationExpirations.java +++ b/src/main/java/com/formkiq/client/model/DocusignNotificationExpirations.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 @@ * DocusignNotificationExpirations */ @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 DocusignNotificationExpirations { public static final String SERIALIZED_NAME_EXPIRE_AFTER = "expireAfter"; @SerializedName(SERIALIZED_NAME_EXPIRE_AFTER) @@ -209,7 +207,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!DocusignNotificationExpirations.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 DocusignNotificationExpirations is not found in the empty JSON string", DocusignNotificationExpirations.openapiRequiredFields.toString())); } @@ -219,7 +217,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 (!DocusignNotificationExpirations.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 `DocusignNotificationExpirations` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -227,19 +225,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("expireAfter") != null && !jsonObj.get("expireAfter").isJsonNull()) && !jsonObj.get("expireAfter").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `expireAfter` to be a primitive type in the JSON string but got `%s`", jsonObj.get("expireAfter").toString())); } if ((jsonObj.get("expireEnabled") != null && !jsonObj.get("expireEnabled").isJsonNull()) && !jsonObj.get("expireEnabled").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `expireEnabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("expireEnabled").toString())); } if ((jsonObj.get("expireWarn") != null && !jsonObj.get("expireWarn").isJsonNull()) && !jsonObj.get("expireWarn").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `expireWarn` to be a primitive type in the JSON string but got `%s`", jsonObj.get("expireWarn").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocusignNotificationReminders.java b/src/main/java/com/formkiq/client/model/DocusignNotificationReminders.java index bf18b97d1..70e62c980 100644 --- a/src/main/java/com/formkiq/client/model/DocusignNotificationReminders.java +++ b/src/main/java/com/formkiq/client/model/DocusignNotificationReminders.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 @@ * DocusignNotificationReminders */ @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 DocusignNotificationReminders { public static final String SERIALIZED_NAME_REMINDER_DELAY = "reminderDelay"; @SerializedName(SERIALIZED_NAME_REMINDER_DELAY) @@ -208,7 +206,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!DocusignNotificationReminders.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 DocusignNotificationReminders is not found in the empty JSON string", DocusignNotificationReminders.openapiRequiredFields.toString())); } @@ -218,7 +216,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 (!DocusignNotificationReminders.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 `DocusignNotificationReminders` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -226,19 +224,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("reminderDelay") != null && !jsonObj.get("reminderDelay").isJsonNull()) && !jsonObj.get("reminderDelay").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `reminderDelay` to be a primitive type in the JSON string but got `%s`", jsonObj.get("reminderDelay").toString())); } if ((jsonObj.get("reminderEnabled") != null && !jsonObj.get("reminderEnabled").isJsonNull()) && !jsonObj.get("reminderEnabled").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `reminderEnabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("reminderEnabled").toString())); } if ((jsonObj.get("reminderFrequency") != null && !jsonObj.get("reminderFrequency").isJsonNull()) && !jsonObj.get("reminderFrequency").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `reminderFrequency` to be a primitive type in the JSON string but got `%s`", jsonObj.get("reminderFrequency").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocusignRecipientView.java b/src/main/java/com/formkiq/client/model/DocusignRecipientView.java index f0425e4b2..784606f7e 100644 --- a/src/main/java/com/formkiq/client/model/DocusignRecipientView.java +++ b/src/main/java/com/formkiq/client/model/DocusignRecipientView.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 @@ * DocusignRecipientView */ @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 DocusignRecipientView { public static final String SERIALIZED_NAME_RETURN_URL = "returnUrl"; @SerializedName(SERIALIZED_NAME_RETURN_URL) @@ -332,7 +330,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocusignRecipientView.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 DocusignRecipientView is not found in the empty JSON string", DocusignRecipientView.openapiRequiredFields.toString())); } @@ -342,7 +340,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 (!DocusignRecipientView.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 `DocusignRecipientView` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -350,45 +348,45 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("returnUrl") != null && !jsonObj.get("returnUrl").isJsonNull()) && !jsonObj.get("returnUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `returnUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("returnUrl").toString())); } if ((jsonObj.get("recipientId") != null && !jsonObj.get("recipientId").isJsonNull()) && !jsonObj.get("recipientId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `recipientId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientId").toString())); } if ((jsonObj.get("userName") != null && !jsonObj.get("userName").isJsonNull()) && !jsonObj.get("userName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `userName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userName").toString())); } if ((jsonObj.get("clientUserId") != null && !jsonObj.get("clientUserId").isJsonNull()) && !jsonObj.get("clientUserId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `clientUserId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("clientUserId").toString())); } if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("frameAncestors") != null && !jsonObj.get("frameAncestors").isJsonNull() && !jsonObj.get("frameAncestors").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `frameAncestors` to be an array in the JSON string but got `%s`", jsonObj.get("frameAncestors").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("messageOrigins") != null && !jsonObj.get("messageOrigins").isJsonNull() && !jsonObj.get("messageOrigins").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `messageOrigins` to be an array in the JSON string but got `%s`", jsonObj.get("messageOrigins").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocusignSignHereTabs.java b/src/main/java/com/formkiq/client/model/DocusignSignHereTabs.java index bea23ef83..22c3b8bce 100644 --- a/src/main/java/com/formkiq/client/model/DocusignSignHereTabs.java +++ b/src/main/java/com/formkiq/client/model/DocusignSignHereTabs.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 @@ * DocusignSignHereTabs */ @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 DocusignSignHereTabs { public static final String SERIALIZED_NAME_ANCHOR_STRING = "anchorString"; @SerializedName(SERIALIZED_NAME_ANCHOR_STRING) @@ -344,7 +342,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocusignSignHereTabs.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 DocusignSignHereTabs is not found in the empty JSON string", DocusignSignHereTabs.openapiRequiredFields.toString())); } @@ -354,7 +352,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 (!DocusignSignHereTabs.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 `DocusignSignHereTabs` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -362,50 +360,50 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("anchorString") != null && !jsonObj.get("anchorString").isJsonNull()) && !jsonObj.get("anchorString").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `anchorString` to be a primitive type in the JSON string but got `%s`", jsonObj.get("anchorString").toString())); } if ((jsonObj.get("anchorXOffset") != null && !jsonObj.get("anchorXOffset").isJsonNull()) && !jsonObj.get("anchorXOffset").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `anchorXOffset` to be a primitive type in the JSON string but got `%s`", jsonObj.get("anchorXOffset").toString())); } if ((jsonObj.get("anchorYOffset") != null && !jsonObj.get("anchorYOffset").isJsonNull()) && !jsonObj.get("anchorYOffset").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `anchorYOffset` to be a primitive type in the JSON string but got `%s`", jsonObj.get("anchorYOffset").toString())); } if ((jsonObj.get("anchorIgnoreIfNotPresent") != null && !jsonObj.get("anchorIgnoreIfNotPresent").isJsonNull()) && !jsonObj.get("anchorIgnoreIfNotPresent").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `anchorIgnoreIfNotPresent` to be a primitive type in the JSON string but got `%s`", jsonObj.get("anchorIgnoreIfNotPresent").toString())); } if ((jsonObj.get("anchorUnits") != null && !jsonObj.get("anchorUnits").isJsonNull()) && !jsonObj.get("anchorUnits").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `anchorUnits` to be a primitive type in the JSON string but got `%s`", jsonObj.get("anchorUnits").toString())); } if ((jsonObj.get("xPosition") != null && !jsonObj.get("xPosition").isJsonNull()) && !jsonObj.get("xPosition").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `xPosition` to be a primitive type in the JSON string but got `%s`", jsonObj.get("xPosition").toString())); } if ((jsonObj.get("yPosition") != null && !jsonObj.get("yPosition").isJsonNull()) && !jsonObj.get("yPosition").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `yPosition` to be a primitive type in the JSON string but got `%s`", jsonObj.get("yPosition").toString())); } if ((jsonObj.get("pageNumber") != null && !jsonObj.get("pageNumber").isJsonNull()) && !jsonObj.get("pageNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `pageNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("pageNumber").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocusignSigner.java b/src/main/java/com/formkiq/client/model/DocusignSigner.java index 2f1122c46..6195dcc1d 100644 --- a/src/main/java/com/formkiq/client/model/DocusignSigner.java +++ b/src/main/java/com/formkiq/client/model/DocusignSigner.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocusignSigningTabs; 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 @@ * DocusignSigner */ @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 DocusignSigner { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -312,7 +310,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocusignSigner.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 DocusignSigner is not found in the empty JSON string", DocusignSigner.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 (!DocusignSigner.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 `DocusignSigner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -331,44 +329,44 @@ 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 : DocusignSigner.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())); } if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString())); } if ((jsonObj.get("clientUserId") != null && !jsonObj.get("clientUserId").isJsonNull()) && !jsonObj.get("clientUserId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `clientUserId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("clientUserId").toString())); } if ((jsonObj.get("recipientId") != null && !jsonObj.get("recipientId").isJsonNull()) && !jsonObj.get("recipientId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `recipientId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientId").toString())); } if ((jsonObj.get("routingOrder") != null && !jsonObj.get("routingOrder").isJsonNull()) && !jsonObj.get("routingOrder").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `routingOrder` to be a primitive type in the JSON string but got `%s`", jsonObj.get("routingOrder").toString())); } if ((jsonObj.get("suppressEmails") != null && !jsonObj.get("suppressEmails").isJsonNull()) && !jsonObj.get("suppressEmails").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `suppressEmails` to be a primitive type in the JSON string but got `%s`", jsonObj.get("suppressEmails").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocusignSigningTabs.java b/src/main/java/com/formkiq/client/model/DocusignSigningTabs.java index 998f8b829..371e015cc 100644 --- a/src/main/java/com/formkiq/client/model/DocusignSigningTabs.java +++ b/src/main/java/com/formkiq/client/model/DocusignSigningTabs.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocusignSignHereTabs; 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 @@ * DocusignSigningTabs */ @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 DocusignSigningTabs { public static final String SERIALIZED_NAME_SIGN_HERE_TABS = "signHereTabs"; @SerializedName(SERIALIZED_NAME_SIGN_HERE_TABS) @@ -159,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocusignSigningTabs.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 DocusignSigningTabs is not found in the empty JSON string", DocusignSigningTabs.openapiRequiredFields.toString())); } @@ -169,7 +167,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 (!DocusignSigningTabs.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 `DocusignSigningTabs` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -180,7 +178,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraysignHereTabs != null) { // ensure the json data is an array if (!jsonObj.get("signHereTabs").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `signHereTabs` to be an array in the JSON string but got `%s`", jsonObj.get("signHereTabs").toString())); } diff --git a/src/main/java/com/formkiq/client/model/Entity.java b/src/main/java/com/formkiq/client/model/Entity.java index b435be1df..94de07729 100644 --- a/src/main/java/com/formkiq/client/model/Entity.java +++ b/src/main/java/com/formkiq/client/model/Entity.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.EntityAttribute; 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 @@ * Entity */ @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 Entity { public static final String SERIALIZED_NAME_ENTITY_ID = "entityId"; @SerializedName(SERIALIZED_NAME_ENTITY_ID) @@ -266,7 +264,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Entity.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 Entity is not found in the empty JSON string", Entity.openapiRequiredFields.toString())); } @@ -276,7 +274,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 (!Entity.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 `Entity` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -284,25 +282,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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("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("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())); } 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())); } @@ -311,7 +309,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/EntityAttribute.java b/src/main/java/com/formkiq/client/model/EntityAttribute.java index 853cff468..b32fdcf4c 100644 --- a/src/main/java/com/formkiq/client/model/EntityAttribute.java +++ b/src/main/java/com/formkiq/client/model/EntityAttribute.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AttributeValueType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -54,7 +53,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +60,8 @@ * EntityAttribute */ @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 EntityAttribute { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -331,7 +329,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!EntityAttribute.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 EntityAttribute is not found in the empty JSON string", EntityAttribute.openapiRequiredFields.toString())); } @@ -341,7 +339,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 (!EntityAttribute.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 `EntityAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -349,27 +347,27 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !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/EntityType.java b/src/main/java/com/formkiq/client/model/EntityType.java index 8998871bd..d70a958c2 100644 --- a/src/main/java/com/formkiq/client/model/EntityType.java +++ b/src/main/java/com/formkiq/client/model/EntityType.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 @@ * EntityType */ @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 EntityType { public static final String SERIALIZED_NAME_ENTITY_TYPE_ID = "entityTypeId"; @SerializedName(SERIALIZED_NAME_ENTITY_TYPE_ID) @@ -230,7 +228,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!EntityType.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 EntityType is not found in the empty JSON string", EntityType.openapiRequiredFields.toString())); } @@ -240,7 +238,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 (!EntityType.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 `EntityType` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -248,7 +246,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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())); } @@ -258,13 +256,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } 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())); } 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())); } diff --git a/src/main/java/com/formkiq/client/model/EntityTypeNamespace.java b/src/main/java/com/formkiq/client/model/EntityTypeNamespace.java index 533388e70..bdbc04da1 100644 --- a/src/main/java/com/formkiq/client/model/EntityTypeNamespace.java +++ b/src/main/java/com/formkiq/client/model/EntityTypeNamespace.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/Error.java b/src/main/java/com/formkiq/client/model/Error.java index 890335aad..73d08ebd6 100644 --- a/src/main/java/com/formkiq/client/model/Error.java +++ b/src/main/java/com/formkiq/client/model/Error.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 @@ * Error */ @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 Error { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -172,7 +170,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Error.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 Error is not found in the empty JSON string", Error.openapiRequiredFields.toString())); } @@ -182,7 +180,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 (!Error.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 `Error` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -190,13 +188,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !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("error") != null && !jsonObj.get("error").isJsonNull()) && !jsonObj.get("error").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `error` to be a primitive type in the JSON string but got `%s`", jsonObj.get("error").toString())); } diff --git a/src/main/java/com/formkiq/client/model/ErrorsResponse.java b/src/main/java/com/formkiq/client/model/ErrorsResponse.java index bef0be7cf..6d634674e 100644 --- a/src/main/java/com/formkiq/client/model/ErrorsResponse.java +++ b/src/main/java/com/formkiq/client/model/ErrorsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Error; 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 @@ * ErrorsResponse */ @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 ErrorsResponse { public static final String SERIALIZED_NAME_ERRORS = "errors"; @SerializedName(SERIALIZED_NAME_ERRORS) @@ -158,7 +156,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!ErrorsResponse.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 ErrorsResponse is not found in the empty JSON string", ErrorsResponse.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 (!ErrorsResponse.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 `ErrorsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -179,7 +177,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayerrors != null) { // ensure the json data is an array if (!jsonObj.get("errors").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `errors` to be an array in the JSON string but got `%s`", jsonObj.get("errors").toString())); } diff --git a/src/main/java/com/formkiq/client/model/FolderPermission.java b/src/main/java/com/formkiq/client/model/FolderPermission.java index f5159e3e3..1d679c548 100644 --- a/src/main/java/com/formkiq/client/model/FolderPermission.java +++ b/src/main/java/com/formkiq/client/model/FolderPermission.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.FolderPermissionType; 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 @@ * FolderPermission */ @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 FolderPermission { public static final String SERIALIZED_NAME_ROLE_NAME = "roleName"; @SerializedName(SERIALIZED_NAME_ROLE_NAME) @@ -186,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!FolderPermission.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 FolderPermission is not found in the empty JSON string", FolderPermission.openapiRequiredFields.toString())); } @@ -196,7 +194,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 (!FolderPermission.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 `FolderPermission` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -204,14 +202,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("roleName") != null && !jsonObj.get("roleName").isJsonNull()) && !jsonObj.get("roleName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `roleName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("roleName").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/FolderPermissionType.java b/src/main/java/com/formkiq/client/model/FolderPermissionType.java index 4fc284774..c7407cd79 100644 --- a/src/main/java/com/formkiq/client/model/FolderPermissionType.java +++ b/src/main/java/com/formkiq/client/model/FolderPermissionType.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/FulltextAttribute.java b/src/main/java/com/formkiq/client/model/FulltextAttribute.java index f7bdff0f1..0dfb318ed 100644 --- a/src/main/java/com/formkiq/client/model/FulltextAttribute.java +++ b/src/main/java/com/formkiq/client/model/FulltextAttribute.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AttributeValueType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -54,7 +53,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +60,8 @@ * FulltextAttribute */ @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 FulltextAttribute { public static final String SERIALIZED_NAME_STRING_VALUES = "stringValues"; @SerializedName(SERIALIZED_NAME_STRING_VALUES) @@ -249,7 +247,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!FulltextAttribute.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 FulltextAttribute is not found in the empty JSON string", FulltextAttribute.openapiRequiredFields.toString())); } @@ -259,7 +257,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 (!FulltextAttribute.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 `FulltextAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -268,14 +266,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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/FulltextSearchItem.java b/src/main/java/com/formkiq/client/model/FulltextSearchItem.java index ec8b67ba0..4525730b5 100644 --- a/src/main/java/com/formkiq/client/model/FulltextSearchItem.java +++ b/src/main/java/com/formkiq/client/model/FulltextSearchItem.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.ChecksumType; import com.formkiq.client.model.FulltextAttribute; import com.google.gson.TypeAdapter; @@ -54,7 +53,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +60,8 @@ * FulltextSearchItem */ @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 FulltextSearchItem { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -585,7 +583,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!FulltextSearchItem.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 FulltextSearchItem is not found in the empty JSON string", FulltextSearchItem.openapiRequiredFields.toString())); } @@ -595,7 +593,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 (!FulltextSearchItem.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 `FulltextSearchItem` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -603,55 +601,55 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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("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("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("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("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("lastModifiedDate") != null && !jsonObj.get("lastModifiedDate").isJsonNull()) && !jsonObj.get("lastModifiedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `lastModifiedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastModifiedDate").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())); } @@ -661,13 +659,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } 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("createdBy") != null && !jsonObj.get("createdBy").isJsonNull()) && !jsonObj.get("createdBy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `createdBy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("createdBy").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetActivitesResponse.java b/src/main/java/com/formkiq/client/model/GetActivitesResponse.java index b84c90f7a..ec863a726 100644 --- a/src/main/java/com/formkiq/client/model/GetActivitesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetActivitesResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Activity; 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 @@ * GetActivitesResponse */ @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 GetActivitesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetActivitesResponse.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 GetActivitesResponse is not found in the empty JSON string", GetActivitesResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetActivitesResponse.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 `GetActivitesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayactivities != null) { // ensure the json data is an array if (!jsonObj.get("activities").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `activities` to be an array in the JSON string but got `%s`", jsonObj.get("activities").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetApiKeysResponse.java b/src/main/java/com/formkiq/client/model/GetApiKeysResponse.java index 7bc5cfa93..e28b0faff 100644 --- a/src/main/java/com/formkiq/client/model/GetApiKeysResponse.java +++ b/src/main/java/com/formkiq/client/model/GetApiKeysResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.ApiKey; 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 @@ * GetApiKeysResponse */ @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 GetApiKeysResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetApiKeysResponse.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 GetApiKeysResponse is not found in the empty JSON string", GetApiKeysResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetApiKeysResponse.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 `GetApiKeysResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayapiKeys != null) { // ensure the json data is an array if (!jsonObj.get("apiKeys").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `apiKeys` to be an array in the JSON string but got `%s`", jsonObj.get("apiKeys").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetAttributeAllowedValuesResponse.java b/src/main/java/com/formkiq/client/model/GetAttributeAllowedValuesResponse.java index b9463adfa..3aa231341 100644 --- a/src/main/java/com/formkiq/client/model/GetAttributeAllowedValuesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetAttributeAllowedValuesResponse.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; @@ -54,7 +53,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +60,8 @@ * GetAttributeAllowedValuesResponse */ @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 GetAttributeAllowedValuesResponse { public static final String SERIALIZED_NAME_ALLOWED_VALUES = "allowedValues"; @SerializedName(SERIALIZED_NAME_ALLOWED_VALUES) @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetAttributeAllowedValuesResponse.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 GetAttributeAllowedValuesResponse is not found in the empty JSON string", GetAttributeAllowedValuesResponse.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 (!GetAttributeAllowedValuesResponse.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 `GetAttributeAllowedValuesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -222,7 +220,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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/GetAttributeResponse.java b/src/main/java/com/formkiq/client/model/GetAttributeResponse.java index f3d50dfd5..a682ca0db 100644 --- a/src/main/java/com/formkiq/client/model/GetAttributeResponse.java +++ b/src/main/java/com/formkiq/client/model/GetAttributeResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Attribute; 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 @@ * GetAttributeResponse */ @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 GetAttributeResponse { 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 (!GetAttributeResponse.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 GetAttributeResponse is not found in the empty JSON string", GetAttributeResponse.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 (!GetAttributeResponse.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 `GetAttributeResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetAttributesResponse.java b/src/main/java/com/formkiq/client/model/GetAttributesResponse.java index 2e9e98d69..c309fd5e6 100644 --- a/src/main/java/com/formkiq/client/model/GetAttributesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetAttributesResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Attribute; 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 @@ * GetAttributesResponse */ @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 GetAttributesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetAttributesResponse.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 GetAttributesResponse is not found in the empty JSON string", GetAttributesResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetAttributesResponse.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 `GetAttributesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +210,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/GetCaseDocumentsResponse.java b/src/main/java/com/formkiq/client/model/GetCaseDocumentsResponse.java index 3ced8cff8..501dedeb3 100644 --- a/src/main/java/com/formkiq/client/model/GetCaseDocumentsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCaseDocumentsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Document; 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 @@ * GetCaseDocumentsResponse */ @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 GetCaseDocumentsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetCaseDocumentsResponse.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 GetCaseDocumentsResponse is not found in the empty JSON string", GetCaseDocumentsResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetCaseDocumentsResponse.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 `GetCaseDocumentsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +210,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/GetCaseNigoResponse.java b/src/main/java/com/formkiq/client/model/GetCaseNigoResponse.java index d38807059..7a6d8d6f1 100644 --- a/src/main/java/com/formkiq/client/model/GetCaseNigoResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCaseNigoResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Nigo; 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 @@ * GetCaseNigoResponse */ @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 GetCaseNigoResponse { public static final String SERIALIZED_NAME_NIGO = "nigo"; @SerializedName(SERIALIZED_NAME_NIGO) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetCaseNigoResponse.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 GetCaseNigoResponse is not found in the empty JSON string", GetCaseNigoResponse.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 (!GetCaseNigoResponse.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 `GetCaseNigoResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetCaseNigosResponse.java b/src/main/java/com/formkiq/client/model/GetCaseNigosResponse.java index 71e6f633e..d78c523a9 100644 --- a/src/main/java/com/formkiq/client/model/GetCaseNigosResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCaseNigosResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Nigo; 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 @@ * GetCaseNigosResponse */ @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 GetCaseNigosResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetCaseNigosResponse.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 GetCaseNigosResponse is not found in the empty JSON string", GetCaseNigosResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetCaseNigosResponse.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 `GetCaseNigosResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraynigos != null) { // ensure the json data is an array if (!jsonObj.get("nigos").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `nigos` to be an array in the JSON string but got `%s`", jsonObj.get("nigos").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetCaseResponse.java b/src/main/java/com/formkiq/client/model/GetCaseResponse.java index 9d8153616..0e78da7c7 100644 --- a/src/main/java/com/formkiq/client/model/GetCaseResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCaseResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.ModelCase; 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 @@ * GetCaseResponse */ @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 GetCaseResponse { 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 (!GetCaseResponse.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 GetCaseResponse is not found in the empty JSON string", GetCaseResponse.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 (!GetCaseResponse.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 `GetCaseResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetCaseTaskResponse.java b/src/main/java/com/formkiq/client/model/GetCaseTaskResponse.java index a515ad654..69d2eb5bf 100644 --- a/src/main/java/com/formkiq/client/model/GetCaseTaskResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCaseTaskResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Task; 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 @@ * GetCaseTaskResponse */ @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 GetCaseTaskResponse { public static final String SERIALIZED_NAME_TASK = "task"; @SerializedName(SERIALIZED_NAME_TASK) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetCaseTaskResponse.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 GetCaseTaskResponse is not found in the empty JSON string", GetCaseTaskResponse.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 (!GetCaseTaskResponse.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 `GetCaseTaskResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetCaseTasksResponse.java b/src/main/java/com/formkiq/client/model/GetCaseTasksResponse.java index c77a70a79..4ef132487 100644 --- a/src/main/java/com/formkiq/client/model/GetCaseTasksResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCaseTasksResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Task; 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 @@ * GetCaseTasksResponse */ @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 GetCaseTasksResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetCaseTasksResponse.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 GetCaseTasksResponse is not found in the empty JSON string", GetCaseTasksResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetCaseTasksResponse.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 `GetCaseTasksResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraytasks != null) { // ensure the json data is an array if (!jsonObj.get("tasks").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `tasks` to be an array in the JSON string but got `%s`", jsonObj.get("tasks").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetCasesResponse.java b/src/main/java/com/formkiq/client/model/GetCasesResponse.java index c25026c0e..e4e768a62 100644 --- a/src/main/java/com/formkiq/client/model/GetCasesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCasesResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.ModelCase; 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 @@ * GetCasesResponse */ @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 GetCasesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetCasesResponse.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 GetCasesResponse is not found in the empty JSON string", GetCasesResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetCasesResponse.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 `GetCasesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraycases != null) { // ensure the json data is an array if (!jsonObj.get("cases").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `cases` to be an array in the JSON string but got `%s`", jsonObj.get("cases").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetClassificationResponse.java b/src/main/java/com/formkiq/client/model/GetClassificationResponse.java index 27928e068..90453ed2d 100644 --- a/src/main/java/com/formkiq/client/model/GetClassificationResponse.java +++ b/src/main/java/com/formkiq/client/model/GetClassificationResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Classification; 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 @@ * GetClassificationResponse */ @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 GetClassificationResponse { 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 (!GetClassificationResponse.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 GetClassificationResponse is not found in the empty JSON string", GetClassificationResponse.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 (!GetClassificationResponse.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 `GetClassificationResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetClassificationsResponse.java b/src/main/java/com/formkiq/client/model/GetClassificationsResponse.java index fceb36b9c..fecebe854 100644 --- a/src/main/java/com/formkiq/client/model/GetClassificationsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetClassificationsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.ClassificationSummary; 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 @@ * GetClassificationsResponse */ @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 GetClassificationsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -188,7 +186,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetClassificationsResponse.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 GetClassificationsResponse is not found in the empty JSON string", GetClassificationsResponse.openapiRequiredFields.toString())); } @@ -198,7 +196,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 (!GetClassificationsResponse.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 `GetClassificationsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -206,7 +204,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -215,7 +213,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayclassifications != null) { // ensure the json data is an array if (!jsonObj.get("classifications").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `classifications` to be an array in the JSON string but got `%s`", jsonObj.get("classifications").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetConfigurationResponse.java b/src/main/java/com/formkiq/client/model/GetConfigurationResponse.java index 84135bcc4..8cdeade91 100644 --- a/src/main/java/com/formkiq/client/model/GetConfigurationResponse.java +++ b/src/main/java/com/formkiq/client/model/GetConfigurationResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentConfig; import com.formkiq.client.model.DocusignConfig; import com.formkiq.client.model.GoogleConfig; @@ -54,7 +53,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +60,8 @@ * GetConfigurationResponse */ @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 GetConfigurationResponse { public static final String SERIALIZED_NAME_CHAT_GPT_API_KEY = "chatGptApiKey"; @SerializedName(SERIALIZED_NAME_CHAT_GPT_API_KEY) @@ -374,7 +372,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetConfigurationResponse.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 GetConfigurationResponse is not found in the empty JSON string", GetConfigurationResponse.openapiRequiredFields.toString())); } @@ -384,7 +382,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 (!GetConfigurationResponse.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 `GetConfigurationResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -392,32 +390,32 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("chatGptApiKey") != null && !jsonObj.get("chatGptApiKey").isJsonNull()) && !jsonObj.get("chatGptApiKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `chatGptApiKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("chatGptApiKey").toString())); } if ((jsonObj.get("maxContentLengthBytes") != null && !jsonObj.get("maxContentLengthBytes").isJsonNull()) && !jsonObj.get("maxContentLengthBytes").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `maxContentLengthBytes` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxContentLengthBytes").toString())); } if ((jsonObj.get("maxDocuments") != null && !jsonObj.get("maxDocuments").isJsonNull()) && !jsonObj.get("maxDocuments").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `maxDocuments` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxDocuments").toString())); } if ((jsonObj.get("maxWebhooks") != null && !jsonObj.get("maxWebhooks").isJsonNull()) && !jsonObj.get("maxWebhooks").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `maxWebhooks` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxWebhooks").toString())); } if ((jsonObj.get("notificationEmail") != null && !jsonObj.get("notificationEmail").isJsonNull()) && !jsonObj.get("notificationEmail").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `notificationEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("notificationEmail").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentActionsResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentActionsResponse.java index 8e69e320f..58f7b3a29 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentActionsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentActionsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentAction; 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 @@ * GetDocumentActionsResponse */ @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 GetDocumentActionsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -186,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentActionsResponse.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 GetDocumentActionsResponse is not found in the empty JSON string", GetDocumentActionsResponse.openapiRequiredFields.toString())); } @@ -196,7 +194,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 (!GetDocumentActionsResponse.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 `GetDocumentActionsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -204,7 +202,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -213,7 +211,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/GetDocumentAttributeResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentAttributeResponse.java index 27d9ab602..cd3864192 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentAttributeResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentAttributeResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentAttribute; 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 @@ * GetDocumentAttributeResponse */ @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 GetDocumentAttributeResponse { public static final String SERIALIZED_NAME_ATTRIBUTE = "attribute"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE) @@ -150,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetDocumentAttributeResponse.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 GetDocumentAttributeResponse is not found in the empty JSON string", GetDocumentAttributeResponse.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 (!GetDocumentAttributeResponse.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 `GetDocumentAttributeResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentAttributesResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentAttributesResponse.java index 561ca807e..134dbeeeb 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentAttributesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentAttributesResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentAttribute; 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 @@ * GetDocumentAttributesResponse */ @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 GetDocumentAttributesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -188,7 +186,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetDocumentAttributesResponse.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 GetDocumentAttributesResponse is not found in the empty JSON string", GetDocumentAttributesResponse.openapiRequiredFields.toString())); } @@ -198,7 +196,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 (!GetDocumentAttributesResponse.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 `GetDocumentAttributesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -206,7 +204,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -215,7 +213,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/GetDocumentContentResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentContentResponse.java index f0471222f..e82337702 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentContentResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentContentResponse.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 @@ * GetDocumentContentResponse */ @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 GetDocumentContentResponse { public static final String SERIALIZED_NAME_CONTENT = "content"; @SerializedName(SERIALIZED_NAME_CONTENT) @@ -229,7 +227,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentContentResponse.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 GetDocumentContentResponse is not found in the empty JSON string", GetDocumentContentResponse.openapiRequiredFields.toString())); } @@ -239,7 +237,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 (!GetDocumentContentResponse.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 `GetDocumentContentResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -247,19 +245,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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())); } if ((jsonObj.get("contentUrl") != null && !jsonObj.get("contentUrl").isJsonNull()) && !jsonObj.get("contentUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `contentUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentUrl").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())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentDataClassificationResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentDataClassificationResponse.java index 3595967d5..d266dcbd4 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentDataClassificationResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentDataClassificationResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DataClassification; 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 @@ * GetDocumentDataClassificationResponse */ @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 GetDocumentDataClassificationResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -193,7 +191,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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 GetDocumentDataClassificationResponse is not found in the empty JSON string", GetDocumentDataClassificationResponse.openapiRequiredFields.toString())); } @@ -203,7 +201,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 (!GetDocumentDataClassificationResponse.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 `GetDocumentDataClassificationResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -211,7 +209,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -221,7 +219,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydataClassifications != null) { // ensure the json data is an array if (!jsonObj.get("dataClassifications").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `dataClassifications` to be an array in the JSON string but got `%s`", jsonObj.get("dataClassifications").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentFulltextResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentFulltextResponse.java index 709406771..b57fb3dbb 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentFulltextResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.ChecksumType; import com.formkiq.client.model.FulltextAttribute; import com.google.gson.TypeAdapter; @@ -54,7 +53,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +60,8 @@ * GetDocumentFulltextResponse */ @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 GetDocumentFulltextResponse { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -618,7 +616,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentFulltextResponse.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 GetDocumentFulltextResponse is not found in the empty JSON string", GetDocumentFulltextResponse.openapiRequiredFields.toString())); } @@ -628,7 +626,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 (!GetDocumentFulltextResponse.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 `GetDocumentFulltextResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -636,73 +634,73 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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("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())); } 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("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("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("lastModifiedDate") != null && !jsonObj.get("lastModifiedDate").isJsonNull()) && !jsonObj.get("lastModifiedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `lastModifiedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastModifiedDate").toString())); } 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("createdBy") != null && !jsonObj.get("createdBy").isJsonNull()) && !jsonObj.get("createdBy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `createdBy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("createdBy").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())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentMetadataExtractionResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentMetadataExtractionResponse.java new file mode 100644 index 000000000..f131b164a --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetDocumentMetadataExtractionResponse.java @@ -0,0 +1,288 @@ +/* + * 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.MetadataExtraction; +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; + +/** + * GetDocumentMetadataExtractionResponse + */ +@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 GetDocumentMetadataExtractionResponse { + public static final String SERIALIZED_NAME_NEXT = "next"; + @SerializedName(SERIALIZED_NAME_NEXT) + @javax.annotation.Nullable + private String next; + + public static final String SERIALIZED_NAME_METADATA_EXTRACTIONS = "metadataExtractions"; + @SerializedName(SERIALIZED_NAME_METADATA_EXTRACTIONS) + @javax.annotation.Nullable + private List metadataExtractions = new ArrayList<>(); + + public GetDocumentMetadataExtractionResponse() {} + + public GetDocumentMetadataExtractionResponse next(@javax.annotation.Nullable String next) { + this.next = next; + return this; + } + + /** + * Next page of results token + * + * @return next + */ + @javax.annotation.Nullable + public String getNext() { + return next; + } + + public void setNext(@javax.annotation.Nullable String next) { + this.next = next; + } + + + public GetDocumentMetadataExtractionResponse metadataExtractions( + @javax.annotation.Nullable List metadataExtractions) { + this.metadataExtractions = metadataExtractions; + return this; + } + + public GetDocumentMetadataExtractionResponse addMetadataExtractionsItem( + MetadataExtraction metadataExtractionsItem) { + if (this.metadataExtractions == null) { + this.metadataExtractions = new ArrayList<>(); + } + this.metadataExtractions.add(metadataExtractionsItem); + return this; + } + + /** + * List of Metadata Extractions + * + * @return metadataExtractions + */ + @javax.annotation.Nullable + public List getMetadataExtractions() { + return metadataExtractions; + } + + public void setMetadataExtractions( + @javax.annotation.Nullable List metadataExtractions) { + this.metadataExtractions = metadataExtractions; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetDocumentMetadataExtractionResponse getDocumentMetadataExtractionResponse = + (GetDocumentMetadataExtractionResponse) o; + return Objects.equals(this.next, getDocumentMetadataExtractionResponse.next) && Objects.equals( + this.metadataExtractions, getDocumentMetadataExtractionResponse.metadataExtractions); + } + + @Override + public int hashCode() { + return Objects.hash(next, metadataExtractions); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetDocumentMetadataExtractionResponse {\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append(" metadataExtractions: ").append(toIndentedString(metadataExtractions)) + .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("next", "metadataExtractions")); + + // 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 + * GetDocumentMetadataExtractionResponse + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!GetDocumentMetadataExtractionResponse.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 GetDocumentMetadataExtractionResponse is not found in the empty JSON string", + GetDocumentMetadataExtractionResponse.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!GetDocumentMetadataExtractionResponse.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 `GetDocumentMetadataExtractionResponse` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) + && !jsonObj.get("next").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, + "Expected the field `next` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("next").toString())); + } + if (jsonObj.get("metadataExtractions") != null + && !jsonObj.get("metadataExtractions").isJsonNull()) { + JsonArray jsonArraymetadataExtractions = jsonObj.getAsJsonArray("metadataExtractions"); + if (jsonArraymetadataExtractions != null) { + // ensure the json data is an array + if (!jsonObj.get("metadataExtractions").isJsonArray()) { + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, + "Expected the field `metadataExtractions` to be an array in the JSON string but got `%s`", + jsonObj.get("metadataExtractions").toString())); + } + + // validate the optional field `metadataExtractions` (array) + for (int i = 0; i < jsonArraymetadataExtractions.size(); i++) { + MetadataExtraction.validateJsonElement(jsonArraymetadataExtractions.get(i)); + } ; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GetDocumentMetadataExtractionResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GetDocumentMetadataExtractionResponse' and its + // subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(GetDocumentMetadataExtractionResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GetDocumentMetadataExtractionResponse value) + throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GetDocumentMetadataExtractionResponse read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GetDocumentMetadataExtractionResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of GetDocumentMetadataExtractionResponse + * @throws IOException if the JSON string is invalid with respect to + * GetDocumentMetadataExtractionResponse + */ + public static GetDocumentMetadataExtractionResponse fromJson(String jsonString) + throws IOException { + return JSON.getGson().fromJson(jsonString, GetDocumentMetadataExtractionResponse.class); + } + + /** + * Convert an instance of GetDocumentMetadataExtractionResponse 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/GetDocumentOcrResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentOcrResponse.java index 5a81a8d54..34ab00a0d 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentOcrResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentOcrResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.OcrKeyValues; import com.formkiq.client.model.OcrTable; import com.google.gson.TypeAdapter; @@ -54,7 +53,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +60,8 @@ * GetDocumentOcrResponse */ @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 GetDocumentOcrResponse { public static final String SERIALIZED_NAME_CONTENT_URLS = "contentUrls"; @SerializedName(SERIALIZED_NAME_CONTENT_URLS) @@ -448,7 +446,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentOcrResponse.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 GetDocumentOcrResponse is not found in the empty JSON string", GetDocumentOcrResponse.openapiRequiredFields.toString())); } @@ -458,7 +456,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 (!GetDocumentOcrResponse.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 `GetDocumentOcrResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -467,7 +465,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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())); } @@ -476,7 +474,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraykeyValues != null) { // ensure the json data is an array if (!jsonObj.get("keyValues").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `keyValues` to be an array in the JSON string but got `%s`", jsonObj.get("keyValues").toString())); } @@ -492,7 +490,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraytables != null) { // ensure the json data is an array if (!jsonObj.get("tables").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `tables` to be an array in the JSON string but got `%s`", jsonObj.get("tables").toString())); } @@ -505,43 +503,43 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("data") != null && !jsonObj.get("data").isJsonNull()) && !jsonObj.get("data").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `data` to be a primitive type in the JSON string but got `%s`", jsonObj.get("data").toString())); } if ((jsonObj.get("ocrEngine") != null && !jsonObj.get("ocrEngine").isJsonNull()) && !jsonObj.get("ocrEngine").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `ocrEngine` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ocrEngine").toString())); } if ((jsonObj.get("ocrStatus") != null && !jsonObj.get("ocrStatus").isJsonNull()) && !jsonObj.get("ocrStatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `ocrStatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ocrStatus").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("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("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("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())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentResponse.java index 8bd232a75..2fde8ddc5 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.ChecksumType; import com.formkiq.client.model.ChildDocument; import com.formkiq.client.model.DocumentMetadata; @@ -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 @@ * GetDocumentResponse */ @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 GetDocumentResponse { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -607,7 +605,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentResponse.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 GetDocumentResponse is not found in the empty JSON string", GetDocumentResponse.openapiRequiredFields.toString())); } @@ -617,7 +615,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 (!GetDocumentResponse.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 `GetDocumentResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -626,7 +624,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 : GetDocumentResponse.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())); } @@ -634,49 +632,49 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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("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("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("lastModifiedDate") != null && !jsonObj.get("lastModifiedDate").isJsonNull()) && !jsonObj.get("lastModifiedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `lastModifiedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastModifiedDate").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())); } @@ -685,25 +683,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti ChecksumType.validateJsonElement(jsonObj.get("checksumType")); } 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())); } 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("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("versionId") != null && !jsonObj.get("versionId").isJsonNull()) && !jsonObj.get("versionId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `versionId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("versionId").toString())); } @@ -712,7 +710,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())); } @@ -726,7 +724,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("belongsToDocumentId") != null && !jsonObj.get("belongsToDocumentId").isJsonNull()) && !jsonObj.get("belongsToDocumentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `belongsToDocumentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("belongsToDocumentId").toString())); } @@ -735,7 +733,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/GetDocumentSyncResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentSyncResponse.java index 992cad72d..722062973 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentSyncResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentSyncResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentSync; 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 @@ * GetDocumentSyncResponse */ @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 GetDocumentSyncResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentSyncResponse.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 GetDocumentSyncResponse is not found in the empty JSON string", GetDocumentSyncResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetDocumentSyncResponse.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 `GetDocumentSyncResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraysyncs != null) { // ensure the json data is an array if (!jsonObj.get("syncs").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `syncs` to be an array in the JSON string but got `%s`", jsonObj.get("syncs").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentTagResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentTagResponse.java index 63169db57..76c88e0d4 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentTagResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentTagResponse.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 @@ * GetDocumentTagResponse */ @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 GetDocumentTagResponse { public static final String SERIALIZED_NAME_INSERTED_DATE = "insertedDate"; @SerializedName(SERIALIZED_NAME_INSERTED_DATE) @@ -320,7 +318,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentTagResponse.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 GetDocumentTagResponse is not found in the empty JSON string", GetDocumentTagResponse.openapiRequiredFields.toString())); } @@ -330,7 +328,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 (!GetDocumentTagResponse.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 `GetDocumentTagResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -338,44 +336,44 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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("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("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("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("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())); } if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !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/GetDocumentTagsResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentTagsResponse.java index eb6ca6fbe..ed98fbb8d 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentTagsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentTagsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentTag; 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 @@ * GetDocumentTagsResponse */ @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 GetDocumentTagsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentTagsResponse.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 GetDocumentTagsResponse is not found in the empty JSON string", GetDocumentTagsResponse.openapiRequiredFields.toString())); } @@ -222,7 +220,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 (!GetDocumentTagsResponse.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 `GetDocumentTagsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -230,13 +228,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } if ((jsonObj.get("previous") != null && !jsonObj.get("previous").isJsonNull()) && !jsonObj.get("previous").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `previous` to be a primitive type in the JSON string but got `%s`", jsonObj.get("previous").toString())); } @@ -245,7 +243,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())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentUrlResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentUrlResponse.java index 07cef789b..336752b84 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentUrlResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentUrlResponse.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 @@ * GetDocumentUrlResponse */ @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 GetDocumentUrlResponse { 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 (!GetDocumentUrlResponse.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 GetDocumentUrlResponse is not found in the empty JSON string", GetDocumentUrlResponse.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 (!GetDocumentUrlResponse.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 `GetDocumentUrlResponse` 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("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())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentVersionsResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentVersionsResponse.java index 61641a0e3..0e3f36eda 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentVersionsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentVersionsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentVersion; 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 @@ * GetDocumentVersionsResponse */ @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 GetDocumentVersionsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -186,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentVersionsResponse.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 GetDocumentVersionsResponse is not found in the empty JSON string", GetDocumentVersionsResponse.openapiRequiredFields.toString())); } @@ -196,7 +194,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 (!GetDocumentVersionsResponse.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 `GetDocumentVersionsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -204,7 +202,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -213,7 +211,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/GetDocumentWorkflowResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentWorkflowResponse.java index a90a604c1..5381bce91 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentWorkflowResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentWorkflow; 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 @@ * GetDocumentWorkflowResponse */ @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 GetDocumentWorkflowResponse { public static final String SERIALIZED_NAME_WORKFLOW = "workflow"; @SerializedName(SERIALIZED_NAME_WORKFLOW) @@ -149,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentWorkflowResponse.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 GetDocumentWorkflowResponse is not found in the empty JSON string", GetDocumentWorkflowResponse.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 (!GetDocumentWorkflowResponse.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 `GetDocumentWorkflowResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentWorkflowsResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentWorkflowsResponse.java index 404b15752..e69edba7b 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentWorkflowsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentWorkflowsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentWorkflow; 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 @@ * GetDocumentWorkflowsResponse */ @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 GetDocumentWorkflowsResponse { public static final String SERIALIZED_NAME_WORKFLOWS = "workflows"; @SerializedName(SERIALIZED_NAME_WORKFLOWS) @@ -187,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetDocumentWorkflowsResponse.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 GetDocumentWorkflowsResponse is not found in the empty JSON string", GetDocumentWorkflowsResponse.openapiRequiredFields.toString())); } @@ -197,7 +195,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 (!GetDocumentWorkflowsResponse.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 `GetDocumentWorkflowsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -208,7 +206,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayworkflows != null) { // ensure the json data is an array if (!jsonObj.get("workflows").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `workflows` to be an array in the JSON string but got `%s`", jsonObj.get("workflows").toString())); } @@ -221,7 +219,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentsResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentsResponse.java index fc7fc1047..6c5529206 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Document; 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 @@ * GetDocumentsResponse */ @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 GetDocumentsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentsResponse.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 GetDocumentsResponse is not found in the empty JSON string", GetDocumentsResponse.openapiRequiredFields.toString())); } @@ -222,7 +220,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 (!GetDocumentsResponse.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 `GetDocumentsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -230,13 +228,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } if ((jsonObj.get("previous") != null && !jsonObj.get("previous").isJsonNull()) && !jsonObj.get("previous").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `previous` to be a primitive type in the JSON string but got `%s`", jsonObj.get("previous").toString())); } @@ -245,7 +243,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/GetEntitiesResponse.java b/src/main/java/com/formkiq/client/model/GetEntitiesResponse.java index f47ab9cfb..7a000e415 100644 --- a/src/main/java/com/formkiq/client/model/GetEntitiesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetEntitiesResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Entity; 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 @@ * GetEntitiesResponse */ @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 GetEntitiesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetEntitiesResponse.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 GetEntitiesResponse is not found in the empty JSON string", GetEntitiesResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetEntitiesResponse.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 `GetEntitiesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayentities != null) { // ensure the json data is an array if (!jsonObj.get("entities").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `entities` to be an array in the JSON string but got `%s`", jsonObj.get("entities").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetEntityResponse.java b/src/main/java/com/formkiq/client/model/GetEntityResponse.java index f4dcc634d..4b05f48ae 100644 --- a/src/main/java/com/formkiq/client/model/GetEntityResponse.java +++ b/src/main/java/com/formkiq/client/model/GetEntityResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Entity; 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 @@ * GetEntityResponse */ @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 GetEntityResponse { public static final String SERIALIZED_NAME_ENTITY = "entity"; @SerializedName(SERIALIZED_NAME_ENTITY) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetEntityResponse.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 GetEntityResponse is not found in the empty JSON string", GetEntityResponse.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 (!GetEntityResponse.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 `GetEntityResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetEntityTypeResponse.java b/src/main/java/com/formkiq/client/model/GetEntityTypeResponse.java index 6227a55fa..af058eb2d 100644 --- a/src/main/java/com/formkiq/client/model/GetEntityTypeResponse.java +++ b/src/main/java/com/formkiq/client/model/GetEntityTypeResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.EntityType; 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 @@ * GetEntityTypeResponse */ @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 GetEntityTypeResponse { public static final String SERIALIZED_NAME_ENTITY_TYPE = "entityType"; @SerializedName(SERIALIZED_NAME_ENTITY_TYPE) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetEntityTypeResponse.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 GetEntityTypeResponse is not found in the empty JSON string", GetEntityTypeResponse.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 (!GetEntityTypeResponse.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 `GetEntityTypeResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java b/src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java index 89d769308..c459b55da 100644 --- a/src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.EntityType; 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 @@ * GetEntityTypesResponse */ @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 GetEntityTypesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -186,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetEntityTypesResponse.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 GetEntityTypesResponse is not found in the empty JSON string", GetEntityTypesResponse.openapiRequiredFields.toString())); } @@ -196,7 +194,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 (!GetEntityTypesResponse.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 `GetEntityTypesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -204,7 +202,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -213,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayentityTypes != null) { // ensure the json data is an array if (!jsonObj.get("entityTypes").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `entityTypes` to be an array in the JSON string but got `%s`", jsonObj.get("entityTypes").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetExaminePdfResponse.java b/src/main/java/com/formkiq/client/model/GetExaminePdfResponse.java index d2bb57c8d..302904e7d 100644 --- a/src/main/java/com/formkiq/client/model/GetExaminePdfResponse.java +++ b/src/main/java/com/formkiq/client/model/GetExaminePdfResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.PdfDocument; 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 @@ * GetExaminePdfResponse */ @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 GetExaminePdfResponse { public static final String SERIALIZED_NAME_FILEINFO = "fileinfo"; @SerializedName(SERIALIZED_NAME_FILEINFO) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetExaminePdfResponse.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 GetExaminePdfResponse is not found in the empty JSON string", GetExaminePdfResponse.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 (!GetExaminePdfResponse.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 `GetExaminePdfResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetExaminePdfUrlResponse.java b/src/main/java/com/formkiq/client/model/GetExaminePdfUrlResponse.java index 21ab83490..14e39d30c 100644 --- a/src/main/java/com/formkiq/client/model/GetExaminePdfUrlResponse.java +++ b/src/main/java/com/formkiq/client/model/GetExaminePdfUrlResponse.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 @@ * GetExaminePdfUrlResponse */ @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 GetExaminePdfUrlResponse { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -174,7 +172,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetExaminePdfUrlResponse.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 GetExaminePdfUrlResponse is not found in the empty JSON string", GetExaminePdfUrlResponse.openapiRequiredFields.toString())); } @@ -184,7 +182,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 (!GetExaminePdfUrlResponse.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 `GetExaminePdfUrlResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +190,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); } if ((jsonObj.get("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/GetFolderPermissionsResponse.java b/src/main/java/com/formkiq/client/model/GetFolderPermissionsResponse.java index 12bc78947..34af93577 100644 --- a/src/main/java/com/formkiq/client/model/GetFolderPermissionsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetFolderPermissionsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.FolderPermission; 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 @@ * GetFolderPermissionsResponse */ @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 GetFolderPermissionsResponse { public static final String SERIALIZED_NAME_ROLES = "roles"; @SerializedName(SERIALIZED_NAME_ROLES) @@ -160,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetFolderPermissionsResponse.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 GetFolderPermissionsResponse is not found in the empty JSON string", GetFolderPermissionsResponse.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 (!GetFolderPermissionsResponse.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 `GetFolderPermissionsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -181,7 +179,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayroles != null) { // ensure the json data is an array if (!jsonObj.get("roles").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `roles` to be an array in the JSON string but got `%s`", jsonObj.get("roles").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetFoldersResponse.java b/src/main/java/com/formkiq/client/model/GetFoldersResponse.java index 6c1b18fba..4ae12a0f3 100644 --- a/src/main/java/com/formkiq/client/model/GetFoldersResponse.java +++ b/src/main/java/com/formkiq/client/model/GetFoldersResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.SearchResultDocument; 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 @@ * GetFoldersResponse */ @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 GetFoldersResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -213,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetFoldersResponse.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 GetFoldersResponse is not found in the empty JSON string", GetFoldersResponse.openapiRequiredFields.toString())); } @@ -223,7 +221,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 (!GetFoldersResponse.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 `GetFoldersResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -231,13 +229,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } if ((jsonObj.get("previous") != null && !jsonObj.get("previous").isJsonNull()) && !jsonObj.get("previous").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `previous` to be a primitive type in the JSON string but got `%s`", jsonObj.get("previous").toString())); } @@ -246,7 +244,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/GetGroupResponse.java b/src/main/java/com/formkiq/client/model/GetGroupResponse.java index 075fb86d8..01da8805f 100644 --- a/src/main/java/com/formkiq/client/model/GetGroupResponse.java +++ b/src/main/java/com/formkiq/client/model/GetGroupResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Group; 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 @@ * GetGroupResponse */ @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 GetGroupResponse { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetGroupResponse.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 GetGroupResponse is not found in the empty JSON string", GetGroupResponse.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 (!GetGroupResponse.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 `GetGroupResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetGroupsResponse.java b/src/main/java/com/formkiq/client/model/GetGroupsResponse.java index 629332d6a..57a31f9e1 100644 --- a/src/main/java/com/formkiq/client/model/GetGroupsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetGroupsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Group; 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 @@ * GetGroupsResponse */ @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 GetGroupsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetGroupsResponse.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 GetGroupsResponse is not found in the empty JSON string", GetGroupsResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetGroupsResponse.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 `GetGroupsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraygroups != null) { // ensure the json data is an array if (!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())); } diff --git a/src/main/java/com/formkiq/client/model/GetLocaleResourceItemResponse.java b/src/main/java/com/formkiq/client/model/GetLocaleResourceItemResponse.java index bbec0fae6..bc8d91eab 100644 --- a/src/main/java/com/formkiq/client/model/GetLocaleResourceItemResponse.java +++ b/src/main/java/com/formkiq/client/model/GetLocaleResourceItemResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.ResourceItem; 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 @@ * GetLocaleResourceItemResponse */ @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 GetLocaleResourceItemResponse { public static final String SERIALIZED_NAME_RESOURCE_ITEM = "resourceItem"; @SerializedName(SERIALIZED_NAME_RESOURCE_ITEM) @@ -151,7 +149,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetLocaleResourceItemResponse.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 GetLocaleResourceItemResponse is not found in the empty JSON string", GetLocaleResourceItemResponse.openapiRequiredFields.toString())); } @@ -161,7 +159,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 (!GetLocaleResourceItemResponse.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 `GetLocaleResourceItemResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetLocaleResourceItemsResponse.java b/src/main/java/com/formkiq/client/model/GetLocaleResourceItemsResponse.java index 772c3f0cb..50373f6c7 100644 --- a/src/main/java/com/formkiq/client/model/GetLocaleResourceItemsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetLocaleResourceItemsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.ResourceItem; 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 @@ * GetLocaleResourceItemsResponse */ @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 GetLocaleResourceItemsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -189,7 +187,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetLocaleResourceItemsResponse.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 GetLocaleResourceItemsResponse is not found in the empty JSON string", GetLocaleResourceItemsResponse.openapiRequiredFields.toString())); } @@ -199,7 +197,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 (!GetLocaleResourceItemsResponse.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 `GetLocaleResourceItemsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -207,7 +205,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -216,7 +214,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayresourceItems != null) { // ensure the json data is an array if (!jsonObj.get("resourceItems").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `resourceItems` to be an array in the JSON string but got `%s`", jsonObj.get("resourceItems").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetLocalesResponse.java b/src/main/java/com/formkiq/client/model/GetLocalesResponse.java index 421880b83..66b5b508e 100644 --- a/src/main/java/com/formkiq/client/model/GetLocalesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetLocalesResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.LocaleInfo; 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 @@ * GetLocalesResponse */ @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 GetLocalesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetLocalesResponse.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 GetLocalesResponse is not found in the empty JSON string", GetLocalesResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetLocalesResponse.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 `GetLocalesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraylocales != null) { // ensure the json data is an array if (!jsonObj.get("locales").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `locales` to be an array in the JSON string but got `%s`", jsonObj.get("locales").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetMalwareScanResponse.java b/src/main/java/com/formkiq/client/model/GetMalwareScanResponse.java index 2eaee9dd9..13ebfd634 100644 --- a/src/main/java/com/formkiq/client/model/GetMalwareScanResponse.java +++ b/src/main/java/com/formkiq/client/model/GetMalwareScanResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.MalwareScanResult; 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 @@ * GetMalwareScanResponse */ @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 GetMalwareScanResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -188,7 +186,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetMalwareScanResponse.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 GetMalwareScanResponse is not found in the empty JSON string", GetMalwareScanResponse.openapiRequiredFields.toString())); } @@ -198,7 +196,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 (!GetMalwareScanResponse.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 `GetMalwareScanResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -206,7 +204,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -216,7 +214,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraymalwareScanResults != null) { // ensure the json data is an array if (!jsonObj.get("malwareScanResults").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `malwareScanResults` to be an array in the JSON string but got `%s`", jsonObj.get("malwareScanResults").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetMappingResponse.java b/src/main/java/com/formkiq/client/model/GetMappingResponse.java index 1ce3ab4cd..35bd68902 100644 --- a/src/main/java/com/formkiq/client/model/GetMappingResponse.java +++ b/src/main/java/com/formkiq/client/model/GetMappingResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Mapping; 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 @@ * GetMappingResponse */ @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 GetMappingResponse { public static final String SERIALIZED_NAME_MAPPING = "mapping"; @SerializedName(SERIALIZED_NAME_MAPPING) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetMappingResponse.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 GetMappingResponse is not found in the empty JSON string", GetMappingResponse.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 (!GetMappingResponse.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 `GetMappingResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetMappingsResponse.java b/src/main/java/com/formkiq/client/model/GetMappingsResponse.java index bde63da62..22d2c9a19 100644 --- a/src/main/java/com/formkiq/client/model/GetMappingsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetMappingsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Mapping; 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 @@ * GetMappingsResponse */ @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 GetMappingsResponse { public static final String SERIALIZED_NAME_MAPPINGS = "mappings"; @SerializedName(SERIALIZED_NAME_MAPPINGS) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetMappingsResponse.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 GetMappingsResponse is not found in the empty JSON string", GetMappingsResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetMappingsResponse.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 `GetMappingsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -206,7 +204,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraymappings != null) { // ensure the json data is an array if (!jsonObj.get("mappings").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `mappings` to be an array in the JSON string but got `%s`", jsonObj.get("mappings").toString())); } @@ -219,7 +217,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetOpaAccessPoliciesResponse.java b/src/main/java/com/formkiq/client/model/GetOpaAccessPoliciesResponse.java index 32c54caa4..a78f30284 100644 --- a/src/main/java/com/formkiq/client/model/GetOpaAccessPoliciesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetOpaAccessPoliciesResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.OpaPolicy; 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 @@ * GetOpaAccessPoliciesResponse */ @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 GetOpaAccessPoliciesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -187,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetOpaAccessPoliciesResponse.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 GetOpaAccessPoliciesResponse is not found in the empty JSON string", GetOpaAccessPoliciesResponse.openapiRequiredFields.toString())); } @@ -197,7 +195,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 (!GetOpaAccessPoliciesResponse.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 `GetOpaAccessPoliciesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -205,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -214,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayopaPolicies != null) { // ensure the json data is an array if (!jsonObj.get("opaPolicies").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `opaPolicies` to be an array in the JSON string but got `%s`", jsonObj.get("opaPolicies").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyItemsResponse.java b/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyItemsResponse.java index afb381a90..bfeb4a833 100644 --- a/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyItemsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyItemsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.OpaPolicyItem; 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 @@ * GetOpaAccessPolicyItemsResponse */ @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 GetOpaAccessPolicyItemsResponse { public static final String SERIALIZED_NAME_POLICY_ITEMS = "policyItems"; @SerializedName(SERIALIZED_NAME_POLICY_ITEMS) @@ -162,7 +160,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetOpaAccessPolicyItemsResponse.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 GetOpaAccessPolicyItemsResponse is not found in the empty JSON string", GetOpaAccessPolicyItemsResponse.openapiRequiredFields.toString())); } @@ -172,7 +170,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 (!GetOpaAccessPolicyItemsResponse.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 `GetOpaAccessPolicyItemsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -183,7 +181,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraypolicyItems != null) { // ensure the json data is an array if (!jsonObj.get("policyItems").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `policyItems` to be an array in the JSON string but got `%s`", jsonObj.get("policyItems").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyResponse.java b/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyResponse.java index 2789633a8..d78f72803 100644 --- a/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyResponse.java +++ b/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyResponse.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 @@ * GetOpaAccessPolicyResponse */ @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 GetOpaAccessPolicyResponse { public static final String SERIALIZED_NAME_OPA_POLICY = "opaPolicy"; @SerializedName(SERIALIZED_NAME_OPA_POLICY) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetOpaAccessPolicyResponse.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 GetOpaAccessPolicyResponse is not found in the empty JSON string", GetOpaAccessPolicyResponse.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 (!GetOpaAccessPolicyResponse.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 `GetOpaAccessPolicyResponse` 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("opaPolicy") != null && !jsonObj.get("opaPolicy").isJsonNull()) && !jsonObj.get("opaPolicy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `opaPolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("opaPolicy").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetOpenSearchIndexResponse.java b/src/main/java/com/formkiq/client/model/GetOpenSearchIndexResponse.java index 1dac4663e..8963eede3 100644 --- a/src/main/java/com/formkiq/client/model/GetOpenSearchIndexResponse.java +++ b/src/main/java/com/formkiq/client/model/GetOpenSearchIndexResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.OpenSearchIndexSetting; 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 @@ * GetOpenSearchIndexResponse */ @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 GetOpenSearchIndexResponse { public static final String SERIALIZED_NAME_INDEX_SETTINGS = "indexSettings"; @SerializedName(SERIALIZED_NAME_INDEX_SETTINGS) @@ -149,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetOpenSearchIndexResponse.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 GetOpenSearchIndexResponse is not found in the empty JSON string", GetOpenSearchIndexResponse.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 (!GetOpenSearchIndexResponse.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 `GetOpenSearchIndexResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetOpenSearchIndiceResponse.java b/src/main/java/com/formkiq/client/model/GetOpenSearchIndiceResponse.java index b866c44e6..5496c6877 100644 --- a/src/main/java/com/formkiq/client/model/GetOpenSearchIndiceResponse.java +++ b/src/main/java/com/formkiq/client/model/GetOpenSearchIndiceResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.OpenSearchIndex; 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 @@ * GetOpenSearchIndiceResponse */ @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 GetOpenSearchIndiceResponse { public static final String SERIALIZED_NAME_INDICES = "indices"; @SerializedName(SERIALIZED_NAME_INDICES) @@ -159,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetOpenSearchIndiceResponse.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 GetOpenSearchIndiceResponse is not found in the empty JSON string", GetOpenSearchIndiceResponse.openapiRequiredFields.toString())); } @@ -169,7 +167,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 (!GetOpenSearchIndiceResponse.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 `GetOpenSearchIndiceResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -180,7 +178,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayindices != null) { // ensure the json data is an array if (!jsonObj.get("indices").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `indices` to be an array in the JSON string but got `%s`", jsonObj.get("indices").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotRepositoryResponse.java b/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotRepositoryResponse.java index 20031382f..eda69447d 100644 --- a/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotRepositoryResponse.java +++ b/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotRepositoryResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.OpenSearchS3Repository; 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 @@ * GetOpenSearchSnapshotRepositoryResponse */ @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 GetOpenSearchSnapshotRepositoryResponse { public static final String SERIALIZED_NAME_S3_REPOSITORIES = "s3Repositories"; @SerializedName(SERIALIZED_NAME_S3_REPOSITORIES) @@ -168,7 +166,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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 GetOpenSearchSnapshotRepositoryResponse is not found in the empty JSON string", GetOpenSearchSnapshotRepositoryResponse.openapiRequiredFields.toString())); } @@ -178,7 +176,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 (!GetOpenSearchSnapshotRepositoryResponse.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 `GetOpenSearchSnapshotRepositoryResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -189,7 +187,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrays3Repositories != null) { // ensure the json data is an array if (!jsonObj.get("s3Repositories").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `s3Repositories` to be an array in the JSON string but got `%s`", jsonObj.get("s3Repositories").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotResponse.java b/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotResponse.java index 8e6e85545..9b09f6ae3 100644 --- a/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotResponse.java +++ b/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.OpenSearchSnapshot; 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 @@ * GetOpenSearchSnapshotResponse */ @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 GetOpenSearchSnapshotResponse { public static final String SERIALIZED_NAME_SNAPSHOTS = "snapshots"; @SerializedName(SERIALIZED_NAME_SNAPSHOTS) @@ -161,7 +159,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetOpenSearchSnapshotResponse.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 GetOpenSearchSnapshotResponse is not found in the empty JSON string", GetOpenSearchSnapshotResponse.openapiRequiredFields.toString())); } @@ -171,7 +169,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 (!GetOpenSearchSnapshotResponse.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 `GetOpenSearchSnapshotResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -182,7 +180,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraysnapshots != null) { // ensure the json data is an array if (!jsonObj.get("snapshots").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `snapshots` to be an array in the JSON string but got `%s`", jsonObj.get("snapshots").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetQueueResponse.java b/src/main/java/com/formkiq/client/model/GetQueueResponse.java index fa31c4306..7bdd27e47 100644 --- a/src/main/java/com/formkiq/client/model/GetQueueResponse.java +++ b/src/main/java/com/formkiq/client/model/GetQueueResponse.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 @@ * GetQueueResponse */ @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 GetQueueResponse { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetQueueResponse.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 GetQueueResponse is not found in the empty JSON string", GetQueueResponse.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 (!GetQueueResponse.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 `GetQueueResponse` 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("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/GetQueuesResponse.java b/src/main/java/com/formkiq/client/model/GetQueuesResponse.java index a8c03410d..a8abb3520 100644 --- a/src/main/java/com/formkiq/client/model/GetQueuesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetQueuesResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Queue; 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 @@ * GetQueuesResponse */ @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 GetQueuesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetQueuesResponse.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 GetQueuesResponse is not found in the empty JSON string", GetQueuesResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetQueuesResponse.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 `GetQueuesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayqueues != null) { // ensure the json data is an array if (!jsonObj.get("queues").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `queues` to be an array in the JSON string but got `%s`", jsonObj.get("queues").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetRuleResponse.java b/src/main/java/com/formkiq/client/model/GetRuleResponse.java index 73570f80d..5e93b3890 100644 --- a/src/main/java/com/formkiq/client/model/GetRuleResponse.java +++ b/src/main/java/com/formkiq/client/model/GetRuleResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Rule; 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 @@ * GetRuleResponse */ @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 GetRuleResponse { public static final String SERIALIZED_NAME_RULE = "rule"; @SerializedName(SERIALIZED_NAME_RULE) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetRuleResponse.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 GetRuleResponse is not found in the empty JSON string", GetRuleResponse.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 (!GetRuleResponse.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 `GetRuleResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetRulesResponse.java b/src/main/java/com/formkiq/client/model/GetRulesResponse.java index 7870fe127..81a2951e7 100644 --- a/src/main/java/com/formkiq/client/model/GetRulesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetRulesResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Rule; 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 @@ * GetRulesResponse */ @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 GetRulesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetRulesResponse.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 GetRulesResponse is not found in the empty JSON string", GetRulesResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetRulesResponse.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 `GetRulesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayrules != null) { // ensure the json data is an array if (!jsonObj.get("rules").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `rules` to be an array in the JSON string but got `%s`", jsonObj.get("rules").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetRulesetResponse.java b/src/main/java/com/formkiq/client/model/GetRulesetResponse.java index f443f3361..1cdda301c 100644 --- a/src/main/java/com/formkiq/client/model/GetRulesetResponse.java +++ b/src/main/java/com/formkiq/client/model/GetRulesetResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Ruleset; 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 @@ * GetRulesetResponse */ @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 GetRulesetResponse { public static final String SERIALIZED_NAME_RULESET = "ruleset"; @SerializedName(SERIALIZED_NAME_RULESET) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetRulesetResponse.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 GetRulesetResponse is not found in the empty JSON string", GetRulesetResponse.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 (!GetRulesetResponse.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 `GetRulesetResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetRulesetsResponse.java b/src/main/java/com/formkiq/client/model/GetRulesetsResponse.java index 9ced1d36a..4b6ce0091 100644 --- a/src/main/java/com/formkiq/client/model/GetRulesetsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetRulesetsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Ruleset; 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 @@ * GetRulesetsResponse */ @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 GetRulesetsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetRulesetsResponse.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 GetRulesetsResponse is not found in the empty JSON string", GetRulesetsResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetRulesetsResponse.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 `GetRulesetsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayrulesets != null) { // ensure the json data is an array if (!jsonObj.get("rulesets").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `rulesets` to be an array in the JSON string but got `%s`", jsonObj.get("rulesets").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetSiteGroupResponse.java b/src/main/java/com/formkiq/client/model/GetSiteGroupResponse.java index cd0fe2262..811765d3a 100644 --- a/src/main/java/com/formkiq/client/model/GetSiteGroupResponse.java +++ b/src/main/java/com/formkiq/client/model/GetSiteGroupResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.SiteGroup; 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 @@ * GetSiteGroupResponse */ @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 GetSiteGroupResponse { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetSiteGroupResponse.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 GetSiteGroupResponse is not found in the empty JSON string", GetSiteGroupResponse.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 (!GetSiteGroupResponse.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 `GetSiteGroupResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetSiteGroupsResponse.java b/src/main/java/com/formkiq/client/model/GetSiteGroupsResponse.java index 8d9b23775..a94f42ff3 100644 --- a/src/main/java/com/formkiq/client/model/GetSiteGroupsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetSiteGroupsResponse.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 @@ * GetSiteGroupsResponse */ @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 GetSiteGroupsResponse { public static final String SERIALIZED_NAME_GROUP_NAMES = "groupNames"; @SerializedName(SERIALIZED_NAME_GROUP_NAMES) @@ -157,7 +155,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetSiteGroupsResponse.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 GetSiteGroupsResponse is not found in the empty JSON string", GetSiteGroupsResponse.openapiRequiredFields.toString())); } @@ -167,7 +165,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 (!GetSiteGroupsResponse.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 `GetSiteGroupsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -176,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("groupNames") != null && !jsonObj.get("groupNames").isJsonNull() && !jsonObj.get("groupNames").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `groupNames` to be an array in the JSON string but got `%s`", jsonObj.get("groupNames").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetSitesResponse.java b/src/main/java/com/formkiq/client/model/GetSitesResponse.java index b26ff18f9..d42b39a3f 100644 --- a/src/main/java/com/formkiq/client/model/GetSitesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetSitesResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Site; 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 @@ * GetSitesResponse */ @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 GetSitesResponse { public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) @@ -74,6 +72,11 @@ public class GetSitesResponse { @javax.annotation.Nullable private List roles = new ArrayList<>(); + public static final String SERIALIZED_NAME_SAML_GROUPS = "samlGroups"; + @SerializedName(SERIALIZED_NAME_SAML_GROUPS) + @javax.annotation.Nullable + private List samlGroups = new ArrayList<>(); + public static final String SERIALIZED_NAME_SITES = "sites"; @SerializedName(SERIALIZED_NAME_SITES) @javax.annotation.Nullable @@ -129,6 +132,34 @@ public void setRoles(@javax.annotation.Nullable List roles) { } + public GetSitesResponse samlGroups(@javax.annotation.Nullable List samlGroups) { + this.samlGroups = samlGroups; + return this; + } + + public GetSitesResponse addSamlGroupsItem(String samlGroupsItem) { + if (this.samlGroups == null) { + this.samlGroups = new ArrayList<>(); + } + this.samlGroups.add(samlGroupsItem); + return this; + } + + /** + * List of User Saml Groups + * + * @return samlGroups + */ + @javax.annotation.Nullable + public List getSamlGroups() { + return samlGroups; + } + + public void setSamlGroups(@javax.annotation.Nullable List samlGroups) { + this.samlGroups = samlGroups; + } + + public GetSitesResponse sites(@javax.annotation.Nullable List sites) { this.sites = sites; return this; @@ -169,12 +200,13 @@ public boolean equals(Object o) { GetSitesResponse getSitesResponse = (GetSitesResponse) o; return Objects.equals(this.username, getSitesResponse.username) && Objects.equals(this.roles, getSitesResponse.roles) + && Objects.equals(this.samlGroups, getSitesResponse.samlGroups) && Objects.equals(this.sites, getSitesResponse.sites); } @Override public int hashCode() { - return Objects.hash(username, roles, sites); + return Objects.hash(username, roles, samlGroups, sites); } @Override @@ -183,6 +215,7 @@ public String toString() { sb.append("class GetSitesResponse {\n"); sb.append(" username: ").append(toIndentedString(username)).append("\n"); sb.append(" roles: ").append(toIndentedString(roles)).append("\n"); + sb.append(" samlGroups: ").append(toIndentedString(samlGroups)).append("\n"); sb.append(" sites: ").append(toIndentedString(sites)).append("\n"); sb.append("}"); return sb.toString(); @@ -204,7 +237,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(Arrays.asList("username", "roles", "sites")); + openapiFields = new HashSet(Arrays.asList("username", "roles", "samlGroups", "sites")); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(0); @@ -220,7 +253,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetSitesResponse.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 GetSitesResponse is not found in the empty JSON string", GetSitesResponse.openapiRequiredFields.toString())); } @@ -230,7 +263,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 (!GetSitesResponse.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 `GetSitesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -238,23 +271,30 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("username") != null && !jsonObj.get("username").isJsonNull()) && !jsonObj.get("username").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `username` to be a primitive type in the JSON string but got `%s`", jsonObj.get("username").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("roles") != null && !jsonObj.get("roles").isJsonNull() && !jsonObj.get("roles").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `roles` to be an array in the JSON string but got `%s`", jsonObj.get("roles").toString())); } + // ensure the optional json data is an array if present + if (jsonObj.get("samlGroups") != null && !jsonObj.get("samlGroups").isJsonNull() + && !jsonObj.get("samlGroups").isJsonArray()) { + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, + "Expected the field `samlGroups` to be an array in the JSON string but got `%s`", + jsonObj.get("samlGroups").toString())); + } if (jsonObj.get("sites") != null && !jsonObj.get("sites").isJsonNull()) { JsonArray jsonArraysites = jsonObj.getAsJsonArray("sites"); if (jsonArraysites != null) { // ensure the json data is an array if (!jsonObj.get("sites").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `sites` to be an array in the JSON string but got `%s`", jsonObj.get("sites").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetSitesSchemaResponse.java b/src/main/java/com/formkiq/client/model/GetSitesSchemaResponse.java index c2b61f64b..491413a29 100644 --- a/src/main/java/com/formkiq/client/model/GetSitesSchemaResponse.java +++ b/src/main/java/com/formkiq/client/model/GetSitesSchemaResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.SchemaAttributes; 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 @@ * GetSitesSchemaResponse */ @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 GetSitesSchemaResponse { 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 (!GetSitesSchemaResponse.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 GetSitesSchemaResponse is not found in the empty JSON string", GetSitesSchemaResponse.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 (!GetSitesSchemaResponse.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 `GetSitesSchemaResponse` 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/GetUserActivitesResponse.java b/src/main/java/com/formkiq/client/model/GetUserActivitesResponse.java index 8a627229b..a9f59e041 100644 --- a/src/main/java/com/formkiq/client/model/GetUserActivitesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetUserActivitesResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.UserActivity; 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 @@ * GetUserActivitesResponse */ @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 GetUserActivitesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -186,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetUserActivitesResponse.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 GetUserActivitesResponse is not found in the empty JSON string", GetUserActivitesResponse.openapiRequiredFields.toString())); } @@ -196,7 +194,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 (!GetUserActivitesResponse.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 `GetUserActivitesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -204,7 +202,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -213,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayuserActivities != null) { // ensure the json data is an array if (!jsonObj.get("userActivities").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `userActivities` to be an array in the JSON string but got `%s`", jsonObj.get("userActivities").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetUserGroupsResponse.java b/src/main/java/com/formkiq/client/model/GetUserGroupsResponse.java index 53cd47f6d..686fcabd1 100644 --- a/src/main/java/com/formkiq/client/model/GetUserGroupsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetUserGroupsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Group; 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 @@ * GetUserGroupsResponse */ @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 GetUserGroupsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetUserGroupsResponse.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 GetUserGroupsResponse is not found in the empty JSON string", GetUserGroupsResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetUserGroupsResponse.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 `GetUserGroupsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraygroups != null) { // ensure the json data is an array if (!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())); } diff --git a/src/main/java/com/formkiq/client/model/GetUserResponse.java b/src/main/java/com/formkiq/client/model/GetUserResponse.java index ed6deafe9..a805f0a01 100644 --- a/src/main/java/com/formkiq/client/model/GetUserResponse.java +++ b/src/main/java/com/formkiq/client/model/GetUserResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.User; 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 @@ * GetUserResponse */ @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 GetUserResponse { public static final String SERIALIZED_NAME_USER = "user"; @SerializedName(SERIALIZED_NAME_USER) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetUserResponse.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 GetUserResponse is not found in the empty JSON string", GetUserResponse.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 (!GetUserResponse.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 `GetUserResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetUserSharesResponse.java b/src/main/java/com/formkiq/client/model/GetUserSharesResponse.java index b8ec07850..7601408e6 100644 --- a/src/main/java/com/formkiq/client/model/GetUserSharesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetUserSharesResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.UserShare; 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 @@ * GetUserSharesResponse */ @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 GetUserSharesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetUserSharesResponse.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 GetUserSharesResponse is not found in the empty JSON string", GetUserSharesResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetUserSharesResponse.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 `GetUserSharesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayshares != null) { // ensure the json data is an array if (!jsonObj.get("shares").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `shares` to be an array in the JSON string but got `%s`", jsonObj.get("shares").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetUsersInGroupResponse.java b/src/main/java/com/formkiq/client/model/GetUsersInGroupResponse.java index 77146a671..44ba3f0dd 100644 --- a/src/main/java/com/formkiq/client/model/GetUsersInGroupResponse.java +++ b/src/main/java/com/formkiq/client/model/GetUsersInGroupResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.User; 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 @@ * GetUsersInGroupResponse */ @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 GetUsersInGroupResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetUsersInGroupResponse.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 GetUsersInGroupResponse is not found in the empty JSON string", GetUsersInGroupResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetUsersInGroupResponse.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 `GetUsersInGroupResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayusers != null) { // ensure the json data is an array if (!jsonObj.get("users").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `users` to be an array in the JSON string but got `%s`", jsonObj.get("users").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetUsersResponse.java b/src/main/java/com/formkiq/client/model/GetUsersResponse.java index a22246d8a..5ab84dc59 100644 --- a/src/main/java/com/formkiq/client/model/GetUsersResponse.java +++ b/src/main/java/com/formkiq/client/model/GetUsersResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.User; 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 @@ * GetUsersResponse */ @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 GetUsersResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -185,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetUsersResponse.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 GetUsersResponse is not found in the empty JSON string", GetUsersResponse.openapiRequiredFields.toString())); } @@ -195,7 +193,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 (!GetUsersResponse.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 `GetUsersResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayusers != null) { // ensure the json data is an array if (!jsonObj.get("users").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `users` to be an array in the JSON string but got `%s`", jsonObj.get("users").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetVersionResponse.java b/src/main/java/com/formkiq/client/model/GetVersionResponse.java index 4c3b17d5d..cdb67ac02 100644 --- a/src/main/java/com/formkiq/client/model/GetVersionResponse.java +++ b/src/main/java/com/formkiq/client/model/GetVersionResponse.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 @@ * GetVersionResponse */ @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 GetVersionResponse { public static final String SERIALIZED_NAME_VERSION = "version"; @SerializedName(SERIALIZED_NAME_VERSION) @@ -239,7 +237,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetVersionResponse.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 GetVersionResponse is not found in the empty JSON string", GetVersionResponse.openapiRequiredFields.toString())); } @@ -249,7 +247,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 (!GetVersionResponse.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 `GetVersionResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -257,26 +255,26 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("version") != null && !jsonObj.get("version").isJsonNull()) && !jsonObj.get("version").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `version` to be a primitive type in the JSON string but got `%s`", jsonObj.get("version").toString())); } 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("appEnvironment") != null && !jsonObj.get("appEnvironment").isJsonNull()) && !jsonObj.get("appEnvironment").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `appEnvironment` to be a primitive type in the JSON string but got `%s`", jsonObj.get("appEnvironment").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("modules") != null && !jsonObj.get("modules").isJsonNull() && !jsonObj.get("modules").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `modules` to be an array in the JSON string but got `%s`", jsonObj.get("modules").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetWebhookResponse.java b/src/main/java/com/formkiq/client/model/GetWebhookResponse.java index 2b26cc5af..accde6879 100644 --- a/src/main/java/com/formkiq/client/model/GetWebhookResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWebhookResponse.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 @@ * GetWebhookResponse */ @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 GetWebhookResponse { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -337,7 +335,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetWebhookResponse.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 GetWebhookResponse is not found in the empty JSON string", GetWebhookResponse.openapiRequiredFields.toString())); } @@ -347,7 +345,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 (!GetWebhookResponse.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 `GetWebhookResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -355,49 +353,49 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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("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())); } 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("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("webhookId") != null && !jsonObj.get("webhookId").isJsonNull()) && !jsonObj.get("webhookId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `webhookId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookId").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("enabled") != null && !jsonObj.get("enabled").isJsonNull()) && !jsonObj.get("enabled").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `enabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("enabled").toString())); } if ((jsonObj.get("ttl") != null && !jsonObj.get("ttl").isJsonNull()) && !jsonObj.get("ttl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `ttl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ttl").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetWebhookTagsResponse.java b/src/main/java/com/formkiq/client/model/GetWebhookTagsResponse.java index 13a6a3cb8..99f3b1868 100644 --- a/src/main/java/com/formkiq/client/model/GetWebhookTagsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWebhookTagsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.WebhookTag; 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 @@ * GetWebhookTagsResponse */ @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 GetWebhookTagsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetWebhookTagsResponse.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 GetWebhookTagsResponse is not found in the empty JSON string", GetWebhookTagsResponse.openapiRequiredFields.toString())); } @@ -222,7 +220,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 (!GetWebhookTagsResponse.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 `GetWebhookTagsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -230,13 +228,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } if ((jsonObj.get("previous") != null && !jsonObj.get("previous").isJsonNull()) && !jsonObj.get("previous").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `previous` to be a primitive type in the JSON string but got `%s`", jsonObj.get("previous").toString())); } @@ -245,7 +243,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())); } diff --git a/src/main/java/com/formkiq/client/model/GetWebhooksResponse.java b/src/main/java/com/formkiq/client/model/GetWebhooksResponse.java index 4d9d68eb8..78bd21d5a 100644 --- a/src/main/java/com/formkiq/client/model/GetWebhooksResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWebhooksResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.GetWebhookResponse; 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 @@ * GetWebhooksResponse */ @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 GetWebhooksResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -186,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetWebhooksResponse.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 GetWebhooksResponse is not found in the empty JSON string", GetWebhooksResponse.openapiRequiredFields.toString())); } @@ -196,7 +194,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 (!GetWebhooksResponse.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 `GetWebhooksResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -204,7 +202,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -213,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraywebhooks != null) { // ensure the json data is an array if (!jsonObj.get("webhooks").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `webhooks` to be an array in the JSON string but got `%s`", jsonObj.get("webhooks").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetWorkflowDocumentsResponse.java b/src/main/java/com/formkiq/client/model/GetWorkflowDocumentsResponse.java index ac7552baa..6689a7da9 100644 --- a/src/main/java/com/formkiq/client/model/GetWorkflowDocumentsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWorkflowDocumentsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Document; 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 @@ * GetWorkflowDocumentsResponse */ @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 GetWorkflowDocumentsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -187,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetWorkflowDocumentsResponse.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 GetWorkflowDocumentsResponse is not found in the empty JSON string", GetWorkflowDocumentsResponse.openapiRequiredFields.toString())); } @@ -197,7 +195,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 (!GetWorkflowDocumentsResponse.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 `GetWorkflowDocumentsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -205,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -214,7 +212,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/GetWorkflowQueueDocumentsResponse.java b/src/main/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponse.java index 9c5f0e355..2fc9b4d39 100644 --- a/src/main/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.WorkflowDocument; 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 @@ * GetWorkflowQueueDocumentsResponse */ @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 GetWorkflowQueueDocumentsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -189,7 +187,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetWorkflowQueueDocumentsResponse.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 GetWorkflowQueueDocumentsResponse is not found in the empty JSON string", GetWorkflowQueueDocumentsResponse.openapiRequiredFields.toString())); } @@ -199,7 +197,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 (!GetWorkflowQueueDocumentsResponse.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 `GetWorkflowQueueDocumentsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -207,7 +205,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -216,7 +214,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/GetWorkflowResponse.java b/src/main/java/com/formkiq/client/model/GetWorkflowResponse.java index e5ae9a676..f4deb319c 100644 --- a/src/main/java/com/formkiq/client/model/GetWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWorkflowResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.WorkflowStatus; import com.formkiq.client.model.WorkflowStep; import com.google.gson.TypeAdapter; @@ -54,7 +53,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +60,8 @@ * GetWorkflowResponse */ @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 GetWorkflowResponse { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -268,7 +266,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetWorkflowResponse.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 GetWorkflowResponse is not found in the empty JSON string", GetWorkflowResponse.openapiRequiredFields.toString())); } @@ -278,7 +276,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 (!GetWorkflowResponse.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 `GetWorkflowResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -286,13 +284,13 @@ 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())); } 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())); } @@ -305,7 +303,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraysteps != null) { // ensure the json data is an array if (!jsonObj.get("steps").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `steps` to be an array in the JSON string but got `%s`", jsonObj.get("steps").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetWorkflowsResponse.java b/src/main/java/com/formkiq/client/model/GetWorkflowsResponse.java index 0e0e13c70..20a119b8f 100644 --- a/src/main/java/com/formkiq/client/model/GetWorkflowsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWorkflowsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.WorkflowSummary; 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 @@ * GetWorkflowsResponse */ @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 GetWorkflowsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -186,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetWorkflowsResponse.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 GetWorkflowsResponse is not found in the empty JSON string", GetWorkflowsResponse.openapiRequiredFields.toString())); } @@ -196,7 +194,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 (!GetWorkflowsResponse.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 `GetWorkflowsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -204,7 +202,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -213,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayworkflows != null) { // ensure the json data is an array if (!jsonObj.get("workflows").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `workflows` to be an array in the JSON string but got `%s`", jsonObj.get("workflows").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GoogleConfig.java b/src/main/java/com/formkiq/client/model/GoogleConfig.java index b9b1b0a5e..d50639197 100644 --- a/src/main/java/com/formkiq/client/model/GoogleConfig.java +++ b/src/main/java/com/formkiq/client/model/GoogleConfig.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 @@ * GoogleConfig */ @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 GoogleConfig { public static final String SERIALIZED_NAME_WORKLOAD_IDENTITY_AUDIENCE = "workloadIdentityAudience"; @@ -184,7 +182,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GoogleConfig.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 GoogleConfig is not found in the empty JSON string", GoogleConfig.openapiRequiredFields.toString())); } @@ -194,7 +192,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 (!GoogleConfig.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 `GoogleConfig` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,14 +201,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("workloadIdentityAudience") != null && !jsonObj.get("workloadIdentityAudience").isJsonNull()) && !jsonObj.get("workloadIdentityAudience").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `workloadIdentityAudience` to be a primitive type in the JSON string but got `%s`", jsonObj.get("workloadIdentityAudience").toString())); } if ((jsonObj.get("workloadIdentityServiceAccount") != null && !jsonObj.get("workloadIdentityServiceAccount").isJsonNull()) && !jsonObj.get("workloadIdentityServiceAccount").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `workloadIdentityServiceAccount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("workloadIdentityServiceAccount").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GoogleExportOutputType.java b/src/main/java/com/formkiq/client/model/GoogleExportOutputType.java index 2e8b70aac..bbbb7fd7b 100644 --- a/src/main/java/com/formkiq/client/model/GoogleExportOutputType.java +++ b/src/main/java/com/formkiq/client/model/GoogleExportOutputType.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/Group.java b/src/main/java/com/formkiq/client/model/Group.java index 83a574669..d6dd47a53 100644 --- a/src/main/java/com/formkiq/client/model/Group.java +++ b/src/main/java/com/formkiq/client/model/Group.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 @@ * Group */ @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 Group { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -228,7 +226,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Group.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 Group is not found in the empty JSON string", Group.openapiRequiredFields.toString())); } @@ -238,7 +236,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 (!Group.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 `Group` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -246,25 +244,25 @@ 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())); } 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())); } 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("lastModifiedDate") != null && !jsonObj.get("lastModifiedDate").isJsonNull()) && !jsonObj.get("lastModifiedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `lastModifiedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastModifiedDate").toString())); } diff --git a/src/main/java/com/formkiq/client/model/IndexFolderMoveRequest.java b/src/main/java/com/formkiq/client/model/IndexFolderMoveRequest.java index fd42952dd..f011e43d7 100644 --- a/src/main/java/com/formkiq/client/model/IndexFolderMoveRequest.java +++ b/src/main/java/com/formkiq/client/model/IndexFolderMoveRequest.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 @@ * IndexFolderMoveRequest */ @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 IndexFolderMoveRequest { public static final String SERIALIZED_NAME_SOURCE = "source"; @SerializedName(SERIALIZED_NAME_SOURCE) @@ -174,7 +172,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!IndexFolderMoveRequest.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 IndexFolderMoveRequest is not found in the empty JSON string", IndexFolderMoveRequest.openapiRequiredFields.toString())); } @@ -184,7 +182,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 (!IndexFolderMoveRequest.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 `IndexFolderMoveRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +190,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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("target") != null && !jsonObj.get("target").isJsonNull()) && !jsonObj.get("target").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `target` to be a primitive type in the JSON string but got `%s`", jsonObj.get("target").toString())); } diff --git a/src/main/java/com/formkiq/client/model/IndexFolderMoveResponse.java b/src/main/java/com/formkiq/client/model/IndexFolderMoveResponse.java index 279d96df6..f33ca5622 100644 --- a/src/main/java/com/formkiq/client/model/IndexFolderMoveResponse.java +++ b/src/main/java/com/formkiq/client/model/IndexFolderMoveResponse.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 @@ * IndexFolderMoveResponse */ @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 IndexFolderMoveResponse { 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 (!IndexFolderMoveResponse.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 IndexFolderMoveResponse is not found in the empty JSON string", IndexFolderMoveResponse.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 (!IndexFolderMoveResponse.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 `IndexFolderMoveResponse` 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/IndexSearch.java b/src/main/java/com/formkiq/client/model/IndexSearch.java index 0d5851273..774a2759c 100644 --- a/src/main/java/com/formkiq/client/model/IndexSearch.java +++ b/src/main/java/com/formkiq/client/model/IndexSearch.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 @@ * IndexSearch */ @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 IndexSearch { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!IndexSearch.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 IndexSearch is not found in the empty JSON string", IndexSearch.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 (!IndexSearch.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 `IndexSearch` 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("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())); } diff --git a/src/main/java/com/formkiq/client/model/IndexSearchRequest.java b/src/main/java/com/formkiq/client/model/IndexSearchRequest.java index b1bd2a848..61993dfe7 100644 --- a/src/main/java/com/formkiq/client/model/IndexSearchRequest.java +++ b/src/main/java/com/formkiq/client/model/IndexSearchRequest.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 @@ * IndexSearchRequest */ @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 IndexSearchRequest { public static final String SERIALIZED_NAME_INDEX_TYPE = "indexType"; @SerializedName(SERIALIZED_NAME_INDEX_TYPE) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!IndexSearchRequest.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 IndexSearchRequest is not found in the empty JSON string", IndexSearchRequest.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 (!IndexSearchRequest.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 `IndexSearchRequest` 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("indexType") != null && !jsonObj.get("indexType").isJsonNull()) && !jsonObj.get("indexType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `indexType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("indexType").toString())); } diff --git a/src/main/java/com/formkiq/client/model/IndexSearchResponse.java b/src/main/java/com/formkiq/client/model/IndexSearchResponse.java index de82a9121..0711cdb19 100644 --- a/src/main/java/com/formkiq/client/model/IndexSearchResponse.java +++ b/src/main/java/com/formkiq/client/model/IndexSearchResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.IndexSearch; 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 @@ * IndexSearchResponse */ @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 IndexSearchResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!IndexSearchResponse.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 IndexSearchResponse is not found in the empty JSON string", IndexSearchResponse.openapiRequiredFields.toString())); } @@ -222,7 +220,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 (!IndexSearchResponse.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 `IndexSearchResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -230,13 +228,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } if ((jsonObj.get("previous") != null && !jsonObj.get("previous").isJsonNull()) && !jsonObj.get("previous").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `previous` to be a primitive type in the JSON string but got `%s`", jsonObj.get("previous").toString())); } @@ -245,7 +243,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayvalues != null) { // ensure the json data is an array if (!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/LocaleInfo.java b/src/main/java/com/formkiq/client/model/LocaleInfo.java index 69d21fbd4..89771b999 100644 --- a/src/main/java/com/formkiq/client/model/LocaleInfo.java +++ b/src/main/java/com/formkiq/client/model/LocaleInfo.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 @@ * LocaleInfo */ @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 LocaleInfo { public static final String SERIALIZED_NAME_LOCALE = "locale"; @SerializedName(SERIALIZED_NAME_LOCALE) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!LocaleInfo.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 LocaleInfo is not found in the empty JSON string", LocaleInfo.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 (!LocaleInfo.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 `LocaleInfo` 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("locale") != null && !jsonObj.get("locale").isJsonNull()) && !jsonObj.get("locale").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `locale` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locale").toString())); } diff --git a/src/main/java/com/formkiq/client/model/LocaleResourceType.java b/src/main/java/com/formkiq/client/model/LocaleResourceType.java index ab4909612..57cd23ff1 100644 --- a/src/main/java/com/formkiq/client/model/LocaleResourceType.java +++ b/src/main/java/com/formkiq/client/model/LocaleResourceType.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/MalwareEngine.java b/src/main/java/com/formkiq/client/model/MalwareEngine.java index 337073bc2..79228b561 100644 --- a/src/main/java/com/formkiq/client/model/MalwareEngine.java +++ b/src/main/java/com/formkiq/client/model/MalwareEngine.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/MalwareScanResult.java b/src/main/java/com/formkiq/client/model/MalwareScanResult.java index d3186901c..d17c12b60 100644 --- a/src/main/java/com/formkiq/client/model/MalwareScanResult.java +++ b/src/main/java/com/formkiq/client/model/MalwareScanResult.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.MalwareEngine; import com.formkiq.client.model.MalwareScanStatus; 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 @@ * MalwareScanResult */ @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 MalwareScanResult { public static final String SERIALIZED_NAME_SCAN_STATUS = "scanStatus"; @SerializedName(SERIALIZED_NAME_SCAN_STATUS) @@ -258,7 +256,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!MalwareScanResult.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 MalwareScanResult is not found in the empty JSON string", MalwareScanResult.openapiRequiredFields.toString())); } @@ -268,7 +266,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 (!MalwareScanResult.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 `MalwareScanResult` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -284,19 +282,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("s3version") != null && !jsonObj.get("s3version").isJsonNull()) && !jsonObj.get("s3version").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `s3version` to be a primitive type in the JSON string but got `%s`", jsonObj.get("s3version").toString())); } if ((jsonObj.get("scanMessage") != null && !jsonObj.get("scanMessage").isJsonNull()) && !jsonObj.get("scanMessage").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `scanMessage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("scanMessage").toString())); } if ((jsonObj.get("scannedDate") != null && !jsonObj.get("scannedDate").isJsonNull()) && !jsonObj.get("scannedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `scannedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("scannedDate").toString())); } diff --git a/src/main/java/com/formkiq/client/model/MalwareScanStatus.java b/src/main/java/com/formkiq/client/model/MalwareScanStatus.java index 4d87fbcfb..3338da4f2 100644 --- a/src/main/java/com/formkiq/client/model/MalwareScanStatus.java +++ b/src/main/java/com/formkiq/client/model/MalwareScanStatus.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/Mapping.java b/src/main/java/com/formkiq/client/model/Mapping.java index 4d5f37b4b..023e2a25e 100644 --- a/src/main/java/com/formkiq/client/model/Mapping.java +++ b/src/main/java/com/formkiq/client/model/Mapping.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.MappingAttribute; 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 @@ * Mapping */ @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 Mapping { public static final String SERIALIZED_NAME_MAPPING_ID = "mappingId"; @SerializedName(SERIALIZED_NAME_MAPPING_ID) @@ -240,7 +238,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!Mapping.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 Mapping is not found in the empty JSON string", Mapping.openapiRequiredFields.toString())); } @@ -250,7 +248,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 (!Mapping.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 `Mapping` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -258,19 +256,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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("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())); } 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())); } @@ -279,7 +277,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/MappingAttribute.java b/src/main/java/com/formkiq/client/model/MappingAttribute.java index 028f7ed1d..4fcb53d14 100644 --- a/src/main/java/com/formkiq/client/model/MappingAttribute.java +++ b/src/main/java/com/formkiq/client/model/MappingAttribute.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.MappingAttributeLabelMatchingType; import com.formkiq.client.model.MappingAttributeMetadataField; import com.formkiq.client.model.MappingAttributeSourceType; @@ -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 @@ * MappingAttribute */ @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 MappingAttribute { public static final String SERIALIZED_NAME_ATTRIBUTE_KEY = "attributeKey"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_KEY) @@ -76,6 +74,11 @@ public class MappingAttribute { @javax.annotation.Nullable private MappingAttributeSourceType sourceType; + public static final String SERIALIZED_NAME_LLM_PROMPT_ENTITY_NAME = "llmPromptEntityName"; + @SerializedName(SERIALIZED_NAME_LLM_PROMPT_ENTITY_NAME) + @javax.annotation.Nullable + private String llmPromptEntityName; + public static final String SERIALIZED_NAME_DEFAULT_VALUE = "defaultValue"; @SerializedName(SERIALIZED_NAME_DEFAULT_VALUE) @javax.annotation.Nullable @@ -149,6 +152,27 @@ public void setSourceType(@javax.annotation.Nullable MappingAttributeSourceType } + public MappingAttribute llmPromptEntityName( + @javax.annotation.Nullable String llmPromptEntityName) { + this.llmPromptEntityName = llmPromptEntityName; + return this; + } + + /** + * LLM Prompt Entity Name (used for METADATA_EXTRACTION) + * + * @return llmPromptEntityName + */ + @javax.annotation.Nullable + public String getLlmPromptEntityName() { + return llmPromptEntityName; + } + + public void setLlmPromptEntityName(@javax.annotation.Nullable String llmPromptEntityName) { + this.llmPromptEntityName = llmPromptEntityName; + } + + public MappingAttribute defaultValue(@javax.annotation.Nullable String defaultValue) { this.defaultValue = defaultValue; return this; @@ -301,6 +325,7 @@ public boolean equals(Object o) { MappingAttribute mappingAttribute = (MappingAttribute) o; return Objects.equals(this.attributeKey, mappingAttribute.attributeKey) && Objects.equals(this.sourceType, mappingAttribute.sourceType) + && Objects.equals(this.llmPromptEntityName, mappingAttribute.llmPromptEntityName) && Objects.equals(this.defaultValue, mappingAttribute.defaultValue) && Objects.equals(this.defaultValues, mappingAttribute.defaultValues) && Objects.equals(this.labelTexts, mappingAttribute.labelTexts) @@ -311,8 +336,8 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(attributeKey, sourceType, defaultValue, defaultValues, labelTexts, - labelMatchingType, metadataField, validationRegex); + return Objects.hash(attributeKey, sourceType, llmPromptEntityName, defaultValue, defaultValues, + labelTexts, labelMatchingType, metadataField, validationRegex); } @Override @@ -321,6 +346,8 @@ public String toString() { sb.append("class MappingAttribute {\n"); sb.append(" attributeKey: ").append(toIndentedString(attributeKey)).append("\n"); sb.append(" sourceType: ").append(toIndentedString(sourceType)).append("\n"); + sb.append(" llmPromptEntityName: ").append(toIndentedString(llmPromptEntityName)) + .append("\n"); sb.append(" defaultValue: ").append(toIndentedString(defaultValue)).append("\n"); sb.append(" defaultValues: ").append(toIndentedString(defaultValues)).append("\n"); sb.append(" labelTexts: ").append(toIndentedString(labelTexts)).append("\n"); @@ -347,8 +374,9 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(Arrays.asList("attributeKey", "sourceType", "defaultValue", - "defaultValues", "labelTexts", "labelMatchingType", "metadataField", "validationRegex")); + openapiFields = new HashSet(Arrays.asList("attributeKey", "sourceType", + "llmPromptEntityName", "defaultValue", "defaultValues", "labelTexts", "labelMatchingType", + "metadataField", "validationRegex")); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(0); @@ -364,7 +392,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!MappingAttribute.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 MappingAttribute is not found in the empty JSON string", MappingAttribute.openapiRequiredFields.toString())); } @@ -374,7 +402,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 (!MappingAttribute.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 `MappingAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -382,7 +410,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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())); } @@ -390,23 +418,30 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonObj.get("sourceType") != null && !jsonObj.get("sourceType").isJsonNull()) { MappingAttributeSourceType.validateJsonElement(jsonObj.get("sourceType")); } + if ((jsonObj.get("llmPromptEntityName") != null + && !jsonObj.get("llmPromptEntityName").isJsonNull()) + && !jsonObj.get("llmPromptEntityName").isJsonPrimitive()) { + 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("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("labelTexts") != null && !jsonObj.get("labelTexts").isJsonNull() && !jsonObj.get("labelTexts").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `labelTexts` to be an array in the JSON string but got `%s`", jsonObj.get("labelTexts").toString())); } @@ -421,7 +456,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("validationRegex") != null && !jsonObj.get("validationRegex").isJsonNull()) && !jsonObj.get("validationRegex").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `validationRegex` to be a primitive type in the JSON string but got `%s`", jsonObj.get("validationRegex").toString())); } diff --git a/src/main/java/com/formkiq/client/model/MappingAttributeLabelMatchingType.java b/src/main/java/com/formkiq/client/model/MappingAttributeLabelMatchingType.java index 0fc694894..22c905c84 100644 --- a/src/main/java/com/formkiq/client/model/MappingAttributeLabelMatchingType.java +++ b/src/main/java/com/formkiq/client/model/MappingAttributeLabelMatchingType.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/MappingAttributeMetadataField.java b/src/main/java/com/formkiq/client/model/MappingAttributeMetadataField.java index a05ad0796..f24f7a958 100644 --- a/src/main/java/com/formkiq/client/model/MappingAttributeMetadataField.java +++ b/src/main/java/com/formkiq/client/model/MappingAttributeMetadataField.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/MappingAttributeSourceType.java b/src/main/java/com/formkiq/client/model/MappingAttributeSourceType.java index 70a11123d..a1f1e3db5 100644 --- a/src/main/java/com/formkiq/client/model/MappingAttributeSourceType.java +++ b/src/main/java/com/formkiq/client/model/MappingAttributeSourceType.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; @@ -48,6 +46,8 @@ public enum MappingAttributeSourceType { DATA_CLASSIFICATION("DATA_CLASSIFICATION"), + METADATA_EXTRACTION_RESULT("METADATA_EXTRACTION_RESULT"), + MALWARE_SCAN("MALWARE_SCAN"); private String value; diff --git a/src/main/java/com/formkiq/client/model/MatchDocumentTag.java b/src/main/java/com/formkiq/client/model/MatchDocumentTag.java index d86f105a4..bfd1804b0 100644 --- a/src/main/java/com/formkiq/client/model/MatchDocumentTag.java +++ b/src/main/java/com/formkiq/client/model/MatchDocumentTag.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 @@ * Match Document Tag */ @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 MatchDocumentTag { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -201,7 +199,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!MatchDocumentTag.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 MatchDocumentTag is not found in the empty JSON string", MatchDocumentTag.openapiRequiredFields.toString())); } @@ -211,7 +209,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 (!MatchDocumentTag.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 `MatchDocumentTag` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -220,26 +218,26 @@ 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 : MatchDocumentTag.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("beginsWith") != null && !jsonObj.get("beginsWith").isJsonNull()) && !jsonObj.get("beginsWith").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `beginsWith` to be a primitive type in the JSON string but got `%s`", jsonObj.get("beginsWith").toString())); } if ((jsonObj.get("eq") != null && !jsonObj.get("eq").isJsonNull()) && !jsonObj.get("eq").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `eq` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eq").toString())); } diff --git a/src/main/java/com/formkiq/client/model/MetadataExtraction.java b/src/main/java/com/formkiq/client/model/MetadataExtraction.java new file mode 100644 index 000000000..9f0acc1f3 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/MetadataExtraction.java @@ -0,0 +1,380 @@ +/* + * 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.MetadataExtractionAttribute; +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; + +/** + * MetadataExtraction + */ +@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 MetadataExtraction { + public static final String SERIALIZED_NAME_LLM_PROMPT_ENTITY_NAME = "llmPromptEntityName"; + @SerializedName(SERIALIZED_NAME_LLM_PROMPT_ENTITY_NAME) + @javax.annotation.Nullable + private String llmPromptEntityName; + + public static final String SERIALIZED_NAME_INSERTED_DATE = "insertedDate"; + @SerializedName(SERIALIZED_NAME_INSERTED_DATE) + @javax.annotation.Nullable + private String insertedDate; + + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + @javax.annotation.Nullable + private String content; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + @javax.annotation.Nullable + private String userId; + + public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; + @SerializedName(SERIALIZED_NAME_ATTRIBUTES) + @javax.annotation.Nullable + private List attributes = new ArrayList<>(); + + public MetadataExtraction() {} + + public MetadataExtraction llmPromptEntityName( + @javax.annotation.Nullable String llmPromptEntityName) { + this.llmPromptEntityName = llmPromptEntityName; + return this; + } + + /** + * Name of the LLM Prompt Entity + * + * @return llmPromptEntityName + */ + @javax.annotation.Nullable + public String getLlmPromptEntityName() { + return llmPromptEntityName; + } + + public void setLlmPromptEntityName(@javax.annotation.Nullable String llmPromptEntityName) { + this.llmPromptEntityName = llmPromptEntityName; + } + + + public MetadataExtraction insertedDate(@javax.annotation.Nullable String insertedDate) { + this.insertedDate = insertedDate; + return this; + } + + /** + * Inserted Timestamp + * + * @return insertedDate + */ + @javax.annotation.Nullable + public String getInsertedDate() { + return insertedDate; + } + + public void setInsertedDate(@javax.annotation.Nullable String insertedDate) { + this.insertedDate = insertedDate; + } + + + public MetadataExtraction 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 MetadataExtraction userId(@javax.annotation.Nullable String userId) { + this.userId = userId; + return this; + } + + /** + * UserId that created Result + * + * @return userId + */ + @javax.annotation.Nullable + public String getUserId() { + return userId; + } + + public void setUserId(@javax.annotation.Nullable String userId) { + this.userId = userId; + } + + + public MetadataExtraction attributes( + @javax.annotation.Nullable List attributes) { + this.attributes = attributes; + return this; + } + + public MetadataExtraction addAttributesItem(MetadataExtractionAttribute 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; + } + MetadataExtraction metadataExtraction = (MetadataExtraction) o; + return Objects.equals(this.llmPromptEntityName, metadataExtraction.llmPromptEntityName) + && Objects.equals(this.insertedDate, metadataExtraction.insertedDate) + && Objects.equals(this.content, metadataExtraction.content) + && Objects.equals(this.userId, metadataExtraction.userId) + && Objects.equals(this.attributes, metadataExtraction.attributes); + } + + @Override + public int hashCode() { + return Objects.hash(llmPromptEntityName, insertedDate, content, userId, attributes); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MetadataExtraction {\n"); + sb.append(" llmPromptEntityName: ").append(toIndentedString(llmPromptEntityName)) + .append("\n"); + sb.append(" insertedDate: ").append(toIndentedString(insertedDate)).append("\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).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("llmPromptEntityName", "insertedDate", "content", "userId", "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 MetadataExtraction + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!MetadataExtraction.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 MetadataExtraction is not found in the empty JSON string", + MetadataExtraction.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!MetadataExtraction.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 `MetadataExtraction` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("llmPromptEntityName") != null + && !jsonObj.get("llmPromptEntityName").isJsonNull()) + && !jsonObj.get("llmPromptEntityName").isJsonPrimitive()) { + 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("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) + && !jsonObj.get("insertedDate").isJsonPrimitive()) { + 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("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("userId") != null && !jsonObj.get("userId").isJsonNull()) + && !jsonObj.get("userId").isJsonPrimitive()) { + 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("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++) { + MetadataExtractionAttribute.validateJsonElement(jsonArrayattributes.get(i)); + } ; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!MetadataExtraction.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'MetadataExtraction' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(MetadataExtraction.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, MetadataExtraction value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public MetadataExtraction read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of MetadataExtraction given an JSON string + * + * @param jsonString JSON string + * @return An instance of MetadataExtraction + * @throws IOException if the JSON string is invalid with respect to MetadataExtraction + */ + public static MetadataExtraction fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, MetadataExtraction.class); + } + + /** + * Convert an instance of MetadataExtraction 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/MetadataExtractionAttribute.java b/src/main/java/com/formkiq/client/model/MetadataExtractionAttribute.java new file mode 100644 index 000000000..3b3cef6b2 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/MetadataExtractionAttribute.java @@ -0,0 +1,254 @@ +/* + * 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; + +/** + * MetadataExtractionAttribute + */ +@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 MetadataExtractionAttribute { + public static final String SERIALIZED_NAME_KEY = "key"; + @SerializedName(SERIALIZED_NAME_KEY) + @javax.annotation.Nullable + private String key; + + public static final String SERIALIZED_NAME_VALUE = "value"; + @SerializedName(SERIALIZED_NAME_VALUE) + @javax.annotation.Nullable + private String value; + + public MetadataExtractionAttribute() {} + + public MetadataExtractionAttribute key(@javax.annotation.Nullable String key) { + this.key = key; + return this; + } + + /** + * Data Classification Attribute Key + * + * @return key + */ + @javax.annotation.Nullable + public String getKey() { + return key; + } + + public void setKey(@javax.annotation.Nullable String key) { + this.key = key; + } + + + public MetadataExtractionAttribute value(@javax.annotation.Nullable String value) { + this.value = value; + return this; + } + + /** + * Data Classification Attribute Value + * + * @return value + */ + @javax.annotation.Nullable + public String getValue() { + return value; + } + + public void setValue(@javax.annotation.Nullable String value) { + this.value = value; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MetadataExtractionAttribute metadataExtractionAttribute = (MetadataExtractionAttribute) o; + return Objects.equals(this.key, metadataExtractionAttribute.key) + && Objects.equals(this.value, metadataExtractionAttribute.value); + } + + @Override + public int hashCode() { + return Objects.hash(key, value); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MetadataExtractionAttribute {\n"); + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).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("key", "value")); + + // 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 MetadataExtractionAttribute + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!MetadataExtractionAttribute.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 MetadataExtractionAttribute is not found in the empty JSON string", + MetadataExtractionAttribute.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!MetadataExtractionAttribute.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 `MetadataExtractionAttribute` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) + && !jsonObj.get("key").isJsonPrimitive()) { + 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(java.util.Locale.ROOT, + "Expected the field `value` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("value").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!MetadataExtractionAttribute.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'MetadataExtractionAttribute' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(MetadataExtractionAttribute.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, MetadataExtractionAttribute value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public MetadataExtractionAttribute read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of MetadataExtractionAttribute given an JSON string + * + * @param jsonString JSON string + * @return An instance of MetadataExtractionAttribute + * @throws IOException if the JSON string is invalid with respect to MetadataExtractionAttribute + */ + public static MetadataExtractionAttribute fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, MetadataExtractionAttribute.class); + } + + /** + * Convert an instance of MetadataExtractionAttribute 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/ModelCase.java b/src/main/java/com/formkiq/client/model/ModelCase.java index 00c08093e..9c9df7544 100644 --- a/src/main/java/com/formkiq/client/model/ModelCase.java +++ b/src/main/java/com/formkiq/client/model/ModelCase.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.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 @@ * ModelCase */ @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 ModelCase { public static final String SERIALIZED_NAME_CASE_ID = "caseId"; @SerializedName(SERIALIZED_NAME_CASE_ID) @@ -484,7 +482,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!ModelCase.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 ModelCase is not found in the empty JSON string", ModelCase.openapiRequiredFields.toString())); } @@ -494,7 +492,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 (!ModelCase.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 `ModelCase` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -502,61 +500,61 @@ 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())); } if ((jsonObj.get("caseNumber") != null && !jsonObj.get("caseNumber").isJsonNull()) && !jsonObj.get("caseNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `caseNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("caseNumber").toString())); } if ((jsonObj.get("documentNumber") != null && !jsonObj.get("documentNumber").isJsonNull()) && !jsonObj.get("documentNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `documentNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentNumber").toString())); } 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("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("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())); } 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())); } @@ -566,7 +564,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } 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())); } diff --git a/src/main/java/com/formkiq/client/model/Nigo.java b/src/main/java/com/formkiq/client/model/Nigo.java index 4c7de691d..1128741f0 100644 --- a/src/main/java/com/formkiq/client/model/Nigo.java +++ b/src/main/java/com/formkiq/client/model/Nigo.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.NigoStatus; 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 @@ * Nigo */ @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 Nigo { public static final String SERIALIZED_NAME_NIGO_ID = "nigoId"; @SerializedName(SERIALIZED_NAME_NIGO_ID) @@ -428,7 +426,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Nigo.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 Nigo is not found in the empty JSON string", Nigo.openapiRequiredFields.toString())); } @@ -438,7 +436,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 (!Nigo.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 `Nigo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -446,55 +444,55 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("nigoId") != null && !jsonObj.get("nigoId").isJsonNull()) && !jsonObj.get("nigoId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `nigoId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nigoId").toString())); } 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("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())); } 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())); } 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("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())); } diff --git a/src/main/java/com/formkiq/client/model/NigoStatus.java b/src/main/java/com/formkiq/client/model/NigoStatus.java index 9e444880c..7668c7975 100644 --- a/src/main/java/com/formkiq/client/model/NigoStatus.java +++ b/src/main/java/com/formkiq/client/model/NigoStatus.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/OcrConfig.java b/src/main/java/com/formkiq/client/model/OcrConfig.java index 8a97290f9..3a7486508 100644 --- a/src/main/java/com/formkiq/client/model/OcrConfig.java +++ b/src/main/java/com/formkiq/client/model/OcrConfig.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; @@ -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 @@ * OcrConfig */ @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 OcrConfig { public static final String SERIALIZED_NAME_MAX_PAGES_PER_TRANSACTION = "maxPagesPerTransaction"; @SerializedName(SERIALIZED_NAME_MAX_PAGES_PER_TRANSACTION) @@ -178,7 +176,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OcrConfig.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 OcrConfig is not found in the empty JSON string", OcrConfig.openapiRequiredFields.toString())); } @@ -188,7 +186,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 (!OcrConfig.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 `OcrConfig` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/OcrEngine.java b/src/main/java/com/formkiq/client/model/OcrEngine.java index 525cf7644..e3f54e8a9 100644 --- a/src/main/java/com/formkiq/client/model/OcrEngine.java +++ b/src/main/java/com/formkiq/client/model/OcrEngine.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/OcrKeyValues.java b/src/main/java/com/formkiq/client/model/OcrKeyValues.java index a99d3e8a0..1cafcfb19 100644 --- a/src/main/java/com/formkiq/client/model/OcrKeyValues.java +++ b/src/main/java/com/formkiq/client/model/OcrKeyValues.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 @@ * OcrKeyValues */ @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 OcrKeyValues { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -184,7 +182,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OcrKeyValues.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 OcrKeyValues is not found in the empty JSON string", OcrKeyValues.openapiRequiredFields.toString())); } @@ -194,7 +192,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 (!OcrKeyValues.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 `OcrKeyValues` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -202,14 +200,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !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())); } // 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/OcrOutputType.java b/src/main/java/com/formkiq/client/model/OcrOutputType.java index 542ec5388..361e5be42 100644 --- a/src/main/java/com/formkiq/client/model/OcrOutputType.java +++ b/src/main/java/com/formkiq/client/model/OcrOutputType.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/OcrTable.java b/src/main/java/com/formkiq/client/model/OcrTable.java index 5f5dd31b5..6ff81ee94 100644 --- a/src/main/java/com/formkiq/client/model/OcrTable.java +++ b/src/main/java/com/formkiq/client/model/OcrTable.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.OcrTableData; 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 @@ * OcrTable */ @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 OcrTable { public static final String SERIALIZED_NAME_HEADERS = "headers"; @SerializedName(SERIALIZED_NAME_HEADERS) @@ -193,7 +191,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OcrTable.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 OcrTable is not found in the empty JSON string", OcrTable.openapiRequiredFields.toString())); } @@ -203,7 +201,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 (!OcrTable.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 `OcrTable` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -212,14 +210,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("headers") != null && !jsonObj.get("headers").isJsonNull() && !jsonObj.get("headers").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `headers` to be an array in the JSON string but got `%s`", jsonObj.get("headers").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("data") != null && !jsonObj.get("data").isJsonNull() && !jsonObj.get("data").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `data` to be an array in the JSON string but got `%s`", jsonObj.get("data").toString())); } diff --git a/src/main/java/com/formkiq/client/model/OcrTableData.java b/src/main/java/com/formkiq/client/model/OcrTableData.java index aec27b0bf..688d7bb6b 100644 --- a/src/main/java/com/formkiq/client/model/OcrTableData.java +++ b/src/main/java/com/formkiq/client/model/OcrTableData.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 @@ * OcrTableData */ @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 OcrTableData { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OcrTableData.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 OcrTableData is not found in the empty JSON string", OcrTableData.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 (!OcrTableData.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 `OcrTableData` 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("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())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicy.java b/src/main/java/com/formkiq/client/model/OpaPolicy.java index 7665ea020..66e4de26c 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicy.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicy.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 @@ * OpaPolicy */ @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 OpaPolicy { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -174,7 +172,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicy.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 OpaPolicy is not found in the empty JSON string", OpaPolicy.openapiRequiredFields.toString())); } @@ -184,7 +182,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 (!OpaPolicy.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 `OpaPolicy` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +190,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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("policy") != null && !jsonObj.get("policy").isJsonNull()) && !jsonObj.get("policy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `policy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("policy").toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttribute.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttribute.java index b53d7ede9..aedcc32a9 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttribute.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttribute.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.OpaPolicyAttributeEq; import com.formkiq.client.model.OpaPolicyAttributeGt; import com.formkiq.client.model.OpaPolicyAttributeGte; @@ -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 @@ * OpaPolicyAttribute */ @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 OpaPolicyAttribute { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -372,7 +370,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyAttribute.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 OpaPolicyAttribute is not found in the empty JSON string", OpaPolicyAttribute.openapiRequiredFields.toString())); } @@ -382,7 +380,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 (!OpaPolicyAttribute.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 `OpaPolicyAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -390,7 +388,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !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/OpaPolicyAttributeEq.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeEq.java index 8c9019481..68a72b18b 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeEq.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeEq.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.OpaPolicyAttributeInput; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -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 @@ * Attribute EQ criteria */ @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 OpaPolicyAttributeEq { public static final String SERIALIZED_NAME_STRING_VALUE = "stringValue"; @SerializedName(SERIALIZED_NAME_STRING_VALUE) @@ -231,7 +229,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyAttributeEq.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 OpaPolicyAttributeEq is not found in the empty JSON string", OpaPolicyAttributeEq.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 (!OpaPolicyAttributeEq.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 `OpaPolicyAttributeEq` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -249,7 +247,7 @@ 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())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGt.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGt.java index b3e239f11..a9b20c46f 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGt.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGt.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; @@ -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 @@ * Attribute greater than criteria */ @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 OpaPolicyAttributeGt { public static final String SERIALIZED_NAME_NUMBER_VALUE = "numberValue"; @SerializedName(SERIALIZED_NAME_NUMBER_VALUE) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyAttributeGt.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 OpaPolicyAttributeGt is not found in the empty JSON string", OpaPolicyAttributeGt.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 (!OpaPolicyAttributeGt.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 `OpaPolicyAttributeGt` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGte.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGte.java index 64c0b9c4c..16129dbf8 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGte.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGte.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; @@ -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 @@ * Attribute greater than and equals to criteria */ @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 OpaPolicyAttributeGte { public static final String SERIALIZED_NAME_NUMBER_VALUE = "numberValue"; @SerializedName(SERIALIZED_NAME_NUMBER_VALUE) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyAttributeGte.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 OpaPolicyAttributeGte is not found in the empty JSON string", OpaPolicyAttributeGte.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 (!OpaPolicyAttributeGte.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 `OpaPolicyAttributeGte` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeIn.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeIn.java index ac9090662..d1d84e787 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeIn.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeIn.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 @@ * Attribute In to criteria */ @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 OpaPolicyAttributeIn { public static final String SERIALIZED_NAME_STRING_VALUES = "stringValues"; @SerializedName(SERIALIZED_NAME_STRING_VALUES) @@ -157,7 +155,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyAttributeIn.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 OpaPolicyAttributeIn is not found in the empty JSON string", OpaPolicyAttributeIn.openapiRequiredFields.toString())); } @@ -167,7 +165,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 (!OpaPolicyAttributeIn.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 `OpaPolicyAttributeIn` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -176,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeInput.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeInput.java index 88d554d9c..a480a2c1c 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeInput.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeInput.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 @@ * OpaPolicyAttributeInput */ @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 OpaPolicyAttributeInput { public static final String SERIALIZED_NAME_MATCH_USERNAME = "matchUsername"; @SerializedName(SERIALIZED_NAME_MATCH_USERNAME) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyAttributeInput.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 OpaPolicyAttributeInput is not found in the empty JSON string", OpaPolicyAttributeInput.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 (!OpaPolicyAttributeInput.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 `OpaPolicyAttributeInput` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLt.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLt.java index 862604d85..89f8362ad 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLt.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLt.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; @@ -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 @@ * Attribute less than criteria */ @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 OpaPolicyAttributeLt { public static final String SERIALIZED_NAME_NUMBER_VALUE = "numberValue"; @SerializedName(SERIALIZED_NAME_NUMBER_VALUE) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyAttributeLt.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 OpaPolicyAttributeLt is not found in the empty JSON string", OpaPolicyAttributeLt.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 (!OpaPolicyAttributeLt.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 `OpaPolicyAttributeLt` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLte.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLte.java index 0c79928c2..51af2964a 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLte.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLte.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; @@ -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 @@ * Attribute less than and equals to criteria */ @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 OpaPolicyAttributeLte { public static final String SERIALIZED_NAME_NUMBER_VALUE = "numberValue"; @SerializedName(SERIALIZED_NAME_NUMBER_VALUE) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyAttributeLte.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 OpaPolicyAttributeLte is not found in the empty JSON string", OpaPolicyAttributeLte.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 (!OpaPolicyAttributeLte.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 `OpaPolicyAttributeLte` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNeq.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNeq.java index 594a8bece..fe80a02f8 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNeq.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNeq.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 @@ * Attribute not equal to criteria */ @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 OpaPolicyAttributeNeq { public static final String SERIALIZED_NAME_STRING_VALUE = "stringValue"; @SerializedName(SERIALIZED_NAME_STRING_VALUE) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyAttributeNeq.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 OpaPolicyAttributeNeq is not found in the empty JSON string", OpaPolicyAttributeNeq.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 (!OpaPolicyAttributeNeq.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 `OpaPolicyAttributeNeq` 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("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())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNotIn.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNotIn.java index 30e159730..3226cd1fc 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNotIn.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNotIn.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 @@ * Attribute Not In to criteria */ @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 OpaPolicyAttributeNotIn { public static final String SERIALIZED_NAME_STRING_VALUES = "stringValues"; @SerializedName(SERIALIZED_NAME_STRING_VALUES) @@ -158,7 +156,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyAttributeNotIn.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 OpaPolicyAttributeNotIn is not found in the empty JSON string", OpaPolicyAttributeNotIn.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 (!OpaPolicyAttributeNotIn.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 `OpaPolicyAttributeNotIn` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -177,7 +175,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyInput.java b/src/main/java/com/formkiq/client/model/OpaPolicyInput.java index c873414f3..f726241b7 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyInput.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyInput.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.OpaPolicyInputMethod; import com.formkiq.client.model.OpaPolicyInputResource; 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 @@ * OpaPolicyInput */ @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 OpaPolicyInput { public static final String SERIALIZED_NAME_HTTP_METHOD = "httpMethod"; @SerializedName(SERIALIZED_NAME_HTTP_METHOD) @@ -176,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyInput.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 OpaPolicyInput is not found in the empty JSON string", OpaPolicyInput.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 (!OpaPolicyInput.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 `OpaPolicyInput` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyInputMethod.java b/src/main/java/com/formkiq/client/model/OpaPolicyInputMethod.java index f6b2343ad..a4ae3cf74 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyInputMethod.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyInputMethod.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 @@ * OpaPolicyInputMethod */ @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 OpaPolicyInputMethod { public static final String SERIALIZED_NAME_IN = "in"; @SerializedName(SERIALIZED_NAME_IN) @@ -192,7 +190,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyInputMethod.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 OpaPolicyInputMethod is not found in the empty JSON string", OpaPolicyInputMethod.openapiRequiredFields.toString())); } @@ -202,7 +200,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 (!OpaPolicyInputMethod.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 `OpaPolicyInputMethod` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -211,14 +209,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("in") != null && !jsonObj.get("in").isJsonNull() && !jsonObj.get("in").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `in` to be an array in the JSON string but got `%s`", jsonObj.get("in").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("notIn") != null && !jsonObj.get("notIn").isJsonNull() && !jsonObj.get("notIn").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `notIn` to be an array in the JSON string but got `%s`", jsonObj.get("notIn").toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyInputResource.java b/src/main/java/com/formkiq/client/model/OpaPolicyInputResource.java index 906bf30d1..2d41241dc 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyInputResource.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyInputResource.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 @@ * OpaPolicyInputResource */ @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 OpaPolicyInputResource { public static final String SERIALIZED_NAME_IN = "in"; @SerializedName(SERIALIZED_NAME_IN) @@ -192,7 +190,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyInputResource.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 OpaPolicyInputResource is not found in the empty JSON string", OpaPolicyInputResource.openapiRequiredFields.toString())); } @@ -202,7 +200,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 (!OpaPolicyInputResource.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 `OpaPolicyInputResource` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -211,14 +209,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("in") != null && !jsonObj.get("in").isJsonNull() && !jsonObj.get("in").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `in` to be an array in the JSON string but got `%s`", jsonObj.get("in").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("notIn") != null && !jsonObj.get("notIn").isJsonNull() && !jsonObj.get("notIn").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `notIn` to be an array in the JSON string but got `%s`", jsonObj.get("notIn").toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyItem.java b/src/main/java/com/formkiq/client/model/OpaPolicyItem.java index 3acab896c..91ad9da80 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyItem.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyItem.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.OpaPolicyAttribute; import com.formkiq.client.model.OpaPolicyInput; import com.google.gson.TypeAdapter; @@ -54,7 +53,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +60,8 @@ * OpaPolicyItem */ @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 OpaPolicyItem { public static final String SERIALIZED_NAME_POLICY = "policy"; @SerializedName(SERIALIZED_NAME_POLICY) @@ -319,7 +317,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyItem.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 OpaPolicyItem is not found in the empty JSON string", OpaPolicyItem.openapiRequiredFields.toString())); } @@ -329,7 +327,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 (!OpaPolicyItem.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 `OpaPolicyItem` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -337,28 +335,28 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("policy") != null && !jsonObj.get("policy").isJsonNull()) && !jsonObj.get("policy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `policy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("policy").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("allRoles") != null && !jsonObj.get("allRoles").isJsonNull() && !jsonObj.get("allRoles").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `allRoles` to be an array in the JSON string but got `%s`", jsonObj.get("allRoles").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("anyRoles") != null && !jsonObj.get("anyRoles").isJsonNull() && !jsonObj.get("anyRoles").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `anyRoles` to be an array in the JSON string but got `%s`", jsonObj.get("anyRoles").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("excludedRoles") != null && !jsonObj.get("excludedRoles").isJsonNull() && !jsonObj.get("excludedRoles").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `excludedRoles` to be an array in the JSON string but got `%s`", jsonObj.get("excludedRoles").toString())); } @@ -367,7 +365,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/OpenSearchAlias.java b/src/main/java/com/formkiq/client/model/OpenSearchAlias.java index 3c71a3146..74f0ec718 100644 --- a/src/main/java/com/formkiq/client/model/OpenSearchAlias.java +++ b/src/main/java/com/formkiq/client/model/OpenSearchAlias.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 @@ * OpenSearchAlias */ @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 OpenSearchAlias { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpenSearchAlias.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 OpenSearchAlias is not found in the empty JSON string", OpenSearchAlias.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 (!OpenSearchAlias.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 `OpenSearchAlias` 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("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/OpenSearchIndex.java b/src/main/java/com/formkiq/client/model/OpenSearchIndex.java index 4bb10016e..d00e3b799 100644 --- a/src/main/java/com/formkiq/client/model/OpenSearchIndex.java +++ b/src/main/java/com/formkiq/client/model/OpenSearchIndex.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.OpenSearchAlias; 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 @@ * OpenSearchIndex */ @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 OpenSearchIndex { public static final String SERIALIZED_NAME_NUMBER_OF_REPLICAS = "numberOfReplicas"; @SerializedName(SERIALIZED_NAME_NUMBER_OF_REPLICAS) @@ -294,7 +292,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpenSearchIndex.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 OpenSearchIndex is not found in the empty JSON string", OpenSearchIndex.openapiRequiredFields.toString())); } @@ -304,7 +302,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 (!OpenSearchIndex.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 `OpenSearchIndex` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -312,31 +310,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("numberOfReplicas") != null && !jsonObj.get("numberOfReplicas").isJsonNull()) && !jsonObj.get("numberOfReplicas").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `numberOfReplicas` to be a primitive type in the JSON string but got `%s`", jsonObj.get("numberOfReplicas").toString())); } if ((jsonObj.get("numberOfShards") != null && !jsonObj.get("numberOfShards").isJsonNull()) && !jsonObj.get("numberOfShards").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `numberOfShards` to be a primitive type in the JSON string but got `%s`", jsonObj.get("numberOfShards").toString())); } if ((jsonObj.get("documentCount") != null && !jsonObj.get("documentCount").isJsonNull()) && !jsonObj.get("documentCount").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `documentCount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentCount").toString())); } if ((jsonObj.get("storeSize") != null && !jsonObj.get("storeSize").isJsonNull()) && !jsonObj.get("storeSize").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `storeSize` to be a primitive type in the JSON string but got `%s`", jsonObj.get("storeSize").toString())); } 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())); } @@ -345,7 +343,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayaliases != null) { // ensure the json data is an array if (!jsonObj.get("aliases").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `aliases` to be an array in the JSON string but got `%s`", jsonObj.get("aliases").toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpenSearchIndexSetting.java b/src/main/java/com/formkiq/client/model/OpenSearchIndexSetting.java index 9f4b66cdc..4e3191531 100644 --- a/src/main/java/com/formkiq/client/model/OpenSearchIndexSetting.java +++ b/src/main/java/com/formkiq/client/model/OpenSearchIndexSetting.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 @@ * OpenSearchIndexSetting */ @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 OpenSearchIndexSetting { public static final String SERIALIZED_NAME_NUMBER_OF_REPLICAS = "numberOfReplicas"; @SerializedName(SERIALIZED_NAME_NUMBER_OF_REPLICAS) @@ -175,7 +173,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpenSearchIndexSetting.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 OpenSearchIndexSetting is not found in the empty JSON string", OpenSearchIndexSetting.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 (!OpenSearchIndexSetting.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 `OpenSearchIndexSetting` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -193,13 +191,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("numberOfReplicas") != null && !jsonObj.get("numberOfReplicas").isJsonNull()) && !jsonObj.get("numberOfReplicas").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `numberOfReplicas` to be a primitive type in the JSON string but got `%s`", jsonObj.get("numberOfReplicas").toString())); } if ((jsonObj.get("numberOfShards") != null && !jsonObj.get("numberOfShards").isJsonNull()) && !jsonObj.get("numberOfShards").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `numberOfShards` to be a primitive type in the JSON string but got `%s`", jsonObj.get("numberOfShards").toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpenSearchS3Repository.java b/src/main/java/com/formkiq/client/model/OpenSearchS3Repository.java index a78d5186d..3df90abd0 100644 --- a/src/main/java/com/formkiq/client/model/OpenSearchS3Repository.java +++ b/src/main/java/com/formkiq/client/model/OpenSearchS3Repository.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 @@ * OpenSearchS3Repository */ @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 OpenSearchS3Repository { public static final String SERIALIZED_NAME_REPOSITORY = "repository"; @SerializedName(SERIALIZED_NAME_REPOSITORY) @@ -174,7 +172,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpenSearchS3Repository.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 OpenSearchS3Repository is not found in the empty JSON string", OpenSearchS3Repository.openapiRequiredFields.toString())); } @@ -184,7 +182,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 (!OpenSearchS3Repository.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 `OpenSearchS3Repository` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +190,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("repository") != null && !jsonObj.get("repository").isJsonNull()) && !jsonObj.get("repository").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `repository` to be a primitive type in the JSON string but got `%s`", jsonObj.get("repository").toString())); } if ((jsonObj.get("bucket") != null && !jsonObj.get("bucket").isJsonNull()) && !jsonObj.get("bucket").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `bucket` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bucket").toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpenSearchSnapshot.java b/src/main/java/com/formkiq/client/model/OpenSearchSnapshot.java index c632b9356..c1ddf692f 100644 --- a/src/main/java/com/formkiq/client/model/OpenSearchSnapshot.java +++ b/src/main/java/com/formkiq/client/model/OpenSearchSnapshot.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.OpenSearchSnapshotFailure; import com.formkiq.client.model.OpenSearchSnapshotShard; 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 @@ * OpenSearchSnapshot */ @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 OpenSearchSnapshot { public static final String SERIALIZED_NAME_SNAPSHOT = "snapshot"; @SerializedName(SERIALIZED_NAME_SNAPSHOT) @@ -471,7 +469,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpenSearchSnapshot.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 OpenSearchSnapshot is not found in the empty JSON string", OpenSearchSnapshot.openapiRequiredFields.toString())); } @@ -481,7 +479,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 (!OpenSearchSnapshot.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 `OpenSearchSnapshot` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -489,26 +487,26 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("snapshot") != null && !jsonObj.get("snapshot").isJsonNull()) && !jsonObj.get("snapshot").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `snapshot` to be a primitive type in the JSON string but got `%s`", jsonObj.get("snapshot").toString())); } if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); } if ((jsonObj.get("version") != null && !jsonObj.get("version").isJsonNull()) && !jsonObj.get("version").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `version` to be a primitive type in the JSON string but got `%s`", jsonObj.get("version").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("indices") != null && !jsonObj.get("indices").isJsonNull() && !jsonObj.get("indices").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `indices` to be an array in the JSON string but got `%s`", jsonObj.get("indices").toString())); } @@ -521,7 +519,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayfailures != null) { // ensure the json data is an array if (!jsonObj.get("failures").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `failures` to be an array in the JSON string but got `%s`", jsonObj.get("failures").toString())); } @@ -534,19 +532,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("state") != null && !jsonObj.get("state").isJsonNull()) && !jsonObj.get("state").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `state` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state").toString())); } if ((jsonObj.get("start_time") != null && !jsonObj.get("start_time").isJsonNull()) && !jsonObj.get("start_time").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `start_time` to be a primitive type in the JSON string but got `%s`", jsonObj.get("start_time").toString())); } if ((jsonObj.get("end_time") != null && !jsonObj.get("end_time").isJsonNull()) && !jsonObj.get("end_time").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `end_time` to be a primitive type in the JSON string but got `%s`", jsonObj.get("end_time").toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpenSearchSnapshotFailure.java b/src/main/java/com/formkiq/client/model/OpenSearchSnapshotFailure.java index bce51f1b7..53b056a66 100644 --- a/src/main/java/com/formkiq/client/model/OpenSearchSnapshotFailure.java +++ b/src/main/java/com/formkiq/client/model/OpenSearchSnapshotFailure.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 @@ * Details about a failure for a specific shard in a snapshot. */ @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 OpenSearchSnapshotFailure { public static final String SERIALIZED_NAME_INDEX = "index"; @SerializedName(SERIALIZED_NAME_INDEX) @@ -283,7 +281,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpenSearchSnapshotFailure.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 OpenSearchSnapshotFailure is not found in the empty JSON string", OpenSearchSnapshotFailure.openapiRequiredFields.toString())); } @@ -293,7 +291,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 (!OpenSearchSnapshotFailure.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 `OpenSearchSnapshotFailure` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -301,31 +299,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("index") != null && !jsonObj.get("index").isJsonNull()) && !jsonObj.get("index").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `index` to be a primitive type in the JSON string but got `%s`", jsonObj.get("index").toString())); } if ((jsonObj.get("index_uuid") != null && !jsonObj.get("index_uuid").isJsonNull()) && !jsonObj.get("index_uuid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `index_uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("index_uuid").toString())); } if ((jsonObj.get("reason") != null && !jsonObj.get("reason").isJsonNull()) && !jsonObj.get("reason").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `reason` to be a primitive type in the JSON string but got `%s`", jsonObj.get("reason").toString())); } if ((jsonObj.get("node_id") != null && !jsonObj.get("node_id").isJsonNull()) && !jsonObj.get("node_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `node_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("node_id").toString())); } if ((jsonObj.get("status") != null && !jsonObj.get("status").isJsonNull()) && !jsonObj.get("status").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `status` to be a primitive type in the JSON string but got `%s`", jsonObj.get("status").toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpenSearchSnapshotShard.java b/src/main/java/com/formkiq/client/model/OpenSearchSnapshotShard.java index b2f81e372..fccc72f91 100644 --- a/src/main/java/com/formkiq/client/model/OpenSearchSnapshotShard.java +++ b/src/main/java/com/formkiq/client/model/OpenSearchSnapshotShard.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; @@ -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 @@ * OpenSearchSnapshotShard */ @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 OpenSearchSnapshotShard { public static final String SERIALIZED_NAME_TOTAL = "total"; @SerializedName(SERIALIZED_NAME_TOTAL) @@ -202,7 +200,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpenSearchSnapshotShard.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 OpenSearchSnapshotShard is not found in the empty JSON string", OpenSearchSnapshotShard.openapiRequiredFields.toString())); } @@ -212,7 +210,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 (!OpenSearchSnapshotShard.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 `OpenSearchSnapshotShard` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/PdfDocument.java b/src/main/java/com/formkiq/client/model/PdfDocument.java index 8e83e792f..0ccf51933 100644 --- a/src/main/java/com/formkiq/client/model/PdfDocument.java +++ b/src/main/java/com/formkiq/client/model/PdfDocument.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.PdfDocumentField; 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 @@ * PdfDocument */ @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 PdfDocument { public static final String SERIALIZED_NAME_FIELDS = "fields"; @SerializedName(SERIALIZED_NAME_FIELDS) @@ -158,7 +156,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!PdfDocument.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 PdfDocument is not found in the empty JSON string", PdfDocument.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 (!PdfDocument.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 `PdfDocument` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -179,7 +177,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayfields != null) { // ensure the json data is an array if (!jsonObj.get("fields").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `fields` to be an array in the JSON string but got `%s`", jsonObj.get("fields").toString())); } diff --git a/src/main/java/com/formkiq/client/model/PdfDocumentField.java b/src/main/java/com/formkiq/client/model/PdfDocumentField.java index ae4b93458..d2aa55ea4 100644 --- a/src/main/java/com/formkiq/client/model/PdfDocumentField.java +++ b/src/main/java/com/formkiq/client/model/PdfDocumentField.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 @@ * PdfDocumentField */ @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 PdfDocumentField { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) @@ -174,7 +172,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!PdfDocumentField.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 PdfDocumentField is not found in the empty JSON string", PdfDocumentField.openapiRequiredFields.toString())); } @@ -184,7 +182,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 (!PdfDocumentField.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 `PdfDocumentField` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +190,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("field") != null && !jsonObj.get("field").isJsonNull()) && !jsonObj.get("field").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `field` to be a primitive type in the JSON string but got `%s`", jsonObj.get("field").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())); } diff --git a/src/main/java/com/formkiq/client/model/QueryFulltextResponse.java b/src/main/java/com/formkiq/client/model/QueryFulltextResponse.java index 7c09c0093..665e2b750 100644 --- a/src/main/java/com/formkiq/client/model/QueryFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/QueryFulltextResponse.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 @@ * QueryFulltextResponse */ @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 QueryFulltextResponse { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!QueryFulltextResponse.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 QueryFulltextResponse is not found in the empty JSON string", QueryFulltextResponse.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 (!QueryFulltextResponse.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 `QueryFulltextResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/Queue.java b/src/main/java/com/formkiq/client/model/Queue.java index 814aa8381..ef266ff97 100644 --- a/src/main/java/com/formkiq/client/model/Queue.java +++ b/src/main/java/com/formkiq/client/model/Queue.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 @@ * Queue */ @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 Queue { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -172,7 +170,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Queue.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 Queue is not found in the empty JSON string", Queue.openapiRequiredFields.toString())); } @@ -182,7 +180,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 (!Queue.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 `Queue` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -190,13 +188,13 @@ 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())); } 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/ReindexTarget.java b/src/main/java/com/formkiq/client/model/ReindexTarget.java index df2b71f2b..f8aefc814 100644 --- a/src/main/java/com/formkiq/client/model/ReindexTarget.java +++ b/src/main/java/com/formkiq/client/model/ReindexTarget.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/ResourceItem.java b/src/main/java/com/formkiq/client/model/ResourceItem.java index f0989bf4a..d026c88f6 100644 --- a/src/main/java/com/formkiq/client/model/ResourceItem.java +++ b/src/main/java/com/formkiq/client/model/ResourceItem.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.LocaleResourceType; 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 @@ * ResourceItem */ @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 ResourceItem { public static final String SERIALIZED_NAME_ITEM_TYPE = "itemType"; @SerializedName(SERIALIZED_NAME_ITEM_TYPE) @@ -312,7 +310,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!ResourceItem.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 ResourceItem is not found in the empty JSON string", ResourceItem.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 (!ResourceItem.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 `ResourceItem` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -334,37 +332,37 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("localizedValue") != null && !jsonObj.get("localizedValue").isJsonNull()) && !jsonObj.get("localizedValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `localizedValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("localizedValue").toString())); } if ((jsonObj.get("interfaceKey") != null && !jsonObj.get("interfaceKey").isJsonNull()) && !jsonObj.get("interfaceKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `interfaceKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("interfaceKey").toString())); } if ((jsonObj.get("itemKey") != null && !jsonObj.get("itemKey").isJsonNull()) && !jsonObj.get("itemKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `itemKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("itemKey").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("allowedValue") != null && !jsonObj.get("allowedValue").isJsonNull()) && !jsonObj.get("allowedValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `allowedValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("allowedValue").toString())); } 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/Rule.java b/src/main/java/com/formkiq/client/model/Rule.java index 8440d183b..5d71d07c4 100644 --- a/src/main/java/com/formkiq/client/model/Rule.java +++ b/src/main/java/com/formkiq/client/model/Rule.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.RuleCondition; import com.formkiq.client.model.RulesetStatus; import com.google.gson.TypeAdapter; @@ -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 @@ * Rule */ @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 Rule { public static final String SERIALIZED_NAME_RULE_ID = "ruleId"; @SerializedName(SERIALIZED_NAME_RULE_ID) @@ -284,7 +282,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Rule.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 Rule is not found in the empty JSON string", Rule.openapiRequiredFields.toString())); } @@ -294,7 +292,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 (!Rule.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 `Rule` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -302,19 +300,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("ruleId") != null && !jsonObj.get("ruleId").isJsonNull()) && !jsonObj.get("ruleId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + 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("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())); } if ((jsonObj.get("workflowId") != null && !jsonObj.get("workflowId").isJsonNull()) && !jsonObj.get("workflowId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + 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())); } diff --git a/src/main/java/com/formkiq/client/model/RuleCondition.java b/src/main/java/com/formkiq/client/model/RuleCondition.java index e8f17ff07..2cb4681c0 100644 --- a/src/main/java/com/formkiq/client/model/RuleCondition.java +++ b/src/main/java/com/formkiq/client/model/RuleCondition.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.RuleConditionMust; 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 @@ * RuleCondition */ @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 RuleCondition { public static final String SERIALIZED_NAME_MUST = "must"; @SerializedName(SERIALIZED_NAME_MUST) @@ -158,7 +156,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!RuleCondition.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 RuleCondition is not found in the empty JSON string", RuleCondition.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 (!RuleCondition.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 `RuleCondition` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -179,7 +177,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraymust != null) { // ensure the json data is an array if (!jsonObj.get("must").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `must` to be an array in the JSON string but got `%s`", jsonObj.get("must").toString())); } diff --git a/src/main/java/com/formkiq/client/model/RuleConditionAttribute.java b/src/main/java/com/formkiq/client/model/RuleConditionAttribute.java index 749412fa3..1246ae724 100644 --- a/src/main/java/com/formkiq/client/model/RuleConditionAttribute.java +++ b/src/main/java/com/formkiq/client/model/RuleConditionAttribute.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/RuleConditionCriterion.java b/src/main/java/com/formkiq/client/model/RuleConditionCriterion.java index 3fb1bc306..e067cf471 100644 --- a/src/main/java/com/formkiq/client/model/RuleConditionCriterion.java +++ b/src/main/java/com/formkiq/client/model/RuleConditionCriterion.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/RuleConditionMust.java b/src/main/java/com/formkiq/client/model/RuleConditionMust.java index b133e3f47..a95fe025d 100644 --- a/src/main/java/com/formkiq/client/model/RuleConditionMust.java +++ b/src/main/java/com/formkiq/client/model/RuleConditionMust.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.RuleConditionAttribute; import com.formkiq.client.model.RuleConditionCriterion; import com.formkiq.client.model.RuleConditionOperation; @@ -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 @@ * RuleConditionMust */ @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 RuleConditionMust { public static final String SERIALIZED_NAME_ATTRIBUTE = "attribute"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE) @@ -286,7 +284,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!RuleConditionMust.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 RuleConditionMust is not found in the empty JSON string", RuleConditionMust.openapiRequiredFields.toString())); } @@ -296,7 +294,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 (!RuleConditionMust.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 `RuleConditionMust` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -312,19 +310,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } 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("fieldName") != null && !jsonObj.get("fieldName").isJsonNull()) && !jsonObj.get("fieldName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `fieldName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("fieldName").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())); } diff --git a/src/main/java/com/formkiq/client/model/RuleConditionOperation.java b/src/main/java/com/formkiq/client/model/RuleConditionOperation.java index c70ab28d4..f390d0c75 100644 --- a/src/main/java/com/formkiq/client/model/RuleConditionOperation.java +++ b/src/main/java/com/formkiq/client/model/RuleConditionOperation.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/Ruleset.java b/src/main/java/com/formkiq/client/model/Ruleset.java index cac57bce8..2051044ea 100644 --- a/src/main/java/com/formkiq/client/model/Ruleset.java +++ b/src/main/java/com/formkiq/client/model/Ruleset.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.RulesetStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -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 @@ * Ruleset */ @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 Ruleset { public static final String SERIALIZED_NAME_RULESET_ID = "rulesetId"; @SerializedName(SERIALIZED_NAME_RULESET_ID) @@ -285,7 +283,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!Ruleset.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 Ruleset is not found in the empty JSON string", Ruleset.openapiRequiredFields.toString())); } @@ -295,7 +293,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 (!Ruleset.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 `Ruleset` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -303,19 +301,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("rulesetId") != null && !jsonObj.get("rulesetId").isJsonNull()) && !jsonObj.get("rulesetId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + 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("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())); } 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())); } diff --git a/src/main/java/com/formkiq/client/model/RulesetStatus.java b/src/main/java/com/formkiq/client/model/RulesetStatus.java index 0f576b22f..da3ff2686 100644 --- a/src/main/java/com/formkiq/client/model/RulesetStatus.java +++ b/src/main/java/com/formkiq/client/model/RulesetStatus.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/SchemaAttributes.java b/src/main/java/com/formkiq/client/model/SchemaAttributes.java index 5c1fb04bc..19dc96c47 100644 --- a/src/main/java/com/formkiq/client/model/SchemaAttributes.java +++ b/src/main/java/com/formkiq/client/model/SchemaAttributes.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AttributeSchemaCompositeKey; import com.formkiq.client.model.AttributeSchemaOptional; import com.formkiq.client.model.AttributeSchemaRequired; @@ -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 @@ * SchemaAttributes */ @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 SchemaAttributes { public static final String SERIALIZED_NAME_COMPOSITE_KEYS = "compositeKeys"; @SerializedName(SERIALIZED_NAME_COMPOSITE_KEYS) @@ -266,7 +264,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SchemaAttributes.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 SchemaAttributes is not found in the empty JSON string", SchemaAttributes.openapiRequiredFields.toString())); } @@ -276,7 +274,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 (!SchemaAttributes.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 `SchemaAttributes` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -287,7 +285,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraycompositeKeys != null) { // ensure the json data is an array if (!jsonObj.get("compositeKeys").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `compositeKeys` to be an array in the JSON string but got `%s`", jsonObj.get("compositeKeys").toString())); } @@ -303,7 +301,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayrequired != null) { // ensure the json data is an array if (!jsonObj.get("required").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `required` to be an array in the JSON string but got `%s`", jsonObj.get("required").toString())); } @@ -319,7 +317,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayoptional != null) { // ensure the json data is an array if (!jsonObj.get("optional").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `optional` to be an array in the JSON string but got `%s`", jsonObj.get("optional").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SearchRangeDataType.java b/src/main/java/com/formkiq/client/model/SearchRangeDataType.java index 22c523c28..8f225fd32 100644 --- a/src/main/java/com/formkiq/client/model/SearchRangeDataType.java +++ b/src/main/java/com/formkiq/client/model/SearchRangeDataType.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/SearchResponseFields.java b/src/main/java/com/formkiq/client/model/SearchResponseFields.java index b76e2b37a..9aa2ce247 100644 --- a/src/main/java/com/formkiq/client/model/SearchResponseFields.java +++ b/src/main/java/com/formkiq/client/model/SearchResponseFields.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 @@ * SearchResponseFields */ @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 SearchResponseFields { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) @@ -192,7 +190,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SearchResponseFields.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 SearchResponseFields is not found in the empty JSON string", SearchResponseFields.openapiRequiredFields.toString())); } @@ -202,7 +200,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 (!SearchResponseFields.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 `SearchResponseFields` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -211,14 +209,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("attributes") != null && !jsonObj.get("attributes").isJsonNull() && !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())); } // ensure the optional json data is an array if present if (jsonObj.get("tags") != null && !jsonObj.get("tags").isJsonNull() && !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())); } diff --git a/src/main/java/com/formkiq/client/model/SearchResultDocument.java b/src/main/java/com/formkiq/client/model/SearchResultDocument.java index fed6b8cd7..b5b13e723 100644 --- a/src/main/java/com/formkiq/client/model/SearchResultDocument.java +++ b/src/main/java/com/formkiq/client/model/SearchResultDocument.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.ChecksumType; import com.formkiq.client.model.DocumentMetadata; import com.formkiq.client.model.DocumentSearchMatchAttribute; @@ -59,7 +58,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -67,8 +65,8 @@ * SearchResultDocument */ @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 SearchResultDocument { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -798,7 +796,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SearchResultDocument.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 SearchResultDocument is not found in the empty JSON string", SearchResultDocument.openapiRequiredFields.toString())); } @@ -808,7 +806,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 (!SearchResultDocument.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 `SearchResultDocument` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -816,55 +814,55 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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("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("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("lastModifiedDate") != null && !jsonObj.get("lastModifiedDate").isJsonNull()) && !jsonObj.get("lastModifiedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `lastModifiedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastModifiedDate").toString())); } if ((jsonObj.get("indexKey") != null && !jsonObj.get("indexKey").isJsonNull()) && !jsonObj.get("indexKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `indexKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("indexKey").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())); } @@ -874,32 +872,32 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } 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("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("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("versionId") != null && !jsonObj.get("versionId").isJsonNull()) && !jsonObj.get("versionId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `versionId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("versionId").toString())); } if ((jsonObj.get("belongsToDocumentId") != null && !jsonObj.get("belongsToDocumentId").isJsonNull()) && !jsonObj.get("belongsToDocumentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `belongsToDocumentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("belongsToDocumentId").toString())); } @@ -916,7 +914,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraymatchedTags != null) { // ensure the json data is an array if (!jsonObj.get("matchedTags").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `matchedTags` to be an array in the JSON string but got `%s`", jsonObj.get("matchedTags").toString())); } @@ -932,7 +930,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/SearchResultDocumentAttribute.java b/src/main/java/com/formkiq/client/model/SearchResultDocumentAttribute.java index 72ae4e6d1..f200c2a9d 100644 --- a/src/main/java/com/formkiq/client/model/SearchResultDocumentAttribute.java +++ b/src/main/java/com/formkiq/client/model/SearchResultDocumentAttribute.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AttributeValueType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -54,7 +53,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +60,8 @@ * SearchResultDocumentAttribute */ @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 SearchResultDocumentAttribute { public static final String SERIALIZED_NAME_STRING_VALUES = "stringValues"; @SerializedName(SERIALIZED_NAME_STRING_VALUES) @@ -255,7 +253,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!SearchResultDocumentAttribute.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 SearchResultDocumentAttribute is not found in the empty JSON string", SearchResultDocumentAttribute.openapiRequiredFields.toString())); } @@ -265,7 +263,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 (!SearchResultDocumentAttribute.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 `SearchResultDocumentAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -274,14 +272,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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/SetClassificationRequest.java b/src/main/java/com/formkiq/client/model/SetClassificationRequest.java index 9938aa96e..fc2cd7eb8 100644 --- a/src/main/java/com/formkiq/client/model/SetClassificationRequest.java +++ b/src/main/java/com/formkiq/client/model/SetClassificationRequest.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 @@ * SetClassificationRequest */ @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 SetClassificationRequest { 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 (!SetClassificationRequest.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 SetClassificationRequest is not found in the empty JSON string", SetClassificationRequest.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 (!SetClassificationRequest.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 `SetClassificationRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetDocumentAttributeRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentAttributeRequest.java index a90b642fd..ca260f736 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentAttributeRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentAttributeRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddDocumentAttributeValue; 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 @@ * Set 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 SetDocumentAttributeRequest { public static final String SERIALIZED_NAME_ATTRIBUTE = "attribute"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE) @@ -149,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetDocumentAttributeRequest.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 SetDocumentAttributeRequest is not found in the empty JSON string", SetDocumentAttributeRequest.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 (!SetDocumentAttributeRequest.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 `SetDocumentAttributeRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetDocumentAttributesRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentAttributesRequest.java index 29bc14603..dd68b958d 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentAttributesRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentAttributesRequest.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 @@ * Set 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 SetDocumentAttributesRequest { 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 (!SetDocumentAttributesRequest.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 SetDocumentAttributesRequest is not found in the empty JSON string", SetDocumentAttributesRequest.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 (!SetDocumentAttributesRequest.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 `SetDocumentAttributesRequest` 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/SetDocumentDataClassificationRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentDataClassificationRequest.java index 3979f7040..b4aae1d33 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentDataClassificationRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentDataClassificationRequest.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 @@ * SetDocumentDataClassificationRequest */ @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 SetDocumentDataClassificationRequest { public static final String SERIALIZED_NAME_LLM_PROMPT_ENTITY_NAME = "llmPromptEntityName"; @SerializedName(SERIALIZED_NAME_LLM_PROMPT_ENTITY_NAME) @@ -154,7 +152,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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 SetDocumentDataClassificationRequest is not found in the empty JSON string", SetDocumentDataClassificationRequest.openapiRequiredFields.toString())); } @@ -164,7 +162,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 (!SetDocumentDataClassificationRequest.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 `SetDocumentDataClassificationRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -173,14 +171,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 : SetDocumentDataClassificationRequest.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("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())); } diff --git a/src/main/java/com/formkiq/client/model/SetDocumentDataClassificationResponse.java b/src/main/java/com/formkiq/client/model/SetDocumentDataClassificationResponse.java index 8cccff824..d02318911 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentDataClassificationResponse.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentDataClassificationResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DataClassificationAttribute; 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 @@ * SetDocumentDataClassificationResponse */ @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 SetDocumentDataClassificationResponse { public static final String SERIALIZED_NAME_CONTENT = "content"; @SerializedName(SERIALIZED_NAME_CONTENT) @@ -192,7 +190,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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 SetDocumentDataClassificationResponse is not found in the empty JSON string", SetDocumentDataClassificationResponse.openapiRequiredFields.toString())); } @@ -202,7 +200,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 (!SetDocumentDataClassificationResponse.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 `SetDocumentDataClassificationResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -210,7 +208,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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())); } @@ -219,7 +217,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/SetDocumentFulltextRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentFulltextRequest.java index 5d10f52d5..a96cfb5e7 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentFulltextRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentFulltextRequest.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 @@ * SetDocumentFulltextRequest */ @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 SetDocumentFulltextRequest { 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 (!SetDocumentFulltextRequest.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 SetDocumentFulltextRequest is not found in the empty JSON string", SetDocumentFulltextRequest.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 (!SetDocumentFulltextRequest.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 `SetDocumentFulltextRequest` 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/SetDocumentFulltextResponse.java b/src/main/java/com/formkiq/client/model/SetDocumentFulltextResponse.java index 0757133b9..daf0705f7 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentFulltextResponse.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 @@ * SetDocumentFulltextResponse */ @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 SetDocumentFulltextResponse { 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 (!SetDocumentFulltextResponse.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 SetDocumentFulltextResponse is not found in the empty JSON string", SetDocumentFulltextResponse.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 (!SetDocumentFulltextResponse.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 `SetDocumentFulltextResponse` 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/SetDocumentOcrRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentOcrRequest.java index cf475d944..7e1007068 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentOcrRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentOcrRequest.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 @@ * SetDocumentOcrRequest */ @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 SetDocumentOcrRequest { public static final String SERIALIZED_NAME_CONTENT_TYPE = "contentType"; @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) @@ -201,7 +199,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetDocumentOcrRequest.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 SetDocumentOcrRequest is not found in the empty JSON string", SetDocumentOcrRequest.openapiRequiredFields.toString())); } @@ -211,7 +209,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 (!SetDocumentOcrRequest.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 `SetDocumentOcrRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -220,7 +218,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 : SetDocumentOcrRequest.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())); } @@ -228,12 +226,12 @@ 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").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())); } diff --git a/src/main/java/com/formkiq/client/model/SetDocumentRestoreResponse.java b/src/main/java/com/formkiq/client/model/SetDocumentRestoreResponse.java index d9ff1d6b5..b18346959 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentRestoreResponse.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentRestoreResponse.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 @@ * SetDocumentRestoreResponse */ @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 SetDocumentRestoreResponse { 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 (!SetDocumentRestoreResponse.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 SetDocumentRestoreResponse is not found in the empty JSON string", SetDocumentRestoreResponse.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 (!SetDocumentRestoreResponse.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 `SetDocumentRestoreResponse` 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/SetDocumentTagKeyRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentTagKeyRequest.java index ae50e8a1f..558cc0168 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentTagKeyRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentTagKeyRequest.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 @@ * SetDocumentTagKeyRequest */ @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 SetDocumentTagKeyRequest { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -184,7 +182,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetDocumentTagKeyRequest.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 SetDocumentTagKeyRequest is not found in the empty JSON string", SetDocumentTagKeyRequest.openapiRequiredFields.toString())); } @@ -194,7 +192,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 (!SetDocumentTagKeyRequest.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 `SetDocumentTagKeyRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -202,14 +200,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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/SetDocumentVersionRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentVersionRequest.java index b45dbe1e4..68a12e177 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentVersionRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentVersionRequest.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 @@ * SetDocumentVersionRequest */ @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 SetDocumentVersionRequest { public static final String SERIALIZED_NAME_VERSION_KEY = "versionKey"; @SerializedName(SERIALIZED_NAME_VERSION_KEY) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetDocumentVersionRequest.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 SetDocumentVersionRequest is not found in the empty JSON string", SetDocumentVersionRequest.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 (!SetDocumentVersionRequest.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 `SetDocumentVersionRequest` 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("versionKey") != null && !jsonObj.get("versionKey").isJsonNull()) && !jsonObj.get("versionKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `versionKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("versionKey").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetDocumentVersionResponse.java b/src/main/java/com/formkiq/client/model/SetDocumentVersionResponse.java index b6553b67e..15d7c468a 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentVersionResponse.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentVersionResponse.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 @@ * SetDocumentVersionResponse */ @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 SetDocumentVersionResponse { 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 (!SetDocumentVersionResponse.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 SetDocumentVersionResponse is not found in the empty JSON string", SetDocumentVersionResponse.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 (!SetDocumentVersionResponse.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 `SetDocumentVersionResponse` 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/SetFolderPermissionsRequest.java b/src/main/java/com/formkiq/client/model/SetFolderPermissionsRequest.java index 1726c98a6..bd0d815d0 100644 --- a/src/main/java/com/formkiq/client/model/SetFolderPermissionsRequest.java +++ b/src/main/java/com/formkiq/client/model/SetFolderPermissionsRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddFolderPermission; 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 @@ * SetFolderPermissionsRequest */ @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 SetFolderPermissionsRequest { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -186,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetFolderPermissionsRequest.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 SetFolderPermissionsRequest is not found in the empty JSON string", SetFolderPermissionsRequest.openapiRequiredFields.toString())); } @@ -196,7 +194,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 (!SetFolderPermissionsRequest.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 `SetFolderPermissionsRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -204,7 +202,7 @@ 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())); } @@ -213,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayroles != null) { // ensure the json data is an array if (!jsonObj.get("roles").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `roles` to be an array in the JSON string but got `%s`", jsonObj.get("roles").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetGroupPermissionsRequest.java b/src/main/java/com/formkiq/client/model/SetGroupPermissionsRequest.java index 302ff95cd..f2184d4d5 100644 --- a/src/main/java/com/formkiq/client/model/SetGroupPermissionsRequest.java +++ b/src/main/java/com/formkiq/client/model/SetGroupPermissionsRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.SiteGroupPermissions; 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 @@ * SetGroupPermissionsRequest */ @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 SetGroupPermissionsRequest { public static final String SERIALIZED_NAME_PERMISSIONS = "permissions"; @SerializedName(SERIALIZED_NAME_PERMISSIONS) @@ -159,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetGroupPermissionsRequest.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 SetGroupPermissionsRequest is not found in the empty JSON string", SetGroupPermissionsRequest.openapiRequiredFields.toString())); } @@ -169,7 +167,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 (!SetGroupPermissionsRequest.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 `SetGroupPermissionsRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -178,7 +176,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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/SetLocaleResourceItemRequest.java b/src/main/java/com/formkiq/client/model/SetLocaleResourceItemRequest.java index 5ddb28020..763ec2a34 100644 --- a/src/main/java/com/formkiq/client/model/SetLocaleResourceItemRequest.java +++ b/src/main/java/com/formkiq/client/model/SetLocaleResourceItemRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddResourceItem; 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 @@ * SetLocaleResourceItemRequest */ @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 SetLocaleResourceItemRequest { public static final String SERIALIZED_NAME_RESOURCE_ITEM = "resourceItem"; @SerializedName(SERIALIZED_NAME_RESOURCE_ITEM) @@ -150,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!SetLocaleResourceItemRequest.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 SetLocaleResourceItemRequest is not found in the empty JSON string", SetLocaleResourceItemRequest.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 (!SetLocaleResourceItemRequest.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 `SetLocaleResourceItemRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetMappingRequest.java b/src/main/java/com/formkiq/client/model/SetMappingRequest.java index 3ce1d612c..f4cbc5f3d 100644 --- a/src/main/java/com/formkiq/client/model/SetMappingRequest.java +++ b/src/main/java/com/formkiq/client/model/SetMappingRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddMapping; 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 @@ * SetMappingRequest */ @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 SetMappingRequest { public static final String SERIALIZED_NAME_MAPPING = "mapping"; @SerializedName(SERIALIZED_NAME_MAPPING) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetMappingRequest.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 SetMappingRequest is not found in the empty JSON string", SetMappingRequest.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 (!SetMappingRequest.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 `SetMappingRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetOpaAccessPolicyItemsRequest.java b/src/main/java/com/formkiq/client/model/SetOpaAccessPolicyItemsRequest.java index fc4507dc3..ffe0cd870 100644 --- a/src/main/java/com/formkiq/client/model/SetOpaAccessPolicyItemsRequest.java +++ b/src/main/java/com/formkiq/client/model/SetOpaAccessPolicyItemsRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.OpaPolicyItem; 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 @@ * SetOpaAccessPolicyItemsRequest */ @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 SetOpaAccessPolicyItemsRequest { public static final String SERIALIZED_NAME_POLICY_ITEMS = "policyItems"; @SerializedName(SERIALIZED_NAME_POLICY_ITEMS) @@ -162,7 +160,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!SetOpaAccessPolicyItemsRequest.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 SetOpaAccessPolicyItemsRequest is not found in the empty JSON string", SetOpaAccessPolicyItemsRequest.openapiRequiredFields.toString())); } @@ -172,7 +170,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 (!SetOpaAccessPolicyItemsRequest.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 `SetOpaAccessPolicyItemsRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -181,24 +179,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 : SetOpaAccessPolicyItemsRequest.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(); - // ensure the json data is an array - if (!jsonObj.get("policyItems").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, - "Expected the field `policyItems` to be an array in the JSON string but got `%s`", - jsonObj.get("policyItems").toString())); + if (jsonObj.get("policyItems") != null) { + if (!jsonObj.get("policyItems").isJsonArray()) { + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, + "Expected the field `policyItems` to be an array in the JSON string but got `%s`", + jsonObj.get("policyItems").toString())); + } + JsonArray jsonArraypolicyItems = jsonObj.getAsJsonArray("policyItems"); + // validate the required field `policyItems` (array) + for (int i = 0; i < jsonArraypolicyItems.size(); i++) { + OpaPolicyItem.validateJsonElement(jsonArraypolicyItems.get(i)); + } } - - JsonArray jsonArraypolicyItems = jsonObj.getAsJsonArray("policyItems"); - // validate the required field `policyItems` (array) - for (int i = 0; i < jsonArraypolicyItems.size(); i++) { - OpaPolicyItem.validateJsonElement(jsonArraypolicyItems.get(i)); - } ; } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/com/formkiq/client/model/SetOpenSearchIndexRequest.java b/src/main/java/com/formkiq/client/model/SetOpenSearchIndexRequest.java index 10da4bc34..4de048031 100644 --- a/src/main/java/com/formkiq/client/model/SetOpenSearchIndexRequest.java +++ b/src/main/java/com/formkiq/client/model/SetOpenSearchIndexRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.OpenSearchIndexSetting; 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 @@ * SetOpenSearchIndexRequest */ @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 SetOpenSearchIndexRequest { public static final String SERIALIZED_NAME_INDEX_SETTINGS = "indexSettings"; @SerializedName(SERIALIZED_NAME_INDEX_SETTINGS) @@ -149,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetOpenSearchIndexRequest.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 SetOpenSearchIndexRequest is not found in the empty JSON string", SetOpenSearchIndexRequest.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 (!SetOpenSearchIndexRequest.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 `SetOpenSearchIndexRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetOpenSearchIndexResponse.java b/src/main/java/com/formkiq/client/model/SetOpenSearchIndexResponse.java index fe7597274..02a58c885 100644 --- a/src/main/java/com/formkiq/client/model/SetOpenSearchIndexResponse.java +++ b/src/main/java/com/formkiq/client/model/SetOpenSearchIndexResponse.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 @@ * SetOpenSearchIndexResponse */ @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 SetOpenSearchIndexResponse { 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 (!SetOpenSearchIndexResponse.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 SetOpenSearchIndexResponse is not found in the empty JSON string", SetOpenSearchIndexResponse.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 (!SetOpenSearchIndexResponse.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 `SetOpenSearchIndexResponse` 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/SetOpenSearchIndiceRequest.java b/src/main/java/com/formkiq/client/model/SetOpenSearchIndiceRequest.java index 3a0010a35..1e219ad6d 100644 --- a/src/main/java/com/formkiq/client/model/SetOpenSearchIndiceRequest.java +++ b/src/main/java/com/formkiq/client/model/SetOpenSearchIndiceRequest.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 @@ * SetOpenSearchIndiceRequest */ @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 SetOpenSearchIndiceRequest { public static final String SERIALIZED_NAME_INDEX_NAME = "indexName"; @SerializedName(SERIALIZED_NAME_INDEX_NAME) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetOpenSearchIndiceRequest.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 SetOpenSearchIndiceRequest is not found in the empty JSON string", SetOpenSearchIndiceRequest.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 (!SetOpenSearchIndiceRequest.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 `SetOpenSearchIndiceRequest` 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("indexName") != null && !jsonObj.get("indexName").isJsonNull()) && !jsonObj.get("indexName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `indexName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("indexName").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetResponse.java b/src/main/java/com/formkiq/client/model/SetResponse.java index c46f873d4..94bb032ff 100644 --- a/src/main/java/com/formkiq/client/model/SetResponse.java +++ b/src/main/java/com/formkiq/client/model/SetResponse.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 @@ * SetResponse */ @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 SetResponse { 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 (!SetResponse.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 SetResponse is not found in the empty JSON string", SetResponse.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 (!SetResponse.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 `SetResponse` 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/SetSchemaAttributes.java b/src/main/java/com/formkiq/client/model/SetSchemaAttributes.java index 6d295d8d7..91d799ad4 100644 --- a/src/main/java/com/formkiq/client/model/SetSchemaAttributes.java +++ b/src/main/java/com/formkiq/client/model/SetSchemaAttributes.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddAttributeSchemaOptional; import com.formkiq.client.model.AddAttributeSchemaRequired; import com.formkiq.client.model.AttributeSchemaCompositeKey; @@ -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 @@ * SetSchemaAttributes */ @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 SetSchemaAttributes { public static final String SERIALIZED_NAME_COMPOSITE_KEYS = "compositeKeys"; @SerializedName(SERIALIZED_NAME_COMPOSITE_KEYS) @@ -266,7 +264,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetSchemaAttributes.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 SetSchemaAttributes is not found in the empty JSON string", SetSchemaAttributes.openapiRequiredFields.toString())); } @@ -276,7 +274,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 (!SetSchemaAttributes.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 `SetSchemaAttributes` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -287,7 +285,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraycompositeKeys != null) { // ensure the json data is an array if (!jsonObj.get("compositeKeys").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `compositeKeys` to be an array in the JSON string but got `%s`", jsonObj.get("compositeKeys").toString())); } @@ -303,7 +301,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayrequired != null) { // ensure the json data is an array if (!jsonObj.get("required").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `required` to be an array in the JSON string but got `%s`", jsonObj.get("required").toString())); } @@ -319,7 +317,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayoptional != null) { // ensure the json data is an array if (!jsonObj.get("optional").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `optional` to be an array in the JSON string but got `%s`", jsonObj.get("optional").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetSitesSchemaRequest.java b/src/main/java/com/formkiq/client/model/SetSitesSchemaRequest.java index 5729ee8f5..c8d5b9de6 100644 --- a/src/main/java/com/formkiq/client/model/SetSitesSchemaRequest.java +++ b/src/main/java/com/formkiq/client/model/SetSitesSchemaRequest.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 @@ * SetSitesSchemaRequest */ @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 SetSitesSchemaRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -176,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetSitesSchemaRequest.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 SetSitesSchemaRequest is not found in the empty JSON string", SetSitesSchemaRequest.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 (!SetSitesSchemaRequest.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 `SetSitesSchemaRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -194,7 +192,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/SetWorkflowRequest.java b/src/main/java/com/formkiq/client/model/SetWorkflowRequest.java index 0a7bfa9f2..f39742980 100644 --- a/src/main/java/com/formkiq/client/model/SetWorkflowRequest.java +++ b/src/main/java/com/formkiq/client/model/SetWorkflowRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddWorkflowStep; import com.formkiq.client.model.WorkflowStatus; import com.google.gson.TypeAdapter; @@ -54,7 +53,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +60,8 @@ * SetWorkflowRequest */ @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 SetWorkflowRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -240,7 +238,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetWorkflowRequest.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 SetWorkflowRequest is not found in the empty JSON string", SetWorkflowRequest.openapiRequiredFields.toString())); } @@ -250,7 +248,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 (!SetWorkflowRequest.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 `SetWorkflowRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -259,37 +257,37 @@ 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 : SetWorkflowRequest.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())); } 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())); } // validate the required field `status` WorkflowStatus.validateJsonElement(jsonObj.get("status")); - // ensure the json data is an array - if (!jsonObj.get("steps").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, - "Expected the field `steps` to be an array in the JSON string but got `%s`", - jsonObj.get("steps").toString())); + if (jsonObj.get("steps") != null) { + if (!jsonObj.get("steps").isJsonArray()) { + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, + "Expected the field `steps` to be an array in the JSON string but got `%s`", + jsonObj.get("steps").toString())); + } + JsonArray jsonArraysteps = jsonObj.getAsJsonArray("steps"); + // validate the required field `steps` (array) + for (int i = 0; i < jsonArraysteps.size(); i++) { + AddWorkflowStep.validateJsonElement(jsonArraysteps.get(i)); + } } - - JsonArray jsonArraysteps = jsonObj.getAsJsonArray("steps"); - // validate the required field `steps` (array) - for (int i = 0; i < jsonArraysteps.size(); i++) { - AddWorkflowStep.validateJsonElement(jsonArraysteps.get(i)); - } ; } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/com/formkiq/client/model/SetWorkflowResponse.java b/src/main/java/com/formkiq/client/model/SetWorkflowResponse.java index 908e890fb..bc858ab3e 100644 --- a/src/main/java/com/formkiq/client/model/SetWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/SetWorkflowResponse.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 @@ * SetWorkflowResponse */ @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 SetWorkflowResponse { 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 (!SetWorkflowResponse.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 SetWorkflowResponse is not found in the empty JSON string", SetWorkflowResponse.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 (!SetWorkflowResponse.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 `SetWorkflowResponse` 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/Site.java b/src/main/java/com/formkiq/client/model/Site.java index 0fa2836c6..eeaac1cff 100644 --- a/src/main/java/com/formkiq/client/model/Site.java +++ b/src/main/java/com/formkiq/client/model/Site.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.SiteConfig; import com.formkiq.client.model.SiteGroupPermissions; import com.formkiq.client.model.SiteStatus; @@ -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 @@ * Site */ @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 Site { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -401,7 +399,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Site.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 Site is not found in the empty JSON string", Site.openapiRequiredFields.toString())); } @@ -411,7 +409,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 (!Site.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 `Site` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -419,13 +417,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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("title") != null && !jsonObj.get("title").isJsonNull()) && !jsonObj.get("title").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `title` to be a primitive type in the JSON string but got `%s`", jsonObj.get("title").toString())); } @@ -435,7 +433,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("permission") != null && !jsonObj.get("permission").isJsonNull()) && !jsonObj.get("permission").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `permission` to be a primitive type in the JSON string but got `%s`", jsonObj.get("permission").toString())); } @@ -446,13 +444,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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())); } if ((jsonObj.get("uploadEmail") != null && !jsonObj.get("uploadEmail").isJsonNull()) && !jsonObj.get("uploadEmail").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `uploadEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uploadEmail").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SiteConfig.java b/src/main/java/com/formkiq/client/model/SiteConfig.java index 2fb936e04..574823338 100644 --- a/src/main/java/com/formkiq/client/model/SiteConfig.java +++ b/src/main/java/com/formkiq/client/model/SiteConfig.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.OcrConfig; 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 @@ * SiteConfig */ @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 SiteConfig { public static final String SERIALIZED_NAME_MAX_CONTENT_LENGTH_BYTES = "maxContentLengthBytes"; @SerializedName(SERIALIZED_NAME_MAX_CONTENT_LENGTH_BYTES) @@ -231,7 +229,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SiteConfig.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 SiteConfig is not found in the empty JSON string", SiteConfig.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 (!SiteConfig.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 `SiteConfig` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -250,19 +248,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("maxContentLengthBytes") != null && !jsonObj.get("maxContentLengthBytes").isJsonNull()) && !jsonObj.get("maxContentLengthBytes").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `maxContentLengthBytes` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxContentLengthBytes").toString())); } if ((jsonObj.get("maxDocuments") != null && !jsonObj.get("maxDocuments").isJsonNull()) && !jsonObj.get("maxDocuments").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `maxDocuments` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxDocuments").toString())); } if ((jsonObj.get("maxWebhooks") != null && !jsonObj.get("maxWebhooks").isJsonNull()) && !jsonObj.get("maxWebhooks").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `maxWebhooks` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxWebhooks").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SiteGroup.java b/src/main/java/com/formkiq/client/model/SiteGroup.java index cb617b8ad..2073a83e1 100644 --- a/src/main/java/com/formkiq/client/model/SiteGroup.java +++ b/src/main/java/com/formkiq/client/model/SiteGroup.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.SiteGroupPermissions; 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 @@ * SiteGroup */ @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 SiteGroup { public static final String SERIALIZED_NAME_PERMISSIONS = "permissions"; @SerializedName(SERIALIZED_NAME_PERMISSIONS) @@ -158,7 +156,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SiteGroup.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 SiteGroup is not found in the empty JSON string", SiteGroup.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 (!SiteGroup.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 `SiteGroup` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -177,7 +175,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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/SiteGroupPermissions.java b/src/main/java/com/formkiq/client/model/SiteGroupPermissions.java index 2cc1cb478..f8aac14de 100644 --- a/src/main/java/com/formkiq/client/model/SiteGroupPermissions.java +++ b/src/main/java/com/formkiq/client/model/SiteGroupPermissions.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/SiteStatus.java b/src/main/java/com/formkiq/client/model/SiteStatus.java index cb48b0a7d..cd0ed60bb 100644 --- a/src/main/java/com/formkiq/client/model/SiteStatus.java +++ b/src/main/java/com/formkiq/client/model/SiteStatus.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/SiteUsage.java b/src/main/java/com/formkiq/client/model/SiteUsage.java index b3eb8e3d7..1d72c60c0 100644 --- a/src/main/java/com/formkiq/client/model/SiteUsage.java +++ b/src/main/java/com/formkiq/client/model/SiteUsage.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; @@ -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 @@ * SiteUsage */ @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 SiteUsage { public static final String SERIALIZED_NAME_DOCUMENT_COUNT = "documentCount"; @SerializedName(SERIALIZED_NAME_DOCUMENT_COUNT) @@ -176,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SiteUsage.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 SiteUsage is not found in the empty JSON string", SiteUsage.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 (!SiteUsage.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 `SiteUsage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/StringFormat.java b/src/main/java/com/formkiq/client/model/StringFormat.java index 183b0ed15..4789c3ebf 100644 --- a/src/main/java/com/formkiq/client/model/StringFormat.java +++ b/src/main/java/com/formkiq/client/model/StringFormat.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.StringGeneratorType; 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 @@ * StringFormat */ @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 StringFormat { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -202,7 +200,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!StringFormat.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 StringFormat is not found in the empty JSON string", StringFormat.openapiRequiredFields.toString())); } @@ -212,7 +210,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 (!StringFormat.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 `StringFormat` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -224,7 +222,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("staticValue") != null && !jsonObj.get("staticValue").isJsonNull()) && !jsonObj.get("staticValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `staticValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("staticValue").toString())); } diff --git a/src/main/java/com/formkiq/client/model/StringGeneratorType.java b/src/main/java/com/formkiq/client/model/StringGeneratorType.java index 0786b2f0b..3d585aa0d 100644 --- a/src/main/java/com/formkiq/client/model/StringGeneratorType.java +++ b/src/main/java/com/formkiq/client/model/StringGeneratorType.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/Task.java b/src/main/java/com/formkiq/client/model/Task.java index 8c1a32f18..59639e0d1 100644 --- a/src/main/java/com/formkiq/client/model/Task.java +++ b/src/main/java/com/formkiq/client/model/Task.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.TaskStatus; 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 @@ * Task */ @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 Task { public static final String SERIALIZED_NAME_TASK_ID = "taskId"; @SerializedName(SERIALIZED_NAME_TASK_ID) @@ -428,7 +426,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Task.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 Task is not found in the empty JSON string", Task.openapiRequiredFields.toString())); } @@ -438,7 +436,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 (!Task.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 `Task` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -446,55 +444,55 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("taskId") != null && !jsonObj.get("taskId").isJsonNull()) && !jsonObj.get("taskId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `taskId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("taskId").toString())); } 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("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())); } 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())); } 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("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())); } diff --git a/src/main/java/com/formkiq/client/model/TaskStatus.java b/src/main/java/com/formkiq/client/model/TaskStatus.java index 1c82d85e3..5913967d6 100644 --- a/src/main/java/com/formkiq/client/model/TaskStatus.java +++ b/src/main/java/com/formkiq/client/model/TaskStatus.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/TextractQuery.java b/src/main/java/com/formkiq/client/model/TextractQuery.java index 004397826..fa465856c 100644 --- a/src/main/java/com/formkiq/client/model/TextractQuery.java +++ b/src/main/java/com/formkiq/client/model/TextractQuery.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 @@ * A question to ask Textract */ @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 TextractQuery { public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) @@ -211,7 +209,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!TextractQuery.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 TextractQuery is not found in the empty JSON string", TextractQuery.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 (!TextractQuery.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 `TextractQuery` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -229,20 +227,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("text") != null && !jsonObj.get("text").isJsonNull()) && !jsonObj.get("text").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("text").toString())); } if ((jsonObj.get("alias") != null && !jsonObj.get("alias").isJsonNull()) && !jsonObj.get("alias").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `alias` to be a primitive type in the JSON string but got `%s`", jsonObj.get("alias").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("pages") != null && !jsonObj.get("pages").isJsonNull() && !jsonObj.get("pages").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `pages` to be an array in the JSON string but got `%s`", jsonObj.get("pages").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateAttribute.java b/src/main/java/com/formkiq/client/model/UpdateAttribute.java index 11e0c423c..5e84efb6d 100644 --- a/src/main/java/com/formkiq/client/model/UpdateAttribute.java +++ b/src/main/java/com/formkiq/client/model/UpdateAttribute.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AttributeType; import com.formkiq.client.model.Watermark; 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 @@ * UpdateAttribute */ @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 UpdateAttribute { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -176,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateAttribute.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 UpdateAttribute is not found in the empty JSON string", UpdateAttribute.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 (!UpdateAttribute.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 `UpdateAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateAttributeRequest.java b/src/main/java/com/formkiq/client/model/UpdateAttributeRequest.java index d0cdd7a85..e43f09623 100644 --- a/src/main/java/com/formkiq/client/model/UpdateAttributeRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateAttributeRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.UpdateAttribute; 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 @@ * UpdateAttributeRequest */ @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 UpdateAttributeRequest { 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 (!UpdateAttributeRequest.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 UpdateAttributeRequest is not found in the empty JSON string", UpdateAttributeRequest.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 (!UpdateAttributeRequest.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 `UpdateAttributeRequest` 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 : UpdateAttributeRequest.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/UpdateCase.java b/src/main/java/com/formkiq/client/model/UpdateCase.java index c69b386d5..13c825482 100644 --- a/src/main/java/com/formkiq/client/model/UpdateCase.java +++ b/src/main/java/com/formkiq/client/model/UpdateCase.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.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 @@ * UpdateCase */ @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 UpdateCase { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -386,7 +384,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateCase.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 UpdateCase is not found in the empty JSON string", UpdateCase.openapiRequiredFields.toString())); } @@ -396,7 +394,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 (!UpdateCase.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 `UpdateCase` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -404,7 +402,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())); } @@ -414,38 +412,38 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } 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())); } 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())); } // 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/UpdateCaseRequest.java b/src/main/java/com/formkiq/client/model/UpdateCaseRequest.java index a25a2cff5..72d572940 100644 --- a/src/main/java/com/formkiq/client/model/UpdateCaseRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateCaseRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.UpdateCase; 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 @@ * UpdateCaseRequest */ @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 UpdateCaseRequest { 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 (!UpdateCaseRequest.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 UpdateCaseRequest is not found in the empty JSON string", UpdateCaseRequest.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 (!UpdateCaseRequest.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 `UpdateCaseRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateCaseResponse.java b/src/main/java/com/formkiq/client/model/UpdateCaseResponse.java index 749044542..dbdb7e339 100644 --- a/src/main/java/com/formkiq/client/model/UpdateCaseResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateCaseResponse.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 @@ * UpdateCaseResponse */ @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 UpdateCaseResponse { 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 (!UpdateCaseResponse.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 UpdateCaseResponse is not found in the empty JSON string", UpdateCaseResponse.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 (!UpdateCaseResponse.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 `UpdateCaseResponse` 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/UpdateConfigurationRequest.java b/src/main/java/com/formkiq/client/model/UpdateConfigurationRequest.java index 866c57d7d..35b7de7f3 100644 --- a/src/main/java/com/formkiq/client/model/UpdateConfigurationRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateConfigurationRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentConfig; import com.formkiq.client.model.DocusignConfig; import com.formkiq.client.model.GoogleConfig; @@ -54,7 +53,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +60,8 @@ * UpdateConfigurationRequest */ @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 UpdateConfigurationRequest { public static final String SERIALIZED_NAME_CHAT_GPT_API_KEY = "chatGptApiKey"; @SerializedName(SERIALIZED_NAME_CHAT_GPT_API_KEY) @@ -374,7 +372,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateConfigurationRequest.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 UpdateConfigurationRequest is not found in the empty JSON string", UpdateConfigurationRequest.openapiRequiredFields.toString())); } @@ -384,7 +382,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 (!UpdateConfigurationRequest.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 `UpdateConfigurationRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -392,32 +390,32 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("chatGptApiKey") != null && !jsonObj.get("chatGptApiKey").isJsonNull()) && !jsonObj.get("chatGptApiKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `chatGptApiKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("chatGptApiKey").toString())); } if ((jsonObj.get("maxContentLengthBytes") != null && !jsonObj.get("maxContentLengthBytes").isJsonNull()) && !jsonObj.get("maxContentLengthBytes").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `maxContentLengthBytes` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxContentLengthBytes").toString())); } if ((jsonObj.get("maxDocuments") != null && !jsonObj.get("maxDocuments").isJsonNull()) && !jsonObj.get("maxDocuments").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `maxDocuments` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxDocuments").toString())); } if ((jsonObj.get("maxWebhooks") != null && !jsonObj.get("maxWebhooks").isJsonNull()) && !jsonObj.get("maxWebhooks").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `maxWebhooks` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxWebhooks").toString())); } if ((jsonObj.get("notificationEmail") != null && !jsonObj.get("notificationEmail").isJsonNull()) && !jsonObj.get("notificationEmail").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `notificationEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("notificationEmail").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateConfigurationResponse.java b/src/main/java/com/formkiq/client/model/UpdateConfigurationResponse.java index 0d8e432e6..5deeae0c1 100644 --- a/src/main/java/com/formkiq/client/model/UpdateConfigurationResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateConfigurationResponse.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 @@ * UpdateConfigurationResponse */ @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 UpdateConfigurationResponse { 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 (!UpdateConfigurationResponse.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 UpdateConfigurationResponse is not found in the empty JSON string", UpdateConfigurationResponse.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 (!UpdateConfigurationResponse.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 `UpdateConfigurationResponse` 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/UpdateDocumentFulltextRequest.java b/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextRequest.java index d359fcbcc..bfe75022d 100644 --- a/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextRequest.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 @@ * UpdateDocumentFulltextRequest */ @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 UpdateDocumentFulltextRequest { public static final String SERIALIZED_NAME_CONTENT_TYPE = "contentType"; @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) @@ -495,7 +493,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!UpdateDocumentFulltextRequest.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 UpdateDocumentFulltextRequest is not found in the empty JSON string", UpdateDocumentFulltextRequest.openapiRequiredFields.toString())); } @@ -505,7 +503,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 (!UpdateDocumentFulltextRequest.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 `UpdateDocumentFulltextRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -513,50 +511,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())); } @@ -569,7 +567,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())); } @@ -585,7 +583,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/UpdateDocumentFulltextResponse.java b/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextResponse.java index f5469825a..cbbb1e5ad 100644 --- a/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextResponse.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 @@ * UpdateDocumentFulltextResponse */ @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 UpdateDocumentFulltextResponse { 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 (!UpdateDocumentFulltextResponse.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 UpdateDocumentFulltextResponse is not found in the empty JSON string", UpdateDocumentFulltextResponse.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 (!UpdateDocumentFulltextResponse.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 `UpdateDocumentFulltextResponse` 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/UpdateDocumentRequest.java b/src/main/java/com/formkiq/client/model/UpdateDocumentRequest.java index 258b6454e..bc2458813 100644 --- a/src/main/java/com/formkiq/client/model/UpdateDocumentRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateDocumentRequest.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 @@ * UpdateDocumentRequest */ @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 UpdateDocumentRequest { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -552,7 +550,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateDocumentRequest.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 UpdateDocumentRequest is not found in the empty JSON string", UpdateDocumentRequest.openapiRequiredFields.toString())); } @@ -562,7 +560,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 (!UpdateDocumentRequest.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 `UpdateDocumentRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -570,43 +568,43 @@ 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())); } 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())); } 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())); } @@ -619,7 +617,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())); } @@ -635,7 +633,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())); } @@ -651,7 +649,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())); } @@ -667,7 +665,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())); } @@ -683,7 +681,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/UpdateEntityRequest.java b/src/main/java/com/formkiq/client/model/UpdateEntityRequest.java index a9b8fab6b..0afb50be7 100644 --- a/src/main/java/com/formkiq/client/model/UpdateEntityRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateEntityRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.AddEntity; 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 @@ * UpdateEntityRequest */ @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 UpdateEntityRequest { public static final String SERIALIZED_NAME_ENTITY = "entity"; @SerializedName(SERIALIZED_NAME_ENTITY) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateEntityRequest.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 UpdateEntityRequest is not found in the empty JSON string", UpdateEntityRequest.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 (!UpdateEntityRequest.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 `UpdateEntityRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequest.java b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequest.java index f25593ae8..21cf5f6de 100644 --- a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.UpdateMatchingDocumentTagsRequestMatch; import com.formkiq.client.model.UpdateMatchingDocumentTagsRequestUpdate; 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 @@ * Add/Update of multiple document tag(s) based on document(s) that have the matching tag. */ @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 UpdateMatchingDocumentTagsRequest { public static final String SERIALIZED_NAME_MATCH = "match"; @SerializedName(SERIALIZED_NAME_MATCH) @@ -181,7 +179,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!UpdateMatchingDocumentTagsRequest.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 UpdateMatchingDocumentTagsRequest is not found in the empty JSON string", UpdateMatchingDocumentTagsRequest.openapiRequiredFields.toString())); } @@ -191,7 +189,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 (!UpdateMatchingDocumentTagsRequest.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 `UpdateMatchingDocumentTagsRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -200,7 +198,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 : UpdateMatchingDocumentTagsRequest.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/UpdateMatchingDocumentTagsRequestMatch.java b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestMatch.java index b85703dbc..8dfcb545b 100644 --- a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestMatch.java +++ b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestMatch.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.MatchDocumentTag; 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 @@ * UpdateMatchingDocumentTagsRequestMatch */ @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 UpdateMatchingDocumentTagsRequestMatch { public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) @@ -153,7 +151,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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 UpdateMatchingDocumentTagsRequestMatch is not found in the empty JSON string", UpdateMatchingDocumentTagsRequestMatch.openapiRequiredFields.toString())); } @@ -163,7 +161,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 (!UpdateMatchingDocumentTagsRequestMatch.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 `UpdateMatchingDocumentTagsRequestMatch` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdate.java b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdate.java index 24383b242..b6f4b72c4 100644 --- a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdate.java +++ b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdate.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 @@ * Data to update */ @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 UpdateMatchingDocumentTagsRequestUpdate { public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) @@ -165,7 +163,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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 UpdateMatchingDocumentTagsRequestUpdate is not found in the empty JSON string", UpdateMatchingDocumentTagsRequestUpdate.openapiRequiredFields.toString())); } @@ -175,7 +173,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 (!UpdateMatchingDocumentTagsRequestUpdate.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 `UpdateMatchingDocumentTagsRequestUpdate` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -186,7 +184,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())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsResponse.java b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsResponse.java index 371fbe609..b6228641d 100644 --- a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsResponse.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 @@ * UpdateMatchingDocumentTagsResponse */ @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 UpdateMatchingDocumentTagsResponse { 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 (!UpdateMatchingDocumentTagsResponse.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 UpdateMatchingDocumentTagsResponse is not found in the empty JSON string", UpdateMatchingDocumentTagsResponse.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 (!UpdateMatchingDocumentTagsResponse.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 `UpdateMatchingDocumentTagsResponse` 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/UpdateNigo.java b/src/main/java/com/formkiq/client/model/UpdateNigo.java index 149d64d5d..ec7655ef8 100644 --- a/src/main/java/com/formkiq/client/model/UpdateNigo.java +++ b/src/main/java/com/formkiq/client/model/UpdateNigo.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.NigoStatus; 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 @@ * UpdateNigo */ @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 UpdateNigo { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -386,7 +384,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateNigo.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 UpdateNigo is not found in the empty JSON string", UpdateNigo.openapiRequiredFields.toString())); } @@ -396,7 +394,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 (!UpdateNigo.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 `UpdateNigo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -404,37 +402,37 @@ 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())); } 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())); } 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())); } @@ -445,7 +443,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/UpdateNigoRequest.java b/src/main/java/com/formkiq/client/model/UpdateNigoRequest.java index 91066aa2a..0adfe3433 100644 --- a/src/main/java/com/formkiq/client/model/UpdateNigoRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateNigoRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.UpdateNigo; 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 @@ * UpdateNigoRequest */ @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 UpdateNigoRequest { public static final String SERIALIZED_NAME_NIGO = "nigo"; @SerializedName(SERIALIZED_NAME_NIGO) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateNigoRequest.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 UpdateNigoRequest is not found in the empty JSON string", UpdateNigoRequest.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 (!UpdateNigoRequest.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 `UpdateNigoRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateNigoResponse.java b/src/main/java/com/formkiq/client/model/UpdateNigoResponse.java index 4e9a04cb0..f1027f9e6 100644 --- a/src/main/java/com/formkiq/client/model/UpdateNigoResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateNigoResponse.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 @@ * UpdateNigoResponse */ @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 UpdateNigoResponse { public static final String SERIALIZED_NAME_NIGO_ID = "nigoId"; @SerializedName(SERIALIZED_NAME_NIGO_ID) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateNigoResponse.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 UpdateNigoResponse is not found in the empty JSON string", UpdateNigoResponse.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 (!UpdateNigoResponse.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 `UpdateNigoResponse` 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("nigoId") != null && !jsonObj.get("nigoId").isJsonNull()) && !jsonObj.get("nigoId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `nigoId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nigoId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateResponse.java b/src/main/java/com/formkiq/client/model/UpdateResponse.java index e4444f968..0809640a4 100644 --- a/src/main/java/com/formkiq/client/model/UpdateResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateResponse.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 @@ * UpdateResponse */ @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 UpdateResponse { 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 (!UpdateResponse.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 UpdateResponse is not found in the empty JSON string", UpdateResponse.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 (!UpdateResponse.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 `UpdateResponse` 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/UpdateRule.java b/src/main/java/com/formkiq/client/model/UpdateRule.java index aff633c99..359356c60 100644 --- a/src/main/java/com/formkiq/client/model/UpdateRule.java +++ b/src/main/java/com/formkiq/client/model/UpdateRule.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.RuleCondition; import com.formkiq.client.model.RulesetStatus; import com.google.gson.TypeAdapter; @@ -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 @@ * UpdateRule */ @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 UpdateRule { public static final String SERIALIZED_NAME_PRIORITY = "priority"; @SerializedName(SERIALIZED_NAME_PRIORITY) @@ -259,7 +257,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateRule.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 UpdateRule is not found in the empty JSON string", UpdateRule.openapiRequiredFields.toString())); } @@ -269,7 +267,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 (!UpdateRule.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 `UpdateRule` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -277,7 +275,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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())); } @@ -287,7 +285,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("workflowId") != null && !jsonObj.get("workflowId").isJsonNull()) && !jsonObj.get("workflowId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + 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())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateRuleRequest.java b/src/main/java/com/formkiq/client/model/UpdateRuleRequest.java index 3e74c635b..825427b1d 100644 --- a/src/main/java/com/formkiq/client/model/UpdateRuleRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateRuleRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.UpdateRule; 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 @@ * UpdateRuleRequest */ @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 UpdateRuleRequest { public static final String SERIALIZED_NAME_RULE = "rule"; @SerializedName(SERIALIZED_NAME_RULE) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateRuleRequest.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 UpdateRuleRequest is not found in the empty JSON string", UpdateRuleRequest.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 (!UpdateRuleRequest.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 `UpdateRuleRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateRuleResponse.java b/src/main/java/com/formkiq/client/model/UpdateRuleResponse.java index e2aad8da6..55499c748 100644 --- a/src/main/java/com/formkiq/client/model/UpdateRuleResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateRuleResponse.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 @@ * UpdateRuleResponse */ @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 UpdateRuleResponse { 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 (!UpdateRuleResponse.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 UpdateRuleResponse is not found in the empty JSON string", UpdateRuleResponse.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 (!UpdateRuleResponse.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 `UpdateRuleResponse` 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/UpdateRuleset.java b/src/main/java/com/formkiq/client/model/UpdateRuleset.java index 1480eb720..219525aa1 100644 --- a/src/main/java/com/formkiq/client/model/UpdateRuleset.java +++ b/src/main/java/com/formkiq/client/model/UpdateRuleset.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.RulesetStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -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 @@ * UpdateRuleset */ @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 UpdateRuleset { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) @@ -231,7 +229,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateRuleset.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 UpdateRuleset is not found in the empty JSON string", UpdateRuleset.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 (!UpdateRuleset.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 `UpdateRuleset` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -249,7 +247,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateRulesetRequest.java b/src/main/java/com/formkiq/client/model/UpdateRulesetRequest.java index 0291727ee..89c76ff6d 100644 --- a/src/main/java/com/formkiq/client/model/UpdateRulesetRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateRulesetRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.UpdateRuleset; 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 @@ * UpdateRulesetRequest */ @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 UpdateRulesetRequest { public static final String SERIALIZED_NAME_RULESET = "ruleset"; @SerializedName(SERIALIZED_NAME_RULESET) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateRulesetRequest.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 UpdateRulesetRequest is not found in the empty JSON string", UpdateRulesetRequest.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 (!UpdateRulesetRequest.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 `UpdateRulesetRequest` 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 : UpdateRulesetRequest.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/UpdateRulesetResponse.java b/src/main/java/com/formkiq/client/model/UpdateRulesetResponse.java index 980c38205..7b7d2994f 100644 --- a/src/main/java/com/formkiq/client/model/UpdateRulesetResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateRulesetResponse.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 @@ * UpdateRulesetResponse */ @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 UpdateRulesetResponse { 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 (!UpdateRulesetResponse.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 UpdateRulesetResponse is not found in the empty JSON string", UpdateRulesetResponse.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 (!UpdateRulesetResponse.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 `UpdateRulesetResponse` 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/UpdateSite.java b/src/main/java/com/formkiq/client/model/UpdateSite.java index 13c2b1570..c54b17a60 100644 --- a/src/main/java/com/formkiq/client/model/UpdateSite.java +++ b/src/main/java/com/formkiq/client/model/UpdateSite.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.SiteStatus; 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 @@ * UpdateSite */ @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 UpdateSite { public static final String SERIALIZED_NAME_TITLE = "title"; @SerializedName(SERIALIZED_NAME_TITLE) @@ -175,7 +173,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateSite.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 UpdateSite is not found in the empty JSON string", UpdateSite.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 (!UpdateSite.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 `UpdateSite` 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("title") != null && !jsonObj.get("title").isJsonNull()) && !jsonObj.get("title").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `title` to be a primitive type in the JSON string but got `%s`", jsonObj.get("title").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateSiteRequest.java b/src/main/java/com/formkiq/client/model/UpdateSiteRequest.java index 3005b81cc..3f2c84fd1 100644 --- a/src/main/java/com/formkiq/client/model/UpdateSiteRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateSiteRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.UpdateSite; 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 @@ * UpdateSiteRequest */ @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 UpdateSiteRequest { public static final String SERIALIZED_NAME_SITE = "site"; @SerializedName(SERIALIZED_NAME_SITE) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateSiteRequest.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 UpdateSiteRequest is not found in the empty JSON string", UpdateSiteRequest.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 (!UpdateSiteRequest.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 `UpdateSiteRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateTask.java b/src/main/java/com/formkiq/client/model/UpdateTask.java index 8541adf25..98306db72 100644 --- a/src/main/java/com/formkiq/client/model/UpdateTask.java +++ b/src/main/java/com/formkiq/client/model/UpdateTask.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.TaskStatus; 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 @@ * UpdateTask */ @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 UpdateTask { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -386,7 +384,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateTask.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 UpdateTask is not found in the empty JSON string", UpdateTask.openapiRequiredFields.toString())); } @@ -396,7 +394,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 (!UpdateTask.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 `UpdateTask` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -404,37 +402,37 @@ 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())); } 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())); } 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())); } @@ -445,7 +443,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/UpdateTaskRequest.java b/src/main/java/com/formkiq/client/model/UpdateTaskRequest.java index f51643a48..dc1244a34 100644 --- a/src/main/java/com/formkiq/client/model/UpdateTaskRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateTaskRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.UpdateTask; 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 @@ * UpdateTaskRequest */ @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 UpdateTaskRequest { public static final String SERIALIZED_NAME_TASK = "task"; @SerializedName(SERIALIZED_NAME_TASK) @@ -148,7 +146,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateTaskRequest.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 UpdateTaskRequest is not found in the empty JSON string", UpdateTaskRequest.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 (!UpdateTaskRequest.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 `UpdateTaskRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateTaskResponse.java b/src/main/java/com/formkiq/client/model/UpdateTaskResponse.java index 89dc89742..ca58d813c 100644 --- a/src/main/java/com/formkiq/client/model/UpdateTaskResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateTaskResponse.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 @@ * UpdateTaskResponse */ @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 UpdateTaskResponse { public static final String SERIALIZED_NAME_TASK_ID = "taskId"; @SerializedName(SERIALIZED_NAME_TASK_ID) @@ -147,7 +145,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateTaskResponse.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 UpdateTaskResponse is not found in the empty JSON string", UpdateTaskResponse.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 (!UpdateTaskResponse.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 `UpdateTaskResponse` 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("taskId") != null && !jsonObj.get("taskId").isJsonNull()) && !jsonObj.get("taskId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `taskId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("taskId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateWorkflowRequest.java b/src/main/java/com/formkiq/client/model/UpdateWorkflowRequest.java index c761ea5cf..cb736850b 100644 --- a/src/main/java/com/formkiq/client/model/UpdateWorkflowRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateWorkflowRequest.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.WorkflowStatus; 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 @@ * UpdateWorkflowRequest */ @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 UpdateWorkflowRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -202,7 +200,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateWorkflowRequest.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 UpdateWorkflowRequest is not found in the empty JSON string", UpdateWorkflowRequest.openapiRequiredFields.toString())); } @@ -212,7 +210,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 (!UpdateWorkflowRequest.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 `UpdateWorkflowRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -220,13 +218,13 @@ 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())); } 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())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateWorkflowResponse.java b/src/main/java/com/formkiq/client/model/UpdateWorkflowResponse.java index dfbfc91af..1b6389223 100644 --- a/src/main/java/com/formkiq/client/model/UpdateWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateWorkflowResponse.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 @@ * UpdateWorkflowResponse */ @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 UpdateWorkflowResponse { 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 (!UpdateWorkflowResponse.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 UpdateWorkflowResponse is not found in the empty JSON string", UpdateWorkflowResponse.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 (!UpdateWorkflowResponse.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 `UpdateWorkflowResponse` 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/User.java b/src/main/java/com/formkiq/client/model/User.java index 933076b85..7232f4b08 100644 --- a/src/main/java/com/formkiq/client/model/User.java +++ b/src/main/java/com/formkiq/client/model/User.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.UserAttributes; 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 @@ * User */ @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 User { public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) @@ -310,7 +308,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!User.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 User is not found in the empty JSON string", User.openapiRequiredFields.toString())); } @@ -320,7 +318,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 (!User.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 `User` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -328,31 +326,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("username") != null && !jsonObj.get("username").isJsonNull()) && !jsonObj.get("username").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `username` to be a primitive type in the JSON string but got `%s`", jsonObj.get("username").toString())); } if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString())); } if ((jsonObj.get("userStatus") != null && !jsonObj.get("userStatus").isJsonNull()) && !jsonObj.get("userStatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `userStatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userStatus").toString())); } 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("lastModifiedDate") != null && !jsonObj.get("lastModifiedDate").isJsonNull()) && !jsonObj.get("lastModifiedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `lastModifiedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastModifiedDate").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UserActivity.java b/src/main/java/com/formkiq/client/model/UserActivity.java index ba81d9646..76e8d13bc 100644 --- a/src/main/java/com/formkiq/client/model/UserActivity.java +++ b/src/main/java/com/formkiq/client/model/UserActivity.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Document; import com.formkiq.client.model.UserActivityChanges; import com.formkiq.client.model.UserActivityType; @@ -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 @@ * UserActivity */ @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 UserActivity { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -269,7 +267,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UserActivity.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 UserActivity is not found in the empty JSON string", UserActivity.openapiRequiredFields.toString())); } @@ -279,7 +277,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 (!UserActivity.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 `UserActivity` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -291,13 +289,13 @@ 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())); } diff --git a/src/main/java/com/formkiq/client/model/UserActivityChanges.java b/src/main/java/com/formkiq/client/model/UserActivityChanges.java index b0f8099a9..5068e2740 100644 --- a/src/main/java/com/formkiq/client/model/UserActivityChanges.java +++ b/src/main/java/com/formkiq/client/model/UserActivityChanges.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 @@ * UserActivityChanges */ @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 UserActivityChanges { public static final String SERIALIZED_NAME_OLD_VALUE = "oldValue"; @SerializedName(SERIALIZED_NAME_OLD_VALUE) @@ -174,7 +172,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UserActivityChanges.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 UserActivityChanges is not found in the empty JSON string", UserActivityChanges.openapiRequiredFields.toString())); } @@ -184,7 +182,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 (!UserActivityChanges.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 `UserActivityChanges` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/UserActivityType.java b/src/main/java/com/formkiq/client/model/UserActivityType.java index 0c12b1c94..6d07207d7 100644 --- a/src/main/java/com/formkiq/client/model/UserActivityType.java +++ b/src/main/java/com/formkiq/client/model/UserActivityType.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; @@ -40,6 +38,8 @@ public enum UserActivityType { VIEW("VIEW"), + DOWNLOAD("DOWNLOAD"), + CREATE("CREATE"), UPDATE("UPDATE"), @@ -50,7 +50,9 @@ public enum UserActivityType { RESTORE("RESTORE"), - NEW_VERSION("NEW_VERSION"); + NEW_VERSION("NEW_VERSION"), + + UPDATE_VERSION("UPDATE_VERSION"); private String value; diff --git a/src/main/java/com/formkiq/client/model/UserAttributes.java b/src/main/java/com/formkiq/client/model/UserAttributes.java index 82aacd294..7e3fb73fe 100644 --- a/src/main/java/com/formkiq/client/model/UserAttributes.java +++ b/src/main/java/com/formkiq/client/model/UserAttributes.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 @@ * UserAttributes */ @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 UserAttributes { public static final String SERIALIZED_NAME_ADDRESS = "address"; @SerializedName(SERIALIZED_NAME_ADDRESS) @@ -555,7 +553,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UserAttributes.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 UserAttributes is not found in the empty JSON string", UserAttributes.openapiRequiredFields.toString())); } @@ -565,7 +563,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 (!UserAttributes.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 `UserAttributes` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -573,97 +571,97 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("address") != null && !jsonObj.get("address").isJsonNull()) && !jsonObj.get("address").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("address").toString())); } if ((jsonObj.get("birthdate") != null && !jsonObj.get("birthdate").isJsonNull()) && !jsonObj.get("birthdate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `birthdate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("birthdate").toString())); } if ((jsonObj.get("familyName") != null && !jsonObj.get("familyName").isJsonNull()) && !jsonObj.get("familyName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `familyName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("familyName").toString())); } if ((jsonObj.get("gender") != null && !jsonObj.get("gender").isJsonNull()) && !jsonObj.get("gender").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `gender` to be a primitive type in the JSON string but got `%s`", jsonObj.get("gender").toString())); } if ((jsonObj.get("givenName") != null && !jsonObj.get("givenName").isJsonNull()) && !jsonObj.get("givenName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `givenName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("givenName").toString())); } if ((jsonObj.get("locale") != null && !jsonObj.get("locale").isJsonNull()) && !jsonObj.get("locale").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `locale` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locale").toString())); } if ((jsonObj.get("middleName") != null && !jsonObj.get("middleName").isJsonNull()) && !jsonObj.get("middleName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `middleName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("middleName").toString())); } 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())); } if ((jsonObj.get("nickname") != null && !jsonObj.get("nickname").isJsonNull()) && !jsonObj.get("nickname").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `nickname` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nickname").toString())); } if ((jsonObj.get("phoneNumber") != null && !jsonObj.get("phoneNumber").isJsonNull()) && !jsonObj.get("phoneNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `phoneNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneNumber").toString())); } if ((jsonObj.get("picture") != null && !jsonObj.get("picture").isJsonNull()) && !jsonObj.get("picture").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `picture` to be a primitive type in the JSON string but got `%s`", jsonObj.get("picture").toString())); } if ((jsonObj.get("preferredUsername") != null && !jsonObj.get("preferredUsername").isJsonNull()) && !jsonObj.get("preferredUsername").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `preferredUsername` to be a primitive type in the JSON string but got `%s`", jsonObj.get("preferredUsername").toString())); } if ((jsonObj.get("profile") != null && !jsonObj.get("profile").isJsonNull()) && !jsonObj.get("profile").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `profile` to be a primitive type in the JSON string but got `%s`", jsonObj.get("profile").toString())); } if ((jsonObj.get("zoneinfo") != null && !jsonObj.get("zoneinfo").isJsonNull()) && !jsonObj.get("zoneinfo").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `zoneinfo` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zoneinfo").toString())); } if ((jsonObj.get("updatedAt") != null && !jsonObj.get("updatedAt").isJsonNull()) && !jsonObj.get("updatedAt").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `updatedAt` to be a primitive type in the JSON string but got `%s`", jsonObj.get("updatedAt").toString())); } if ((jsonObj.get("website") != null && !jsonObj.get("website").isJsonNull()) && !jsonObj.get("website").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `website` to be a primitive type in the JSON string but got `%s`", jsonObj.get("website").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UserShare.java b/src/main/java/com/formkiq/client/model/UserShare.java index 9d1a0ddb1..7c72added 100644 --- a/src/main/java/com/formkiq/client/model/UserShare.java +++ b/src/main/java/com/formkiq/client/model/UserShare.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.UserSharePermission; import com.formkiq.client.model.UserSharePermissionType; import com.google.gson.TypeAdapter; @@ -54,7 +53,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +60,8 @@ * UserShare */ @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 UserShare { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -401,7 +399,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UserShare.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 UserShare is not found in the empty JSON string", UserShare.openapiRequiredFields.toString())); } @@ -411,7 +409,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 (!UserShare.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 `UserShare` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -419,19 +417,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("group") != null && !jsonObj.get("group").isJsonNull()) && !jsonObj.get("group").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `group` to be a primitive type in the JSON string but got `%s`", jsonObj.get("group").toString())); } if ((jsonObj.get("shareKey") != null && !jsonObj.get("shareKey").isJsonNull()) && !jsonObj.get("shareKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `shareKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shareKey").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())); } @@ -442,25 +440,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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())); } 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("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("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())); } diff --git a/src/main/java/com/formkiq/client/model/UserSharePermission.java b/src/main/java/com/formkiq/client/model/UserSharePermission.java index da8395d83..7c5355e88 100644 --- a/src/main/java/com/formkiq/client/model/UserSharePermission.java +++ b/src/main/java/com/formkiq/client/model/UserSharePermission.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/UserSharePermissionType.java b/src/main/java/com/formkiq/client/model/UserSharePermissionType.java index f39c55f12..49c821cd1 100644 --- a/src/main/java/com/formkiq/client/model/UserSharePermissionType.java +++ b/src/main/java/com/formkiq/client/model/UserSharePermissionType.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/ValidationError.java b/src/main/java/com/formkiq/client/model/ValidationError.java index 510070ae1..39703684c 100644 --- a/src/main/java/com/formkiq/client/model/ValidationError.java +++ b/src/main/java/com/formkiq/client/model/ValidationError.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 @@ * ValidationError */ @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 ValidationError { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -174,7 +172,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!ValidationError.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 ValidationError is not found in the empty JSON string", ValidationError.openapiRequiredFields.toString())); } @@ -184,7 +182,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 (!ValidationError.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 `ValidationError` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +190,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !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("error") != null && !jsonObj.get("error").isJsonNull()) && !jsonObj.get("error").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `error` to be a primitive type in the JSON string but got `%s`", jsonObj.get("error").toString())); } diff --git a/src/main/java/com/formkiq/client/model/ValidationErrorsResponse.java b/src/main/java/com/formkiq/client/model/ValidationErrorsResponse.java index 1c6ed5938..26800db7c 100644 --- a/src/main/java/com/formkiq/client/model/ValidationErrorsResponse.java +++ b/src/main/java/com/formkiq/client/model/ValidationErrorsResponse.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.ValidationError; 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 @@ * ValidationErrorsResponse */ @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 ValidationErrorsResponse { public static final String SERIALIZED_NAME_ERRORS = "errors"; @SerializedName(SERIALIZED_NAME_ERRORS) @@ -158,7 +156,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!ValidationErrorsResponse.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 ValidationErrorsResponse is not found in the empty JSON string", ValidationErrorsResponse.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 (!ValidationErrorsResponse.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 `ValidationErrorsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -179,7 +177,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayerrors != null) { // ensure the json data is an array if (!jsonObj.get("errors").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `errors` to be an array in the JSON string but got `%s`", jsonObj.get("errors").toString())); } diff --git a/src/main/java/com/formkiq/client/model/Watermark.java b/src/main/java/com/formkiq/client/model/Watermark.java index c1b372422..f9f59ae57 100644 --- a/src/main/java/com/formkiq/client/model/Watermark.java +++ b/src/main/java/com/formkiq/client/model/Watermark.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.WatermarkPosition; import com.formkiq.client.model.WatermarkScale; import com.google.gson.TypeAdapter; @@ -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 @@ * Watermark */ @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 Watermark { public static final String SERIALIZED_NAME_FONT_SIZE = "fontSize"; @SerializedName(SERIALIZED_NAME_FONT_SIZE) @@ -286,7 +284,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!Watermark.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 Watermark is not found in the empty JSON string", Watermark.openapiRequiredFields.toString())); } @@ -296,7 +294,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 (!Watermark.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 `Watermark` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -304,13 +302,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("text") != null && !jsonObj.get("text").isJsonNull()) && !jsonObj.get("text").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("text").toString())); } if ((jsonObj.get("imageDocumentId") != null && !jsonObj.get("imageDocumentId").isJsonNull()) && !jsonObj.get("imageDocumentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `imageDocumentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("imageDocumentId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/WatermarkPosition.java b/src/main/java/com/formkiq/client/model/WatermarkPosition.java index c603fdbfc..cbc6d601e 100644 --- a/src/main/java/com/formkiq/client/model/WatermarkPosition.java +++ b/src/main/java/com/formkiq/client/model/WatermarkPosition.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.WatermarkPositionXAnchor; import com.formkiq.client.model.WatermarkPositionYAnchor; import com.google.gson.TypeAdapter; @@ -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 @@ * WatermarkPosition */ @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 WatermarkPosition { public static final String SERIALIZED_NAME_X_ANCHOR = "xAnchor"; @SerializedName(SERIALIZED_NAME_X_ANCHOR) @@ -231,7 +229,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!WatermarkPosition.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 WatermarkPosition is not found in the empty JSON string", WatermarkPosition.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 (!WatermarkPosition.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 `WatermarkPosition` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/WatermarkPositionXAnchor.java b/src/main/java/com/formkiq/client/model/WatermarkPositionXAnchor.java index 2ed194fae..e8fe640f5 100644 --- a/src/main/java/com/formkiq/client/model/WatermarkPositionXAnchor.java +++ b/src/main/java/com/formkiq/client/model/WatermarkPositionXAnchor.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/WatermarkPositionYAnchor.java b/src/main/java/com/formkiq/client/model/WatermarkPositionYAnchor.java index 6102f7ec1..341192c1b 100644 --- a/src/main/java/com/formkiq/client/model/WatermarkPositionYAnchor.java +++ b/src/main/java/com/formkiq/client/model/WatermarkPositionYAnchor.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/WatermarkScale.java b/src/main/java/com/formkiq/client/model/WatermarkScale.java index 0e8010f25..d5b6e5de6 100644 --- a/src/main/java/com/formkiq/client/model/WatermarkScale.java +++ b/src/main/java/com/formkiq/client/model/WatermarkScale.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/WebhookTag.java b/src/main/java/com/formkiq/client/model/WebhookTag.java index 52a01544e..6dd03220b 100644 --- a/src/main/java/com/formkiq/client/model/WebhookTag.java +++ b/src/main/java/com/formkiq/client/model/WebhookTag.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 @@ * WebhookTag */ @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 WebhookTag { public static final String SERIALIZED_NAME_INSERTED_DATE = "insertedDate"; @SerializedName(SERIALIZED_NAME_INSERTED_DATE) @@ -282,7 +280,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!WebhookTag.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 WebhookTag is not found in the empty JSON string", WebhookTag.openapiRequiredFields.toString())); } @@ -292,7 +290,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 (!WebhookTag.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 `WebhookTag` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -301,7 +299,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 : WebhookTag.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())); } @@ -309,35 +307,35 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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("webhookId") != null && !jsonObj.get("webhookId").isJsonNull()) && !jsonObj.get("webhookId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `webhookId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookId").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("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("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())); } 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/WorkflowDocument.java b/src/main/java/com/formkiq/client/model/WorkflowDocument.java index 4c220b131..57dd58db2 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowDocument.java +++ b/src/main/java/com/formkiq/client/model/WorkflowDocument.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.Document; import com.formkiq.client.model.WorkflowSummary; 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 @@ * WorkflowDocument */ @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 WorkflowDocument { public static final String SERIALIZED_NAME_WORKFLOW = "workflow"; @SerializedName(SERIALIZED_NAME_WORKFLOW) @@ -176,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!WorkflowDocument.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 WorkflowDocument is not found in the empty JSON string", WorkflowDocument.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 (!WorkflowDocument.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 `WorkflowDocument` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/WorkflowQueue.java b/src/main/java/com/formkiq/client/model/WorkflowQueue.java index 8ae5e5204..0956e9826 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowQueue.java +++ b/src/main/java/com/formkiq/client/model/WorkflowQueue.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 @@ * WorkflowQueue */ @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 WorkflowQueue { public static final String SERIALIZED_NAME_QUEUE_ID = "queueId"; @SerializedName(SERIALIZED_NAME_QUEUE_ID) @@ -184,7 +182,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!WorkflowQueue.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 WorkflowQueue is not found in the empty JSON string", WorkflowQueue.openapiRequiredFields.toString())); } @@ -194,7 +192,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 (!WorkflowQueue.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 `WorkflowQueue` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -202,14 +200,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); 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())); } // ensure the optional json data is an array if present if (jsonObj.get("approvalGroups") != null && !jsonObj.get("approvalGroups").isJsonNull() && !jsonObj.get("approvalGroups").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `approvalGroups` to be an array in the JSON string but got `%s`", jsonObj.get("approvalGroups").toString())); } diff --git a/src/main/java/com/formkiq/client/model/WorkflowStatus.java b/src/main/java/com/formkiq/client/model/WorkflowStatus.java index 7f2d48b28..20bd02ef3 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowStatus.java +++ b/src/main/java/com/formkiq/client/model/WorkflowStatus.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/WorkflowStep.java b/src/main/java/com/formkiq/client/model/WorkflowStep.java index 9e512b338..09db1894d 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowStep.java +++ b/src/main/java/com/formkiq/client/model/WorkflowStep.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.DocumentAction; import com.formkiq.client.model.WorkflowQueue; import com.formkiq.client.model.WorkflowStepDecision; @@ -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 @@ * WorkflowStep */ @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 WorkflowStep { public static final String SERIALIZED_NAME_STEP_ID = "stepId"; @SerializedName(SERIALIZED_NAME_STEP_ID) @@ -241,7 +239,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!WorkflowStep.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 WorkflowStep is not found in the empty JSON string", WorkflowStep.openapiRequiredFields.toString())); } @@ -251,7 +249,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 (!WorkflowStep.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 `WorkflowStep` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -259,7 +257,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("stepId") != null && !jsonObj.get("stepId").isJsonNull()) && !jsonObj.get("stepId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `stepId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("stepId").toString())); } @@ -276,7 +274,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydecisions != null) { // ensure the json data is an array if (!jsonObj.get("decisions").isJsonArray()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `decisions` to be an array in the JSON string but got `%s`", jsonObj.get("decisions").toString())); } diff --git a/src/main/java/com/formkiq/client/model/WorkflowStepDecision.java b/src/main/java/com/formkiq/client/model/WorkflowStepDecision.java index 8db891333..e36d510c6 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowStepDecision.java +++ b/src/main/java/com/formkiq/client/model/WorkflowStepDecision.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.WorkflowStepDecisionType; 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 @@ * WorkflowStepDecision */ @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 WorkflowStepDecision { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -175,7 +173,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!WorkflowStepDecision.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 WorkflowStepDecision is not found in the empty JSON string", WorkflowStepDecision.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 (!WorkflowStepDecision.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 `WorkflowStepDecision` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -197,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("nextStepId") != null && !jsonObj.get("nextStepId").isJsonNull()) && !jsonObj.get("nextStepId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `nextStepId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nextStepId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/WorkflowStepDecisionType.java b/src/main/java/com/formkiq/client/model/WorkflowStepDecisionType.java index 00ce60701..ecf38f6ef 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowStepDecisionType.java +++ b/src/main/java/com/formkiq/client/model/WorkflowStepDecisionType.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/WorkflowSummary.java b/src/main/java/com/formkiq/client/model/WorkflowSummary.java index 101d0a610..ebf6cfb8c 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowSummary.java +++ b/src/main/java/com/formkiq/client/model/WorkflowSummary.java @@ -21,7 +21,6 @@ package com.formkiq.client.model; import java.util.Objects; -import java.util.Locale; import com.formkiq.client.model.WorkflowStatus; 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 @@ * WorkflowSummary */ @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 WorkflowSummary { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -311,7 +309,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!WorkflowSummary.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 WorkflowSummary is not found in the empty JSON string", WorkflowSummary.openapiRequiredFields.toString())); } @@ -321,7 +319,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 (!WorkflowSummary.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 `WorkflowSummary` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -329,31 +327,31 @@ 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())); } if ((jsonObj.get("workflowId") != null && !jsonObj.get("workflowId").isJsonNull()) && !jsonObj.get("workflowId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format(Locale.ROOT, + 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("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())); } 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())); } diff --git a/src/test/java/com/formkiq/client/api/DocumentActionsApiTest.java b/src/test/java/com/formkiq/client/api/DocumentActionsApiTest.java index fbaef78a7..b685b665c 100644 --- a/src/test/java/com/formkiq/client/api/DocumentActionsApiTest.java +++ b/src/test/java/com/formkiq/client/api/DocumentActionsApiTest.java @@ -54,7 +54,9 @@ public class DocumentActionsApiTest { * tesseract or textract | | OCR | ocrOutputType | Convert OCR result to an Output format * (textract table only) | true | | OCR | ocrNumberOfPages | Number of pages to OCR (from start) | * -1 | | OCR | addPdfDetectedCharactersAsText | PDF Documents convert images to text | true or - * false | | DATA_CLASSIFICATION | llmPromptEntityName | LLM Prompt Entity Name | | FULLTEXT | + * false | | DATA_CLASSIFICATION | llmPromptEntityName | LLM Prompt Entity Name | | + * METADATA_EXTRACTION | llmPromptEntityName | LLM Prompt Entity Name | | CHECKSUM | checksumType + * | Checksum algorithm to calculate and persist for the document | SHA1 or SHA256 | | FULLTEXT | * characterMax | Maximum number of characters to add to Fulltext destination | -1 | | * DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | DOCUMENTTAGGING | tags | * Comma-deliminted list of keywords | author,title,description | | WEBHOOK | url | Webhook URL | diff --git a/src/test/java/com/formkiq/client/api/DocumentGenerationApiTest.java b/src/test/java/com/formkiq/client/api/DocumentGenerationApiTest.java index a92d86a75..e9fe55f16 100644 --- a/src/test/java/com/formkiq/client/api/DocumentGenerationApiTest.java +++ b/src/test/java/com/formkiq/client/api/DocumentGenerationApiTest.java @@ -21,6 +21,8 @@ package com.formkiq.client.api; import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.model.AddDocumentCertificationRequest; +import com.formkiq.client.model.AddDocumentCertificationResponse; import com.formkiq.client.model.AddDocumentGenerateRequest; import com.formkiq.client.model.AddDocumentGenerateResponse; import com.formkiq.client.model.ValidationErrorsResponse; @@ -40,6 +42,25 @@ public class DocumentGenerationApiTest { private final DocumentGenerationApi api = new DocumentGenerationApi(); + /** + * Add Document Certification + * + * Applies one or more certifications (digital signatures) to a document using one or more + * certificates. Target determines whether a presigned download is returned, a new version is + * created, or a new document is created. ; available as an Add-On Module + * + * @throws ApiException if the Api call fails + */ + @Test + public void addDocumentCertificationTest() throws ApiException { + String documentId = null; + AddDocumentCertificationRequest addDocumentCertificationRequest = null; + String siteId = null; + AddDocumentCertificationResponse response = + api.addDocumentCertification(documentId, addDocumentCertificationRequest, siteId); + // TODO: test validations + } + /** * Add Document Generate * diff --git a/src/test/java/com/formkiq/client/api/DocumentsApiTest.java b/src/test/java/com/formkiq/client/api/DocumentsApiTest.java index c72309015..a4b01f3a4 100644 --- a/src/test/java/com/formkiq/client/api/DocumentsApiTest.java +++ b/src/test/java/com/formkiq/client/api/DocumentsApiTest.java @@ -58,9 +58,11 @@ public class DocumentsApiTest { * Add new document * * Creates a new document; body may include document content if less than 5 MB. Returns a unique - * **documentId** used in subsequent operations. See POST /documents/{documentId}/tags for adding - * tags to document schema See POST /documents/{documentId}/actions for adding actions to document - * schema + * **documentId** used in subsequent operations. **Content Type Detection** If the document + * **Content-Type** is not specified during upload, the service will determine it asynchronously + * after the upload completes. This may result in a **temporary delay** before the content type + * and related metadata are available. See POST /documents/{documentId}/tags for adding tags to + * document schema See POST /documents/{documentId}/actions for adding actions to document schema * * @throws ApiException if the Api call fails */ @@ -92,10 +94,13 @@ public void addDocumentSyncTest() throws ApiException { /** * Add large document * - * Returns a URL that can be used to upload document content and create a new document, while - * allowing metadata to also be sent; this endpoint (whether GET or POST) is required in order to - * add content that is larger than 5 MB. The POST endpoint allow the adding of document metadata - * at the same time as the document is created. + * Returns a URL that can be used to upload document content and create a new document. This + * endpoint is required for uploading content larger than 5 MB and allows document metadata to be + * provided at creation time. **Content Type Detection** If the document **Content-Type** is not + * specified during upload, the service will determine it asynchronously after the upload + * completes. This may result in a **temporary delay** before the content type and related + * metadata are available. To avoid this delay, provide the **Content-Type** when uploading the + * document. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/formkiq/client/api/EntityApiTest.java b/src/test/java/com/formkiq/client/api/EntityApiTest.java index 193733744..c95b82c1e 100644 --- a/src/test/java/com/formkiq/client/api/EntityApiTest.java +++ b/src/test/java/com/formkiq/client/api/EntityApiTest.java @@ -97,6 +97,24 @@ public void deleteEntityTest() throws ApiException { // TODO: test validations } + /** + * Deletes Entity Attribute + * + * Deletes Entity Attribute + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteEntityAttributeTest() throws ApiException { + String entityTypeId = null; + String entityId = null; + String attributeKey = null; + String siteId = null; + DeleteResponse response = + api.deleteEntityAttribute(entityTypeId, entityId, attributeKey, siteId); + // TODO: test validations + } + /** * Deletes Entity Type * diff --git a/src/test/java/com/formkiq/client/api/DocumentDataClassificationApiTest.java b/src/test/java/com/formkiq/client/api/IntelligentDocumentProcessingApiTest.java similarity index 56% rename from src/test/java/com/formkiq/client/api/DocumentDataClassificationApiTest.java rename to src/test/java/com/formkiq/client/api/IntelligentDocumentProcessingApiTest.java index f2a25b417..9a0eaad14 100644 --- a/src/test/java/com/formkiq/client/api/DocumentDataClassificationApiTest.java +++ b/src/test/java/com/formkiq/client/api/IntelligentDocumentProcessingApiTest.java @@ -21,7 +21,9 @@ package com.formkiq.client.api; import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.model.AddDocumentMetadataExtractionResponse; import com.formkiq.client.model.GetDocumentDataClassificationResponse; +import com.formkiq.client.model.GetDocumentMetadataExtractionResponse; import com.formkiq.client.model.SetDocumentDataClassificationRequest; import com.formkiq.client.model.SetDocumentDataClassificationResponse; import org.junit.jupiter.api.Disabled; @@ -33,12 +35,48 @@ import java.util.Map; /** - * API tests for DocumentDataClassificationApi + * API tests for IntelligentDocumentProcessingApi */ @Disabled -public class DocumentDataClassificationApiTest { +public class IntelligentDocumentProcessingApiTest { - private final DocumentDataClassificationApi api = new DocumentDataClassificationApi(); + private final IntelligentDocumentProcessingApi api = new IntelligentDocumentProcessingApi(); + + /** + * Add document's metadata extraction result + * + * Create a document Metadatq Extraction Result attributes within a document; available as an + * Add-On Module + * + * @throws ApiException if the Api call fails + */ + @Test + public void addDocumentMetadataExtractionResultTest() throws ApiException { + String documentId = null; + String llmPromptEntityName = null; + String siteId = null; + AddDocumentMetadataExtractionResponse response = + api.addDocumentMetadataExtractionResult(documentId, llmPromptEntityName, siteId); + // TODO: test validations + } + + /** + * Get all document's metadata extraction results + * + * Retrieve all document's metadata extraction; available as an Add-On Module + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAllDocumentMetadataExtractionResultsTest() throws ApiException { + String documentId = null; + String siteId = null; + String limit = null; + String next = null; + GetDocumentMetadataExtractionResponse response = + api.getAllDocumentMetadataExtractionResults(documentId, siteId, limit, next); + // TODO: test validations + } /** * Get document's data classification @@ -58,6 +96,25 @@ public void getDocumentDataClassificationTest() throws ApiException { // TODO: test validations } + /** + * Get document's metadata extraction results + * + * Retrieve an document's metadata extraction; available as an Add-On Module + * + * @throws ApiException if the Api call fails + */ + @Test + public void getDocumentMetadataExtractionResultsTest() throws ApiException { + String documentId = null; + String llmPromptEntityName = null; + String siteId = null; + String limit = null; + String next = null; + GetDocumentMetadataExtractionResponse response = api + .getDocumentMetadataExtractionResults(documentId, llmPromptEntityName, siteId, limit, next); + // TODO: test validations + } + /** * Set document's data classification * diff --git a/src/test/java/com/formkiq/client/api/UserActivitiesApiTest.java b/src/test/java/com/formkiq/client/api/UserActivitiesApiTest.java index 8c1519ed5..bc5478dee 100644 --- a/src/test/java/com/formkiq/client/api/UserActivitiesApiTest.java +++ b/src/test/java/com/formkiq/client/api/UserActivitiesApiTest.java @@ -72,6 +72,15 @@ public void getResourceActivitiesTest() throws ApiException { String entityTypeId = null; String namespace = null; String entityId = null; + String rulesetId = null; + String ruleId = null; + String workflowId = null; + String attributeKey = null; + String schema = null; + String classificationId = null; + String mappingId = null; + String apiKey = null; + String controlPolicy = null; OffsetDateTime start = null; OffsetDateTime end = null; String sort = null; @@ -79,7 +88,8 @@ public void getResourceActivitiesTest() throws ApiException { String limit = null; String userId = null; GetActivitesResponse response = api.getResourceActivities(siteId, documentId, entityTypeId, - namespace, entityId, start, end, sort, next, limit, userId); + namespace, entityId, rulesetId, ruleId, workflowId, attributeKey, schema, classificationId, + mappingId, apiKey, controlPolicy, start, end, sort, next, limit, userId); // TODO: test validations } diff --git a/src/test/java/com/formkiq/client/model/ActivityTest.java b/src/test/java/com/formkiq/client/model/ActivityTest.java index 0dabcdbcf..fb3cf298c 100644 --- a/src/test/java/com/formkiq/client/model/ActivityTest.java +++ b/src/test/java/com/formkiq/client/model/ActivityTest.java @@ -145,6 +145,70 @@ public void entityIdTest() { // TODO: test entityId } + /** + * Test the property 'apiKey' + */ + @Test + public void apiKeyTest() { + // TODO: test apiKey + } + + /** + * Test the property 'rulesetId' + */ + @Test + public void rulesetIdTest() { + // TODO: test rulesetId + } + + /** + * Test the property 'schema' + */ + @Test + public void schemaTest() { + // TODO: test schema + } + + /** + * Test the property 'mappingId' + */ + @Test + public void mappingIdTest() { + // TODO: test mappingId + } + + /** + * Test the property 'classificationId' + */ + @Test + public void classificationIdTest() { + // TODO: test classificationId + } + + /** + * Test the property 'ruleId' + */ + @Test + public void ruleIdTest() { + // TODO: test ruleId + } + + /** + * Test the property 'workflowId' + */ + @Test + public void workflowIdTest() { + // TODO: test workflowId + } + + /** + * Test the property 'controlPolicy' + */ + @Test + public void controlPolicyTest() { + // TODO: test controlPolicy + } + /** * Test the property 'changes' */ diff --git a/src/test/java/com/formkiq/client/model/AddActionParametersTest.java b/src/test/java/com/formkiq/client/model/AddActionParametersTest.java index fcb92d552..fb2017db5 100644 --- a/src/test/java/com/formkiq/client/model/AddActionParametersTest.java +++ b/src/test/java/com/formkiq/client/model/AddActionParametersTest.java @@ -20,6 +20,7 @@ package com.formkiq.client.model; +import com.formkiq.client.model.ChecksumType; import com.formkiq.client.model.OcrEngine; import com.formkiq.client.model.OcrOutputType; import com.formkiq.client.model.TextractQuery; @@ -201,6 +202,14 @@ public void eventBusNameTest() { // TODO: test eventBusName } + /** + * Test the property 'checksumType' + */ + @Test + public void checksumTypeTest() { + // TODO: test checksumType + } + /** * Test the property 'width' */ diff --git a/src/test/java/com/formkiq/client/model/AddAttributeSchemaOptionalTest.java b/src/test/java/com/formkiq/client/model/AddAttributeSchemaOptionalTest.java index 25379bae9..45ff05c52 100644 --- a/src/test/java/com/formkiq/client/model/AddAttributeSchemaOptionalTest.java +++ b/src/test/java/com/formkiq/client/model/AddAttributeSchemaOptionalTest.java @@ -47,6 +47,22 @@ public void testAddAttributeSchemaOptional() { // TODO: test AddAttributeSchemaOptional } + /** + * Test the property 'defaultEntityTypeId' + */ + @Test + public void defaultEntityTypeIdTest() { + // TODO: test defaultEntityTypeId + } + + /** + * Test the property 'defaultEntityId' + */ + @Test + public void defaultEntityIdTest() { + // TODO: test defaultEntityId + } + /** * Test the property 'minNumberOfValues' */ diff --git a/src/test/java/com/formkiq/client/model/AddAttributeSchemaRequiredTest.java b/src/test/java/com/formkiq/client/model/AddAttributeSchemaRequiredTest.java index d765fca18..54b81809f 100644 --- a/src/test/java/com/formkiq/client/model/AddAttributeSchemaRequiredTest.java +++ b/src/test/java/com/formkiq/client/model/AddAttributeSchemaRequiredTest.java @@ -47,6 +47,22 @@ public void testAddAttributeSchemaRequired() { // TODO: test AddAttributeSchemaRequired } + /** + * Test the property 'defaultEntityTypeId' + */ + @Test + public void defaultEntityTypeIdTest() { + // TODO: test defaultEntityTypeId + } + + /** + * Test the property 'defaultEntityId' + */ + @Test + public void defaultEntityIdTest() { + // TODO: test defaultEntityId + } + /** * Test the property 'minNumberOfValues' */ diff --git a/src/test/java/com/formkiq/client/model/AddDocumentCertificationRequestTest.java b/src/test/java/com/formkiq/client/model/AddDocumentCertificationRequestTest.java new file mode 100644 index 000000000..9702f6540 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/AddDocumentCertificationRequestTest.java @@ -0,0 +1,67 @@ +/* + * 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 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 org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AddDocumentCertificationRequest + */ +public class AddDocumentCertificationRequestTest { + private final AddDocumentCertificationRequest model = new AddDocumentCertificationRequest(); + + /** + * Model tests for AddDocumentCertificationRequest + */ + @Test + public void testAddDocumentCertificationRequest() { + // TODO: test AddDocumentCertificationRequest + } + + /** + * Test the property 'target' + */ + @Test + public void targetTest() { + // TODO: test target + } + + /** + * Test the property 'certificates' + */ + @Test + public void certificatesTest() { + // TODO: test certificates + } + +} diff --git a/src/test/java/com/formkiq/client/model/AddDocumentCertificationResponseTest.java b/src/test/java/com/formkiq/client/model/AddDocumentCertificationResponseTest.java new file mode 100644 index 000000000..93e9dbe4e --- /dev/null +++ b/src/test/java/com/formkiq/client/model/AddDocumentCertificationResponseTest.java @@ -0,0 +1,63 @@ +/* + * 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 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 org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AddDocumentCertificationResponse + */ +public class AddDocumentCertificationResponseTest { + private final AddDocumentCertificationResponse model = new AddDocumentCertificationResponse(); + + /** + * Model tests for AddDocumentCertificationResponse + */ + @Test + public void testAddDocumentCertificationResponse() { + // TODO: test AddDocumentCertificationResponse + } + + /** + * Test the property 'documentId' + */ + @Test + public void documentIdTest() { + // TODO: test documentId + } + + /** + * Test the property 'url' + */ + @Test + public void urlTest() { + // TODO: test url + } + +} diff --git a/src/test/java/com/formkiq/client/model/AddDocumentMetadataExtractionResponseTest.java b/src/test/java/com/formkiq/client/model/AddDocumentMetadataExtractionResponseTest.java new file mode 100644 index 000000000..5951b8646 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/AddDocumentMetadataExtractionResponseTest.java @@ -0,0 +1,67 @@ +/* + * 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 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 org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AddDocumentMetadataExtractionResponse + */ +public class AddDocumentMetadataExtractionResponseTest { + private final AddDocumentMetadataExtractionResponse model = + new AddDocumentMetadataExtractionResponse(); + + /** + * Model tests for AddDocumentMetadataExtractionResponse + */ + @Test + public void testAddDocumentMetadataExtractionResponse() { + // TODO: test AddDocumentMetadataExtractionResponse + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'attributes' + */ + @Test + public void attributesTest() { + // TODO: test attributes + } + +} diff --git a/src/test/java/com/formkiq/client/model/DocumentAttributeTest.java b/src/test/java/com/formkiq/client/model/DocumentAttributeTest.java index f811b9af7..b717aee35 100644 --- a/src/test/java/com/formkiq/client/model/DocumentAttributeTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentAttributeTest.java @@ -21,6 +21,7 @@ package com.formkiq.client.model; import com.formkiq.client.model.AttributeValueType; +import com.formkiq.client.model.Entity; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -120,4 +121,12 @@ public void valueTypeTest() { // TODO: test valueType } + /** + * Test the property 'entity' + */ + @Test + public void entityTest() { + // TODO: test entity + } + } diff --git a/src/test/java/com/formkiq/client/model/DocumentCertificationAwsSecretsManagerTest.java b/src/test/java/com/formkiq/client/model/DocumentCertificationAwsSecretsManagerTest.java new file mode 100644 index 000000000..060eeb1d0 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/DocumentCertificationAwsSecretsManagerTest.java @@ -0,0 +1,64 @@ +/* + * 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 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 org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for DocumentCertificationAwsSecretsManager + */ +public class DocumentCertificationAwsSecretsManagerTest { + private final DocumentCertificationAwsSecretsManager model = + new DocumentCertificationAwsSecretsManager(); + + /** + * Model tests for DocumentCertificationAwsSecretsManager + */ + @Test + public void testDocumentCertificationAwsSecretsManager() { + // TODO: test DocumentCertificationAwsSecretsManager + } + + /** + * Test the property 'certificateArn' + */ + @Test + public void certificateArnTest() { + // TODO: test certificateArn + } + + /** + * Test the property 'passwordArn' + */ + @Test + public void passwordArnTest() { + // TODO: test passwordArn + } + +} diff --git a/src/test/java/com/formkiq/client/model/DocumentCertificationSourceTypeTest.java b/src/test/java/com/formkiq/client/model/DocumentCertificationSourceTypeTest.java new file mode 100644 index 000000000..88a85b08e --- /dev/null +++ b/src/test/java/com/formkiq/client/model/DocumentCertificationSourceTypeTest.java @@ -0,0 +1,39 @@ +/* + * 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 com.google.gson.annotations.SerializedName; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for DocumentCertificationSourceType + */ +public class DocumentCertificationSourceTypeTest { + /** + * Model tests for DocumentCertificationSourceType + */ + @Test + public void testDocumentCertificationSourceType() { + // TODO: test DocumentCertificationSourceType + } + +} diff --git a/src/test/java/com/formkiq/client/model/DocumentCertificationTargetTest.java b/src/test/java/com/formkiq/client/model/DocumentCertificationTargetTest.java new file mode 100644 index 000000000..2efba71a7 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/DocumentCertificationTargetTest.java @@ -0,0 +1,39 @@ +/* + * 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 com.google.gson.annotations.SerializedName; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for DocumentCertificationTarget + */ +public class DocumentCertificationTargetTest { + /** + * Model tests for DocumentCertificationTarget + */ + @Test + public void testDocumentCertificationTarget() { + // TODO: test DocumentCertificationTarget + } + +} diff --git a/src/test/java/com/formkiq/client/model/DocumentCertificationTest.java b/src/test/java/com/formkiq/client/model/DocumentCertificationTest.java new file mode 100644 index 000000000..aae4b2def --- /dev/null +++ b/src/test/java/com/formkiq/client/model/DocumentCertificationTest.java @@ -0,0 +1,73 @@ +/* + * 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 com.formkiq.client.model.DocumentCertificationAwsSecretsManager; +import com.formkiq.client.model.DocumentCertificationSourceType; +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 org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for DocumentCertification + */ +public class DocumentCertificationTest { + private final DocumentCertification model = new DocumentCertification(); + + /** + * Model tests for DocumentCertification + */ + @Test + public void testDocumentCertification() { + // TODO: test DocumentCertification + } + + /** + * Test the property 'alias' + */ + @Test + public void aliasTest() { + // TODO: test alias + } + + /** + * Test the property 'sourceType' + */ + @Test + public void sourceTypeTest() { + // TODO: test sourceType + } + + /** + * Test the property 'awsSecretsManager' + */ + @Test + public void awsSecretsManagerTest() { + // TODO: test awsSecretsManager + } + +} diff --git a/src/test/java/com/formkiq/client/model/GetDocumentMetadataExtractionResponseTest.java b/src/test/java/com/formkiq/client/model/GetDocumentMetadataExtractionResponseTest.java new file mode 100644 index 000000000..525162a19 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/GetDocumentMetadataExtractionResponseTest.java @@ -0,0 +1,67 @@ +/* + * 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 com.formkiq.client.model.MetadataExtraction; +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 org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for GetDocumentMetadataExtractionResponse + */ +public class GetDocumentMetadataExtractionResponseTest { + private final GetDocumentMetadataExtractionResponse model = + new GetDocumentMetadataExtractionResponse(); + + /** + * Model tests for GetDocumentMetadataExtractionResponse + */ + @Test + public void testGetDocumentMetadataExtractionResponse() { + // TODO: test GetDocumentMetadataExtractionResponse + } + + /** + * Test the property 'next' + */ + @Test + public void nextTest() { + // TODO: test next + } + + /** + * Test the property 'metadataExtractions' + */ + @Test + public void metadataExtractionsTest() { + // TODO: test metadataExtractions + } + +} diff --git a/src/test/java/com/formkiq/client/model/GetSitesResponseTest.java b/src/test/java/com/formkiq/client/model/GetSitesResponseTest.java index 77829afcb..548591746 100644 --- a/src/test/java/com/formkiq/client/model/GetSitesResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetSitesResponseTest.java @@ -63,6 +63,14 @@ public void rolesTest() { // TODO: test roles } + /** + * Test the property 'samlGroups' + */ + @Test + public void samlGroupsTest() { + // TODO: test samlGroups + } + /** * Test the property 'sites' */ diff --git a/src/test/java/com/formkiq/client/model/MappingAttributeTest.java b/src/test/java/com/formkiq/client/model/MappingAttributeTest.java index 3c86be0f8..3ed13dad8 100644 --- a/src/test/java/com/formkiq/client/model/MappingAttributeTest.java +++ b/src/test/java/com/formkiq/client/model/MappingAttributeTest.java @@ -65,6 +65,14 @@ public void sourceTypeTest() { // TODO: test sourceType } + /** + * Test the property 'llmPromptEntityName' + */ + @Test + public void llmPromptEntityNameTest() { + // TODO: test llmPromptEntityName + } + /** * Test the property 'defaultValue' */ diff --git a/src/test/java/com/formkiq/client/model/MetadataExtractionAttributeTest.java b/src/test/java/com/formkiq/client/model/MetadataExtractionAttributeTest.java new file mode 100644 index 000000000..d762b89f1 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/MetadataExtractionAttributeTest.java @@ -0,0 +1,63 @@ +/* + * 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 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 org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for MetadataExtractionAttribute + */ +public class MetadataExtractionAttributeTest { + private final MetadataExtractionAttribute model = new MetadataExtractionAttribute(); + + /** + * Model tests for MetadataExtractionAttribute + */ + @Test + public void testMetadataExtractionAttribute() { + // TODO: test MetadataExtractionAttribute + } + + /** + * Test the property 'key' + */ + @Test + public void keyTest() { + // TODO: test key + } + + /** + * Test the property 'value' + */ + @Test + public void valueTest() { + // TODO: test value + } + +} diff --git a/src/test/java/com/formkiq/client/model/MetadataExtractionTest.java b/src/test/java/com/formkiq/client/model/MetadataExtractionTest.java new file mode 100644 index 000000000..41ae20c2b --- /dev/null +++ b/src/test/java/com/formkiq/client/model/MetadataExtractionTest.java @@ -0,0 +1,90 @@ +/* + * 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 com.formkiq.client.model.MetadataExtractionAttribute; +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 org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for MetadataExtraction + */ +public class MetadataExtractionTest { + private final MetadataExtraction model = new MetadataExtraction(); + + /** + * Model tests for MetadataExtraction + */ + @Test + public void testMetadataExtraction() { + // TODO: test MetadataExtraction + } + + /** + * Test the property 'llmPromptEntityName' + */ + @Test + public void llmPromptEntityNameTest() { + // TODO: test llmPromptEntityName + } + + /** + * Test the property 'insertedDate' + */ + @Test + public void insertedDateTest() { + // TODO: test insertedDate + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'attributes' + */ + @Test + public void attributesTest() { + // TODO: test attributes + } + +}