diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0c93600..26e9bb0 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -18,6 +18,7 @@ jobs: strategy: matrix: java: [ 17, 21 ] + fail-fast: false steps: - uses: actions/checkout@v4 - name: Set up JDK diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 6b0e666..48e5836 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -50,8 +50,6 @@ docs/OrganizationsApi.md docs/RegisterDbServerBody.md docs/RegisterFormRequest.md docs/Request.md -docs/Role.md -docs/Role1.md docs/S3PermissionsRequest.md docs/SpacesApi.md docs/StatisticsResponse.md @@ -142,8 +140,6 @@ src/main/java/ai/lamin/lamin_api_client/model/OrderByColumn.java src/main/java/ai/lamin/lamin_api_client/model/RegisterDbServerBody.java src/main/java/ai/lamin/lamin_api_client/model/RegisterFormRequest.java src/main/java/ai/lamin/lamin_api_client/model/Request.java -src/main/java/ai/lamin/lamin_api_client/model/Role.java -src/main/java/ai/lamin/lamin_api_client/model/Role1.java src/main/java/ai/lamin/lamin_api_client/model/S3PermissionsRequest.java src/main/java/ai/lamin/lamin_api_client/model/StatisticsResponse.java src/main/java/ai/lamin/lamin_api_client/model/SyncInstruction.java @@ -157,3 +153,68 @@ src/main/java/ai/lamin/lamin_api_client/model/UpdateTeamMemberRequestBody.java src/main/java/ai/lamin/lamin_api_client/model/UpdateTeamRequestBody.java src/main/java/ai/lamin/lamin_api_client/model/ValidationError.java src/main/java/ai/lamin/lamin_api_client/model/ValidationErrorLocInner.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/AccountsApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/BackwardCompatibleEndpointsApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/CacheApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/DbServerApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/HealthChecksApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/InstanceArtifactsApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/InstanceDbTokenApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/InstanceFeaturesApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/InstanceFileExplorerApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/InstanceFormsApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/InstanceFunctionsApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/InstanceLabelsApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/InstanceRecordsApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/InstanceSchemaApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/InstanceSearchApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/InstanceStatisticsApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/InstanceTransformsApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/InstancesApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/OrganizationsApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/SpacesApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/StoragesApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/api/TeamsApiTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/AddCollaboratorRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/AddOrganizationMemberRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/AddSpaceCollaboratorRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/AddTeamMemberRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/AttachSpaceToRecordRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/BatchDeleteBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/BatchDeleteResponseTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/BatchSyncLinksBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/BatchSyncResponseTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/BatchUpdateBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/BodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/CreateArtifactRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/CreateSpaceRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/CreateTeamRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/CreateTransformRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/DimensionTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/ErrorDetailTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/ExecuteFunctionRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/ExportRecordsRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/GetRecordRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/GetRecordsRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/GetValuesRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/GroupByRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/HTTPValidationErrorTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/MeasureTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/NonEmptyTablesResponseTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/OrderByColumnTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/RegisterDbServerBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/RegisterFormRequestTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/RequestTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/S3PermissionsRequestTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/StatisticsResponseTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/SyncInstructionTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/TraversalParamsTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/TraversalParamsValuesInnerTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/UpdateCollaboratorRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/UpdateOrganizationMemberRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/UpdateSpaceCollaboratorRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/UpdateSpaceRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/UpdateTeamMemberRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/UpdateTeamRequestBodyTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/ValidationErrorLocInnerTest.java +src/test/src/test/java/ai/lamin/lamin_api_client/model/ValidationErrorTest.java diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 5f84a81..1b2d969 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.12.0 +7.18.0 diff --git a/README.md b/README.md index bf9d2b6..6d3503b 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ Lamin API - API version: 0.1.0 - - Build date: 2026-01-12T11:16:27.287169544+01:00[Europe/Brussels] - - Generator version: 7.12.0 + - Build date: 2026-01-12T11:54:54.680196623+01:00[Europe/Brussels] + - Generator version: 7.18.0 No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) @@ -44,7 +44,7 @@ Add this dependency to your project's POM: ai.lamin lamin-api-client - 0.0.4 + 0.0.5-rc1 compile ``` @@ -60,7 +60,7 @@ Add this dependency to your project's build file: } dependencies { - implementation "ai.lamin:lamin-api-client:0.0.4" + implementation "ai.lamin:lamin-api-client:0.0.5-rc1" } ``` @@ -74,7 +74,7 @@ mvn clean package Then manually install the following JARs: -* `target/lamin-api-client-0.0.4.jar` +* `target/lamin-api-client-0.0.5-rc1.jar` * `target/lib/*.jar` ## Getting Started @@ -227,8 +227,6 @@ Class | Method | HTTP request | Description - [RegisterDbServerBody](docs/RegisterDbServerBody.md) - [RegisterFormRequest](docs/RegisterFormRequest.md) - [Request](docs/Request.md) - - [Role](docs/Role.md) - - [Role1](docs/Role1.md) - [S3PermissionsRequest](docs/S3PermissionsRequest.md) - [StatisticsResponse](docs/StatisticsResponse.md) - [SyncInstruction](docs/SyncInstruction.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index 05a0064..b7cfe97 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -54,7 +54,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Get Organization tags: @@ -109,7 +109,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: List Organization Members tags: @@ -175,7 +175,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Remove Organization Member tags: @@ -236,7 +236,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateOrganizationMemberRequestBody' + $ref: "#/components/schemas/UpdateOrganizationMemberRequestBody" required: true responses: "200": @@ -248,7 +248,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Update Organization Member tags: @@ -309,7 +309,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddOrganizationMemberRequestBody' + $ref: "#/components/schemas/AddOrganizationMemberRequestBody" required: true responses: "200": @@ -321,7 +321,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Add Organization Member tags: @@ -360,7 +360,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Get Caller Account tags: @@ -403,7 +403,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CreateSpaceRequestBody' + $ref: "#/components/schemas/CreateSpaceRequestBody" required: true responses: "200": @@ -415,7 +415,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Create Space tags: @@ -472,7 +472,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Delete Space tags: @@ -527,7 +527,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Get Space tags: @@ -578,7 +578,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateSpaceRequestBody' + $ref: "#/components/schemas/UpdateSpaceRequestBody" required: true responses: "200": @@ -590,7 +590,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Update Space tags: @@ -647,7 +647,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AttachSpaceToRecordRequestBody' + $ref: "#/components/schemas/AttachSpaceToRecordRequestBody" required: true responses: "200": @@ -659,7 +659,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Move Record To Space tags: @@ -718,7 +718,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Detach Space From Instance tags: @@ -775,7 +775,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Attach Space To Instance tags: @@ -830,7 +830,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: List Instances Using Space tags: @@ -876,7 +876,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: List Instance Spaces tags: @@ -952,7 +952,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Remove Space Collaborator tags: @@ -1006,7 +1006,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: List Space Collaborators tags: @@ -1060,7 +1060,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateSpaceCollaboratorRequestBody' + $ref: "#/components/schemas/UpdateSpaceCollaboratorRequestBody" required: true responses: "200": @@ -1072,7 +1072,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Update Space Collaborator tags: @@ -1126,7 +1126,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddSpaceCollaboratorRequestBody' + $ref: "#/components/schemas/AddSpaceCollaboratorRequestBody" required: true responses: "200": @@ -1138,7 +1138,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Add Space Collaborator tags: @@ -1194,7 +1194,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: List Organization Spaces tags: @@ -1237,7 +1237,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CreateTeamRequestBody' + $ref: "#/components/schemas/CreateTeamRequestBody" required: true responses: "200": @@ -1249,7 +1249,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Create Team tags: @@ -1305,7 +1305,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Delete Team tags: @@ -1360,7 +1360,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Get Team tags: @@ -1411,7 +1411,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateTeamRequestBody' + $ref: "#/components/schemas/UpdateTeamRequestBody" required: true responses: "200": @@ -1423,7 +1423,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Update Team tags: @@ -1479,7 +1479,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: List Team Members tags: @@ -1545,7 +1545,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Remove Team Member tags: @@ -1606,7 +1606,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateTeamMemberRequestBody' + $ref: "#/components/schemas/UpdateTeamMemberRequestBody" required: true responses: "200": @@ -1618,7 +1618,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Update Team Member tags: @@ -1679,7 +1679,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddTeamMemberRequestBody' + $ref: "#/components/schemas/AddTeamMemberRequestBody" required: true responses: "200": @@ -1691,7 +1691,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Add Team Member tags: @@ -1747,7 +1747,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: List Organization Teams tags: @@ -1841,7 +1841,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Create Instance tags: @@ -1888,7 +1888,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Delete Instance tags: @@ -1934,7 +1934,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Transfer Ownership tags: @@ -1972,7 +1972,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Migrate Instance tags: @@ -2022,7 +2022,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Get Db Token tags: @@ -2060,7 +2060,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Get Schema tags: @@ -2114,7 +2114,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Get Relations tags: @@ -2183,7 +2183,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Remove Collaborator tags: @@ -2230,7 +2230,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: List Collaborators tags: @@ -2276,7 +2276,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateCollaboratorRequestBody' + $ref: "#/components/schemas/UpdateCollaboratorRequestBody" required: true responses: "200": @@ -2288,7 +2288,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Update Collaborator tags: @@ -2336,7 +2336,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddCollaboratorRequestBody' + $ref: "#/components/schemas/AddCollaboratorRequestBody" required: true responses: "200": @@ -2348,7 +2348,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Add Collaborator tags: @@ -2395,7 +2395,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Global Search tags: @@ -2453,7 +2453,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: List Directory tags: @@ -2502,7 +2502,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Get Tree tags: @@ -2550,7 +2550,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GroupByRequestBody' + $ref: "#/components/schemas/GroupByRequestBody" required: true responses: "200": @@ -2562,7 +2562,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Group By tags: @@ -2623,31 +2623,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/StatisticsResponse' + $ref: "#/components/schemas/StatisticsResponse" description: Successful Response "400": content: application/json: schema: - $ref: '#/components/schemas/ErrorDetail' + $ref: "#/components/schemas/ErrorDetail" description: Invalid model name format provided. "403": content: application/json: schema: - $ref: '#/components/schemas/ErrorDetail' + $ref: "#/components/schemas/ErrorDetail" description: Read access denied to the instance. "404": content: application/json: schema: - $ref: '#/components/schemas/ErrorDetail' + $ref: "#/components/schemas/ErrorDetail" description: Instance or requested model not found. "422": content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Get Approximate Table Row Counts and Artifact Size tags: @@ -2695,32 +2695,32 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/NonEmptyTablesResponse' + $ref: "#/components/schemas/NonEmptyTablesResponse" description: Successful Response "403": content: application/json: schema: - $ref: '#/components/schemas/ErrorDetail' + $ref: "#/components/schemas/ErrorDetail" description: Read access denied to the instance. "404": content: application/json: schema: - $ref: '#/components/schemas/ErrorDetail' + $ref: "#/components/schemas/ErrorDetail" description: Instance not accessible. "500": content: application/json: schema: - $ref: '#/components/schemas/ErrorDetail' + $ref: "#/components/schemas/ErrorDetail" description: "Internal server error, such as a missing schema or database\ \ connection failure." "422": content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: List Non-Empty Data Tables by Module tags: @@ -2782,7 +2782,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Get Relation Counts tags: @@ -2825,7 +2825,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RegisterFormRequest' + $ref: "#/components/schemas/RegisterFormRequest" required: true responses: "200": @@ -2837,7 +2837,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Register Form tags: @@ -2870,7 +2870,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ExecuteFunctionRequestBody' + $ref: "#/components/schemas/ExecuteFunctionRequestBody" required: true responses: "200": @@ -2882,7 +2882,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Execute Function tags: @@ -2915,7 +2915,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CreateTransformRequestBody' + $ref: "#/components/schemas/CreateTransformRequestBody" required: true responses: "200": @@ -2927,7 +2927,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Create Transform tags: @@ -2960,7 +2960,7 @@ paths: content: multipart/form-data: schema: - $ref: '#/components/schemas/Body_upload_artifact_instances__instance_id__artifacts_upload_post' + $ref: "#/components/schemas/Body_upload_artifact_instances__instance_id__artifacts_upload_post" required: true responses: "200": @@ -2972,7 +2972,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Upload Artifact tags: @@ -3005,7 +3005,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CreateArtifactRequestBody' + $ref: "#/components/schemas/CreateArtifactRequestBody" required: true responses: "200": @@ -3017,7 +3017,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Create Artifact tags: @@ -3100,7 +3100,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Detach Label tags: @@ -3181,7 +3181,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Attach Label tags: @@ -3249,7 +3249,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetRecordsRequestBody' + allOf: + - $ref: "#/components/schemas/GetRecordsRequestBody" + default: + search: "" responses: "200": content: @@ -3260,7 +3263,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Query Linked Features tags: @@ -3343,7 +3346,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Request' + $ref: "#/components/schemas/Request" required: true responses: "200": @@ -3355,7 +3358,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Get and query hierarchical relatives of records tags: @@ -3440,7 +3443,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetRecordsRequestBody' + allOf: + - $ref: "#/components/schemas/GetRecordsRequestBody" + default: + search: "" responses: "200": content: @@ -3451,7 +3457,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Get Records tags: @@ -3498,7 +3504,8 @@ paths: requestBody: content: application/json: - schema: {} + schema: + title: Body required: true responses: "200": @@ -3510,7 +3517,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Create Records tags: @@ -3585,7 +3592,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetValuesRequestBody' + allOf: + - $ref: "#/components/schemas/GetValuesRequestBody" + default: + search: "" responses: "200": content: @@ -3596,7 +3606,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Get Values tags: @@ -3663,7 +3673,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Body' + $ref: "#/components/schemas/Body" required: true responses: "200": @@ -3733,7 +3743,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/BatchUpdateBody' + $ref: "#/components/schemas/BatchUpdateBody" required: true responses: "200": @@ -3748,7 +3758,8 @@ paths: updated_at: 2023-10-27T12:00:00Z schema: items: - additionalProperties: {} + additionalProperties: true + type: object type: array description: "Successful update. Returns a list of the full, updated records." "422": @@ -3800,20 +3811,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/BatchDeleteBody' + $ref: "#/components/schemas/BatchDeleteBody" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/BatchDeleteResponse' + $ref: "#/components/schemas/BatchDeleteResponse" description: Successful Response "422": content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Batch Delete Records tags: @@ -3862,20 +3873,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/BatchSyncLinksBody' + $ref: "#/components/schemas/BatchSyncLinksBody" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/BatchSyncResponse' + $ref: "#/components/schemas/BatchSyncResponse" description: Successful Response "422": content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Synchronize sets of links for multiple scopes in a single call tags: @@ -3916,7 +3927,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ExportRecordsRequestBody' + allOf: + - $ref: "#/components/schemas/ExportRecordsRequestBody" + nullable: true responses: "200": content: @@ -3927,7 +3940,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Export Records tags: @@ -4002,7 +4015,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetRecordRequestBody' + allOf: + - $ref: "#/components/schemas/GetRecordRequestBody" + default: {} responses: "200": content: @@ -4013,7 +4028,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Get Record tags: @@ -4076,7 +4091,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Delete Record tags: @@ -4130,7 +4145,8 @@ paths: requestBody: content: application/json: - schema: {} + schema: + title: Body required: true responses: "200": @@ -4142,7 +4158,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Update Record tags: @@ -4201,7 +4217,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/S3PermissionsRequest' + $ref: "#/components/schemas/S3PermissionsRequest" required: true responses: "200": @@ -4213,7 +4229,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Grant S3 Permissions tags: @@ -4246,7 +4262,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RegisterDbServerBody' + $ref: "#/components/schemas/RegisterDbServerBody" required: true responses: "200": @@ -4258,7 +4274,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Register Db Server tags: @@ -4305,7 +4321,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Check Db Server Access tags: @@ -4357,7 +4373,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Invalidate Instance Cache tags: @@ -4394,7 +4410,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Get Instance Cache tags: @@ -4432,7 +4448,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/HTTPValidationError' + $ref: "#/components/schemas/HTTPValidationError" description: Validation Error summary: Get Db Token Backward Compatible tags: @@ -4503,10 +4519,16 @@ components: title: AddSpaceCollaboratorRequestBody AddTeamMemberRequestBody: example: - role: admin + role: member properties: role: - $ref: '#/components/schemas/Role' + default: member + enum: + - admin + - member + - manager + - guest + title: Role title: AddTeamMemberRequestBody AttachSpaceToRecordRequestBody: example: @@ -4538,7 +4560,8 @@ components: description: "A list of dictionaries, where each dictionary contains the\ \ key(s) identifying a record to delete." items: - additionalProperties: {} + additionalProperties: true + type: object type: array required: - records @@ -4573,7 +4596,7 @@ components: description: A list of synchronization instructions to be processed in a single batch. items: - $ref: '#/components/schemas/SyncInstruction' + $ref: "#/components/schemas/SyncInstruction" type: array list_key: description: "The name of the column whose values are being synchronized\ @@ -4604,13 +4627,15 @@ components: deleted: description: A list of the records that were deleted. items: - additionalProperties: {} + additionalProperties: true + type: object type: array inserted: description: "A list of the records that were inserted, including server-added\ \ audit fields." items: - additionalProperties: {} + additionalProperties: true + type: object type: array kept: description: The number of records that already existed and were kept. @@ -4635,7 +4660,8 @@ components: description: A list of records to update. Each dictionary must contain the key(s) specified in `index_columns` and the fields to be updated. items: - additionalProperties: {} + additionalProperties: true + type: object type: array index_columns: description: "A list of column names to use as the identifier for matching\ @@ -4669,9 +4695,10 @@ components: title: Path type: string kwargs: - additionalProperties: {} + additionalProperties: true default: {} title: Kwargs + type: object required: - path title: CreateArtifactRequestBody @@ -4733,8 +4760,9 @@ components: title: Source Code type: string kwargs: - additionalProperties: {} + additionalProperties: true nullable: true + type: object required: - key - kind @@ -4784,8 +4812,9 @@ components: title: Function Name type: string function_kwargs: - additionalProperties: {} + additionalProperties: true title: Function Kwargs + type: object required: - function_kwargs - function_name @@ -4797,9 +4826,10 @@ components: key: "" properties: kwargs: - additionalProperties: {} + additionalProperties: true default: {} title: Kwargs + type: object title: ExportRecordsRequestBody GetRecordRequestBody: example: @@ -4836,11 +4866,12 @@ components: nullable: true type: array filter: - additionalProperties: {} + additionalProperties: true nullable: true + type: object order_by: items: - $ref: '#/components/schemas/OrderByColumn' + $ref: "#/components/schemas/OrderByColumn" nullable: true type: array search: @@ -4868,11 +4899,12 @@ components: descending: false properties: filter: - additionalProperties: {} + additionalProperties: true nullable: true + type: object order_by: items: - $ref: '#/components/schemas/OrderByColumn' + $ref: "#/components/schemas/OrderByColumn" nullable: true type: array search: @@ -4904,15 +4936,16 @@ components: properties: dimensions: items: - $ref: '#/components/schemas/Dimension' + $ref: "#/components/schemas/Dimension" type: array measures: items: - $ref: '#/components/schemas/Measure' + $ref: "#/components/schemas/Measure" type: array filter: - additionalProperties: {} + additionalProperties: true nullable: true + type: object required: - dimensions - measures @@ -4933,7 +4966,7 @@ components: properties: detail: items: - $ref: '#/components/schemas/ValidationError' + $ref: "#/components/schemas/ValidationError" type: array title: HTTPValidationError Measure: @@ -5030,8 +5063,9 @@ components: title: Key type: string data: - additionalProperties: {} + additionalProperties: true title: Data + type: object schema_uid: title: Schema Uid type: string @@ -5056,13 +5090,7 @@ components: descending: false - field: field descending: false - relatives: - depth: 6 - field: id - kind: ancestors - values: - - 0 - - 0 + relatives: "" properties: select: items: @@ -5070,11 +5098,12 @@ components: nullable: true type: array filter: - additionalProperties: {} + additionalProperties: true nullable: true + type: object order_by: items: - $ref: '#/components/schemas/OrderByColumn' + $ref: "#/components/schemas/OrderByColumn" nullable: true type: array search: @@ -5087,7 +5116,9 @@ components: nullable: true type: array relatives: - $ref: '#/components/schemas/TraversalParams' + allOf: + - $ref: "#/components/schemas/TraversalParams" + description: The parameters defining the relationship traversal. required: - relatives title: Request @@ -5113,8 +5144,9 @@ components: nullable: true type: string extra_parameters: - additionalProperties: {} + additionalProperties: true nullable: true + type: object required: - aws_access_key_id - aws_secret_access_key @@ -5156,10 +5188,11 @@ components: key: "" properties: scope: - additionalProperties: {} + additionalProperties: true description: "Key-value pairs defining the constant scope for this specific\ \ synchronization operation (e.g., {'artifact_id': 1, 'feature_id': 10})." title: Scope + type: object desired_ids: description: The complete list of desired IDs for the list_key within this scope. @@ -5171,13 +5204,6 @@ components: title: SyncInstruction TraversalParams: description: Parameters that define the hierarchical traversal. - example: - depth: 6 - field: id - kind: ancestors - values: - - 0 - - 0 properties: field: default: id @@ -5189,7 +5215,7 @@ components: description: A list of values for the specified 'field' to begin the traversal from. items: - $ref: '#/components/schemas/TraversalParams_values_inner' + $ref: "#/components/schemas/TraversalParams_values_inner" type: array kind: description: The direction of traversal @@ -5283,7 +5309,12 @@ components: role: admin properties: role: - $ref: '#/components/schemas/Role_1' + enum: + - admin + - member + - manager + - guest + title: Role required: - role title: UpdateTeamMemberRequestBody @@ -5309,7 +5340,7 @@ components: properties: loc: items: - $ref: '#/components/schemas/ValidationError_loc_inner' + $ref: "#/components/schemas/ValidationError_loc_inner" type: array msg: title: Message @@ -5325,46 +5356,21 @@ components: Body: anyOf: - items: - additionalProperties: {} + additionalProperties: true + type: object type: array - - additionalProperties: {} + - additionalProperties: true + type: object description: "A single record as a JSON object or a list of records to upsert.\ \ If a record's values for the `conflict_columns` match an existing record,\ \ it will be updated. Otherwise, a new record will be inserted. Only the fields\ \ you provide will be modified on update." title: Body - Role: - anyOf: - - enum: - - admin - - member - type: string - - enum: - - admin - - manager - - member - - guest - type: string - default: member - title: Role TraversalParams_values_inner: anyOf: - type: integer - type: string - type: boolean - Role_1: - anyOf: - - enum: - - admin - - member - type: string - - enum: - - admin - - manager - - member - - guest - type: string - title: Role ValidationError_loc_inner: anyOf: - type: string diff --git a/config.yaml b/config.yaml index 174daf3..b64315a 100644 --- a/config.yaml +++ b/config.yaml @@ -53,7 +53,7 @@ groupId: ai.lamin # Default: org.openapitools artifactId: lamin-api-client # Description: artifact version in generated pom.xml. This also becomes part of the generated library's filename. If not provided, uses the version from the OpenAPI specification file. If that's also not present, uses the default value of the artifactVersion option. -artifactVersion: 0.0.4 +artifactVersion: 0.0.5-rc1 # Description: artifact URL in generated pom.xml artifactUrl: https://github.com/laminlabs/lamin-api-client-java diff --git a/docs/AddTeamMemberRequestBody.md b/docs/AddTeamMemberRequestBody.md index b84df1e..0b9c6df 100644 --- a/docs/AddTeamMemberRequestBody.md +++ b/docs/AddTeamMemberRequestBody.md @@ -7,7 +7,18 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**role** | [**Role**](Role.md) | | [optional] | +|**role** | [**RoleEnum**](#RoleEnum) | | [optional] | + + + +## Enum: RoleEnum + +| Name | Value | +|---- | -----| +| ADMIN | "admin" | +| MEMBER | "member" | +| MANAGER | "manager" | +| GUEST | "guest" | diff --git a/docs/UpdateTeamMemberRequestBody.md b/docs/UpdateTeamMemberRequestBody.md index f90116d..5f98570 100644 --- a/docs/UpdateTeamMemberRequestBody.md +++ b/docs/UpdateTeamMemberRequestBody.md @@ -7,7 +7,18 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**role** | [**Role1**](Role1.md) | | | +|**role** | [**RoleEnum**](#RoleEnum) | | | + + + +## Enum: RoleEnum + +| Name | Value | +|---- | -----| +| ADMIN | "admin" | +| MEMBER | "member" | +| MANAGER | "manager" | +| GUEST | "guest" | diff --git a/generate.sh b/generate.sh index de3b062..8afd277 100755 --- a/generate.sh +++ b/generate.sh @@ -17,16 +17,16 @@ SED_CMD1='s#FastAPI#[![Maven Central Version](https://img.shields.io/maven-centr SED_CMD2='s#mvn clean deploy#mvn clean deploy -P deployment#' sed -i "$SED_CMD1;$SED_CMD2" README.md -# postfix generated file -sed -i 's#private Role role = member;#private Role role;#' src/main/java/ai/lamin/lamin_api_client/model/AddTeamMemberRequestBody.java +# # postfix generated file +# sed -i 's#private Role role = member;#private Role role;#' src/main/java/ai/lamin/lamin_api_client/model/AddTeamMemberRequestBody.java -# fix Body.java compilation errors -BODY_FILE="src/main/java/ai/lamin/lamin_api_client/model/Body.java" -# fix malformed variable declaration -sed -i 's#final TypeAdapter> adapterMap = gson.getDelegateAdapter(this, TypeToken.get(Map.class));#final Type typeInstanceMapStringObject = new TypeToken>(){}.getType();\n final TypeAdapter> adapterMapStringObject = (TypeAdapter>) gson.getDelegateAdapter(this, TypeToken.get(typeInstanceMapStringObject));#' "$BODY_FILE" -# fix instanceof with parameterized types (cannot use Map with instanceof) -sed -i 's#instanceof Map#instanceof Map#g' "$BODY_FILE" +# # fix Body.java compilation errors +# BODY_FILE="src/main/java/ai/lamin/lamin_api_client/model/Body.java" +# # fix malformed variable declaration +# sed -i 's#final TypeAdapter> adapterMap = gson.getDelegateAdapter(this, TypeToken.get(Map.class));#final Type typeInstanceMapStringObject = new TypeToken>(){}.getType();\n final TypeAdapter> adapterMapStringObject = (TypeAdapter>) gson.getDelegateAdapter(this, TypeToken.get(typeInstanceMapStringObject));#' "$BODY_FILE" +# # fix instanceof with parameterized types (cannot use Map with instanceof) +# sed -i 's#instanceof Map#instanceof Map#g' "$BODY_FILE" -# update pom.xml with artifact version -VERSION=$(yq -r '.artifactVersion' config.yaml) -sed -i "s/^ [^<]*<\/version>$/ $VERSION<\/version>/" pom.xml +# # update pom.xml with artifact version +# VERSION=$(yq -r '.artifactVersion' config.yaml) +# sed -i "s/^ [^<]*<\/version>$/ $VERSION<\/version>/" pom.xml diff --git a/openapitools.json b/openapitools.json index 6f7db3e..bd8d09d 100644 --- a/openapitools.json +++ b/openapitools.json @@ -2,6 +2,6 @@ "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json", "spaces": 2, "generator-cli": { - "version": "7.12.0" + "version": "7.18.0" } } diff --git a/pom.xml b/pom.xml index d6aadc6..ef6837c 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ lamin-api-client jar lamin-api-client - 0.0.4 + 0.0.5-rc1 https://github.com/laminlabs/lamin-api-client-java Java client for the Lamin API @@ -379,8 +379,8 @@ 1.9.0 4.12.0 2.10.1 - 3.17.0 - 0.2.6 + 3.18.0 + 0.2.8 1.3.5 2.0.2 5.10.3 diff --git a/src/main/java/ai/lamin/lamin_api_client/ApiClient.java b/src/main/java/ai/lamin/lamin_api_client/ApiClient.java index a88f052..21b4c85 100644 --- a/src/main/java/ai/lamin/lamin_api_client/ApiClient.java +++ b/src/main/java/ai/lamin/lamin_api_client/ApiClient.java @@ -61,7 +61,7 @@ */ public class ApiClient { - private String basePath = "https://staging.laminhub.com/api"; + protected String basePath = "https://staging.laminhub.com/api"; protected List servers = new ArrayList(Arrays.asList( new ServerConfiguration( "https://staging.laminhub.com/api", @@ -71,26 +71,27 @@ public class ApiClient { )); protected Integer serverIndex = 0; protected Map serverVariables = null; - private boolean debugging = false; - private Map defaultHeaderMap = new HashMap(); - private Map defaultCookieMap = new HashMap(); - private String tempFolderPath = null; + protected boolean debugging = false; + protected Map defaultHeaderMap = new HashMap(); + protected Map defaultCookieMap = new HashMap(); + protected String tempFolderPath = null; - private Map authentications; + protected Map authentications; - private DateFormat dateFormat; - private DateFormat datetimeFormat; - private boolean lenientDatetimeFormat; - private int dateLength; + protected DateFormat dateFormat; + protected DateFormat datetimeFormat; + protected boolean lenientDatetimeFormat; + protected int dateLength; - private InputStream sslCaCert; - private boolean verifyingSsl; - private KeyManager[] keyManagers; + protected InputStream sslCaCert; + protected boolean verifyingSsl; + protected KeyManager[] keyManagers; + protected String tlsServerName; + + protected OkHttpClient httpClient; + protected JSON json; - private OkHttpClient httpClient; - private JSON json; - - private HttpLoggingInterceptor loggingInterceptor; + protected HttpLoggingInterceptor loggingInterceptor; /** * Basic constructor for ApiClient @@ -119,11 +120,11 @@ public ApiClient(OkHttpClient client) { authentications = Collections.unmodifiableMap(authentications); } - private void initHttpClient() { + protected void initHttpClient() { initHttpClient(Collections.emptyList()); } - private void initHttpClient(List interceptors) { + protected void initHttpClient(List interceptors) { OkHttpClient.Builder builder = new OkHttpClient.Builder(); builder.addNetworkInterceptor(getProgressInterceptor()); for (Interceptor interceptor: interceptors) { @@ -133,13 +134,13 @@ private void initHttpClient(List interceptors) { httpClient = builder.build(); } - private void init() { + protected void init() { verifyingSsl = true; json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/0.0.4/java"); + setUserAgent("OpenAPI-Generator/0.0.5-rc1/java"); authentications = new HashMap(); } @@ -156,8 +157,8 @@ public String getBasePath() { /** * Set base path * - * @param basePath Base path of the URL (e.g https://staging.laminhub.com/api - * @return An instance of OkHttpClient + * @param basePath Base path of the URL (e.g https://staging.laminhub.com/api) + * @return An instance of ApiClient */ public ApiClient setBasePath(String basePath) { this.basePath = basePath; @@ -205,7 +206,7 @@ public OkHttpClient getHttpClient() { * Set HTTP client, which must never be null. * * @param newHttpClient An instance of OkHttpClient - * @return Api Client + * @return ApiClient * @throws java.lang.NullPointerException when newHttpClient is null */ public ApiClient setHttpClient(OkHttpClient newHttpClient) { @@ -300,6 +301,29 @@ 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.

* @@ -693,7 +717,7 @@ public List parameterToPair(String name, Object value) { * @param value The value of the parameter. * @return A list of {@code Pair} objects. */ - public List parameterToPairs(String collectionFormat, String name, Collection value) { + public List parameterToPairs(String collectionFormat, String name, Collection value) { List params = new ArrayList(); // preconditions @@ -800,7 +824,7 @@ public String collectionPathParameterToString(String collectionFormat, Collectio * @return The sanitized filename */ public String sanitizeFilename(String filename) { - return filename.replaceAll(".*[/\\\\]", ""); + return filename.replaceFirst("^.*[/\\\\]", ""); } /** @@ -910,17 +934,8 @@ public T deserialize(Response response, Type returnType) throws ApiException return (T) downloadFileFromResponse(response); } - String respBody; - try { - if (response.body() != null) - respBody = response.body().string(); - else - respBody = null; - } catch (IOException e) { - throw new ApiException(e); - } - - if (respBody == null || "".equals(respBody)) { + ResponseBody respBody = response.body(); + if (respBody == null) { return null; } @@ -929,17 +944,35 @@ public T deserialize(Response response, Type returnType) throws ApiException // ensuring a default content type contentType = "application/json"; } - if (isJsonMime(contentType)) { - return JSON.deserialize(respBody, returnType); - } else if (returnType.equals(String.class)) { - // Expecting string, return the raw response body. - return (T) respBody; - } else { - throw new ApiException( + try { + if (isJsonMime(contentType)) { + 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()) { + return null; + } + // Expecting string, return the raw response body. + return (T) respBodyString; + } else { + throw new ApiException( "Content type \"" + contentType + "\" is not supported for type: " + returnType, response.code(), response.headers().toMultimap(), - respBody); + response.body().string()); + } + } catch (IOException e) { + throw new ApiException(e); } } @@ -1266,7 +1299,8 @@ public String buildUrl(String baseUrl, String path, List queryParams, List if (serverIndex != null) { if (serverIndex < 0 || serverIndex >= servers.size()) { throw new ArrayIndexOutOfBoundsException(String.format( - "Invalid index %d when selecting the host settings. Must be less than %d", serverIndex, servers.size() + java.util.Locale.ROOT, + "Invalid index %d when selecting the host settings. Must be less than %d", serverIndex, servers.size() )); } baseURL = servers.get(serverIndex).URL(serverVariables); @@ -1338,11 +1372,11 @@ 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("%s=%s", param.getKey(), param.getValue())); + reqBuilder.addHeader("Cookie", 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("%s=%s", param.getKey(), param.getValue())); + reqBuilder.addHeader("Cookie", String.format(java.util.Locale.ROOT, "%s=%s", param.getKey(), param.getValue())); } } } @@ -1435,7 +1469,7 @@ public String guessContentTypeFromFile(File file) { * @param key The key of the Header element * @param file The file to add to the Header */ - private void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String key, File file) { + protected void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String key, File file) { Headers partHeaders = Headers.of("Content-Disposition", "form-data; name=\"" + key + "\"; filename=\"" + file.getName() + "\""); MediaType mediaType = MediaType.parse(guessContentTypeFromFile(file)); mpBuilder.addPart(partHeaders, RequestBody.create(file, mediaType)); @@ -1448,7 +1482,7 @@ private void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String k * @param key The key of the Header element * @param obj The complex object to add to the Header */ - private void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String key, Object obj) { + protected void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String key, Object obj) { RequestBody requestBody; if (obj instanceof String) { requestBody = RequestBody.create((String) obj, MediaType.parse("text/plain")); @@ -1470,7 +1504,7 @@ private void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String k * Get network interceptor to add it to the httpClient to track download progress for * async requests. */ - private Interceptor getProgressInterceptor() { + protected Interceptor getProgressInterceptor() { return new Interceptor() { @Override public Response intercept(Interceptor.Chain chain) throws IOException { @@ -1491,7 +1525,7 @@ public Response intercept(Interceptor.Chain chain) throws IOException { * Apply SSL related settings to httpClient according to the current values of * verifyingSsl and sslCaCert. */ - private void applySslSettings() { + protected void applySslSettings() { try { TrustManager[] trustManagers; HostnameVerifier hostnameVerifier; @@ -1539,7 +1573,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"); @@ -1553,7 +1597,7 @@ public boolean verify(String hostname, SSLSession session) { } } - private KeyStore newEmptyKeyStore(char[] password) throws GeneralSecurityException { + protected KeyStore newEmptyKeyStore(char[] password) throws GeneralSecurityException { try { KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); keyStore.load(null, password); @@ -1570,7 +1614,7 @@ private KeyStore newEmptyKeyStore(char[] password) throws GeneralSecurityExcepti * @return The string representation of the HTTP request body * @throws ai.lamin.lamin_api_client.ApiException If fail to serialize the request body object into a string */ - private String requestBodyToString(RequestBody requestBody) throws ApiException { + protected String requestBodyToString(RequestBody requestBody) throws ApiException { if (requestBody != null) { try { final Buffer buffer = new Buffer(); diff --git a/src/main/java/ai/lamin/lamin_api_client/ApiException.java b/src/main/java/ai/lamin/lamin_api_client/ApiException.java index 7fa3e49..a11bc83 100644 --- a/src/main/java/ai/lamin/lamin_api_client/ApiException.java +++ b/src/main/java/ai/lamin/lamin_api_client/ApiException.java @@ -21,7 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class ApiException extends Exception { private static final long serialVersionUID = 1L; @@ -161,7 +161,7 @@ public String getResponseBody() { * @return The exception message */ public String getMessage() { - return String.format("Message: %s%nHTTP response code: %s%nHTTP response body: %s%nHTTP response headers: %s", + 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/ai/lamin/lamin_api_client/Configuration.java b/src/main/java/ai/lamin/lamin_api_client/Configuration.java index 71c37ff..4d88e28 100644 --- a/src/main/java/ai/lamin/lamin_api_client/Configuration.java +++ b/src/main/java/ai/lamin/lamin_api_client/Configuration.java @@ -13,29 +13,51 @@ package ai.lamin.lamin_api_client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +import java.util.Objects; +import java.util.concurrent.atomic.AtomicReference; +import java.util.function.Supplier; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class Configuration { - public static final String VERSION = "0.0.4"; - - private static volatile ApiClient defaultApiClient = new ApiClient(); - - /** - * Get the default API client, which would be used when creating API - * instances without providing an API client. - * - * @return Default API client - */ - public static ApiClient getDefaultApiClient() { - return defaultApiClient; - } + public static final String VERSION = "0.0.5-rc1"; + + private static final AtomicReference defaultApiClient = new AtomicReference<>(); + private static volatile Supplier apiClientFactory = ApiClient::new; - /** - * Set the default API client, which would be used when creating API - * instances without providing an API client. - * - * @param apiClient API client - */ - public static void setDefaultApiClient(ApiClient apiClient) { - defaultApiClient = apiClient; + /** + * Get the default API client, which would be used when creating API instances without providing an API client. + * + * @return Default API client + */ + public static ApiClient getDefaultApiClient() { + ApiClient client = defaultApiClient.get(); + if (client == null) { + client = defaultApiClient.updateAndGet(val -> { + if (val != null) { // changed by another thread + return val; + } + return apiClientFactory.get(); + }); } -} + return client; + } + + /** + * Set the default API client, which would be used when creating API instances without providing an API client. + * + * @param apiClient API client + */ + public static void setDefaultApiClient(ApiClient apiClient) { + defaultApiClient.set(apiClient); + } + + /** + * set the callback used to create new ApiClient objects + */ + public static void setApiClientFactory(Supplier factory) { + apiClientFactory = Objects.requireNonNull(factory); + } + + private Configuration() { + } +} \ No newline at end of file diff --git a/src/main/java/ai/lamin/lamin_api_client/JSON.java b/src/main/java/ai/lamin/lamin_api_client/JSON.java index a5bb536..137f206 100644 --- a/src/main/java/ai/lamin/lamin_api_client/JSON.java +++ b/src/main/java/ai/lamin/lamin_api_client/JSON.java @@ -27,8 +27,11 @@ import okio.ByteString; import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; import java.io.StringReader; import java.lang.reflect.Type; +import java.nio.charset.StandardCharsets; import java.text.DateFormat; import java.text.ParseException; import java.text.ParsePosition; @@ -123,8 +126,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.RegisterDbServerBody.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.RegisterFormRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.Request.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.Role.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.Role1.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.S3PermissionsRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.StatisticsResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.SyncInstruction.CustomTypeAdapterFactory()); @@ -203,6 +204,28 @@ public static T deserialize(String body, Type returnType) { } } + /** + * Deserialize the given JSON InputStream to a Java object. + * + * @param Type + * @param inputStream The JSON InputStream + * @param returnType The type to deserialize into + * @return The deserialized Java object + */ + @SuppressWarnings("unchecked") + public static T deserialize(InputStream inputStream, Type returnType) throws IOException { + try (InputStreamReader reader = new InputStreamReader(inputStream, StandardCharsets.UTF_8)) { + if (isLenientOnJson) { + // see https://google-gson.googlecode.com/svn/trunk/gson/docs/javadocs/com/google/gson/stream/JsonReader.html#setLenient(boolean) + JsonReader jsonReader = new JsonReader(reader); + jsonReader.setLenient(true); + return gson.fromJson(jsonReader, returnType); + } else { + return gson.fromJson(reader, returnType); + } + } + } + /** * Gson TypeAdapter for Byte Array type */ diff --git a/src/main/java/ai/lamin/lamin_api_client/Pair.java b/src/main/java/ai/lamin/lamin_api_client/Pair.java index b14ca7d..d4ce77b 100644 --- a/src/main/java/ai/lamin/lamin_api_client/Pair.java +++ b/src/main/java/ai/lamin/lamin_api_client/Pair.java @@ -13,45 +13,25 @@ package ai.lamin.lamin_api_client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class Pair { - private String name = ""; - private String value = ""; + private final String name; + private final String value; - public Pair (String name, String value) { - setName(name); - setValue(value); - } + public Pair(String name, String value) { + this.name = isValidString(name) ? name : ""; + this.value = isValidString(value) ? value : ""; + } - private void setName(String name) { - if (!isValidString(name)) { - return; - } + public String getName() { + return this.name; + } - this.name = name; - } + public String getValue() { + return this.value; + } - private void setValue(String value) { - if (!isValidString(value)) { - return; - } - - this.value = value; - } - - public String getName() { - return this.name; - } - - public String getValue() { - return this.value; - } - - private boolean isValidString(String arg) { - if (arg == null) { - return false; - } - - return true; - } + private static boolean isValidString(String arg) { + return arg != null; + } } diff --git a/src/main/java/ai/lamin/lamin_api_client/ServerConfiguration.java b/src/main/java/ai/lamin/lamin_api_client/ServerConfiguration.java index eb50feb..0a9b7dd 100644 --- a/src/main/java/ai/lamin/lamin_api_client/ServerConfiguration.java +++ b/src/main/java/ai/lamin/lamin_api_client/ServerConfiguration.java @@ -18,7 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class ServerConfiguration { public String URL; public String description; diff --git a/src/main/java/ai/lamin/lamin_api_client/ServerVariable.java b/src/main/java/ai/lamin/lamin_api_client/ServerVariable.java index 9b2e44b..8697834 100644 --- a/src/main/java/ai/lamin/lamin_api_client/ServerVariable.java +++ b/src/main/java/ai/lamin/lamin_api_client/ServerVariable.java @@ -18,7 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class ServerVariable { public String description; public String defaultValue; diff --git a/src/main/java/ai/lamin/lamin_api_client/StringUtil.java b/src/main/java/ai/lamin/lamin_api_client/StringUtil.java index 207e9f2..39e56a4 100644 --- a/src/main/java/ai/lamin/lamin_api_client/StringUtil.java +++ b/src/main/java/ai/lamin/lamin_api_client/StringUtil.java @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/ai/lamin/lamin_api_client/api/AccountsApi.java b/src/main/java/ai/lamin/lamin_api_client/api/AccountsApi.java index 6771a5d..8d01287 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/AccountsApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/AccountsApi.java @@ -88,7 +88,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call getCallerAccountAccountGetCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCallerAccountAccountGetCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -142,7 +142,7 @@ public okhttp3.Call getCallerAccountAccountGetCall(UUID instanceId, String autho } @SuppressWarnings("rawtypes") - private okhttp3.Call getCallerAccountAccountGetValidateBeforeCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCallerAccountAccountGetValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { return getCallerAccountAccountGetCall(instanceId, authorization, _callback); } @@ -162,7 +162,7 @@ private okhttp3.Call getCallerAccountAccountGetValidateBeforeCall(UUID instanceI 422 Validation Error - */ - public Object getCallerAccountAccountGet(UUID instanceId, String authorization) throws ApiException { + public Object getCallerAccountAccountGet(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = getCallerAccountAccountGetWithHttpInfo(instanceId, authorization); return localVarResp.getData(); } @@ -182,7 +182,7 @@ public Object getCallerAccountAccountGet(UUID instanceId, String authorization) 422 Validation Error - */ - public ApiResponse getCallerAccountAccountGetWithHttpInfo(UUID instanceId, String authorization) throws ApiException { + public ApiResponse getCallerAccountAccountGetWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = getCallerAccountAccountGetValidateBeforeCall(instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -204,7 +204,7 @@ public ApiResponse getCallerAccountAccountGetWithHttpInfo(UUID instanceI 422 Validation Error - */ - public okhttp3.Call getCallerAccountAccountGetAsync(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCallerAccountAccountGetAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCallerAccountAccountGetValidateBeforeCall(instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/BackwardCompatibleEndpointsApi.java b/src/main/java/ai/lamin/lamin_api_client/api/BackwardCompatibleEndpointsApi.java index dd4737c..e02503d 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/BackwardCompatibleEndpointsApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/BackwardCompatibleEndpointsApi.java @@ -88,7 +88,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGetCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGetCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -139,7 +139,7 @@ public okhttp3.Call getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTok } @SuppressWarnings("rawtypes") - private okhttp3.Call getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGetValidateBeforeCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGetValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGet(Async)"); @@ -164,7 +164,7 @@ private okhttp3.Call getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTo 422 Validation Error - */ - public Object getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGet(UUID instanceId, String authorization) throws ApiException { + public Object getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGet(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGetWithHttpInfo(instanceId, authorization); return localVarResp.getData(); } @@ -184,7 +184,7 @@ public Object getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGet( 422 Validation Error - */ - public ApiResponse getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGetWithHttpInfo(UUID instanceId, String authorization) throws ApiException { + public ApiResponse getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGetWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGetValidateBeforeCall(instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -206,7 +206,7 @@ public ApiResponse getDbTokenBackwardCompatibleAccessV2InstancesInstance 422 Validation Error - */ - public okhttp3.Call getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGetAsync(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGetAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGetValidateBeforeCall(instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/CacheApi.java b/src/main/java/ai/lamin/lamin_api_client/api/CacheApi.java index 39f876c..79a8699 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/CacheApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/CacheApi.java @@ -88,7 +88,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call getInstanceCacheCacheInstancesInstanceIdGetCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getInstanceCacheCacheInstancesInstanceIdGetCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -139,7 +139,7 @@ public okhttp3.Call getInstanceCacheCacheInstancesInstanceIdGetCall(UUID instanc } @SuppressWarnings("rawtypes") - private okhttp3.Call getInstanceCacheCacheInstancesInstanceIdGetValidateBeforeCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getInstanceCacheCacheInstancesInstanceIdGetValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling getInstanceCacheCacheInstancesInstanceIdGet(Async)"); @@ -164,7 +164,7 @@ private okhttp3.Call getInstanceCacheCacheInstancesInstanceIdGetValidateBeforeCa 422 Validation Error - */ - public Object getInstanceCacheCacheInstancesInstanceIdGet(UUID instanceId, String authorization) throws ApiException { + public Object getInstanceCacheCacheInstancesInstanceIdGet(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = getInstanceCacheCacheInstancesInstanceIdGetWithHttpInfo(instanceId, authorization); return localVarResp.getData(); } @@ -184,7 +184,7 @@ public Object getInstanceCacheCacheInstancesInstanceIdGet(UUID instanceId, Strin 422 Validation Error - */ - public ApiResponse getInstanceCacheCacheInstancesInstanceIdGetWithHttpInfo(UUID instanceId, String authorization) throws ApiException { + public ApiResponse getInstanceCacheCacheInstancesInstanceIdGetWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = getInstanceCacheCacheInstancesInstanceIdGetValidateBeforeCall(instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -206,7 +206,7 @@ public ApiResponse getInstanceCacheCacheInstancesInstanceIdGetWithHttpIn 422 Validation Error - */ - public okhttp3.Call getInstanceCacheCacheInstancesInstanceIdGetAsync(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getInstanceCacheCacheInstancesInstanceIdGetAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getInstanceCacheCacheInstancesInstanceIdGetValidateBeforeCall(instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -228,7 +228,7 @@ public okhttp3.Call getInstanceCacheCacheInstancesInstanceIdGetAsync(UUID instan 422 Validation Error - */ - public okhttp3.Call invalidateInstanceCacheCacheInstancesInstanceIdDeleteCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call invalidateInstanceCacheCacheInstancesInstanceIdDeleteCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -279,7 +279,7 @@ public okhttp3.Call invalidateInstanceCacheCacheInstancesInstanceIdDeleteCall(UU } @SuppressWarnings("rawtypes") - private okhttp3.Call invalidateInstanceCacheCacheInstancesInstanceIdDeleteValidateBeforeCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call invalidateInstanceCacheCacheInstancesInstanceIdDeleteValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling invalidateInstanceCacheCacheInstancesInstanceIdDelete(Async)"); @@ -304,7 +304,7 @@ private okhttp3.Call invalidateInstanceCacheCacheInstancesInstanceIdDeleteValida 422 Validation Error - */ - public Object invalidateInstanceCacheCacheInstancesInstanceIdDelete(UUID instanceId, String authorization) throws ApiException { + public Object invalidateInstanceCacheCacheInstancesInstanceIdDelete(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = invalidateInstanceCacheCacheInstancesInstanceIdDeleteWithHttpInfo(instanceId, authorization); return localVarResp.getData(); } @@ -324,7 +324,7 @@ public Object invalidateInstanceCacheCacheInstancesInstanceIdDelete(UUID instanc 422 Validation Error - */ - public ApiResponse invalidateInstanceCacheCacheInstancesInstanceIdDeleteWithHttpInfo(UUID instanceId, String authorization) throws ApiException { + public ApiResponse invalidateInstanceCacheCacheInstancesInstanceIdDeleteWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = invalidateInstanceCacheCacheInstancesInstanceIdDeleteValidateBeforeCall(instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -346,7 +346,7 @@ public ApiResponse invalidateInstanceCacheCacheInstancesInstanceIdDelete 422 Validation Error - */ - public okhttp3.Call invalidateInstanceCacheCacheInstancesInstanceIdDeleteAsync(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call invalidateInstanceCacheCacheInstancesInstanceIdDeleteAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = invalidateInstanceCacheCacheInstancesInstanceIdDeleteValidateBeforeCall(instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/DbServerApi.java b/src/main/java/ai/lamin/lamin_api_client/api/DbServerApi.java index a19f06a..0500ef7 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/DbServerApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/DbServerApi.java @@ -90,7 +90,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call checkDbServerAccessDbServerCheckAccessPostCall(String name, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call checkDbServerAccessDbServerCheckAccessPostCall(@javax.annotation.Nonnull String name, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -148,7 +148,7 @@ public okhttp3.Call checkDbServerAccessDbServerCheckAccessPostCall(String name, } @SuppressWarnings("rawtypes") - private okhttp3.Call checkDbServerAccessDbServerCheckAccessPostValidateBeforeCall(String name, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call checkDbServerAccessDbServerCheckAccessPostValidateBeforeCall(@javax.annotation.Nonnull String name, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling checkDbServerAccessDbServerCheckAccessPost(Async)"); @@ -174,7 +174,7 @@ private okhttp3.Call checkDbServerAccessDbServerCheckAccessPostValidateBeforeCal 422 Validation Error - */ - public Object checkDbServerAccessDbServerCheckAccessPost(String name, UUID instanceId, String authorization) throws ApiException { + public Object checkDbServerAccessDbServerCheckAccessPost(@javax.annotation.Nonnull String name, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = checkDbServerAccessDbServerCheckAccessPostWithHttpInfo(name, instanceId, authorization); return localVarResp.getData(); } @@ -195,7 +195,7 @@ public Object checkDbServerAccessDbServerCheckAccessPost(String name, UUID insta 422 Validation Error - */ - public ApiResponse checkDbServerAccessDbServerCheckAccessPostWithHttpInfo(String name, UUID instanceId, String authorization) throws ApiException { + public ApiResponse checkDbServerAccessDbServerCheckAccessPostWithHttpInfo(@javax.annotation.Nonnull String name, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = checkDbServerAccessDbServerCheckAccessPostValidateBeforeCall(name, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -218,7 +218,7 @@ public ApiResponse checkDbServerAccessDbServerCheckAccessPostWithHttpInf 422 Validation Error - */ - public okhttp3.Call checkDbServerAccessDbServerCheckAccessPostAsync(String name, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call checkDbServerAccessDbServerCheckAccessPostAsync(@javax.annotation.Nonnull String name, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = checkDbServerAccessDbServerCheckAccessPostValidateBeforeCall(name, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -241,7 +241,7 @@ public okhttp3.Call checkDbServerAccessDbServerCheckAccessPostAsync(String name, 422 Validation Error - */ - public okhttp3.Call registerDbServerDbServerRegisterPostCall(RegisterDbServerBody registerDbServerBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call registerDbServerDbServerRegisterPostCall(@javax.annotation.Nonnull RegisterDbServerBody registerDbServerBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -296,7 +296,7 @@ public okhttp3.Call registerDbServerDbServerRegisterPostCall(RegisterDbServerBod } @SuppressWarnings("rawtypes") - private okhttp3.Call registerDbServerDbServerRegisterPostValidateBeforeCall(RegisterDbServerBody registerDbServerBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call registerDbServerDbServerRegisterPostValidateBeforeCall(@javax.annotation.Nonnull RegisterDbServerBody registerDbServerBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'registerDbServerBody' is set if (registerDbServerBody == null) { throw new ApiException("Missing the required parameter 'registerDbServerBody' when calling registerDbServerDbServerRegisterPost(Async)"); @@ -322,7 +322,7 @@ private okhttp3.Call registerDbServerDbServerRegisterPostValidateBeforeCall(Regi 422 Validation Error - */ - public Object registerDbServerDbServerRegisterPost(RegisterDbServerBody registerDbServerBody, UUID instanceId, String authorization) throws ApiException { + public Object registerDbServerDbServerRegisterPost(@javax.annotation.Nonnull RegisterDbServerBody registerDbServerBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = registerDbServerDbServerRegisterPostWithHttpInfo(registerDbServerBody, instanceId, authorization); return localVarResp.getData(); } @@ -343,7 +343,7 @@ public Object registerDbServerDbServerRegisterPost(RegisterDbServerBody register 422 Validation Error - */ - public ApiResponse registerDbServerDbServerRegisterPostWithHttpInfo(RegisterDbServerBody registerDbServerBody, UUID instanceId, String authorization) throws ApiException { + public ApiResponse registerDbServerDbServerRegisterPostWithHttpInfo(@javax.annotation.Nonnull RegisterDbServerBody registerDbServerBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = registerDbServerDbServerRegisterPostValidateBeforeCall(registerDbServerBody, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -366,7 +366,7 @@ public ApiResponse registerDbServerDbServerRegisterPostWithHttpInfo(Regi 422 Validation Error - */ - public okhttp3.Call registerDbServerDbServerRegisterPostAsync(RegisterDbServerBody registerDbServerBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call registerDbServerDbServerRegisterPostAsync(@javax.annotation.Nonnull RegisterDbServerBody registerDbServerBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = registerDbServerDbServerRegisterPostValidateBeforeCall(registerDbServerBody, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/InstanceArtifactsApi.java b/src/main/java/ai/lamin/lamin_api_client/api/InstanceArtifactsApi.java index 372a0b3..969e871 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/InstanceArtifactsApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/InstanceArtifactsApi.java @@ -91,7 +91,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call createArtifactInstancesInstanceIdArtifactsCreatePostCall(UUID instanceId, CreateArtifactRequestBody createArtifactRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createArtifactInstancesInstanceIdArtifactsCreatePostCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull CreateArtifactRequestBody createArtifactRequestBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -143,7 +143,7 @@ public okhttp3.Call createArtifactInstancesInstanceIdArtifactsCreatePostCall(UUI } @SuppressWarnings("rawtypes") - private okhttp3.Call createArtifactInstancesInstanceIdArtifactsCreatePostValidateBeforeCall(UUID instanceId, CreateArtifactRequestBody createArtifactRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createArtifactInstancesInstanceIdArtifactsCreatePostValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull CreateArtifactRequestBody createArtifactRequestBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling createArtifactInstancesInstanceIdArtifactsCreatePost(Async)"); @@ -174,7 +174,7 @@ private okhttp3.Call createArtifactInstancesInstanceIdArtifactsCreatePostValidat 422 Validation Error - */ - public Object createArtifactInstancesInstanceIdArtifactsCreatePost(UUID instanceId, CreateArtifactRequestBody createArtifactRequestBody, String authorization) throws ApiException { + public Object createArtifactInstancesInstanceIdArtifactsCreatePost(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull CreateArtifactRequestBody createArtifactRequestBody, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = createArtifactInstancesInstanceIdArtifactsCreatePostWithHttpInfo(instanceId, createArtifactRequestBody, authorization); return localVarResp.getData(); } @@ -195,7 +195,7 @@ public Object createArtifactInstancesInstanceIdArtifactsCreatePost(UUID instance 422 Validation Error - */ - public ApiResponse createArtifactInstancesInstanceIdArtifactsCreatePostWithHttpInfo(UUID instanceId, CreateArtifactRequestBody createArtifactRequestBody, String authorization) throws ApiException { + public ApiResponse createArtifactInstancesInstanceIdArtifactsCreatePostWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull CreateArtifactRequestBody createArtifactRequestBody, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = createArtifactInstancesInstanceIdArtifactsCreatePostValidateBeforeCall(instanceId, createArtifactRequestBody, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -218,7 +218,7 @@ public ApiResponse createArtifactInstancesInstanceIdArtifactsCreatePostW 422 Validation Error - */ - public okhttp3.Call createArtifactInstancesInstanceIdArtifactsCreatePostAsync(UUID instanceId, CreateArtifactRequestBody createArtifactRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createArtifactInstancesInstanceIdArtifactsCreatePostAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull CreateArtifactRequestBody createArtifactRequestBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = createArtifactInstancesInstanceIdArtifactsCreatePostValidateBeforeCall(instanceId, createArtifactRequestBody, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -242,7 +242,7 @@ public okhttp3.Call createArtifactInstancesInstanceIdArtifactsCreatePostAsync(UU 422 Validation Error - */ - public okhttp3.Call uploadArtifactInstancesInstanceIdArtifactsUploadPostCall(UUID instanceId, File _file, String authorization, String kwargs, final ApiCallback _callback) throws ApiException { + public okhttp3.Call uploadArtifactInstancesInstanceIdArtifactsUploadPostCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull File _file, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable String kwargs, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -302,7 +302,7 @@ public okhttp3.Call uploadArtifactInstancesInstanceIdArtifactsUploadPostCall(UUI } @SuppressWarnings("rawtypes") - private okhttp3.Call uploadArtifactInstancesInstanceIdArtifactsUploadPostValidateBeforeCall(UUID instanceId, File _file, String authorization, String kwargs, final ApiCallback _callback) throws ApiException { + private okhttp3.Call uploadArtifactInstancesInstanceIdArtifactsUploadPostValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull File _file, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable String kwargs, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling uploadArtifactInstancesInstanceIdArtifactsUploadPost(Async)"); @@ -334,7 +334,7 @@ private okhttp3.Call uploadArtifactInstancesInstanceIdArtifactsUploadPostValidat 422 Validation Error - */ - public Object uploadArtifactInstancesInstanceIdArtifactsUploadPost(UUID instanceId, File _file, String authorization, String kwargs) throws ApiException { + public Object uploadArtifactInstancesInstanceIdArtifactsUploadPost(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull File _file, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable String kwargs) throws ApiException { ApiResponse localVarResp = uploadArtifactInstancesInstanceIdArtifactsUploadPostWithHttpInfo(instanceId, _file, authorization, kwargs); return localVarResp.getData(); } @@ -356,7 +356,7 @@ public Object uploadArtifactInstancesInstanceIdArtifactsUploadPost(UUID instance 422 Validation Error - */ - public ApiResponse uploadArtifactInstancesInstanceIdArtifactsUploadPostWithHttpInfo(UUID instanceId, File _file, String authorization, String kwargs) throws ApiException { + public ApiResponse uploadArtifactInstancesInstanceIdArtifactsUploadPostWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull File _file, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable String kwargs) throws ApiException { okhttp3.Call localVarCall = uploadArtifactInstancesInstanceIdArtifactsUploadPostValidateBeforeCall(instanceId, _file, authorization, kwargs, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -380,7 +380,7 @@ public ApiResponse uploadArtifactInstancesInstanceIdArtifactsUploadPostW 422 Validation Error - */ - public okhttp3.Call uploadArtifactInstancesInstanceIdArtifactsUploadPostAsync(UUID instanceId, File _file, String authorization, String kwargs, final ApiCallback _callback) throws ApiException { + public okhttp3.Call uploadArtifactInstancesInstanceIdArtifactsUploadPostAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull File _file, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable String kwargs, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = uploadArtifactInstancesInstanceIdArtifactsUploadPostValidateBeforeCall(instanceId, _file, authorization, kwargs, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/InstanceDbTokenApi.java b/src/main/java/ai/lamin/lamin_api_client/api/InstanceDbTokenApi.java index 100d6f8..1a11440 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/InstanceDbTokenApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/InstanceDbTokenApi.java @@ -88,7 +88,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call getDbTokenInstancesInstanceIdDbTokenGetCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getDbTokenInstancesInstanceIdDbTokenGetCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -139,7 +139,7 @@ public okhttp3.Call getDbTokenInstancesInstanceIdDbTokenGetCall(UUID instanceId, } @SuppressWarnings("rawtypes") - private okhttp3.Call getDbTokenInstancesInstanceIdDbTokenGetValidateBeforeCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getDbTokenInstancesInstanceIdDbTokenGetValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling getDbTokenInstancesInstanceIdDbTokenGet(Async)"); @@ -164,7 +164,7 @@ private okhttp3.Call getDbTokenInstancesInstanceIdDbTokenGetValidateBeforeCall(U 422 Validation Error - */ - public Object getDbTokenInstancesInstanceIdDbTokenGet(UUID instanceId, String authorization) throws ApiException { + public Object getDbTokenInstancesInstanceIdDbTokenGet(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = getDbTokenInstancesInstanceIdDbTokenGetWithHttpInfo(instanceId, authorization); return localVarResp.getData(); } @@ -184,7 +184,7 @@ public Object getDbTokenInstancesInstanceIdDbTokenGet(UUID instanceId, String au 422 Validation Error - */ - public ApiResponse getDbTokenInstancesInstanceIdDbTokenGetWithHttpInfo(UUID instanceId, String authorization) throws ApiException { + public ApiResponse getDbTokenInstancesInstanceIdDbTokenGetWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = getDbTokenInstancesInstanceIdDbTokenGetValidateBeforeCall(instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -206,7 +206,7 @@ public ApiResponse getDbTokenInstancesInstanceIdDbTokenGetWithHttpInfo(U 422 Validation Error - */ - public okhttp3.Call getDbTokenInstancesInstanceIdDbTokenGetAsync(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getDbTokenInstancesInstanceIdDbTokenGetAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getDbTokenInstancesInstanceIdDbTokenGetValidateBeforeCall(instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/InstanceFeaturesApi.java b/src/main/java/ai/lamin/lamin_api_client/api/InstanceFeaturesApi.java index d7956ba..10baf1e 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/InstanceFeaturesApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/InstanceFeaturesApi.java @@ -94,7 +94,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPostCall(String moduleName, String modelName, UUID instanceId, Integer limit, Integer offset, String authorization, GetRecordsRequestBody getRecordsRequestBody, final ApiCallback _callback) throws ApiException { + public okhttp3.Call queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPostCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetRecordsRequestBody getRecordsRequestBody, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -156,7 +156,7 @@ public okhttp3.Call queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModel } @SuppressWarnings("rawtypes") - private okhttp3.Call queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPostValidateBeforeCall(String moduleName, String modelName, UUID instanceId, Integer limit, Integer offset, String authorization, GetRecordsRequestBody getRecordsRequestBody, final ApiCallback _callback) throws ApiException { + private okhttp3.Call queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPostValidateBeforeCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetRecordsRequestBody getRecordsRequestBody, final ApiCallback _callback) throws ApiException { // verify the required parameter 'moduleName' is set if (moduleName == null) { throw new ApiException("Missing the required parameter 'moduleName' when calling queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPost(Async)"); @@ -196,7 +196,7 @@ private okhttp3.Call queryLinkedFeaturesInstancesInstanceIdModulesModuleNameMode 422 Validation Error - */ - public Object queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPost(String moduleName, String modelName, UUID instanceId, Integer limit, Integer offset, String authorization, GetRecordsRequestBody getRecordsRequestBody) throws ApiException { + public Object queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPost(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetRecordsRequestBody getRecordsRequestBody) throws ApiException { ApiResponse localVarResp = queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPostWithHttpInfo(moduleName, modelName, instanceId, limit, offset, authorization, getRecordsRequestBody); return localVarResp.getData(); } @@ -221,7 +221,7 @@ public Object queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQu 422 Validation Error - */ - public ApiResponse queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPostWithHttpInfo(String moduleName, String modelName, UUID instanceId, Integer limit, Integer offset, String authorization, GetRecordsRequestBody getRecordsRequestBody) throws ApiException { + public ApiResponse queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPostWithHttpInfo(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetRecordsRequestBody getRecordsRequestBody) throws ApiException { okhttp3.Call localVarCall = queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPostValidateBeforeCall(moduleName, modelName, instanceId, limit, offset, authorization, getRecordsRequestBody, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -248,7 +248,7 @@ public ApiResponse queryLinkedFeaturesInstancesInstanceIdModulesModuleNa 422 Validation Error - */ - public okhttp3.Call queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPostAsync(String moduleName, String modelName, UUID instanceId, Integer limit, Integer offset, String authorization, GetRecordsRequestBody getRecordsRequestBody, final ApiCallback _callback) throws ApiException { + public okhttp3.Call queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPostAsync(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetRecordsRequestBody getRecordsRequestBody, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPostValidateBeforeCall(moduleName, modelName, instanceId, limit, offset, authorization, getRecordsRequestBody, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/InstanceFileExplorerApi.java b/src/main/java/ai/lamin/lamin_api_client/api/InstanceFileExplorerApi.java index c528fd9..90f11e8 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/InstanceFileExplorerApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/InstanceFileExplorerApi.java @@ -89,7 +89,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call getTreeInstancesInstanceIdFilesTreeGetCall(UUID instanceId, String entityType, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getTreeInstancesInstanceIdFilesTreeGetCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull String entityType, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -144,7 +144,7 @@ public okhttp3.Call getTreeInstancesInstanceIdFilesTreeGetCall(UUID instanceId, } @SuppressWarnings("rawtypes") - private okhttp3.Call getTreeInstancesInstanceIdFilesTreeGetValidateBeforeCall(UUID instanceId, String entityType, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getTreeInstancesInstanceIdFilesTreeGetValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull String entityType, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling getTreeInstancesInstanceIdFilesTreeGet(Async)"); @@ -175,7 +175,7 @@ private okhttp3.Call getTreeInstancesInstanceIdFilesTreeGetValidateBeforeCall(UU 422 Validation Error - */ - public Object getTreeInstancesInstanceIdFilesTreeGet(UUID instanceId, String entityType, String authorization) throws ApiException { + public Object getTreeInstancesInstanceIdFilesTreeGet(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull String entityType, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = getTreeInstancesInstanceIdFilesTreeGetWithHttpInfo(instanceId, entityType, authorization); return localVarResp.getData(); } @@ -196,7 +196,7 @@ public Object getTreeInstancesInstanceIdFilesTreeGet(UUID instanceId, String ent 422 Validation Error - */ - public ApiResponse getTreeInstancesInstanceIdFilesTreeGetWithHttpInfo(UUID instanceId, String entityType, String authorization) throws ApiException { + public ApiResponse getTreeInstancesInstanceIdFilesTreeGetWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull String entityType, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = getTreeInstancesInstanceIdFilesTreeGetValidateBeforeCall(instanceId, entityType, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -219,7 +219,7 @@ public ApiResponse getTreeInstancesInstanceIdFilesTreeGetWithHttpInfo(UU 422 Validation Error - */ - public okhttp3.Call getTreeInstancesInstanceIdFilesTreeGetAsync(UUID instanceId, String entityType, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getTreeInstancesInstanceIdFilesTreeGetAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull String entityType, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getTreeInstancesInstanceIdFilesTreeGetValidateBeforeCall(instanceId, entityType, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -243,7 +243,7 @@ public okhttp3.Call getTreeInstancesInstanceIdFilesTreeGetAsync(UUID instanceId, 422 Validation Error - */ - public okhttp3.Call listDirectoryInstancesInstanceIdFilesEntityTypeGetCall(String entityType, UUID instanceId, String path, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listDirectoryInstancesInstanceIdFilesEntityTypeGetCall(@javax.annotation.Nonnull String entityType, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String path, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -299,7 +299,7 @@ public okhttp3.Call listDirectoryInstancesInstanceIdFilesEntityTypeGetCall(Strin } @SuppressWarnings("rawtypes") - private okhttp3.Call listDirectoryInstancesInstanceIdFilesEntityTypeGetValidateBeforeCall(String entityType, UUID instanceId, String path, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listDirectoryInstancesInstanceIdFilesEntityTypeGetValidateBeforeCall(@javax.annotation.Nonnull String entityType, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String path, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'entityType' is set if (entityType == null) { throw new ApiException("Missing the required parameter 'entityType' when calling listDirectoryInstancesInstanceIdFilesEntityTypeGet(Async)"); @@ -331,7 +331,7 @@ private okhttp3.Call listDirectoryInstancesInstanceIdFilesEntityTypeGetValidateB 422 Validation Error - */ - public Object listDirectoryInstancesInstanceIdFilesEntityTypeGet(String entityType, UUID instanceId, String path, String authorization) throws ApiException { + public Object listDirectoryInstancesInstanceIdFilesEntityTypeGet(@javax.annotation.Nonnull String entityType, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String path, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = listDirectoryInstancesInstanceIdFilesEntityTypeGetWithHttpInfo(entityType, instanceId, path, authorization); return localVarResp.getData(); } @@ -353,7 +353,7 @@ public Object listDirectoryInstancesInstanceIdFilesEntityTypeGet(String entityTy 422 Validation Error - */ - public ApiResponse listDirectoryInstancesInstanceIdFilesEntityTypeGetWithHttpInfo(String entityType, UUID instanceId, String path, String authorization) throws ApiException { + public ApiResponse listDirectoryInstancesInstanceIdFilesEntityTypeGetWithHttpInfo(@javax.annotation.Nonnull String entityType, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String path, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = listDirectoryInstancesInstanceIdFilesEntityTypeGetValidateBeforeCall(entityType, instanceId, path, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -377,7 +377,7 @@ public ApiResponse listDirectoryInstancesInstanceIdFilesEntityTypeGetWit 422 Validation Error - */ - public okhttp3.Call listDirectoryInstancesInstanceIdFilesEntityTypeGetAsync(String entityType, UUID instanceId, String path, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listDirectoryInstancesInstanceIdFilesEntityTypeGetAsync(@javax.annotation.Nonnull String entityType, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String path, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = listDirectoryInstancesInstanceIdFilesEntityTypeGetValidateBeforeCall(entityType, instanceId, path, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/InstanceFormsApi.java b/src/main/java/ai/lamin/lamin_api_client/api/InstanceFormsApi.java index bc52417..af13bee 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/InstanceFormsApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/InstanceFormsApi.java @@ -90,7 +90,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call registerFormInstancesInstanceIdFormsPostCall(UUID instanceId, RegisterFormRequest registerFormRequest, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call registerFormInstancesInstanceIdFormsPostCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull RegisterFormRequest registerFormRequest, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -142,7 +142,7 @@ public okhttp3.Call registerFormInstancesInstanceIdFormsPostCall(UUID instanceId } @SuppressWarnings("rawtypes") - private okhttp3.Call registerFormInstancesInstanceIdFormsPostValidateBeforeCall(UUID instanceId, RegisterFormRequest registerFormRequest, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call registerFormInstancesInstanceIdFormsPostValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull RegisterFormRequest registerFormRequest, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling registerFormInstancesInstanceIdFormsPost(Async)"); @@ -173,7 +173,7 @@ private okhttp3.Call registerFormInstancesInstanceIdFormsPostValidateBeforeCall( 422 Validation Error - */ - public Object registerFormInstancesInstanceIdFormsPost(UUID instanceId, RegisterFormRequest registerFormRequest, String authorization) throws ApiException { + public Object registerFormInstancesInstanceIdFormsPost(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull RegisterFormRequest registerFormRequest, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = registerFormInstancesInstanceIdFormsPostWithHttpInfo(instanceId, registerFormRequest, authorization); return localVarResp.getData(); } @@ -194,7 +194,7 @@ public Object registerFormInstancesInstanceIdFormsPost(UUID instanceId, Register 422 Validation Error - */ - public ApiResponse registerFormInstancesInstanceIdFormsPostWithHttpInfo(UUID instanceId, RegisterFormRequest registerFormRequest, String authorization) throws ApiException { + public ApiResponse registerFormInstancesInstanceIdFormsPostWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull RegisterFormRequest registerFormRequest, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = registerFormInstancesInstanceIdFormsPostValidateBeforeCall(instanceId, registerFormRequest, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -217,7 +217,7 @@ public ApiResponse registerFormInstancesInstanceIdFormsPostWithHttpInfo( 422 Validation Error - */ - public okhttp3.Call registerFormInstancesInstanceIdFormsPostAsync(UUID instanceId, RegisterFormRequest registerFormRequest, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call registerFormInstancesInstanceIdFormsPostAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull RegisterFormRequest registerFormRequest, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = registerFormInstancesInstanceIdFormsPostValidateBeforeCall(instanceId, registerFormRequest, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/InstanceFunctionsApi.java b/src/main/java/ai/lamin/lamin_api_client/api/InstanceFunctionsApi.java index cee55d7..c2bcc96 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/InstanceFunctionsApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/InstanceFunctionsApi.java @@ -90,7 +90,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call executeFunctionInstancesInstanceIdFunctionExecutePostCall(UUID instanceId, ExecuteFunctionRequestBody executeFunctionRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call executeFunctionInstancesInstanceIdFunctionExecutePostCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull ExecuteFunctionRequestBody executeFunctionRequestBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -142,7 +142,7 @@ public okhttp3.Call executeFunctionInstancesInstanceIdFunctionExecutePostCall(UU } @SuppressWarnings("rawtypes") - private okhttp3.Call executeFunctionInstancesInstanceIdFunctionExecutePostValidateBeforeCall(UUID instanceId, ExecuteFunctionRequestBody executeFunctionRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call executeFunctionInstancesInstanceIdFunctionExecutePostValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull ExecuteFunctionRequestBody executeFunctionRequestBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling executeFunctionInstancesInstanceIdFunctionExecutePost(Async)"); @@ -173,7 +173,7 @@ private okhttp3.Call executeFunctionInstancesInstanceIdFunctionExecutePostValida 422 Validation Error - */ - public Object executeFunctionInstancesInstanceIdFunctionExecutePost(UUID instanceId, ExecuteFunctionRequestBody executeFunctionRequestBody, String authorization) throws ApiException { + public Object executeFunctionInstancesInstanceIdFunctionExecutePost(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull ExecuteFunctionRequestBody executeFunctionRequestBody, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = executeFunctionInstancesInstanceIdFunctionExecutePostWithHttpInfo(instanceId, executeFunctionRequestBody, authorization); return localVarResp.getData(); } @@ -194,7 +194,7 @@ public Object executeFunctionInstancesInstanceIdFunctionExecutePost(UUID instanc 422 Validation Error - */ - public ApiResponse executeFunctionInstancesInstanceIdFunctionExecutePostWithHttpInfo(UUID instanceId, ExecuteFunctionRequestBody executeFunctionRequestBody, String authorization) throws ApiException { + public ApiResponse executeFunctionInstancesInstanceIdFunctionExecutePostWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull ExecuteFunctionRequestBody executeFunctionRequestBody, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = executeFunctionInstancesInstanceIdFunctionExecutePostValidateBeforeCall(instanceId, executeFunctionRequestBody, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -217,7 +217,7 @@ public ApiResponse executeFunctionInstancesInstanceIdFunctionExecutePost 422 Validation Error - */ - public okhttp3.Call executeFunctionInstancesInstanceIdFunctionExecutePostAsync(UUID instanceId, ExecuteFunctionRequestBody executeFunctionRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call executeFunctionInstancesInstanceIdFunctionExecutePostAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull ExecuteFunctionRequestBody executeFunctionRequestBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = executeFunctionInstancesInstanceIdFunctionExecutePostValidateBeforeCall(instanceId, executeFunctionRequestBody, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/InstanceLabelsApi.java b/src/main/java/ai/lamin/lamin_api_client/api/InstanceLabelsApi.java index f3b8a71..83811cb 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/InstanceLabelsApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/InstanceLabelsApi.java @@ -93,7 +93,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPutCall(String moduleName, String modelName, Integer id, String labelField, Integer labelId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPutCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull Integer id, @javax.annotation.Nonnull String labelField, @javax.annotation.Nonnull Integer labelId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -149,7 +149,7 @@ public okhttp3.Call attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLa } @SuppressWarnings("rawtypes") - private okhttp3.Call attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPutValidateBeforeCall(String moduleName, String modelName, Integer id, String labelField, Integer labelId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPutValidateBeforeCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull Integer id, @javax.annotation.Nonnull String labelField, @javax.annotation.Nonnull Integer labelId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'moduleName' is set if (moduleName == null) { throw new ApiException("Missing the required parameter 'moduleName' when calling attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut(Async)"); @@ -204,7 +204,7 @@ private okhttp3.Call attachLabelInstancesInstanceIdModulesModuleNameModelNameIdL 422 Validation Error - */ - public Object attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut(String moduleName, String modelName, Integer id, String labelField, Integer labelId, UUID instanceId, String authorization) throws ApiException { + public Object attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull Integer id, @javax.annotation.Nonnull String labelField, @javax.annotation.Nonnull Integer labelId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPutWithHttpInfo(moduleName, modelName, id, labelField, labelId, instanceId, authorization); return localVarResp.getData(); } @@ -229,7 +229,7 @@ public Object attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFie 422 Validation Error - */ - public ApiResponse attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPutWithHttpInfo(String moduleName, String modelName, Integer id, String labelField, Integer labelId, UUID instanceId, String authorization) throws ApiException { + public ApiResponse attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPutWithHttpInfo(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull Integer id, @javax.annotation.Nonnull String labelField, @javax.annotation.Nonnull Integer labelId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPutValidateBeforeCall(moduleName, modelName, id, labelField, labelId, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -256,7 +256,7 @@ public ApiResponse attachLabelInstancesInstanceIdModulesModuleNameModelN 422 Validation Error - */ - public okhttp3.Call attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPutAsync(String moduleName, String modelName, Integer id, String labelField, Integer labelId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPutAsync(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull Integer id, @javax.annotation.Nonnull String labelField, @javax.annotation.Nonnull Integer labelId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPutValidateBeforeCall(moduleName, modelName, id, labelField, labelId, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -283,7 +283,7 @@ public okhttp3.Call attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLa 422 Validation Error - */ - public okhttp3.Call detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDeleteCall(String moduleName, String modelName, Integer id, String labelField, Integer labelId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDeleteCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull Integer id, @javax.annotation.Nonnull String labelField, @javax.annotation.Nonnull Integer labelId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -339,7 +339,7 @@ public okhttp3.Call detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLa } @SuppressWarnings("rawtypes") - private okhttp3.Call detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDeleteValidateBeforeCall(String moduleName, String modelName, Integer id, String labelField, Integer labelId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDeleteValidateBeforeCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull Integer id, @javax.annotation.Nonnull String labelField, @javax.annotation.Nonnull Integer labelId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'moduleName' is set if (moduleName == null) { throw new ApiException("Missing the required parameter 'moduleName' when calling detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete(Async)"); @@ -394,7 +394,7 @@ private okhttp3.Call detachLabelInstancesInstanceIdModulesModuleNameModelNameIdL 422 Validation Error - */ - public Object detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete(String moduleName, String modelName, Integer id, String labelField, Integer labelId, UUID instanceId, String authorization) throws ApiException { + public Object detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull Integer id, @javax.annotation.Nonnull String labelField, @javax.annotation.Nonnull Integer labelId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDeleteWithHttpInfo(moduleName, modelName, id, labelField, labelId, instanceId, authorization); return localVarResp.getData(); } @@ -419,7 +419,7 @@ public Object detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFie 422 Validation Error - */ - public ApiResponse detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDeleteWithHttpInfo(String moduleName, String modelName, Integer id, String labelField, Integer labelId, UUID instanceId, String authorization) throws ApiException { + public ApiResponse detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDeleteWithHttpInfo(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull Integer id, @javax.annotation.Nonnull String labelField, @javax.annotation.Nonnull Integer labelId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDeleteValidateBeforeCall(moduleName, modelName, id, labelField, labelId, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -446,7 +446,7 @@ public ApiResponse detachLabelInstancesInstanceIdModulesModuleNameModelN 422 Validation Error - */ - public okhttp3.Call detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDeleteAsync(String moduleName, String modelName, Integer id, String labelField, Integer labelId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDeleteAsync(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull Integer id, @javax.annotation.Nonnull String labelField, @javax.annotation.Nonnull Integer labelId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDeleteValidateBeforeCall(moduleName, modelName, id, labelField, labelId, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/InstanceRecordsApi.java b/src/main/java/ai/lamin/lamin_api_client/api/InstanceRecordsApi.java index aff51dd..db12a0c 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/InstanceRecordsApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/InstanceRecordsApi.java @@ -102,7 +102,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePostCall(String moduleName, String modelName, UUID instanceId, BatchDeleteBody batchDeleteBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePostCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull BatchDeleteBody batchDeleteBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -156,7 +156,7 @@ public okhttp3.Call batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelN } @SuppressWarnings("rawtypes") - private okhttp3.Call batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePostValidateBeforeCall(String moduleName, String modelName, UUID instanceId, BatchDeleteBody batchDeleteBody, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePostValidateBeforeCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull BatchDeleteBody batchDeleteBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'moduleName' is set if (moduleName == null) { throw new ApiException("Missing the required parameter 'moduleName' when calling batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePost(Async)"); @@ -199,7 +199,7 @@ private okhttp3.Call batchDeleteRecordsInstancesInstanceIdModulesModuleNameModel 422 Validation Error - */ - public BatchDeleteResponse batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePost(String moduleName, String modelName, UUID instanceId, BatchDeleteBody batchDeleteBody, String authorization) throws ApiException { + public BatchDeleteResponse batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePost(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull BatchDeleteBody batchDeleteBody, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePostWithHttpInfo(moduleName, modelName, instanceId, batchDeleteBody, authorization); return localVarResp.getData(); } @@ -222,7 +222,7 @@ public BatchDeleteResponse batchDeleteRecordsInstancesInstanceIdModulesModuleNam 422 Validation Error - */ - public ApiResponse batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePostWithHttpInfo(String moduleName, String modelName, UUID instanceId, BatchDeleteBody batchDeleteBody, String authorization) throws ApiException { + public ApiResponse batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePostWithHttpInfo(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull BatchDeleteBody batchDeleteBody, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePostValidateBeforeCall(moduleName, modelName, instanceId, batchDeleteBody, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -247,7 +247,7 @@ public ApiResponse batchDeleteRecordsInstancesInstanceIdMod 422 Validation Error - */ - public okhttp3.Call batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePostAsync(String moduleName, String modelName, UUID instanceId, BatchDeleteBody batchDeleteBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePostAsync(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull BatchDeleteBody batchDeleteBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePostValidateBeforeCall(moduleName, modelName, instanceId, batchDeleteBody, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -272,7 +272,7 @@ public okhttp3.Call batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelN 422 Validation Error - */ - public okhttp3.Call batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPutCall(String moduleName, String modelName, UUID instanceId, BatchSyncLinksBody batchSyncLinksBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPutCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull BatchSyncLinksBody batchSyncLinksBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -326,7 +326,7 @@ public okhttp3.Call batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameB } @SuppressWarnings("rawtypes") - private okhttp3.Call batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPutValidateBeforeCall(String moduleName, String modelName, UUID instanceId, BatchSyncLinksBody batchSyncLinksBody, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPutValidateBeforeCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull BatchSyncLinksBody batchSyncLinksBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'moduleName' is set if (moduleName == null) { throw new ApiException("Missing the required parameter 'moduleName' when calling batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPut(Async)"); @@ -369,7 +369,7 @@ private okhttp3.Call batchSyncLinksInstancesInstanceIdModulesModuleNameModelName 422 Validation Error - */ - public BatchSyncResponse batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPut(String moduleName, String modelName, UUID instanceId, BatchSyncLinksBody batchSyncLinksBody, String authorization) throws ApiException { + public BatchSyncResponse batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPut(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull BatchSyncLinksBody batchSyncLinksBody, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPutWithHttpInfo(moduleName, modelName, instanceId, batchSyncLinksBody, authorization); return localVarResp.getData(); } @@ -392,7 +392,7 @@ public BatchSyncResponse batchSyncLinksInstancesInstanceIdModulesModuleNameModel 422 Validation Error - */ - public ApiResponse batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPutWithHttpInfo(String moduleName, String modelName, UUID instanceId, BatchSyncLinksBody batchSyncLinksBody, String authorization) throws ApiException { + public ApiResponse batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPutWithHttpInfo(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull BatchSyncLinksBody batchSyncLinksBody, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPutValidateBeforeCall(moduleName, modelName, instanceId, batchSyncLinksBody, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -417,7 +417,7 @@ public ApiResponse batchSyncLinksInstancesInstanceIdModulesMo 422 Validation Error - */ - public okhttp3.Call batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPutAsync(String moduleName, String modelName, UUID instanceId, BatchSyncLinksBody batchSyncLinksBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPutAsync(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull BatchSyncLinksBody batchSyncLinksBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPutValidateBeforeCall(moduleName, modelName, instanceId, batchSyncLinksBody, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -442,7 +442,7 @@ public okhttp3.Call batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameB 422 A record in the payload is missing a required index key. - */ - public okhttp3.Call batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatchCall(String moduleName, String modelName, UUID instanceId, BatchUpdateBody batchUpdateBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatchCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull BatchUpdateBody batchUpdateBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -496,7 +496,7 @@ public okhttp3.Call batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelN } @SuppressWarnings("rawtypes") - private okhttp3.Call batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatchValidateBeforeCall(String moduleName, String modelName, UUID instanceId, BatchUpdateBody batchUpdateBody, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatchValidateBeforeCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull BatchUpdateBody batchUpdateBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'moduleName' is set if (moduleName == null) { throw new ApiException("Missing the required parameter 'moduleName' when calling batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatch(Async)"); @@ -539,7 +539,7 @@ private okhttp3.Call batchUpdateRecordsInstancesInstanceIdModulesModuleNameModel 422 A record in the payload is missing a required index key. - */ - public List> batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatch(String moduleName, String modelName, UUID instanceId, BatchUpdateBody batchUpdateBody, String authorization) throws ApiException { + public List> batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatch(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull BatchUpdateBody batchUpdateBody, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse>> localVarResp = batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatchWithHttpInfo(moduleName, modelName, instanceId, batchUpdateBody, authorization); return localVarResp.getData(); } @@ -562,7 +562,7 @@ public List> batchUpdateRecordsInstancesInstanceIdModulesMod 422 A record in the payload is missing a required index key. - */ - public ApiResponse>> batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatchWithHttpInfo(String moduleName, String modelName, UUID instanceId, BatchUpdateBody batchUpdateBody, String authorization) throws ApiException { + public ApiResponse>> batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatchWithHttpInfo(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull BatchUpdateBody batchUpdateBody, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatchValidateBeforeCall(moduleName, modelName, instanceId, batchUpdateBody, authorization, null); Type localVarReturnType = new TypeToken>>(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -587,7 +587,7 @@ public ApiResponse>> batchUpdateRecordsInstancesInstanc 422 A record in the payload is missing a required index key. - */ - public okhttp3.Call batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatchAsync(String moduleName, String modelName, UUID instanceId, BatchUpdateBody batchUpdateBody, String authorization, final ApiCallback>> _callback) throws ApiException { + public okhttp3.Call batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatchAsync(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull BatchUpdateBody batchUpdateBody, @javax.annotation.Nullable String authorization, final ApiCallback>> _callback) throws ApiException { okhttp3.Call localVarCall = batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatchValidateBeforeCall(moduleName, modelName, instanceId, batchUpdateBody, authorization, _callback); Type localVarReturnType = new TypeToken>>(){}.getType(); @@ -612,7 +612,7 @@ public okhttp3.Call batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelN 422 Validation Error - */ - public okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNamePutCall(String moduleName, String modelName, UUID instanceId, Object body, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNamePutCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Object body, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -666,7 +666,7 @@ public okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNamePu } @SuppressWarnings("rawtypes") - private okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNamePutValidateBeforeCall(String moduleName, String modelName, UUID instanceId, Object body, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNamePutValidateBeforeCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Object body, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'moduleName' is set if (moduleName == null) { throw new ApiException("Missing the required parameter 'moduleName' when calling createRecordsInstancesInstanceIdModulesModuleNameModelNamePut(Async)"); @@ -709,7 +709,7 @@ private okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNameP 422 Validation Error - */ - public Object createRecordsInstancesInstanceIdModulesModuleNameModelNamePut(String moduleName, String modelName, UUID instanceId, Object body, String authorization) throws ApiException { + public Object createRecordsInstancesInstanceIdModulesModuleNameModelNamePut(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Object body, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = createRecordsInstancesInstanceIdModulesModuleNameModelNamePutWithHttpInfo(moduleName, modelName, instanceId, body, authorization); return localVarResp.getData(); } @@ -732,7 +732,7 @@ public Object createRecordsInstancesInstanceIdModulesModuleNameModelNamePut(Stri 422 Validation Error - */ - public ApiResponse createRecordsInstancesInstanceIdModulesModuleNameModelNamePutWithHttpInfo(String moduleName, String modelName, UUID instanceId, Object body, String authorization) throws ApiException { + public ApiResponse createRecordsInstancesInstanceIdModulesModuleNameModelNamePutWithHttpInfo(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Object body, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = createRecordsInstancesInstanceIdModulesModuleNameModelNamePutValidateBeforeCall(moduleName, modelName, instanceId, body, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -757,7 +757,7 @@ public ApiResponse createRecordsInstancesInstanceIdModulesModuleNameMode 422 Validation Error - */ - public okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNamePutAsync(String moduleName, String modelName, UUID instanceId, Object body, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNamePutAsync(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Object body, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = createRecordsInstancesInstanceIdModulesModuleNameModelNamePutValidateBeforeCall(moduleName, modelName, instanceId, body, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -782,7 +782,7 @@ public okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNamePu 422 Validation Error - */ - public okhttp3.Call deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDeleteCall(String moduleName, String modelName, String uid, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDeleteCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String uid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -836,7 +836,7 @@ public okhttp3.Call deleteRecordInstancesInstanceIdModulesModuleNameModelNameUid } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDeleteValidateBeforeCall(String moduleName, String modelName, String uid, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDeleteValidateBeforeCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String uid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'moduleName' is set if (moduleName == null) { throw new ApiException("Missing the required parameter 'moduleName' when calling deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete(Async)"); @@ -879,7 +879,7 @@ private okhttp3.Call deleteRecordInstancesInstanceIdModulesModuleNameModelNameUi 422 Validation Error - */ - public Object deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete(String moduleName, String modelName, String uid, UUID instanceId, String authorization) throws ApiException { + public Object deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String uid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDeleteWithHttpInfo(moduleName, modelName, uid, instanceId, authorization); return localVarResp.getData(); } @@ -902,7 +902,7 @@ public Object deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete 422 Validation Error - */ - public ApiResponse deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDeleteWithHttpInfo(String moduleName, String modelName, String uid, UUID instanceId, String authorization) throws ApiException { + public ApiResponse deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDeleteWithHttpInfo(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String uid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDeleteValidateBeforeCall(moduleName, modelName, uid, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -927,7 +927,7 @@ public ApiResponse deleteRecordInstancesInstanceIdModulesModuleNameModel 422 Validation Error - */ - public okhttp3.Call deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDeleteAsync(String moduleName, String modelName, String uid, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDeleteAsync(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String uid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDeleteValidateBeforeCall(moduleName, modelName, uid, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -951,7 +951,7 @@ public okhttp3.Call deleteRecordInstancesInstanceIdModulesModuleNameModelNameUid 422 Validation Error - */ - public okhttp3.Call exportRecordsInstancesInstanceIdRecordsUidExportPostCall(String uid, UUID instanceId, String authorization, ExportRecordsRequestBody exportRecordsRequestBody, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportRecordsInstancesInstanceIdRecordsUidExportPostCall(@javax.annotation.Nonnull String uid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable ExportRecordsRequestBody exportRecordsRequestBody, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1004,7 +1004,7 @@ public okhttp3.Call exportRecordsInstancesInstanceIdRecordsUidExportPostCall(Str } @SuppressWarnings("rawtypes") - private okhttp3.Call exportRecordsInstancesInstanceIdRecordsUidExportPostValidateBeforeCall(String uid, UUID instanceId, String authorization, ExportRecordsRequestBody exportRecordsRequestBody, final ApiCallback _callback) throws ApiException { + private okhttp3.Call exportRecordsInstancesInstanceIdRecordsUidExportPostValidateBeforeCall(@javax.annotation.Nonnull String uid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable ExportRecordsRequestBody exportRecordsRequestBody, final ApiCallback _callback) throws ApiException { // verify the required parameter 'uid' is set if (uid == null) { throw new ApiException("Missing the required parameter 'uid' when calling exportRecordsInstancesInstanceIdRecordsUidExportPost(Async)"); @@ -1036,7 +1036,7 @@ private okhttp3.Call exportRecordsInstancesInstanceIdRecordsUidExportPostValidat 422 Validation Error - */ - public Object exportRecordsInstancesInstanceIdRecordsUidExportPost(String uid, UUID instanceId, String authorization, ExportRecordsRequestBody exportRecordsRequestBody) throws ApiException { + public Object exportRecordsInstancesInstanceIdRecordsUidExportPost(@javax.annotation.Nonnull String uid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable ExportRecordsRequestBody exportRecordsRequestBody) throws ApiException { ApiResponse localVarResp = exportRecordsInstancesInstanceIdRecordsUidExportPostWithHttpInfo(uid, instanceId, authorization, exportRecordsRequestBody); return localVarResp.getData(); } @@ -1058,7 +1058,7 @@ public Object exportRecordsInstancesInstanceIdRecordsUidExportPost(String uid, U 422 Validation Error - */ - public ApiResponse exportRecordsInstancesInstanceIdRecordsUidExportPostWithHttpInfo(String uid, UUID instanceId, String authorization, ExportRecordsRequestBody exportRecordsRequestBody) throws ApiException { + public ApiResponse exportRecordsInstancesInstanceIdRecordsUidExportPostWithHttpInfo(@javax.annotation.Nonnull String uid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable ExportRecordsRequestBody exportRecordsRequestBody) throws ApiException { okhttp3.Call localVarCall = exportRecordsInstancesInstanceIdRecordsUidExportPostValidateBeforeCall(uid, instanceId, authorization, exportRecordsRequestBody, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1082,7 +1082,7 @@ public ApiResponse exportRecordsInstancesInstanceIdRecordsUidExportPostW 422 Validation Error - */ - public okhttp3.Call exportRecordsInstancesInstanceIdRecordsUidExportPostAsync(String uid, UUID instanceId, String authorization, ExportRecordsRequestBody exportRecordsRequestBody, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportRecordsInstancesInstanceIdRecordsUidExportPostAsync(@javax.annotation.Nonnull String uid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable ExportRecordsRequestBody exportRecordsRequestBody, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = exportRecordsInstancesInstanceIdRecordsUidExportPostValidateBeforeCall(uid, instanceId, authorization, exportRecordsRequestBody, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1110,7 +1110,7 @@ public okhttp3.Call exportRecordsInstancesInstanceIdRecordsUidExportPostAsync(St 422 Validation Error - */ - public okhttp3.Call getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPostCall(String moduleName, String modelName, String idOrUid, UUID instanceId, Integer limitToMany, Boolean includeForeignKeys, String authorization, GetRecordRequestBody getRecordRequestBody, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPostCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String idOrUid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limitToMany, @javax.annotation.Nullable Boolean includeForeignKeys, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetRecordRequestBody getRecordRequestBody, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1173,7 +1173,7 @@ public okhttp3.Call getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUi } @SuppressWarnings("rawtypes") - private okhttp3.Call getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPostValidateBeforeCall(String moduleName, String modelName, String idOrUid, UUID instanceId, Integer limitToMany, Boolean includeForeignKeys, String authorization, GetRecordRequestBody getRecordRequestBody, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPostValidateBeforeCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String idOrUid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limitToMany, @javax.annotation.Nullable Boolean includeForeignKeys, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetRecordRequestBody getRecordRequestBody, final ApiCallback _callback) throws ApiException { // verify the required parameter 'moduleName' is set if (moduleName == null) { throw new ApiException("Missing the required parameter 'moduleName' when calling getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost(Async)"); @@ -1219,7 +1219,7 @@ private okhttp3.Call getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrU 422 Validation Error - */ - public Object getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost(String moduleName, String modelName, String idOrUid, UUID instanceId, Integer limitToMany, Boolean includeForeignKeys, String authorization, GetRecordRequestBody getRecordRequestBody) throws ApiException { + public Object getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String idOrUid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limitToMany, @javax.annotation.Nullable Boolean includeForeignKeys, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetRecordRequestBody getRecordRequestBody) throws ApiException { ApiResponse localVarResp = getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPostWithHttpInfo(moduleName, modelName, idOrUid, instanceId, limitToMany, includeForeignKeys, authorization, getRecordRequestBody); return localVarResp.getData(); } @@ -1245,7 +1245,7 @@ public Object getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost( 422 Validation Error - */ - public ApiResponse getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPostWithHttpInfo(String moduleName, String modelName, String idOrUid, UUID instanceId, Integer limitToMany, Boolean includeForeignKeys, String authorization, GetRecordRequestBody getRecordRequestBody) throws ApiException { + public ApiResponse getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPostWithHttpInfo(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String idOrUid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limitToMany, @javax.annotation.Nullable Boolean includeForeignKeys, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetRecordRequestBody getRecordRequestBody) throws ApiException { okhttp3.Call localVarCall = getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPostValidateBeforeCall(moduleName, modelName, idOrUid, instanceId, limitToMany, includeForeignKeys, authorization, getRecordRequestBody, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1273,7 +1273,7 @@ public ApiResponse getRecordInstancesInstanceIdModulesModuleNameModelNam 422 Validation Error - */ - public okhttp3.Call getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPostAsync(String moduleName, String modelName, String idOrUid, UUID instanceId, Integer limitToMany, Boolean includeForeignKeys, String authorization, GetRecordRequestBody getRecordRequestBody, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPostAsync(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String idOrUid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limitToMany, @javax.annotation.Nullable Boolean includeForeignKeys, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetRecordRequestBody getRecordRequestBody, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPostValidateBeforeCall(moduleName, modelName, idOrUid, instanceId, limitToMany, includeForeignKeys, authorization, getRecordRequestBody, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1302,7 +1302,7 @@ public okhttp3.Call getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUi 422 Validation Error - */ - public okhttp3.Call getRecordsInstancesInstanceIdModulesModuleNameModelNamePostCall(String moduleName, String modelName, UUID instanceId, Integer limit, Integer offset, Integer limitToMany, Boolean includeForeignKeys, String authorization, GetRecordsRequestBody getRecordsRequestBody, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRecordsInstancesInstanceIdModulesModuleNameModelNamePostCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable Integer limitToMany, @javax.annotation.Nullable Boolean includeForeignKeys, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetRecordsRequestBody getRecordsRequestBody, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1372,7 +1372,7 @@ public okhttp3.Call getRecordsInstancesInstanceIdModulesModuleNameModelNamePostC } @SuppressWarnings("rawtypes") - private okhttp3.Call getRecordsInstancesInstanceIdModulesModuleNameModelNamePostValidateBeforeCall(String moduleName, String modelName, UUID instanceId, Integer limit, Integer offset, Integer limitToMany, Boolean includeForeignKeys, String authorization, GetRecordsRequestBody getRecordsRequestBody, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getRecordsInstancesInstanceIdModulesModuleNameModelNamePostValidateBeforeCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable Integer limitToMany, @javax.annotation.Nullable Boolean includeForeignKeys, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetRecordsRequestBody getRecordsRequestBody, final ApiCallback _callback) throws ApiException { // verify the required parameter 'moduleName' is set if (moduleName == null) { throw new ApiException("Missing the required parameter 'moduleName' when calling getRecordsInstancesInstanceIdModulesModuleNameModelNamePost(Async)"); @@ -1414,7 +1414,7 @@ private okhttp3.Call getRecordsInstancesInstanceIdModulesModuleNameModelNamePost 422 Validation Error - */ - public Object getRecordsInstancesInstanceIdModulesModuleNameModelNamePost(String moduleName, String modelName, UUID instanceId, Integer limit, Integer offset, Integer limitToMany, Boolean includeForeignKeys, String authorization, GetRecordsRequestBody getRecordsRequestBody) throws ApiException { + public Object getRecordsInstancesInstanceIdModulesModuleNameModelNamePost(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable Integer limitToMany, @javax.annotation.Nullable Boolean includeForeignKeys, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetRecordsRequestBody getRecordsRequestBody) throws ApiException { ApiResponse localVarResp = getRecordsInstancesInstanceIdModulesModuleNameModelNamePostWithHttpInfo(moduleName, modelName, instanceId, limit, offset, limitToMany, includeForeignKeys, authorization, getRecordsRequestBody); return localVarResp.getData(); } @@ -1441,7 +1441,7 @@ public Object getRecordsInstancesInstanceIdModulesModuleNameModelNamePost(String 422 Validation Error - */ - public ApiResponse getRecordsInstancesInstanceIdModulesModuleNameModelNamePostWithHttpInfo(String moduleName, String modelName, UUID instanceId, Integer limit, Integer offset, Integer limitToMany, Boolean includeForeignKeys, String authorization, GetRecordsRequestBody getRecordsRequestBody) throws ApiException { + public ApiResponse getRecordsInstancesInstanceIdModulesModuleNameModelNamePostWithHttpInfo(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable Integer limitToMany, @javax.annotation.Nullable Boolean includeForeignKeys, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetRecordsRequestBody getRecordsRequestBody) throws ApiException { okhttp3.Call localVarCall = getRecordsInstancesInstanceIdModulesModuleNameModelNamePostValidateBeforeCall(moduleName, modelName, instanceId, limit, offset, limitToMany, includeForeignKeys, authorization, getRecordsRequestBody, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1470,7 +1470,7 @@ public ApiResponse getRecordsInstancesInstanceIdModulesModuleNameModelNa 422 Validation Error - */ - public okhttp3.Call getRecordsInstancesInstanceIdModulesModuleNameModelNamePostAsync(String moduleName, String modelName, UUID instanceId, Integer limit, Integer offset, Integer limitToMany, Boolean includeForeignKeys, String authorization, GetRecordsRequestBody getRecordsRequestBody, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRecordsInstancesInstanceIdModulesModuleNameModelNamePostAsync(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable Integer limitToMany, @javax.annotation.Nullable Boolean includeForeignKeys, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetRecordsRequestBody getRecordsRequestBody, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getRecordsInstancesInstanceIdModulesModuleNameModelNamePostValidateBeforeCall(moduleName, modelName, instanceId, limit, offset, limitToMany, includeForeignKeys, authorization, getRecordsRequestBody, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1497,7 +1497,7 @@ public okhttp3.Call getRecordsInstancesInstanceIdModulesModuleNameModelNamePostA 422 Validation Error - */ - public okhttp3.Call getRelativesInstancesInstanceIdModulesModuleNameModelNameRelativesPostCall(String moduleName, String modelName, UUID instanceId, Request request, Integer limit, Integer offset, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRelativesInstancesInstanceIdModulesModuleNameModelNameRelativesPostCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull Request request, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1559,7 +1559,7 @@ public okhttp3.Call getRelativesInstancesInstanceIdModulesModuleNameModelNameRel } @SuppressWarnings("rawtypes") - private okhttp3.Call getRelativesInstancesInstanceIdModulesModuleNameModelNameRelativesPostValidateBeforeCall(String moduleName, String modelName, UUID instanceId, Request request, Integer limit, Integer offset, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getRelativesInstancesInstanceIdModulesModuleNameModelNameRelativesPostValidateBeforeCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull Request request, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'moduleName' is set if (moduleName == null) { throw new ApiException("Missing the required parameter 'moduleName' when calling getRelativesInstancesInstanceIdModulesModuleNameModelNameRelativesPost(Async)"); @@ -1604,7 +1604,7 @@ private okhttp3.Call getRelativesInstancesInstanceIdModulesModuleNameModelNameRe 422 Validation Error - */ - public Object getRelativesInstancesInstanceIdModulesModuleNameModelNameRelativesPost(String moduleName, String modelName, UUID instanceId, Request request, Integer limit, Integer offset, String authorization) throws ApiException { + public Object getRelativesInstancesInstanceIdModulesModuleNameModelNameRelativesPost(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull Request request, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = getRelativesInstancesInstanceIdModulesModuleNameModelNameRelativesPostWithHttpInfo(moduleName, modelName, instanceId, request, limit, offset, authorization); return localVarResp.getData(); } @@ -1629,7 +1629,7 @@ public Object getRelativesInstancesInstanceIdModulesModuleNameModelNameRelatives 422 Validation Error - */ - public ApiResponse getRelativesInstancesInstanceIdModulesModuleNameModelNameRelativesPostWithHttpInfo(String moduleName, String modelName, UUID instanceId, Request request, Integer limit, Integer offset, String authorization) throws ApiException { + public ApiResponse getRelativesInstancesInstanceIdModulesModuleNameModelNameRelativesPostWithHttpInfo(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull Request request, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = getRelativesInstancesInstanceIdModulesModuleNameModelNameRelativesPostValidateBeforeCall(moduleName, modelName, instanceId, request, limit, offset, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1656,7 +1656,7 @@ public ApiResponse getRelativesInstancesInstanceIdModulesModuleNameModel 422 Validation Error - */ - public okhttp3.Call getRelativesInstancesInstanceIdModulesModuleNameModelNameRelativesPostAsync(String moduleName, String modelName, UUID instanceId, Request request, Integer limit, Integer offset, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRelativesInstancesInstanceIdModulesModuleNameModelNameRelativesPostAsync(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull Request request, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getRelativesInstancesInstanceIdModulesModuleNameModelNameRelativesPostValidateBeforeCall(moduleName, modelName, instanceId, request, limit, offset, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1684,7 +1684,7 @@ public okhttp3.Call getRelativesInstancesInstanceIdModulesModuleNameModelNameRel 422 Validation Error - */ - public okhttp3.Call getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPostCall(String moduleName, String modelName, String fieldPath, UUID instanceId, Integer limit, Integer offset, String authorization, GetValuesRequestBody getValuesRequestBody, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPostCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String fieldPath, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetValuesRequestBody getValuesRequestBody, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1747,7 +1747,7 @@ public okhttp3.Call getValuesInstancesInstanceIdModulesModuleNameModelNameFields } @SuppressWarnings("rawtypes") - private okhttp3.Call getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPostValidateBeforeCall(String moduleName, String modelName, String fieldPath, UUID instanceId, Integer limit, Integer offset, String authorization, GetValuesRequestBody getValuesRequestBody, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPostValidateBeforeCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String fieldPath, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetValuesRequestBody getValuesRequestBody, final ApiCallback _callback) throws ApiException { // verify the required parameter 'moduleName' is set if (moduleName == null) { throw new ApiException("Missing the required parameter 'moduleName' when calling getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPost(Async)"); @@ -1793,7 +1793,7 @@ private okhttp3.Call getValuesInstancesInstanceIdModulesModuleNameModelNameField 422 Validation Error - */ - public Object getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPost(String moduleName, String modelName, String fieldPath, UUID instanceId, Integer limit, Integer offset, String authorization, GetValuesRequestBody getValuesRequestBody) throws ApiException { + public Object getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPost(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String fieldPath, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetValuesRequestBody getValuesRequestBody) throws ApiException { ApiResponse localVarResp = getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPostWithHttpInfo(moduleName, modelName, fieldPath, instanceId, limit, offset, authorization, getValuesRequestBody); return localVarResp.getData(); } @@ -1819,7 +1819,7 @@ public Object getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldP 422 Validation Error - */ - public ApiResponse getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPostWithHttpInfo(String moduleName, String modelName, String fieldPath, UUID instanceId, Integer limit, Integer offset, String authorization, GetValuesRequestBody getValuesRequestBody) throws ApiException { + public ApiResponse getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPostWithHttpInfo(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String fieldPath, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetValuesRequestBody getValuesRequestBody) throws ApiException { okhttp3.Call localVarCall = getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPostValidateBeforeCall(moduleName, modelName, fieldPath, instanceId, limit, offset, authorization, getValuesRequestBody, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1847,7 +1847,7 @@ public ApiResponse getValuesInstancesInstanceIdModulesModuleNameModelNam 422 Validation Error - */ - public okhttp3.Call getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPostAsync(String moduleName, String modelName, String fieldPath, UUID instanceId, Integer limit, Integer offset, String authorization, GetValuesRequestBody getValuesRequestBody, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPostAsync(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String fieldPath, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Integer offset, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable GetValuesRequestBody getValuesRequestBody, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPostValidateBeforeCall(moduleName, modelName, fieldPath, instanceId, limit, offset, authorization, getValuesRequestBody, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1873,7 +1873,7 @@ public okhttp3.Call getValuesInstancesInstanceIdModulesModuleNameModelNameFields 422 Validation Error - */ - public okhttp3.Call updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatchCall(String moduleName, String modelName, String uid, UUID instanceId, Object body, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatchCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String uid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Object body, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1928,7 +1928,7 @@ public okhttp3.Call updateRecordInstancesInstanceIdModulesModuleNameModelNameUid } @SuppressWarnings("rawtypes") - private okhttp3.Call updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatchValidateBeforeCall(String moduleName, String modelName, String uid, UUID instanceId, Object body, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatchValidateBeforeCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String uid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Object body, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'moduleName' is set if (moduleName == null) { throw new ApiException("Missing the required parameter 'moduleName' when calling updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch(Async)"); @@ -1977,7 +1977,7 @@ private okhttp3.Call updateRecordInstancesInstanceIdModulesModuleNameModelNameUi 422 Validation Error - */ - public Object updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch(String moduleName, String modelName, String uid, UUID instanceId, Object body, String authorization) throws ApiException { + public Object updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String uid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Object body, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatchWithHttpInfo(moduleName, modelName, uid, instanceId, body, authorization); return localVarResp.getData(); } @@ -2001,7 +2001,7 @@ public Object updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch( 422 Validation Error - */ - public ApiResponse updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatchWithHttpInfo(String moduleName, String modelName, String uid, UUID instanceId, Object body, String authorization) throws ApiException { + public ApiResponse updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatchWithHttpInfo(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String uid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Object body, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatchValidateBeforeCall(moduleName, modelName, uid, instanceId, body, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -2027,7 +2027,7 @@ public ApiResponse updateRecordInstancesInstanceIdModulesModuleNameModel 422 Validation Error - */ - public okhttp3.Call updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatchAsync(String moduleName, String modelName, String uid, UUID instanceId, Object body, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatchAsync(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull String uid, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable Object body, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatchValidateBeforeCall(moduleName, modelName, uid, instanceId, body, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -2055,7 +2055,7 @@ public okhttp3.Call updateRecordInstancesInstanceIdModulesModuleNameModelNameUid 422 The request payload is invalid (e.g., a record is missing a required conflict key, or the conflict key is not a valid unique constraint in the database). - */ - public okhttp3.Call upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutCall(String moduleName, String modelName, UUID instanceId, List conflictColumns, Body body, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull List conflictColumns, @javax.annotation.Nullable Body body, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2113,7 +2113,7 @@ public okhttp3.Call upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUp } @SuppressWarnings("rawtypes") - private okhttp3.Call upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutValidateBeforeCall(String moduleName, String modelName, UUID instanceId, List conflictColumns, Body body, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutValidateBeforeCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull List conflictColumns, @javax.annotation.Nullable Body body, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'moduleName' is set if (moduleName == null) { throw new ApiException("Missing the required parameter 'moduleName' when calling upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut(Async)"); @@ -2164,7 +2164,7 @@ private okhttp3.Call upsertRecordsInstancesInstanceIdModulesModuleNameModelNameU 422 The request payload is invalid (e.g., a record is missing a required conflict key, or the conflict key is not a valid unique constraint in the database). - */ - public Object upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut(String moduleName, String modelName, UUID instanceId, List conflictColumns, Body body, String authorization) throws ApiException { + public Object upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull List conflictColumns, @javax.annotation.Nullable Body body, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutWithHttpInfo(moduleName, modelName, instanceId, conflictColumns, body, authorization); return localVarResp.getData(); } @@ -2190,7 +2190,7 @@ public Object upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPu 422 The request payload is invalid (e.g., a record is missing a required conflict key, or the conflict key is not a valid unique constraint in the database). - */ - public ApiResponse upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutWithHttpInfo(String moduleName, String modelName, UUID instanceId, List conflictColumns, Body body, String authorization) throws ApiException { + public ApiResponse upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutWithHttpInfo(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull List conflictColumns, @javax.annotation.Nullable Body body, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutValidateBeforeCall(moduleName, modelName, instanceId, conflictColumns, body, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -2218,7 +2218,7 @@ public ApiResponse upsertRecordsInstancesInstanceIdModulesModuleNameMode 422 The request payload is invalid (e.g., a record is missing a required conflict key, or the conflict key is not a valid unique constraint in the database). - */ - public okhttp3.Call upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutAsync(String moduleName, String modelName, UUID instanceId, List conflictColumns, Body body, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutAsync(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull List conflictColumns, @javax.annotation.Nullable Body body, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutValidateBeforeCall(moduleName, modelName, instanceId, conflictColumns, body, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/InstanceSchemaApi.java b/src/main/java/ai/lamin/lamin_api_client/api/InstanceSchemaApi.java index 0952b6e..afe55c7 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/InstanceSchemaApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/InstanceSchemaApi.java @@ -90,7 +90,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call getRelationsInstancesInstanceIdSchemaModuleNameModelNameGetCall(String moduleName, String modelName, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRelationsInstancesInstanceIdSchemaModuleNameModelNameGetCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -143,7 +143,7 @@ public okhttp3.Call getRelationsInstancesInstanceIdSchemaModuleNameModelNameGetC } @SuppressWarnings("rawtypes") - private okhttp3.Call getRelationsInstancesInstanceIdSchemaModuleNameModelNameGetValidateBeforeCall(String moduleName, String modelName, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getRelationsInstancesInstanceIdSchemaModuleNameModelNameGetValidateBeforeCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'moduleName' is set if (moduleName == null) { throw new ApiException("Missing the required parameter 'moduleName' when calling getRelationsInstancesInstanceIdSchemaModuleNameModelNameGet(Async)"); @@ -180,7 +180,7 @@ private okhttp3.Call getRelationsInstancesInstanceIdSchemaModuleNameModelNameGet 422 Validation Error - */ - public Object getRelationsInstancesInstanceIdSchemaModuleNameModelNameGet(String moduleName, String modelName, UUID instanceId, String authorization) throws ApiException { + public Object getRelationsInstancesInstanceIdSchemaModuleNameModelNameGet(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = getRelationsInstancesInstanceIdSchemaModuleNameModelNameGetWithHttpInfo(moduleName, modelName, instanceId, authorization); return localVarResp.getData(); } @@ -202,7 +202,7 @@ public Object getRelationsInstancesInstanceIdSchemaModuleNameModelNameGet(String 422 Validation Error - */ - public ApiResponse getRelationsInstancesInstanceIdSchemaModuleNameModelNameGetWithHttpInfo(String moduleName, String modelName, UUID instanceId, String authorization) throws ApiException { + public ApiResponse getRelationsInstancesInstanceIdSchemaModuleNameModelNameGetWithHttpInfo(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = getRelationsInstancesInstanceIdSchemaModuleNameModelNameGetValidateBeforeCall(moduleName, modelName, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -226,7 +226,7 @@ public ApiResponse getRelationsInstancesInstanceIdSchemaModuleNameModelN 422 Validation Error - */ - public okhttp3.Call getRelationsInstancesInstanceIdSchemaModuleNameModelNameGetAsync(String moduleName, String modelName, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRelationsInstancesInstanceIdSchemaModuleNameModelNameGetAsync(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getRelationsInstancesInstanceIdSchemaModuleNameModelNameGetValidateBeforeCall(moduleName, modelName, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -248,7 +248,7 @@ public okhttp3.Call getRelationsInstancesInstanceIdSchemaModuleNameModelNameGetA 422 Validation Error - */ - public okhttp3.Call getSchemaInstancesInstanceIdSchemaGetCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getSchemaInstancesInstanceIdSchemaGetCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -299,7 +299,7 @@ public okhttp3.Call getSchemaInstancesInstanceIdSchemaGetCall(UUID instanceId, S } @SuppressWarnings("rawtypes") - private okhttp3.Call getSchemaInstancesInstanceIdSchemaGetValidateBeforeCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getSchemaInstancesInstanceIdSchemaGetValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling getSchemaInstancesInstanceIdSchemaGet(Async)"); @@ -324,7 +324,7 @@ private okhttp3.Call getSchemaInstancesInstanceIdSchemaGetValidateBeforeCall(UUI 422 Validation Error - */ - public Object getSchemaInstancesInstanceIdSchemaGet(UUID instanceId, String authorization) throws ApiException { + public Object getSchemaInstancesInstanceIdSchemaGet(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = getSchemaInstancesInstanceIdSchemaGetWithHttpInfo(instanceId, authorization); return localVarResp.getData(); } @@ -344,7 +344,7 @@ public Object getSchemaInstancesInstanceIdSchemaGet(UUID instanceId, String auth 422 Validation Error - */ - public ApiResponse getSchemaInstancesInstanceIdSchemaGetWithHttpInfo(UUID instanceId, String authorization) throws ApiException { + public ApiResponse getSchemaInstancesInstanceIdSchemaGetWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = getSchemaInstancesInstanceIdSchemaGetValidateBeforeCall(instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -366,7 +366,7 @@ public ApiResponse getSchemaInstancesInstanceIdSchemaGetWithHttpInfo(UUI 422 Validation Error - */ - public okhttp3.Call getSchemaInstancesInstanceIdSchemaGetAsync(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getSchemaInstancesInstanceIdSchemaGetAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getSchemaInstancesInstanceIdSchemaGetValidateBeforeCall(instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/InstanceSearchApi.java b/src/main/java/ai/lamin/lamin_api_client/api/InstanceSearchApi.java index 2ebd668..417d0f5 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/InstanceSearchApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/InstanceSearchApi.java @@ -89,7 +89,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call globalSearchInstancesInstanceIdSearchGetCall(UUID instanceId, String searchTerm, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call globalSearchInstancesInstanceIdSearchGetCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull String searchTerm, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -144,7 +144,7 @@ public okhttp3.Call globalSearchInstancesInstanceIdSearchGetCall(UUID instanceId } @SuppressWarnings("rawtypes") - private okhttp3.Call globalSearchInstancesInstanceIdSearchGetValidateBeforeCall(UUID instanceId, String searchTerm, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call globalSearchInstancesInstanceIdSearchGetValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull String searchTerm, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling globalSearchInstancesInstanceIdSearchGet(Async)"); @@ -175,7 +175,7 @@ private okhttp3.Call globalSearchInstancesInstanceIdSearchGetValidateBeforeCall( 422 Validation Error - */ - public Object globalSearchInstancesInstanceIdSearchGet(UUID instanceId, String searchTerm, String authorization) throws ApiException { + public Object globalSearchInstancesInstanceIdSearchGet(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull String searchTerm, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = globalSearchInstancesInstanceIdSearchGetWithHttpInfo(instanceId, searchTerm, authorization); return localVarResp.getData(); } @@ -196,7 +196,7 @@ public Object globalSearchInstancesInstanceIdSearchGet(UUID instanceId, String s 422 Validation Error - */ - public ApiResponse globalSearchInstancesInstanceIdSearchGetWithHttpInfo(UUID instanceId, String searchTerm, String authorization) throws ApiException { + public ApiResponse globalSearchInstancesInstanceIdSearchGetWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull String searchTerm, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = globalSearchInstancesInstanceIdSearchGetValidateBeforeCall(instanceId, searchTerm, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -219,7 +219,7 @@ public ApiResponse globalSearchInstancesInstanceIdSearchGetWithHttpInfo( 422 Validation Error - */ - public okhttp3.Call globalSearchInstancesInstanceIdSearchGetAsync(UUID instanceId, String searchTerm, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call globalSearchInstancesInstanceIdSearchGetAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull String searchTerm, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = globalSearchInstancesInstanceIdSearchGetValidateBeforeCall(instanceId, searchTerm, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/InstanceStatisticsApi.java b/src/main/java/ai/lamin/lamin_api_client/api/InstanceStatisticsApi.java index 4ba10a8..8130eb1 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/InstanceStatisticsApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/InstanceStatisticsApi.java @@ -96,7 +96,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call getInstanceStatisticsInstancesInstanceIdStatisticsGetCall(UUID instanceId, List q, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getInstanceStatisticsInstancesInstanceIdStatisticsGetCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable List q, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -151,7 +151,7 @@ public okhttp3.Call getInstanceStatisticsInstancesInstanceIdStatisticsGetCall(UU } @SuppressWarnings("rawtypes") - private okhttp3.Call getInstanceStatisticsInstancesInstanceIdStatisticsGetValidateBeforeCall(UUID instanceId, List q, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getInstanceStatisticsInstancesInstanceIdStatisticsGetValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable List q, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling getInstanceStatisticsInstancesInstanceIdStatisticsGet(Async)"); @@ -180,7 +180,7 @@ private okhttp3.Call getInstanceStatisticsInstancesInstanceIdStatisticsGetValida 422 Validation Error - */ - public StatisticsResponse getInstanceStatisticsInstancesInstanceIdStatisticsGet(UUID instanceId, List q, String authorization) throws ApiException { + public StatisticsResponse getInstanceStatisticsInstancesInstanceIdStatisticsGet(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable List q, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = getInstanceStatisticsInstancesInstanceIdStatisticsGetWithHttpInfo(instanceId, q, authorization); return localVarResp.getData(); } @@ -204,7 +204,7 @@ public StatisticsResponse getInstanceStatisticsInstancesInstanceIdStatisticsGet( 422 Validation Error - */ - public ApiResponse getInstanceStatisticsInstancesInstanceIdStatisticsGetWithHttpInfo(UUID instanceId, List q, String authorization) throws ApiException { + public ApiResponse getInstanceStatisticsInstancesInstanceIdStatisticsGetWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable List q, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = getInstanceStatisticsInstancesInstanceIdStatisticsGetValidateBeforeCall(instanceId, q, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -230,7 +230,7 @@ public ApiResponse getInstanceStatisticsInstancesInstanceIdS 422 Validation Error - */ - public okhttp3.Call getInstanceStatisticsInstancesInstanceIdStatisticsGetAsync(UUID instanceId, List q, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getInstanceStatisticsInstancesInstanceIdStatisticsGetAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable List q, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getInstanceStatisticsInstancesInstanceIdStatisticsGetValidateBeforeCall(instanceId, q, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -255,7 +255,7 @@ public okhttp3.Call getInstanceStatisticsInstancesInstanceIdStatisticsGetAsync(U 422 Validation Error - */ - public okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -306,7 +306,7 @@ public okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetCall(UU } @SuppressWarnings("rawtypes") - private okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetValidateBeforeCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet(Async)"); @@ -334,7 +334,7 @@ private okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetValida 422 Validation Error - */ - public NonEmptyTablesResponse getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet(UUID instanceId, String authorization) throws ApiException { + public NonEmptyTablesResponse getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetWithHttpInfo(instanceId, authorization); return localVarResp.getData(); } @@ -357,7 +357,7 @@ public NonEmptyTablesResponse getNonEmptyTablesInstancesInstanceIdNonEmptyTables 422 Validation Error - */ - public ApiResponse getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetWithHttpInfo(UUID instanceId, String authorization) throws ApiException { + public ApiResponse getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetValidateBeforeCall(instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -382,7 +382,7 @@ public ApiResponse getNonEmptyTablesInstancesInstanceIdN 422 Validation Error - */ - public okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetAsync(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetValidateBeforeCall(instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -407,7 +407,7 @@ public okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetAsync(U 422 Validation Error - */ - public okhttp3.Call getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGetCall(String moduleName, String modelName, Integer id, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGetCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull Integer id, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -461,7 +461,7 @@ public okhttp3.Call getRelationCountsInstancesInstanceIdModulesModuleNameModelNa } @SuppressWarnings("rawtypes") - private okhttp3.Call getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGetValidateBeforeCall(String moduleName, String modelName, Integer id, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGetValidateBeforeCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull Integer id, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'moduleName' is set if (moduleName == null) { throw new ApiException("Missing the required parameter 'moduleName' when calling getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGet(Async)"); @@ -504,7 +504,7 @@ private okhttp3.Call getRelationCountsInstancesInstanceIdModulesModuleNameModelN 422 Validation Error - */ - public Object getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGet(String moduleName, String modelName, Integer id, UUID instanceId, String authorization) throws ApiException { + public Object getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGet(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull Integer id, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGetWithHttpInfo(moduleName, modelName, id, instanceId, authorization); return localVarResp.getData(); } @@ -527,7 +527,7 @@ public Object getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCo 422 Validation Error - */ - public ApiResponse getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGetWithHttpInfo(String moduleName, String modelName, Integer id, UUID instanceId, String authorization) throws ApiException { + public ApiResponse getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGetWithHttpInfo(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull Integer id, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGetValidateBeforeCall(moduleName, modelName, id, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -552,7 +552,7 @@ public ApiResponse getRelationCountsInstancesInstanceIdModulesModuleName 422 Validation Error - */ - public okhttp3.Call getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGetAsync(String moduleName, String modelName, Integer id, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGetAsync(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nonnull Integer id, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGetValidateBeforeCall(moduleName, modelName, id, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -577,7 +577,7 @@ public okhttp3.Call getRelationCountsInstancesInstanceIdModulesModuleNameModelNa 422 Validation Error - */ - public okhttp3.Call groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPostCall(String moduleName, String modelName, UUID instanceId, GroupByRequestBody groupByRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPostCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull GroupByRequestBody groupByRequestBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -631,7 +631,7 @@ public okhttp3.Call groupByInstancesInstanceIdModulesModuleNameModelNameGroupByP } @SuppressWarnings("rawtypes") - private okhttp3.Call groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPostValidateBeforeCall(String moduleName, String modelName, UUID instanceId, GroupByRequestBody groupByRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPostValidateBeforeCall(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull GroupByRequestBody groupByRequestBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'moduleName' is set if (moduleName == null) { throw new ApiException("Missing the required parameter 'moduleName' when calling groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPost(Async)"); @@ -674,7 +674,7 @@ private okhttp3.Call groupByInstancesInstanceIdModulesModuleNameModelNameGroupBy 422 Validation Error - */ - public Object groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPost(String moduleName, String modelName, UUID instanceId, GroupByRequestBody groupByRequestBody, String authorization) throws ApiException { + public Object groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPost(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull GroupByRequestBody groupByRequestBody, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPostWithHttpInfo(moduleName, modelName, instanceId, groupByRequestBody, authorization); return localVarResp.getData(); } @@ -697,7 +697,7 @@ public Object groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPost(St 422 Validation Error - */ - public ApiResponse groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPostWithHttpInfo(String moduleName, String modelName, UUID instanceId, GroupByRequestBody groupByRequestBody, String authorization) throws ApiException { + public ApiResponse groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPostWithHttpInfo(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull GroupByRequestBody groupByRequestBody, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPostValidateBeforeCall(moduleName, modelName, instanceId, groupByRequestBody, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -722,7 +722,7 @@ public ApiResponse groupByInstancesInstanceIdModulesModuleNameModelNameG 422 Validation Error - */ - public okhttp3.Call groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPostAsync(String moduleName, String modelName, UUID instanceId, GroupByRequestBody groupByRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPostAsync(@javax.annotation.Nonnull String moduleName, @javax.annotation.Nonnull String modelName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull GroupByRequestBody groupByRequestBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPostValidateBeforeCall(moduleName, modelName, instanceId, groupByRequestBody, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/InstanceTransformsApi.java b/src/main/java/ai/lamin/lamin_api_client/api/InstanceTransformsApi.java index bf4e63c..fab9d81 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/InstanceTransformsApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/InstanceTransformsApi.java @@ -90,7 +90,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call createTransformInstancesInstanceIdTransformsPostCall(UUID instanceId, CreateTransformRequestBody createTransformRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createTransformInstancesInstanceIdTransformsPostCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull CreateTransformRequestBody createTransformRequestBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -142,7 +142,7 @@ public okhttp3.Call createTransformInstancesInstanceIdTransformsPostCall(UUID in } @SuppressWarnings("rawtypes") - private okhttp3.Call createTransformInstancesInstanceIdTransformsPostValidateBeforeCall(UUID instanceId, CreateTransformRequestBody createTransformRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createTransformInstancesInstanceIdTransformsPostValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull CreateTransformRequestBody createTransformRequestBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling createTransformInstancesInstanceIdTransformsPost(Async)"); @@ -173,7 +173,7 @@ private okhttp3.Call createTransformInstancesInstanceIdTransformsPostValidateBef 422 Validation Error - */ - public Object createTransformInstancesInstanceIdTransformsPost(UUID instanceId, CreateTransformRequestBody createTransformRequestBody, String authorization) throws ApiException { + public Object createTransformInstancesInstanceIdTransformsPost(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull CreateTransformRequestBody createTransformRequestBody, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = createTransformInstancesInstanceIdTransformsPostWithHttpInfo(instanceId, createTransformRequestBody, authorization); return localVarResp.getData(); } @@ -194,7 +194,7 @@ public Object createTransformInstancesInstanceIdTransformsPost(UUID instanceId, 422 Validation Error - */ - public ApiResponse createTransformInstancesInstanceIdTransformsPostWithHttpInfo(UUID instanceId, CreateTransformRequestBody createTransformRequestBody, String authorization) throws ApiException { + public ApiResponse createTransformInstancesInstanceIdTransformsPostWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull CreateTransformRequestBody createTransformRequestBody, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = createTransformInstancesInstanceIdTransformsPostValidateBeforeCall(instanceId, createTransformRequestBody, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -217,7 +217,7 @@ public ApiResponse createTransformInstancesInstanceIdTransformsPostWithH 422 Validation Error - */ - public okhttp3.Call createTransformInstancesInstanceIdTransformsPostAsync(UUID instanceId, CreateTransformRequestBody createTransformRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createTransformInstancesInstanceIdTransformsPostAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull CreateTransformRequestBody createTransformRequestBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = createTransformInstancesInstanceIdTransformsPostValidateBeforeCall(instanceId, createTransformRequestBody, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/InstancesApi.java b/src/main/java/ai/lamin/lamin_api_client/api/InstancesApi.java index 6f98a6a..66014e9 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/InstancesApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/InstancesApi.java @@ -91,7 +91,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call addCollaboratorInstancesInstanceIdCollaboratorsPutCall(UUID instanceId, AddCollaboratorRequestBody addCollaboratorRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call addCollaboratorInstancesInstanceIdCollaboratorsPutCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull AddCollaboratorRequestBody addCollaboratorRequestBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -143,7 +143,7 @@ public okhttp3.Call addCollaboratorInstancesInstanceIdCollaboratorsPutCall(UUID } @SuppressWarnings("rawtypes") - private okhttp3.Call addCollaboratorInstancesInstanceIdCollaboratorsPutValidateBeforeCall(UUID instanceId, AddCollaboratorRequestBody addCollaboratorRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call addCollaboratorInstancesInstanceIdCollaboratorsPutValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull AddCollaboratorRequestBody addCollaboratorRequestBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling addCollaboratorInstancesInstanceIdCollaboratorsPut(Async)"); @@ -174,7 +174,7 @@ private okhttp3.Call addCollaboratorInstancesInstanceIdCollaboratorsPutValidateB 422 Validation Error - */ - public Object addCollaboratorInstancesInstanceIdCollaboratorsPut(UUID instanceId, AddCollaboratorRequestBody addCollaboratorRequestBody, String authorization) throws ApiException { + public Object addCollaboratorInstancesInstanceIdCollaboratorsPut(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull AddCollaboratorRequestBody addCollaboratorRequestBody, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = addCollaboratorInstancesInstanceIdCollaboratorsPutWithHttpInfo(instanceId, addCollaboratorRequestBody, authorization); return localVarResp.getData(); } @@ -195,7 +195,7 @@ public Object addCollaboratorInstancesInstanceIdCollaboratorsPut(UUID instanceId 422 Validation Error - */ - public ApiResponse addCollaboratorInstancesInstanceIdCollaboratorsPutWithHttpInfo(UUID instanceId, AddCollaboratorRequestBody addCollaboratorRequestBody, String authorization) throws ApiException { + public ApiResponse addCollaboratorInstancesInstanceIdCollaboratorsPutWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull AddCollaboratorRequestBody addCollaboratorRequestBody, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = addCollaboratorInstancesInstanceIdCollaboratorsPutValidateBeforeCall(instanceId, addCollaboratorRequestBody, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -218,7 +218,7 @@ public ApiResponse addCollaboratorInstancesInstanceIdCollaboratorsPutWit 422 Validation Error - */ - public okhttp3.Call addCollaboratorInstancesInstanceIdCollaboratorsPutAsync(UUID instanceId, AddCollaboratorRequestBody addCollaboratorRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call addCollaboratorInstancesInstanceIdCollaboratorsPutAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull AddCollaboratorRequestBody addCollaboratorRequestBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = addCollaboratorInstancesInstanceIdCollaboratorsPutValidateBeforeCall(instanceId, addCollaboratorRequestBody, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -247,7 +247,7 @@ public okhttp3.Call addCollaboratorInstancesInstanceIdCollaboratorsPutAsync(UUID 422 Validation Error - */ - public okhttp3.Call createInstanceInstancesPutCall(String name, String storage, String schemaStr, String dbServerName, String storageUid, UUID accountId, UUID instanceId, String authorization, Map requestBody, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createInstanceInstancesPutCall(@javax.annotation.Nonnull String name, @javax.annotation.Nullable String storage, @javax.annotation.Nullable String schemaStr, @javax.annotation.Nullable String dbServerName, @javax.annotation.Nullable String storageUid, @javax.annotation.Nullable UUID accountId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable Map requestBody, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -326,7 +326,7 @@ public okhttp3.Call createInstanceInstancesPutCall(String name, String storage, } @SuppressWarnings("rawtypes") - private okhttp3.Call createInstanceInstancesPutValidateBeforeCall(String name, String storage, String schemaStr, String dbServerName, String storageUid, UUID accountId, UUID instanceId, String authorization, Map requestBody, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createInstanceInstancesPutValidateBeforeCall(@javax.annotation.Nonnull String name, @javax.annotation.Nullable String storage, @javax.annotation.Nullable String schemaStr, @javax.annotation.Nullable String dbServerName, @javax.annotation.Nullable String storageUid, @javax.annotation.Nullable UUID accountId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable Map requestBody, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling createInstanceInstancesPut(Async)"); @@ -358,7 +358,7 @@ private okhttp3.Call createInstanceInstancesPutValidateBeforeCall(String name, S 422 Validation Error - */ - public Object createInstanceInstancesPut(String name, String storage, String schemaStr, String dbServerName, String storageUid, UUID accountId, UUID instanceId, String authorization, Map requestBody) throws ApiException { + public Object createInstanceInstancesPut(@javax.annotation.Nonnull String name, @javax.annotation.Nullable String storage, @javax.annotation.Nullable String schemaStr, @javax.annotation.Nullable String dbServerName, @javax.annotation.Nullable String storageUid, @javax.annotation.Nullable UUID accountId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable Map requestBody) throws ApiException { ApiResponse localVarResp = createInstanceInstancesPutWithHttpInfo(name, storage, schemaStr, dbServerName, storageUid, accountId, instanceId, authorization, requestBody); return localVarResp.getData(); } @@ -385,7 +385,7 @@ public Object createInstanceInstancesPut(String name, String storage, String sch 422 Validation Error - */ - public ApiResponse createInstanceInstancesPutWithHttpInfo(String name, String storage, String schemaStr, String dbServerName, String storageUid, UUID accountId, UUID instanceId, String authorization, Map requestBody) throws ApiException { + public ApiResponse createInstanceInstancesPutWithHttpInfo(@javax.annotation.Nonnull String name, @javax.annotation.Nullable String storage, @javax.annotation.Nullable String schemaStr, @javax.annotation.Nullable String dbServerName, @javax.annotation.Nullable String storageUid, @javax.annotation.Nullable UUID accountId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable Map requestBody) throws ApiException { okhttp3.Call localVarCall = createInstanceInstancesPutValidateBeforeCall(name, storage, schemaStr, dbServerName, storageUid, accountId, instanceId, authorization, requestBody, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -414,7 +414,7 @@ public ApiResponse createInstanceInstancesPutWithHttpInfo(String name, S 422 Validation Error - */ - public okhttp3.Call createInstanceInstancesPutAsync(String name, String storage, String schemaStr, String dbServerName, String storageUid, UUID accountId, UUID instanceId, String authorization, Map requestBody, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createInstanceInstancesPutAsync(@javax.annotation.Nonnull String name, @javax.annotation.Nullable String storage, @javax.annotation.Nullable String schemaStr, @javax.annotation.Nullable String dbServerName, @javax.annotation.Nullable String storageUid, @javax.annotation.Nullable UUID accountId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, @javax.annotation.Nullable Map requestBody, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = createInstanceInstancesPutValidateBeforeCall(name, storage, schemaStr, dbServerName, storageUid, accountId, instanceId, authorization, requestBody, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -437,7 +437,7 @@ public okhttp3.Call createInstanceInstancesPutAsync(String name, String storage, 422 Validation Error - */ - public okhttp3.Call deleteInstanceInstancesInstanceIdDeleteCall(UUID instanceId, String instanceName, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteInstanceInstancesInstanceIdDeleteCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull String instanceName, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -492,7 +492,7 @@ public okhttp3.Call deleteInstanceInstancesInstanceIdDeleteCall(UUID instanceId, } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteInstanceInstancesInstanceIdDeleteValidateBeforeCall(UUID instanceId, String instanceName, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteInstanceInstancesInstanceIdDeleteValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull String instanceName, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling deleteInstanceInstancesInstanceIdDelete(Async)"); @@ -523,7 +523,7 @@ private okhttp3.Call deleteInstanceInstancesInstanceIdDeleteValidateBeforeCall(U 422 Validation Error - */ - public Object deleteInstanceInstancesInstanceIdDelete(UUID instanceId, String instanceName, String authorization) throws ApiException { + public Object deleteInstanceInstancesInstanceIdDelete(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull String instanceName, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = deleteInstanceInstancesInstanceIdDeleteWithHttpInfo(instanceId, instanceName, authorization); return localVarResp.getData(); } @@ -544,7 +544,7 @@ public Object deleteInstanceInstancesInstanceIdDelete(UUID instanceId, String in 422 Validation Error - */ - public ApiResponse deleteInstanceInstancesInstanceIdDeleteWithHttpInfo(UUID instanceId, String instanceName, String authorization) throws ApiException { + public ApiResponse deleteInstanceInstancesInstanceIdDeleteWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull String instanceName, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = deleteInstanceInstancesInstanceIdDeleteValidateBeforeCall(instanceId, instanceName, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -567,7 +567,7 @@ public ApiResponse deleteInstanceInstancesInstanceIdDeleteWithHttpInfo(U 422 Validation Error - */ - public okhttp3.Call deleteInstanceInstancesInstanceIdDeleteAsync(UUID instanceId, String instanceName, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteInstanceInstancesInstanceIdDeleteAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull String instanceName, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteInstanceInstancesInstanceIdDeleteValidateBeforeCall(instanceId, instanceName, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -589,7 +589,7 @@ public okhttp3.Call deleteInstanceInstancesInstanceIdDeleteAsync(UUID instanceId 422 Validation Error - */ - public okhttp3.Call listCollaboratorsInstancesInstanceIdCollaboratorsGetCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listCollaboratorsInstancesInstanceIdCollaboratorsGetCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -640,7 +640,7 @@ public okhttp3.Call listCollaboratorsInstancesInstanceIdCollaboratorsGetCall(UUI } @SuppressWarnings("rawtypes") - private okhttp3.Call listCollaboratorsInstancesInstanceIdCollaboratorsGetValidateBeforeCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listCollaboratorsInstancesInstanceIdCollaboratorsGetValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling listCollaboratorsInstancesInstanceIdCollaboratorsGet(Async)"); @@ -665,7 +665,7 @@ private okhttp3.Call listCollaboratorsInstancesInstanceIdCollaboratorsGetValidat 422 Validation Error - */ - public Object listCollaboratorsInstancesInstanceIdCollaboratorsGet(UUID instanceId, String authorization) throws ApiException { + public Object listCollaboratorsInstancesInstanceIdCollaboratorsGet(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = listCollaboratorsInstancesInstanceIdCollaboratorsGetWithHttpInfo(instanceId, authorization); return localVarResp.getData(); } @@ -685,7 +685,7 @@ public Object listCollaboratorsInstancesInstanceIdCollaboratorsGet(UUID instance 422 Validation Error - */ - public ApiResponse listCollaboratorsInstancesInstanceIdCollaboratorsGetWithHttpInfo(UUID instanceId, String authorization) throws ApiException { + public ApiResponse listCollaboratorsInstancesInstanceIdCollaboratorsGetWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = listCollaboratorsInstancesInstanceIdCollaboratorsGetValidateBeforeCall(instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -707,7 +707,7 @@ public ApiResponse listCollaboratorsInstancesInstanceIdCollaboratorsGetW 422 Validation Error - */ - public okhttp3.Call listCollaboratorsInstancesInstanceIdCollaboratorsGetAsync(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listCollaboratorsInstancesInstanceIdCollaboratorsGetAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = listCollaboratorsInstancesInstanceIdCollaboratorsGetValidateBeforeCall(instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -729,7 +729,7 @@ public okhttp3.Call listCollaboratorsInstancesInstanceIdCollaboratorsGetAsync(UU 422 Validation Error - */ - public okhttp3.Call migrateInstanceInstancesInstanceIdMigratePostCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call migrateInstanceInstancesInstanceIdMigratePostCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -780,7 +780,7 @@ public okhttp3.Call migrateInstanceInstancesInstanceIdMigratePostCall(UUID insta } @SuppressWarnings("rawtypes") - private okhttp3.Call migrateInstanceInstancesInstanceIdMigratePostValidateBeforeCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call migrateInstanceInstancesInstanceIdMigratePostValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling migrateInstanceInstancesInstanceIdMigratePost(Async)"); @@ -805,7 +805,7 @@ private okhttp3.Call migrateInstanceInstancesInstanceIdMigratePostValidateBefore 422 Validation Error - */ - public Object migrateInstanceInstancesInstanceIdMigratePost(UUID instanceId, String authorization) throws ApiException { + public Object migrateInstanceInstancesInstanceIdMigratePost(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = migrateInstanceInstancesInstanceIdMigratePostWithHttpInfo(instanceId, authorization); return localVarResp.getData(); } @@ -825,7 +825,7 @@ public Object migrateInstanceInstancesInstanceIdMigratePost(UUID instanceId, Str 422 Validation Error - */ - public ApiResponse migrateInstanceInstancesInstanceIdMigratePostWithHttpInfo(UUID instanceId, String authorization) throws ApiException { + public ApiResponse migrateInstanceInstancesInstanceIdMigratePostWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = migrateInstanceInstancesInstanceIdMigratePostValidateBeforeCall(instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -847,7 +847,7 @@ public ApiResponse migrateInstanceInstancesInstanceIdMigratePostWithHttp 422 Validation Error - */ - public okhttp3.Call migrateInstanceInstancesInstanceIdMigratePostAsync(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call migrateInstanceInstancesInstanceIdMigratePostAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = migrateInstanceInstancesInstanceIdMigratePostValidateBeforeCall(instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -871,7 +871,7 @@ public okhttp3.Call migrateInstanceInstancesInstanceIdMigratePostAsync(UUID inst 422 Validation Error - */ - public okhttp3.Call removeCollaboratorInstancesInstanceIdCollaboratorsDeleteCall(UUID instanceId, UUID accountId, UUID teamId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call removeCollaboratorInstancesInstanceIdCollaboratorsDeleteCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable UUID accountId, @javax.annotation.Nullable UUID teamId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -930,7 +930,7 @@ public okhttp3.Call removeCollaboratorInstancesInstanceIdCollaboratorsDeleteCall } @SuppressWarnings("rawtypes") - private okhttp3.Call removeCollaboratorInstancesInstanceIdCollaboratorsDeleteValidateBeforeCall(UUID instanceId, UUID accountId, UUID teamId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call removeCollaboratorInstancesInstanceIdCollaboratorsDeleteValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable UUID accountId, @javax.annotation.Nullable UUID teamId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling removeCollaboratorInstancesInstanceIdCollaboratorsDelete(Async)"); @@ -957,7 +957,7 @@ private okhttp3.Call removeCollaboratorInstancesInstanceIdCollaboratorsDeleteVal 422 Validation Error - */ - public Object removeCollaboratorInstancesInstanceIdCollaboratorsDelete(UUID instanceId, UUID accountId, UUID teamId, String authorization) throws ApiException { + public Object removeCollaboratorInstancesInstanceIdCollaboratorsDelete(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable UUID accountId, @javax.annotation.Nullable UUID teamId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = removeCollaboratorInstancesInstanceIdCollaboratorsDeleteWithHttpInfo(instanceId, accountId, teamId, authorization); return localVarResp.getData(); } @@ -979,7 +979,7 @@ public Object removeCollaboratorInstancesInstanceIdCollaboratorsDelete(UUID inst 422 Validation Error - */ - public ApiResponse removeCollaboratorInstancesInstanceIdCollaboratorsDeleteWithHttpInfo(UUID instanceId, UUID accountId, UUID teamId, String authorization) throws ApiException { + public ApiResponse removeCollaboratorInstancesInstanceIdCollaboratorsDeleteWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable UUID accountId, @javax.annotation.Nullable UUID teamId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = removeCollaboratorInstancesInstanceIdCollaboratorsDeleteValidateBeforeCall(instanceId, accountId, teamId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1003,7 +1003,7 @@ public ApiResponse removeCollaboratorInstancesInstanceIdCollaboratorsDel 422 Validation Error - */ - public okhttp3.Call removeCollaboratorInstancesInstanceIdCollaboratorsDeleteAsync(UUID instanceId, UUID accountId, UUID teamId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call removeCollaboratorInstancesInstanceIdCollaboratorsDeleteAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable UUID accountId, @javax.annotation.Nullable UUID teamId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = removeCollaboratorInstancesInstanceIdCollaboratorsDeleteValidateBeforeCall(instanceId, accountId, teamId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1026,7 +1026,7 @@ public okhttp3.Call removeCollaboratorInstancesInstanceIdCollaboratorsDeleteAsyn 422 Validation Error - */ - public okhttp3.Call transferOwnershipInstancesInstanceIdOwnerHandlePatchCall(String handle, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call transferOwnershipInstancesInstanceIdOwnerHandlePatchCall(@javax.annotation.Nonnull String handle, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1078,7 +1078,7 @@ public okhttp3.Call transferOwnershipInstancesInstanceIdOwnerHandlePatchCall(Str } @SuppressWarnings("rawtypes") - private okhttp3.Call transferOwnershipInstancesInstanceIdOwnerHandlePatchValidateBeforeCall(String handle, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call transferOwnershipInstancesInstanceIdOwnerHandlePatchValidateBeforeCall(@javax.annotation.Nonnull String handle, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'handle' is set if (handle == null) { throw new ApiException("Missing the required parameter 'handle' when calling transferOwnershipInstancesInstanceIdOwnerHandlePatch(Async)"); @@ -1109,7 +1109,7 @@ private okhttp3.Call transferOwnershipInstancesInstanceIdOwnerHandlePatchValidat 422 Validation Error - */ - public Object transferOwnershipInstancesInstanceIdOwnerHandlePatch(String handle, UUID instanceId, String authorization) throws ApiException { + public Object transferOwnershipInstancesInstanceIdOwnerHandlePatch(@javax.annotation.Nonnull String handle, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = transferOwnershipInstancesInstanceIdOwnerHandlePatchWithHttpInfo(handle, instanceId, authorization); return localVarResp.getData(); } @@ -1130,7 +1130,7 @@ public Object transferOwnershipInstancesInstanceIdOwnerHandlePatch(String handle 422 Validation Error - */ - public ApiResponse transferOwnershipInstancesInstanceIdOwnerHandlePatchWithHttpInfo(String handle, UUID instanceId, String authorization) throws ApiException { + public ApiResponse transferOwnershipInstancesInstanceIdOwnerHandlePatchWithHttpInfo(@javax.annotation.Nonnull String handle, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = transferOwnershipInstancesInstanceIdOwnerHandlePatchValidateBeforeCall(handle, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1153,7 +1153,7 @@ public ApiResponse transferOwnershipInstancesInstanceIdOwnerHandlePatchW 422 Validation Error - */ - public okhttp3.Call transferOwnershipInstancesInstanceIdOwnerHandlePatchAsync(String handle, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call transferOwnershipInstancesInstanceIdOwnerHandlePatchAsync(@javax.annotation.Nonnull String handle, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = transferOwnershipInstancesInstanceIdOwnerHandlePatchValidateBeforeCall(handle, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1176,7 +1176,7 @@ public okhttp3.Call transferOwnershipInstancesInstanceIdOwnerHandlePatchAsync(St 422 Validation Error - */ - public okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsPatchCall(UUID instanceId, UpdateCollaboratorRequestBody updateCollaboratorRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsPatchCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull UpdateCollaboratorRequestBody updateCollaboratorRequestBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1228,7 +1228,7 @@ public okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsPatchCall( } @SuppressWarnings("rawtypes") - private okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsPatchValidateBeforeCall(UUID instanceId, UpdateCollaboratorRequestBody updateCollaboratorRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsPatchValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull UpdateCollaboratorRequestBody updateCollaboratorRequestBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling updateCollaboratorInstancesInstanceIdCollaboratorsPatch(Async)"); @@ -1259,7 +1259,7 @@ private okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsPatchVali 422 Validation Error - */ - public Object updateCollaboratorInstancesInstanceIdCollaboratorsPatch(UUID instanceId, UpdateCollaboratorRequestBody updateCollaboratorRequestBody, String authorization) throws ApiException { + public Object updateCollaboratorInstancesInstanceIdCollaboratorsPatch(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull UpdateCollaboratorRequestBody updateCollaboratorRequestBody, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = updateCollaboratorInstancesInstanceIdCollaboratorsPatchWithHttpInfo(instanceId, updateCollaboratorRequestBody, authorization); return localVarResp.getData(); } @@ -1280,7 +1280,7 @@ public Object updateCollaboratorInstancesInstanceIdCollaboratorsPatch(UUID insta 422 Validation Error - */ - public ApiResponse updateCollaboratorInstancesInstanceIdCollaboratorsPatchWithHttpInfo(UUID instanceId, UpdateCollaboratorRequestBody updateCollaboratorRequestBody, String authorization) throws ApiException { + public ApiResponse updateCollaboratorInstancesInstanceIdCollaboratorsPatchWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull UpdateCollaboratorRequestBody updateCollaboratorRequestBody, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = updateCollaboratorInstancesInstanceIdCollaboratorsPatchValidateBeforeCall(instanceId, updateCollaboratorRequestBody, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1303,7 +1303,7 @@ public ApiResponse updateCollaboratorInstancesInstanceIdCollaboratorsPat 422 Validation Error - */ - public okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsPatchAsync(UUID instanceId, UpdateCollaboratorRequestBody updateCollaboratorRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsPatchAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nonnull UpdateCollaboratorRequestBody updateCollaboratorRequestBody, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateCollaboratorInstancesInstanceIdCollaboratorsPatchValidateBeforeCall(instanceId, updateCollaboratorRequestBody, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/OrganizationsApi.java b/src/main/java/ai/lamin/lamin_api_client/api/OrganizationsApi.java index 810ceff..b4277bd 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/OrganizationsApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/OrganizationsApi.java @@ -93,7 +93,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call addOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPutCall(UUID organizationId, UUID accountId, AddOrganizationMemberRequestBody addOrganizationMemberRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call addOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPutCall(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull AddOrganizationMemberRequestBody addOrganizationMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -150,7 +150,7 @@ public okhttp3.Call addOrganizationMemberOrganizationsOrganizationIdMembersAccou } @SuppressWarnings("rawtypes") - private okhttp3.Call addOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPutValidateBeforeCall(UUID organizationId, UUID accountId, AddOrganizationMemberRequestBody addOrganizationMemberRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call addOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPutValidateBeforeCall(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull AddOrganizationMemberRequestBody addOrganizationMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'organizationId' is set if (organizationId == null) { throw new ApiException("Missing the required parameter 'organizationId' when calling addOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPut(Async)"); @@ -188,7 +188,7 @@ private okhttp3.Call addOrganizationMemberOrganizationsOrganizationIdMembersAcco 422 Validation Error - */ - public Object addOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPut(UUID organizationId, UUID accountId, AddOrganizationMemberRequestBody addOrganizationMemberRequestBody, UUID instanceId, String authorization) throws ApiException { + public Object addOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPut(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull AddOrganizationMemberRequestBody addOrganizationMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = addOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPutWithHttpInfo(organizationId, accountId, addOrganizationMemberRequestBody, instanceId, authorization); return localVarResp.getData(); } @@ -211,7 +211,7 @@ public Object addOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPu 422 Validation Error - */ - public ApiResponse addOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPutWithHttpInfo(UUID organizationId, UUID accountId, AddOrganizationMemberRequestBody addOrganizationMemberRequestBody, UUID instanceId, String authorization) throws ApiException { + public ApiResponse addOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPutWithHttpInfo(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull AddOrganizationMemberRequestBody addOrganizationMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = addOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPutValidateBeforeCall(organizationId, accountId, addOrganizationMemberRequestBody, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -236,7 +236,7 @@ public ApiResponse addOrganizationMemberOrganizationsOrganizationIdMembe 422 Validation Error - */ - public okhttp3.Call addOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPutAsync(UUID organizationId, UUID accountId, AddOrganizationMemberRequestBody addOrganizationMemberRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call addOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPutAsync(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull AddOrganizationMemberRequestBody addOrganizationMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = addOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPutValidateBeforeCall(organizationId, accountId, addOrganizationMemberRequestBody, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -259,7 +259,7 @@ public okhttp3.Call addOrganizationMemberOrganizationsOrganizationIdMembersAccou 422 Validation Error - */ - public okhttp3.Call getOrganizationOrganizationsOrganizationIdGetCall(UUID organizationId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getOrganizationOrganizationsOrganizationIdGetCall(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -314,7 +314,7 @@ public okhttp3.Call getOrganizationOrganizationsOrganizationIdGetCall(UUID organ } @SuppressWarnings("rawtypes") - private okhttp3.Call getOrganizationOrganizationsOrganizationIdGetValidateBeforeCall(UUID organizationId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getOrganizationOrganizationsOrganizationIdGetValidateBeforeCall(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'organizationId' is set if (organizationId == null) { throw new ApiException("Missing the required parameter 'organizationId' when calling getOrganizationOrganizationsOrganizationIdGet(Async)"); @@ -340,7 +340,7 @@ private okhttp3.Call getOrganizationOrganizationsOrganizationIdGetValidateBefore 422 Validation Error - */ - public Object getOrganizationOrganizationsOrganizationIdGet(UUID organizationId, UUID instanceId, String authorization) throws ApiException { + public Object getOrganizationOrganizationsOrganizationIdGet(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = getOrganizationOrganizationsOrganizationIdGetWithHttpInfo(organizationId, instanceId, authorization); return localVarResp.getData(); } @@ -361,7 +361,7 @@ public Object getOrganizationOrganizationsOrganizationIdGet(UUID organizationId, 422 Validation Error - */ - public ApiResponse getOrganizationOrganizationsOrganizationIdGetWithHttpInfo(UUID organizationId, UUID instanceId, String authorization) throws ApiException { + public ApiResponse getOrganizationOrganizationsOrganizationIdGetWithHttpInfo(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = getOrganizationOrganizationsOrganizationIdGetValidateBeforeCall(organizationId, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -384,7 +384,7 @@ public ApiResponse getOrganizationOrganizationsOrganizationIdGetWithHttp 422 Validation Error - */ - public okhttp3.Call getOrganizationOrganizationsOrganizationIdGetAsync(UUID organizationId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getOrganizationOrganizationsOrganizationIdGetAsync(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getOrganizationOrganizationsOrganizationIdGetValidateBeforeCall(organizationId, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -407,7 +407,7 @@ public okhttp3.Call getOrganizationOrganizationsOrganizationIdGetAsync(UUID orga 422 Validation Error - */ - public okhttp3.Call listOrganizationMembersOrganizationsOrganizationIdMembersGetCall(UUID organizationId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listOrganizationMembersOrganizationsOrganizationIdMembersGetCall(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -462,7 +462,7 @@ public okhttp3.Call listOrganizationMembersOrganizationsOrganizationIdMembersGet } @SuppressWarnings("rawtypes") - private okhttp3.Call listOrganizationMembersOrganizationsOrganizationIdMembersGetValidateBeforeCall(UUID organizationId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listOrganizationMembersOrganizationsOrganizationIdMembersGetValidateBeforeCall(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'organizationId' is set if (organizationId == null) { throw new ApiException("Missing the required parameter 'organizationId' when calling listOrganizationMembersOrganizationsOrganizationIdMembersGet(Async)"); @@ -488,7 +488,7 @@ private okhttp3.Call listOrganizationMembersOrganizationsOrganizationIdMembersGe 422 Validation Error - */ - public Object listOrganizationMembersOrganizationsOrganizationIdMembersGet(UUID organizationId, UUID instanceId, String authorization) throws ApiException { + public Object listOrganizationMembersOrganizationsOrganizationIdMembersGet(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = listOrganizationMembersOrganizationsOrganizationIdMembersGetWithHttpInfo(organizationId, instanceId, authorization); return localVarResp.getData(); } @@ -509,7 +509,7 @@ public Object listOrganizationMembersOrganizationsOrganizationIdMembersGet(UUID 422 Validation Error - */ - public ApiResponse listOrganizationMembersOrganizationsOrganizationIdMembersGetWithHttpInfo(UUID organizationId, UUID instanceId, String authorization) throws ApiException { + public ApiResponse listOrganizationMembersOrganizationsOrganizationIdMembersGetWithHttpInfo(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = listOrganizationMembersOrganizationsOrganizationIdMembersGetValidateBeforeCall(organizationId, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -532,7 +532,7 @@ public ApiResponse listOrganizationMembersOrganizationsOrganizationIdMem 422 Validation Error - */ - public okhttp3.Call listOrganizationMembersOrganizationsOrganizationIdMembersGetAsync(UUID organizationId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listOrganizationMembersOrganizationsOrganizationIdMembersGetAsync(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = listOrganizationMembersOrganizationsOrganizationIdMembersGetValidateBeforeCall(organizationId, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -556,7 +556,7 @@ public okhttp3.Call listOrganizationMembersOrganizationsOrganizationIdMembersGet 422 Validation Error - */ - public okhttp3.Call removeOrganizationMemberOrganizationsOrganizationIdMembersAccountIdDeleteCall(UUID organizationId, UUID accountId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call removeOrganizationMemberOrganizationsOrganizationIdMembersAccountIdDeleteCall(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -612,7 +612,7 @@ public okhttp3.Call removeOrganizationMemberOrganizationsOrganizationIdMembersAc } @SuppressWarnings("rawtypes") - private okhttp3.Call removeOrganizationMemberOrganizationsOrganizationIdMembersAccountIdDeleteValidateBeforeCall(UUID organizationId, UUID accountId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call removeOrganizationMemberOrganizationsOrganizationIdMembersAccountIdDeleteValidateBeforeCall(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'organizationId' is set if (organizationId == null) { throw new ApiException("Missing the required parameter 'organizationId' when calling removeOrganizationMemberOrganizationsOrganizationIdMembersAccountIdDelete(Async)"); @@ -644,7 +644,7 @@ private okhttp3.Call removeOrganizationMemberOrganizationsOrganizationIdMembersA 422 Validation Error - */ - public Object removeOrganizationMemberOrganizationsOrganizationIdMembersAccountIdDelete(UUID organizationId, UUID accountId, UUID instanceId, String authorization) throws ApiException { + public Object removeOrganizationMemberOrganizationsOrganizationIdMembersAccountIdDelete(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = removeOrganizationMemberOrganizationsOrganizationIdMembersAccountIdDeleteWithHttpInfo(organizationId, accountId, instanceId, authorization); return localVarResp.getData(); } @@ -666,7 +666,7 @@ public Object removeOrganizationMemberOrganizationsOrganizationIdMembersAccountI 422 Validation Error - */ - public ApiResponse removeOrganizationMemberOrganizationsOrganizationIdMembersAccountIdDeleteWithHttpInfo(UUID organizationId, UUID accountId, UUID instanceId, String authorization) throws ApiException { + public ApiResponse removeOrganizationMemberOrganizationsOrganizationIdMembersAccountIdDeleteWithHttpInfo(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = removeOrganizationMemberOrganizationsOrganizationIdMembersAccountIdDeleteValidateBeforeCall(organizationId, accountId, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -690,7 +690,7 @@ public ApiResponse removeOrganizationMemberOrganizationsOrganizationIdMe 422 Validation Error - */ - public okhttp3.Call removeOrganizationMemberOrganizationsOrganizationIdMembersAccountIdDeleteAsync(UUID organizationId, UUID accountId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call removeOrganizationMemberOrganizationsOrganizationIdMembersAccountIdDeleteAsync(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = removeOrganizationMemberOrganizationsOrganizationIdMembersAccountIdDeleteValidateBeforeCall(organizationId, accountId, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -715,7 +715,7 @@ public okhttp3.Call removeOrganizationMemberOrganizationsOrganizationIdMembersAc 422 Validation Error - */ - public okhttp3.Call updateOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPatchCall(UUID organizationId, UUID accountId, UpdateOrganizationMemberRequestBody updateOrganizationMemberRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPatchCall(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull UpdateOrganizationMemberRequestBody updateOrganizationMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -772,7 +772,7 @@ public okhttp3.Call updateOrganizationMemberOrganizationsOrganizationIdMembersAc } @SuppressWarnings("rawtypes") - private okhttp3.Call updateOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPatchValidateBeforeCall(UUID organizationId, UUID accountId, UpdateOrganizationMemberRequestBody updateOrganizationMemberRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPatchValidateBeforeCall(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull UpdateOrganizationMemberRequestBody updateOrganizationMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'organizationId' is set if (organizationId == null) { throw new ApiException("Missing the required parameter 'organizationId' when calling updateOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPatch(Async)"); @@ -810,7 +810,7 @@ private okhttp3.Call updateOrganizationMemberOrganizationsOrganizationIdMembersA 422 Validation Error - */ - public Object updateOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPatch(UUID organizationId, UUID accountId, UpdateOrganizationMemberRequestBody updateOrganizationMemberRequestBody, UUID instanceId, String authorization) throws ApiException { + public Object updateOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPatch(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull UpdateOrganizationMemberRequestBody updateOrganizationMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = updateOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPatchWithHttpInfo(organizationId, accountId, updateOrganizationMemberRequestBody, instanceId, authorization); return localVarResp.getData(); } @@ -833,7 +833,7 @@ public Object updateOrganizationMemberOrganizationsOrganizationIdMembersAccountI 422 Validation Error - */ - public ApiResponse updateOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPatchWithHttpInfo(UUID organizationId, UUID accountId, UpdateOrganizationMemberRequestBody updateOrganizationMemberRequestBody, UUID instanceId, String authorization) throws ApiException { + public ApiResponse updateOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPatchWithHttpInfo(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull UpdateOrganizationMemberRequestBody updateOrganizationMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = updateOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPatchValidateBeforeCall(organizationId, accountId, updateOrganizationMemberRequestBody, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -858,7 +858,7 @@ public ApiResponse updateOrganizationMemberOrganizationsOrganizationIdMe 422 Validation Error - */ - public okhttp3.Call updateOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPatchAsync(UUID organizationId, UUID accountId, UpdateOrganizationMemberRequestBody updateOrganizationMemberRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPatchAsync(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull UpdateOrganizationMemberRequestBody updateOrganizationMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPatchValidateBeforeCall(organizationId, accountId, updateOrganizationMemberRequestBody, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/SpacesApi.java b/src/main/java/ai/lamin/lamin_api_client/api/SpacesApi.java index d07b9c2..8ade301 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/SpacesApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/SpacesApi.java @@ -95,7 +95,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call addSpaceCollaboratorSpacesSpaceIdCollaboratorsPutCall(UUID spaceId, AddSpaceCollaboratorRequestBody addSpaceCollaboratorRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call addSpaceCollaboratorSpacesSpaceIdCollaboratorsPutCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nonnull AddSpaceCollaboratorRequestBody addSpaceCollaboratorRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -151,7 +151,7 @@ public okhttp3.Call addSpaceCollaboratorSpacesSpaceIdCollaboratorsPutCall(UUID s } @SuppressWarnings("rawtypes") - private okhttp3.Call addSpaceCollaboratorSpacesSpaceIdCollaboratorsPutValidateBeforeCall(UUID spaceId, AddSpaceCollaboratorRequestBody addSpaceCollaboratorRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call addSpaceCollaboratorSpacesSpaceIdCollaboratorsPutValidateBeforeCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nonnull AddSpaceCollaboratorRequestBody addSpaceCollaboratorRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'spaceId' is set if (spaceId == null) { throw new ApiException("Missing the required parameter 'spaceId' when calling addSpaceCollaboratorSpacesSpaceIdCollaboratorsPut(Async)"); @@ -183,7 +183,7 @@ private okhttp3.Call addSpaceCollaboratorSpacesSpaceIdCollaboratorsPutValidateBe 422 Validation Error - */ - public Object addSpaceCollaboratorSpacesSpaceIdCollaboratorsPut(UUID spaceId, AddSpaceCollaboratorRequestBody addSpaceCollaboratorRequestBody, UUID instanceId, String authorization) throws ApiException { + public Object addSpaceCollaboratorSpacesSpaceIdCollaboratorsPut(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nonnull AddSpaceCollaboratorRequestBody addSpaceCollaboratorRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = addSpaceCollaboratorSpacesSpaceIdCollaboratorsPutWithHttpInfo(spaceId, addSpaceCollaboratorRequestBody, instanceId, authorization); return localVarResp.getData(); } @@ -205,7 +205,7 @@ public Object addSpaceCollaboratorSpacesSpaceIdCollaboratorsPut(UUID spaceId, Ad 422 Validation Error - */ - public ApiResponse addSpaceCollaboratorSpacesSpaceIdCollaboratorsPutWithHttpInfo(UUID spaceId, AddSpaceCollaboratorRequestBody addSpaceCollaboratorRequestBody, UUID instanceId, String authorization) throws ApiException { + public ApiResponse addSpaceCollaboratorSpacesSpaceIdCollaboratorsPutWithHttpInfo(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nonnull AddSpaceCollaboratorRequestBody addSpaceCollaboratorRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = addSpaceCollaboratorSpacesSpaceIdCollaboratorsPutValidateBeforeCall(spaceId, addSpaceCollaboratorRequestBody, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -229,7 +229,7 @@ public ApiResponse addSpaceCollaboratorSpacesSpaceIdCollaboratorsPutWith 422 Validation Error - */ - public okhttp3.Call addSpaceCollaboratorSpacesSpaceIdCollaboratorsPutAsync(UUID spaceId, AddSpaceCollaboratorRequestBody addSpaceCollaboratorRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call addSpaceCollaboratorSpacesSpaceIdCollaboratorsPutAsync(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nonnull AddSpaceCollaboratorRequestBody addSpaceCollaboratorRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = addSpaceCollaboratorSpacesSpaceIdCollaboratorsPutValidateBeforeCall(spaceId, addSpaceCollaboratorRequestBody, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -252,7 +252,7 @@ public okhttp3.Call addSpaceCollaboratorSpacesSpaceIdCollaboratorsPutAsync(UUID 422 Validation Error - */ - public okhttp3.Call attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPutCall(UUID spaceId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPutCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -304,7 +304,7 @@ public okhttp3.Call attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPutCall } @SuppressWarnings("rawtypes") - private okhttp3.Call attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPutValidateBeforeCall(UUID spaceId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPutValidateBeforeCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'spaceId' is set if (spaceId == null) { throw new ApiException("Missing the required parameter 'spaceId' when calling attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPut(Async)"); @@ -335,7 +335,7 @@ private okhttp3.Call attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPutVal 422 Validation Error - */ - public Object attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPut(UUID spaceId, UUID instanceId, String authorization) throws ApiException { + public Object attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPut(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPutWithHttpInfo(spaceId, instanceId, authorization); return localVarResp.getData(); } @@ -356,7 +356,7 @@ public Object attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPut(UUID spac 422 Validation Error - */ - public ApiResponse attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPutWithHttpInfo(UUID spaceId, UUID instanceId, String authorization) throws ApiException { + public ApiResponse attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPutWithHttpInfo(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPutValidateBeforeCall(spaceId, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -379,7 +379,7 @@ public ApiResponse attachSpaceToInstanceSpacesSpaceIdInstancesInstanceId 422 Validation Error - */ - public okhttp3.Call attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPutAsync(UUID spaceId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPutAsync(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPutValidateBeforeCall(spaceId, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -402,7 +402,7 @@ public okhttp3.Call attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPutAsyn 422 Validation Error - */ - public okhttp3.Call createSpaceSpacesPutCall(CreateSpaceRequestBody createSpaceRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createSpaceSpacesPutCall(@javax.annotation.Nonnull CreateSpaceRequestBody createSpaceRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -457,7 +457,7 @@ public okhttp3.Call createSpaceSpacesPutCall(CreateSpaceRequestBody createSpaceR } @SuppressWarnings("rawtypes") - private okhttp3.Call createSpaceSpacesPutValidateBeforeCall(CreateSpaceRequestBody createSpaceRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createSpaceSpacesPutValidateBeforeCall(@javax.annotation.Nonnull CreateSpaceRequestBody createSpaceRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'createSpaceRequestBody' is set if (createSpaceRequestBody == null) { throw new ApiException("Missing the required parameter 'createSpaceRequestBody' when calling createSpaceSpacesPut(Async)"); @@ -483,7 +483,7 @@ private okhttp3.Call createSpaceSpacesPutValidateBeforeCall(CreateSpaceRequestBo 422 Validation Error - */ - public Object createSpaceSpacesPut(CreateSpaceRequestBody createSpaceRequestBody, UUID instanceId, String authorization) throws ApiException { + public Object createSpaceSpacesPut(@javax.annotation.Nonnull CreateSpaceRequestBody createSpaceRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = createSpaceSpacesPutWithHttpInfo(createSpaceRequestBody, instanceId, authorization); return localVarResp.getData(); } @@ -504,7 +504,7 @@ public Object createSpaceSpacesPut(CreateSpaceRequestBody createSpaceRequestBody 422 Validation Error - */ - public ApiResponse createSpaceSpacesPutWithHttpInfo(CreateSpaceRequestBody createSpaceRequestBody, UUID instanceId, String authorization) throws ApiException { + public ApiResponse createSpaceSpacesPutWithHttpInfo(@javax.annotation.Nonnull CreateSpaceRequestBody createSpaceRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = createSpaceSpacesPutValidateBeforeCall(createSpaceRequestBody, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -527,7 +527,7 @@ public ApiResponse createSpaceSpacesPutWithHttpInfo(CreateSpaceRequestBo 422 Validation Error - */ - public okhttp3.Call createSpaceSpacesPutAsync(CreateSpaceRequestBody createSpaceRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createSpaceSpacesPutAsync(@javax.annotation.Nonnull CreateSpaceRequestBody createSpaceRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = createSpaceSpacesPutValidateBeforeCall(createSpaceRequestBody, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -550,7 +550,7 @@ public okhttp3.Call createSpaceSpacesPutAsync(CreateSpaceRequestBody createSpace 422 Validation Error - */ - public okhttp3.Call deleteSpaceSpacesSpaceIdDeleteCall(UUID spaceId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteSpaceSpacesSpaceIdDeleteCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -605,7 +605,7 @@ public okhttp3.Call deleteSpaceSpacesSpaceIdDeleteCall(UUID spaceId, UUID instan } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteSpaceSpacesSpaceIdDeleteValidateBeforeCall(UUID spaceId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteSpaceSpacesSpaceIdDeleteValidateBeforeCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'spaceId' is set if (spaceId == null) { throw new ApiException("Missing the required parameter 'spaceId' when calling deleteSpaceSpacesSpaceIdDelete(Async)"); @@ -631,7 +631,7 @@ private okhttp3.Call deleteSpaceSpacesSpaceIdDeleteValidateBeforeCall(UUID space 422 Validation Error - */ - public Object deleteSpaceSpacesSpaceIdDelete(UUID spaceId, UUID instanceId, String authorization) throws ApiException { + public Object deleteSpaceSpacesSpaceIdDelete(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = deleteSpaceSpacesSpaceIdDeleteWithHttpInfo(spaceId, instanceId, authorization); return localVarResp.getData(); } @@ -652,7 +652,7 @@ public Object deleteSpaceSpacesSpaceIdDelete(UUID spaceId, UUID instanceId, Stri 422 Validation Error - */ - public ApiResponse deleteSpaceSpacesSpaceIdDeleteWithHttpInfo(UUID spaceId, UUID instanceId, String authorization) throws ApiException { + public ApiResponse deleteSpaceSpacesSpaceIdDeleteWithHttpInfo(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = deleteSpaceSpacesSpaceIdDeleteValidateBeforeCall(spaceId, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -675,7 +675,7 @@ public ApiResponse deleteSpaceSpacesSpaceIdDeleteWithHttpInfo(UUID space 422 Validation Error - */ - public okhttp3.Call deleteSpaceSpacesSpaceIdDeleteAsync(UUID spaceId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteSpaceSpacesSpaceIdDeleteAsync(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteSpaceSpacesSpaceIdDeleteValidateBeforeCall(spaceId, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -698,7 +698,7 @@ public okhttp3.Call deleteSpaceSpacesSpaceIdDeleteAsync(UUID spaceId, UUID insta 422 Validation Error - */ - public okhttp3.Call detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDeleteCall(UUID spaceId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDeleteCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -750,7 +750,7 @@ public okhttp3.Call detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDelet } @SuppressWarnings("rawtypes") - private okhttp3.Call detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDeleteValidateBeforeCall(UUID spaceId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDeleteValidateBeforeCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'spaceId' is set if (spaceId == null) { throw new ApiException("Missing the required parameter 'spaceId' when calling detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDelete(Async)"); @@ -781,7 +781,7 @@ private okhttp3.Call detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDele 422 Validation Error - */ - public Object detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDelete(UUID spaceId, UUID instanceId, String authorization) throws ApiException { + public Object detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDelete(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDeleteWithHttpInfo(spaceId, instanceId, authorization); return localVarResp.getData(); } @@ -802,7 +802,7 @@ public Object detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDelete(UUID 422 Validation Error - */ - public ApiResponse detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDeleteWithHttpInfo(UUID spaceId, UUID instanceId, String authorization) throws ApiException { + public ApiResponse detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDeleteWithHttpInfo(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDeleteValidateBeforeCall(spaceId, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -825,7 +825,7 @@ public ApiResponse detachSpaceFromInstanceSpacesSpaceIdInstancesInstance 422 Validation Error - */ - public okhttp3.Call detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDeleteAsync(UUID spaceId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDeleteAsync(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDeleteValidateBeforeCall(spaceId, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -848,7 +848,7 @@ public okhttp3.Call detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDelet 422 Validation Error - */ - public okhttp3.Call getSpaceSpacesSpaceIdGetCall(UUID spaceId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getSpaceSpacesSpaceIdGetCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -903,7 +903,7 @@ public okhttp3.Call getSpaceSpacesSpaceIdGetCall(UUID spaceId, UUID instanceId, } @SuppressWarnings("rawtypes") - private okhttp3.Call getSpaceSpacesSpaceIdGetValidateBeforeCall(UUID spaceId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getSpaceSpacesSpaceIdGetValidateBeforeCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'spaceId' is set if (spaceId == null) { throw new ApiException("Missing the required parameter 'spaceId' when calling getSpaceSpacesSpaceIdGet(Async)"); @@ -929,7 +929,7 @@ private okhttp3.Call getSpaceSpacesSpaceIdGetValidateBeforeCall(UUID spaceId, UU 422 Validation Error - */ - public Object getSpaceSpacesSpaceIdGet(UUID spaceId, UUID instanceId, String authorization) throws ApiException { + public Object getSpaceSpacesSpaceIdGet(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = getSpaceSpacesSpaceIdGetWithHttpInfo(spaceId, instanceId, authorization); return localVarResp.getData(); } @@ -950,7 +950,7 @@ public Object getSpaceSpacesSpaceIdGet(UUID spaceId, UUID instanceId, String aut 422 Validation Error - */ - public ApiResponse getSpaceSpacesSpaceIdGetWithHttpInfo(UUID spaceId, UUID instanceId, String authorization) throws ApiException { + public ApiResponse getSpaceSpacesSpaceIdGetWithHttpInfo(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = getSpaceSpacesSpaceIdGetValidateBeforeCall(spaceId, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -973,7 +973,7 @@ public ApiResponse getSpaceSpacesSpaceIdGetWithHttpInfo(UUID spaceId, UU 422 Validation Error - */ - public okhttp3.Call getSpaceSpacesSpaceIdGetAsync(UUID spaceId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getSpaceSpacesSpaceIdGetAsync(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getSpaceSpacesSpaceIdGetValidateBeforeCall(spaceId, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -995,7 +995,7 @@ public okhttp3.Call getSpaceSpacesSpaceIdGetAsync(UUID spaceId, UUID instanceId, 422 Validation Error - */ - public okhttp3.Call listInstanceSpacesSpacesInstancesInstanceIdGetCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listInstanceSpacesSpacesInstancesInstanceIdGetCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1046,7 +1046,7 @@ public okhttp3.Call listInstanceSpacesSpacesInstancesInstanceIdGetCall(UUID inst } @SuppressWarnings("rawtypes") - private okhttp3.Call listInstanceSpacesSpacesInstancesInstanceIdGetValidateBeforeCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listInstanceSpacesSpacesInstancesInstanceIdGetValidateBeforeCall(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceId' is set if (instanceId == null) { throw new ApiException("Missing the required parameter 'instanceId' when calling listInstanceSpacesSpacesInstancesInstanceIdGet(Async)"); @@ -1071,7 +1071,7 @@ private okhttp3.Call listInstanceSpacesSpacesInstancesInstanceIdGetValidateBefor 422 Validation Error - */ - public Object listInstanceSpacesSpacesInstancesInstanceIdGet(UUID instanceId, String authorization) throws ApiException { + public Object listInstanceSpacesSpacesInstancesInstanceIdGet(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = listInstanceSpacesSpacesInstancesInstanceIdGetWithHttpInfo(instanceId, authorization); return localVarResp.getData(); } @@ -1091,7 +1091,7 @@ public Object listInstanceSpacesSpacesInstancesInstanceIdGet(UUID instanceId, St 422 Validation Error - */ - public ApiResponse listInstanceSpacesSpacesInstancesInstanceIdGetWithHttpInfo(UUID instanceId, String authorization) throws ApiException { + public ApiResponse listInstanceSpacesSpacesInstancesInstanceIdGetWithHttpInfo(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = listInstanceSpacesSpacesInstancesInstanceIdGetValidateBeforeCall(instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1113,7 +1113,7 @@ public ApiResponse listInstanceSpacesSpacesInstancesInstanceIdGetWithHtt 422 Validation Error - */ - public okhttp3.Call listInstanceSpacesSpacesInstancesInstanceIdGetAsync(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listInstanceSpacesSpacesInstancesInstanceIdGetAsync(@javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = listInstanceSpacesSpacesInstancesInstanceIdGetValidateBeforeCall(instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1136,7 +1136,7 @@ public okhttp3.Call listInstanceSpacesSpacesInstancesInstanceIdGetAsync(UUID ins 422 Validation Error - */ - public okhttp3.Call listInstancesUsingSpaceSpacesSpaceIdInstancesGetCall(UUID spaceId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listInstancesUsingSpaceSpacesSpaceIdInstancesGetCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1191,7 +1191,7 @@ public okhttp3.Call listInstancesUsingSpaceSpacesSpaceIdInstancesGetCall(UUID sp } @SuppressWarnings("rawtypes") - private okhttp3.Call listInstancesUsingSpaceSpacesSpaceIdInstancesGetValidateBeforeCall(UUID spaceId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listInstancesUsingSpaceSpacesSpaceIdInstancesGetValidateBeforeCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'spaceId' is set if (spaceId == null) { throw new ApiException("Missing the required parameter 'spaceId' when calling listInstancesUsingSpaceSpacesSpaceIdInstancesGet(Async)"); @@ -1217,7 +1217,7 @@ private okhttp3.Call listInstancesUsingSpaceSpacesSpaceIdInstancesGetValidateBef 422 Validation Error - */ - public Object listInstancesUsingSpaceSpacesSpaceIdInstancesGet(UUID spaceId, UUID instanceId, String authorization) throws ApiException { + public Object listInstancesUsingSpaceSpacesSpaceIdInstancesGet(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = listInstancesUsingSpaceSpacesSpaceIdInstancesGetWithHttpInfo(spaceId, instanceId, authorization); return localVarResp.getData(); } @@ -1238,7 +1238,7 @@ public Object listInstancesUsingSpaceSpacesSpaceIdInstancesGet(UUID spaceId, UUI 422 Validation Error - */ - public ApiResponse listInstancesUsingSpaceSpacesSpaceIdInstancesGetWithHttpInfo(UUID spaceId, UUID instanceId, String authorization) throws ApiException { + public ApiResponse listInstancesUsingSpaceSpacesSpaceIdInstancesGetWithHttpInfo(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = listInstancesUsingSpaceSpacesSpaceIdInstancesGetValidateBeforeCall(spaceId, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1261,7 +1261,7 @@ public ApiResponse listInstancesUsingSpaceSpacesSpaceIdInstancesGetWithH 422 Validation Error - */ - public okhttp3.Call listInstancesUsingSpaceSpacesSpaceIdInstancesGetAsync(UUID spaceId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listInstancesUsingSpaceSpacesSpaceIdInstancesGetAsync(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = listInstancesUsingSpaceSpacesSpaceIdInstancesGetValidateBeforeCall(spaceId, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1284,7 +1284,7 @@ public okhttp3.Call listInstancesUsingSpaceSpacesSpaceIdInstancesGetAsync(UUID s 422 Validation Error - */ - public okhttp3.Call listOrganizationSpacesSpacesOrganizationsOrganizationIdGetCall(UUID organizationId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listOrganizationSpacesSpacesOrganizationsOrganizationIdGetCall(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1339,7 +1339,7 @@ public okhttp3.Call listOrganizationSpacesSpacesOrganizationsOrganizationIdGetCa } @SuppressWarnings("rawtypes") - private okhttp3.Call listOrganizationSpacesSpacesOrganizationsOrganizationIdGetValidateBeforeCall(UUID organizationId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listOrganizationSpacesSpacesOrganizationsOrganizationIdGetValidateBeforeCall(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'organizationId' is set if (organizationId == null) { throw new ApiException("Missing the required parameter 'organizationId' when calling listOrganizationSpacesSpacesOrganizationsOrganizationIdGet(Async)"); @@ -1365,7 +1365,7 @@ private okhttp3.Call listOrganizationSpacesSpacesOrganizationsOrganizationIdGetV 422 Validation Error - */ - public Object listOrganizationSpacesSpacesOrganizationsOrganizationIdGet(UUID organizationId, UUID instanceId, String authorization) throws ApiException { + public Object listOrganizationSpacesSpacesOrganizationsOrganizationIdGet(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = listOrganizationSpacesSpacesOrganizationsOrganizationIdGetWithHttpInfo(organizationId, instanceId, authorization); return localVarResp.getData(); } @@ -1386,7 +1386,7 @@ public Object listOrganizationSpacesSpacesOrganizationsOrganizationIdGet(UUID or 422 Validation Error - */ - public ApiResponse listOrganizationSpacesSpacesOrganizationsOrganizationIdGetWithHttpInfo(UUID organizationId, UUID instanceId, String authorization) throws ApiException { + public ApiResponse listOrganizationSpacesSpacesOrganizationsOrganizationIdGetWithHttpInfo(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = listOrganizationSpacesSpacesOrganizationsOrganizationIdGetValidateBeforeCall(organizationId, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1409,7 +1409,7 @@ public ApiResponse listOrganizationSpacesSpacesOrganizationsOrganization 422 Validation Error - */ - public okhttp3.Call listOrganizationSpacesSpacesOrganizationsOrganizationIdGetAsync(UUID organizationId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listOrganizationSpacesSpacesOrganizationsOrganizationIdGetAsync(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = listOrganizationSpacesSpacesOrganizationsOrganizationIdGetValidateBeforeCall(organizationId, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1432,7 +1432,7 @@ public okhttp3.Call listOrganizationSpacesSpacesOrganizationsOrganizationIdGetAs 422 Validation Error - */ - public okhttp3.Call listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGetCall(UUID spaceId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGetCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1487,7 +1487,7 @@ public okhttp3.Call listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGetCall(UUID } @SuppressWarnings("rawtypes") - private okhttp3.Call listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGetValidateBeforeCall(UUID spaceId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGetValidateBeforeCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'spaceId' is set if (spaceId == null) { throw new ApiException("Missing the required parameter 'spaceId' when calling listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGet(Async)"); @@ -1513,7 +1513,7 @@ private okhttp3.Call listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGetValidate 422 Validation Error - */ - public Object listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGet(UUID spaceId, UUID instanceId, String authorization) throws ApiException { + public Object listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGet(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGetWithHttpInfo(spaceId, instanceId, authorization); return localVarResp.getData(); } @@ -1534,7 +1534,7 @@ public Object listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGet(UUID spaceId, 422 Validation Error - */ - public ApiResponse listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGetWithHttpInfo(UUID spaceId, UUID instanceId, String authorization) throws ApiException { + public ApiResponse listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGetWithHttpInfo(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGetValidateBeforeCall(spaceId, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1557,7 +1557,7 @@ public ApiResponse listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGetWi 422 Validation Error - */ - public okhttp3.Call listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGetAsync(UUID spaceId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGetAsync(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGetValidateBeforeCall(spaceId, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1581,7 +1581,7 @@ public okhttp3.Call listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGetAsync(UUI 422 Validation Error - */ - public okhttp3.Call moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPutCall(Integer instanceDbSpaceId, AttachSpaceToRecordRequestBody attachSpaceToRecordRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPutCall(@javax.annotation.Nonnull Integer instanceDbSpaceId, @javax.annotation.Nonnull AttachSpaceToRecordRequestBody attachSpaceToRecordRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1640,7 +1640,7 @@ public okhttp3.Call moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPutCall(Integ } @SuppressWarnings("rawtypes") - private okhttp3.Call moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPutValidateBeforeCall(Integer instanceDbSpaceId, AttachSpaceToRecordRequestBody attachSpaceToRecordRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPutValidateBeforeCall(@javax.annotation.Nonnull Integer instanceDbSpaceId, @javax.annotation.Nonnull AttachSpaceToRecordRequestBody attachSpaceToRecordRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'instanceDbSpaceId' is set if (instanceDbSpaceId == null) { throw new ApiException("Missing the required parameter 'instanceDbSpaceId' when calling moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPut(Async)"); @@ -1672,7 +1672,7 @@ private okhttp3.Call moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPutValidateB 422 Validation Error - */ - public Object moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPut(Integer instanceDbSpaceId, AttachSpaceToRecordRequestBody attachSpaceToRecordRequestBody, UUID instanceId, String authorization) throws ApiException { + public Object moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPut(@javax.annotation.Nonnull Integer instanceDbSpaceId, @javax.annotation.Nonnull AttachSpaceToRecordRequestBody attachSpaceToRecordRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPutWithHttpInfo(instanceDbSpaceId, attachSpaceToRecordRequestBody, instanceId, authorization); return localVarResp.getData(); } @@ -1694,7 +1694,7 @@ public Object moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPut(Integer instanc 422 Validation Error - */ - public ApiResponse moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPutWithHttpInfo(Integer instanceDbSpaceId, AttachSpaceToRecordRequestBody attachSpaceToRecordRequestBody, UUID instanceId, String authorization) throws ApiException { + public ApiResponse moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPutWithHttpInfo(@javax.annotation.Nonnull Integer instanceDbSpaceId, @javax.annotation.Nonnull AttachSpaceToRecordRequestBody attachSpaceToRecordRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPutValidateBeforeCall(instanceDbSpaceId, attachSpaceToRecordRequestBody, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1718,7 +1718,7 @@ public ApiResponse moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPutWit 422 Validation Error - */ - public okhttp3.Call moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPutAsync(Integer instanceDbSpaceId, AttachSpaceToRecordRequestBody attachSpaceToRecordRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPutAsync(@javax.annotation.Nonnull Integer instanceDbSpaceId, @javax.annotation.Nonnull AttachSpaceToRecordRequestBody attachSpaceToRecordRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPutValidateBeforeCall(instanceDbSpaceId, attachSpaceToRecordRequestBody, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1743,7 +1743,7 @@ public okhttp3.Call moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPutAsync(Inte 422 Validation Error - */ - public okhttp3.Call removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDeleteCall(UUID spaceId, UUID accountId, UUID teamId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDeleteCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID accountId, @javax.annotation.Nullable UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1806,7 +1806,7 @@ public okhttp3.Call removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDeleteCall( } @SuppressWarnings("rawtypes") - private okhttp3.Call removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDeleteValidateBeforeCall(UUID spaceId, UUID accountId, UUID teamId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDeleteValidateBeforeCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID accountId, @javax.annotation.Nullable UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'spaceId' is set if (spaceId == null) { throw new ApiException("Missing the required parameter 'spaceId' when calling removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDelete(Async)"); @@ -1834,7 +1834,7 @@ private okhttp3.Call removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDeleteVali 422 Validation Error - */ - public Object removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDelete(UUID spaceId, UUID accountId, UUID teamId, UUID instanceId, String authorization) throws ApiException { + public Object removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDelete(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID accountId, @javax.annotation.Nullable UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDeleteWithHttpInfo(spaceId, accountId, teamId, instanceId, authorization); return localVarResp.getData(); } @@ -1857,7 +1857,7 @@ public Object removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDelete(UUID space 422 Validation Error - */ - public ApiResponse removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDeleteWithHttpInfo(UUID spaceId, UUID accountId, UUID teamId, UUID instanceId, String authorization) throws ApiException { + public ApiResponse removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDeleteWithHttpInfo(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID accountId, @javax.annotation.Nullable UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDeleteValidateBeforeCall(spaceId, accountId, teamId, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1882,7 +1882,7 @@ public ApiResponse removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDele 422 Validation Error - */ - public okhttp3.Call removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDeleteAsync(UUID spaceId, UUID accountId, UUID teamId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDeleteAsync(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nullable UUID accountId, @javax.annotation.Nullable UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDeleteValidateBeforeCall(spaceId, accountId, teamId, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1906,7 +1906,7 @@ public okhttp3.Call removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDeleteAsync 422 Validation Error - */ - public okhttp3.Call updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatchCall(UUID spaceId, UpdateSpaceCollaboratorRequestBody updateSpaceCollaboratorRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatchCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nonnull UpdateSpaceCollaboratorRequestBody updateSpaceCollaboratorRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1962,7 +1962,7 @@ public okhttp3.Call updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatchCall(U } @SuppressWarnings("rawtypes") - private okhttp3.Call updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatchValidateBeforeCall(UUID spaceId, UpdateSpaceCollaboratorRequestBody updateSpaceCollaboratorRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatchValidateBeforeCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nonnull UpdateSpaceCollaboratorRequestBody updateSpaceCollaboratorRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'spaceId' is set if (spaceId == null) { throw new ApiException("Missing the required parameter 'spaceId' when calling updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatch(Async)"); @@ -1994,7 +1994,7 @@ private okhttp3.Call updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatchValid 422 Validation Error - */ - public Object updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatch(UUID spaceId, UpdateSpaceCollaboratorRequestBody updateSpaceCollaboratorRequestBody, UUID instanceId, String authorization) throws ApiException { + public Object updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatch(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nonnull UpdateSpaceCollaboratorRequestBody updateSpaceCollaboratorRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatchWithHttpInfo(spaceId, updateSpaceCollaboratorRequestBody, instanceId, authorization); return localVarResp.getData(); } @@ -2016,7 +2016,7 @@ public Object updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatch(UUID spaceI 422 Validation Error - */ - public ApiResponse updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatchWithHttpInfo(UUID spaceId, UpdateSpaceCollaboratorRequestBody updateSpaceCollaboratorRequestBody, UUID instanceId, String authorization) throws ApiException { + public ApiResponse updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatchWithHttpInfo(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nonnull UpdateSpaceCollaboratorRequestBody updateSpaceCollaboratorRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatchValidateBeforeCall(spaceId, updateSpaceCollaboratorRequestBody, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -2040,7 +2040,7 @@ public ApiResponse updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatc 422 Validation Error - */ - public okhttp3.Call updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatchAsync(UUID spaceId, UpdateSpaceCollaboratorRequestBody updateSpaceCollaboratorRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatchAsync(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nonnull UpdateSpaceCollaboratorRequestBody updateSpaceCollaboratorRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatchValidateBeforeCall(spaceId, updateSpaceCollaboratorRequestBody, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -2064,7 +2064,7 @@ public okhttp3.Call updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatchAsync( 422 Validation Error - */ - public okhttp3.Call updateSpaceSpacesSpaceIdPatchCall(UUID spaceId, UpdateSpaceRequestBody updateSpaceRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateSpaceSpacesSpaceIdPatchCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nonnull UpdateSpaceRequestBody updateSpaceRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2120,7 +2120,7 @@ public okhttp3.Call updateSpaceSpacesSpaceIdPatchCall(UUID spaceId, UpdateSpaceR } @SuppressWarnings("rawtypes") - private okhttp3.Call updateSpaceSpacesSpaceIdPatchValidateBeforeCall(UUID spaceId, UpdateSpaceRequestBody updateSpaceRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateSpaceSpacesSpaceIdPatchValidateBeforeCall(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nonnull UpdateSpaceRequestBody updateSpaceRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'spaceId' is set if (spaceId == null) { throw new ApiException("Missing the required parameter 'spaceId' when calling updateSpaceSpacesSpaceIdPatch(Async)"); @@ -2152,7 +2152,7 @@ private okhttp3.Call updateSpaceSpacesSpaceIdPatchValidateBeforeCall(UUID spaceI 422 Validation Error - */ - public Object updateSpaceSpacesSpaceIdPatch(UUID spaceId, UpdateSpaceRequestBody updateSpaceRequestBody, UUID instanceId, String authorization) throws ApiException { + public Object updateSpaceSpacesSpaceIdPatch(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nonnull UpdateSpaceRequestBody updateSpaceRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = updateSpaceSpacesSpaceIdPatchWithHttpInfo(spaceId, updateSpaceRequestBody, instanceId, authorization); return localVarResp.getData(); } @@ -2174,7 +2174,7 @@ public Object updateSpaceSpacesSpaceIdPatch(UUID spaceId, UpdateSpaceRequestBody 422 Validation Error - */ - public ApiResponse updateSpaceSpacesSpaceIdPatchWithHttpInfo(UUID spaceId, UpdateSpaceRequestBody updateSpaceRequestBody, UUID instanceId, String authorization) throws ApiException { + public ApiResponse updateSpaceSpacesSpaceIdPatchWithHttpInfo(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nonnull UpdateSpaceRequestBody updateSpaceRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = updateSpaceSpacesSpaceIdPatchValidateBeforeCall(spaceId, updateSpaceRequestBody, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -2198,7 +2198,7 @@ public ApiResponse updateSpaceSpacesSpaceIdPatchWithHttpInfo(UUID spaceI 422 Validation Error - */ - public okhttp3.Call updateSpaceSpacesSpaceIdPatchAsync(UUID spaceId, UpdateSpaceRequestBody updateSpaceRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateSpaceSpacesSpaceIdPatchAsync(@javax.annotation.Nonnull UUID spaceId, @javax.annotation.Nonnull UpdateSpaceRequestBody updateSpaceRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateSpaceSpacesSpaceIdPatchValidateBeforeCall(spaceId, updateSpaceRequestBody, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/StoragesApi.java b/src/main/java/ai/lamin/lamin_api_client/api/StoragesApi.java index ddea98a..db7342d 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/StoragesApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/StoragesApi.java @@ -93,7 +93,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call grantS3PermissionsStoragesS3BucketNamePermissionsPutCall(String bucketName, S3PermissionsRequest s3PermissionsRequest, String awsAccountId, String awsUserName, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call grantS3PermissionsStoragesS3BucketNamePermissionsPutCall(@javax.annotation.Nonnull String bucketName, @javax.annotation.Nonnull S3PermissionsRequest s3PermissionsRequest, @javax.annotation.Nullable String awsAccountId, @javax.annotation.Nullable String awsUserName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -157,7 +157,7 @@ public okhttp3.Call grantS3PermissionsStoragesS3BucketNamePermissionsPutCall(Str } @SuppressWarnings("rawtypes") - private okhttp3.Call grantS3PermissionsStoragesS3BucketNamePermissionsPutValidateBeforeCall(String bucketName, S3PermissionsRequest s3PermissionsRequest, String awsAccountId, String awsUserName, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call grantS3PermissionsStoragesS3BucketNamePermissionsPutValidateBeforeCall(@javax.annotation.Nonnull String bucketName, @javax.annotation.Nonnull S3PermissionsRequest s3PermissionsRequest, @javax.annotation.Nullable String awsAccountId, @javax.annotation.Nullable String awsUserName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'bucketName' is set if (bucketName == null) { throw new ApiException("Missing the required parameter 'bucketName' when calling grantS3PermissionsStoragesS3BucketNamePermissionsPut(Async)"); @@ -191,7 +191,7 @@ private okhttp3.Call grantS3PermissionsStoragesS3BucketNamePermissionsPutValidat 422 Validation Error - */ - public Object grantS3PermissionsStoragesS3BucketNamePermissionsPut(String bucketName, S3PermissionsRequest s3PermissionsRequest, String awsAccountId, String awsUserName, UUID instanceId, String authorization) throws ApiException { + public Object grantS3PermissionsStoragesS3BucketNamePermissionsPut(@javax.annotation.Nonnull String bucketName, @javax.annotation.Nonnull S3PermissionsRequest s3PermissionsRequest, @javax.annotation.Nullable String awsAccountId, @javax.annotation.Nullable String awsUserName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = grantS3PermissionsStoragesS3BucketNamePermissionsPutWithHttpInfo(bucketName, s3PermissionsRequest, awsAccountId, awsUserName, instanceId, authorization); return localVarResp.getData(); } @@ -215,7 +215,7 @@ public Object grantS3PermissionsStoragesS3BucketNamePermissionsPut(String bucket 422 Validation Error - */ - public ApiResponse grantS3PermissionsStoragesS3BucketNamePermissionsPutWithHttpInfo(String bucketName, S3PermissionsRequest s3PermissionsRequest, String awsAccountId, String awsUserName, UUID instanceId, String authorization) throws ApiException { + public ApiResponse grantS3PermissionsStoragesS3BucketNamePermissionsPutWithHttpInfo(@javax.annotation.Nonnull String bucketName, @javax.annotation.Nonnull S3PermissionsRequest s3PermissionsRequest, @javax.annotation.Nullable String awsAccountId, @javax.annotation.Nullable String awsUserName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = grantS3PermissionsStoragesS3BucketNamePermissionsPutValidateBeforeCall(bucketName, s3PermissionsRequest, awsAccountId, awsUserName, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -241,7 +241,7 @@ public ApiResponse grantS3PermissionsStoragesS3BucketNamePermissionsPutW 422 Validation Error - */ - public okhttp3.Call grantS3PermissionsStoragesS3BucketNamePermissionsPutAsync(String bucketName, S3PermissionsRequest s3PermissionsRequest, String awsAccountId, String awsUserName, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call grantS3PermissionsStoragesS3BucketNamePermissionsPutAsync(@javax.annotation.Nonnull String bucketName, @javax.annotation.Nonnull S3PermissionsRequest s3PermissionsRequest, @javax.annotation.Nullable String awsAccountId, @javax.annotation.Nullable String awsUserName, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = grantS3PermissionsStoragesS3BucketNamePermissionsPutValidateBeforeCall(bucketName, s3PermissionsRequest, awsAccountId, awsUserName, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/api/TeamsApi.java b/src/main/java/ai/lamin/lamin_api_client/api/TeamsApi.java index 1d08bbe..cbc6ba3 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/TeamsApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/TeamsApi.java @@ -95,7 +95,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Validation Error - */ - public okhttp3.Call addTeamMemberTeamsTeamIdMembersAccountIdPutCall(UUID teamId, UUID accountId, AddTeamMemberRequestBody addTeamMemberRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call addTeamMemberTeamsTeamIdMembersAccountIdPutCall(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull AddTeamMemberRequestBody addTeamMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -152,7 +152,7 @@ public okhttp3.Call addTeamMemberTeamsTeamIdMembersAccountIdPutCall(UUID teamId, } @SuppressWarnings("rawtypes") - private okhttp3.Call addTeamMemberTeamsTeamIdMembersAccountIdPutValidateBeforeCall(UUID teamId, UUID accountId, AddTeamMemberRequestBody addTeamMemberRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call addTeamMemberTeamsTeamIdMembersAccountIdPutValidateBeforeCall(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull AddTeamMemberRequestBody addTeamMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'teamId' is set if (teamId == null) { throw new ApiException("Missing the required parameter 'teamId' when calling addTeamMemberTeamsTeamIdMembersAccountIdPut(Async)"); @@ -190,7 +190,7 @@ private okhttp3.Call addTeamMemberTeamsTeamIdMembersAccountIdPutValidateBeforeCa 422 Validation Error - */ - public Object addTeamMemberTeamsTeamIdMembersAccountIdPut(UUID teamId, UUID accountId, AddTeamMemberRequestBody addTeamMemberRequestBody, UUID instanceId, String authorization) throws ApiException { + public Object addTeamMemberTeamsTeamIdMembersAccountIdPut(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull AddTeamMemberRequestBody addTeamMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = addTeamMemberTeamsTeamIdMembersAccountIdPutWithHttpInfo(teamId, accountId, addTeamMemberRequestBody, instanceId, authorization); return localVarResp.getData(); } @@ -213,7 +213,7 @@ public Object addTeamMemberTeamsTeamIdMembersAccountIdPut(UUID teamId, UUID acco 422 Validation Error - */ - public ApiResponse addTeamMemberTeamsTeamIdMembersAccountIdPutWithHttpInfo(UUID teamId, UUID accountId, AddTeamMemberRequestBody addTeamMemberRequestBody, UUID instanceId, String authorization) throws ApiException { + public ApiResponse addTeamMemberTeamsTeamIdMembersAccountIdPutWithHttpInfo(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull AddTeamMemberRequestBody addTeamMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = addTeamMemberTeamsTeamIdMembersAccountIdPutValidateBeforeCall(teamId, accountId, addTeamMemberRequestBody, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -238,7 +238,7 @@ public ApiResponse addTeamMemberTeamsTeamIdMembersAccountIdPutWithHttpIn 422 Validation Error - */ - public okhttp3.Call addTeamMemberTeamsTeamIdMembersAccountIdPutAsync(UUID teamId, UUID accountId, AddTeamMemberRequestBody addTeamMemberRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call addTeamMemberTeamsTeamIdMembersAccountIdPutAsync(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull AddTeamMemberRequestBody addTeamMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = addTeamMemberTeamsTeamIdMembersAccountIdPutValidateBeforeCall(teamId, accountId, addTeamMemberRequestBody, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -261,7 +261,7 @@ public okhttp3.Call addTeamMemberTeamsTeamIdMembersAccountIdPutAsync(UUID teamId 422 Validation Error - */ - public okhttp3.Call createTeamTeamsPutCall(CreateTeamRequestBody createTeamRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createTeamTeamsPutCall(@javax.annotation.Nonnull CreateTeamRequestBody createTeamRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -316,7 +316,7 @@ public okhttp3.Call createTeamTeamsPutCall(CreateTeamRequestBody createTeamReque } @SuppressWarnings("rawtypes") - private okhttp3.Call createTeamTeamsPutValidateBeforeCall(CreateTeamRequestBody createTeamRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createTeamTeamsPutValidateBeforeCall(@javax.annotation.Nonnull CreateTeamRequestBody createTeamRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'createTeamRequestBody' is set if (createTeamRequestBody == null) { throw new ApiException("Missing the required parameter 'createTeamRequestBody' when calling createTeamTeamsPut(Async)"); @@ -342,7 +342,7 @@ private okhttp3.Call createTeamTeamsPutValidateBeforeCall(CreateTeamRequestBody 422 Validation Error - */ - public Object createTeamTeamsPut(CreateTeamRequestBody createTeamRequestBody, UUID instanceId, String authorization) throws ApiException { + public Object createTeamTeamsPut(@javax.annotation.Nonnull CreateTeamRequestBody createTeamRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = createTeamTeamsPutWithHttpInfo(createTeamRequestBody, instanceId, authorization); return localVarResp.getData(); } @@ -363,7 +363,7 @@ public Object createTeamTeamsPut(CreateTeamRequestBody createTeamRequestBody, UU 422 Validation Error - */ - public ApiResponse createTeamTeamsPutWithHttpInfo(CreateTeamRequestBody createTeamRequestBody, UUID instanceId, String authorization) throws ApiException { + public ApiResponse createTeamTeamsPutWithHttpInfo(@javax.annotation.Nonnull CreateTeamRequestBody createTeamRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = createTeamTeamsPutValidateBeforeCall(createTeamRequestBody, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -386,7 +386,7 @@ public ApiResponse createTeamTeamsPutWithHttpInfo(CreateTeamRequestBody 422 Validation Error - */ - public okhttp3.Call createTeamTeamsPutAsync(CreateTeamRequestBody createTeamRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createTeamTeamsPutAsync(@javax.annotation.Nonnull CreateTeamRequestBody createTeamRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = createTeamTeamsPutValidateBeforeCall(createTeamRequestBody, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -409,7 +409,7 @@ public okhttp3.Call createTeamTeamsPutAsync(CreateTeamRequestBody createTeamRequ 422 Validation Error - */ - public okhttp3.Call deleteTeamTeamsTeamIdDeleteCall(UUID teamId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteTeamTeamsTeamIdDeleteCall(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -464,7 +464,7 @@ public okhttp3.Call deleteTeamTeamsTeamIdDeleteCall(UUID teamId, UUID instanceId } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteTeamTeamsTeamIdDeleteValidateBeforeCall(UUID teamId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteTeamTeamsTeamIdDeleteValidateBeforeCall(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'teamId' is set if (teamId == null) { throw new ApiException("Missing the required parameter 'teamId' when calling deleteTeamTeamsTeamIdDelete(Async)"); @@ -490,7 +490,7 @@ private okhttp3.Call deleteTeamTeamsTeamIdDeleteValidateBeforeCall(UUID teamId, 422 Validation Error - */ - public Object deleteTeamTeamsTeamIdDelete(UUID teamId, UUID instanceId, String authorization) throws ApiException { + public Object deleteTeamTeamsTeamIdDelete(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = deleteTeamTeamsTeamIdDeleteWithHttpInfo(teamId, instanceId, authorization); return localVarResp.getData(); } @@ -511,7 +511,7 @@ public Object deleteTeamTeamsTeamIdDelete(UUID teamId, UUID instanceId, String a 422 Validation Error - */ - public ApiResponse deleteTeamTeamsTeamIdDeleteWithHttpInfo(UUID teamId, UUID instanceId, String authorization) throws ApiException { + public ApiResponse deleteTeamTeamsTeamIdDeleteWithHttpInfo(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = deleteTeamTeamsTeamIdDeleteValidateBeforeCall(teamId, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -534,7 +534,7 @@ public ApiResponse deleteTeamTeamsTeamIdDeleteWithHttpInfo(UUID teamId, 422 Validation Error - */ - public okhttp3.Call deleteTeamTeamsTeamIdDeleteAsync(UUID teamId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteTeamTeamsTeamIdDeleteAsync(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteTeamTeamsTeamIdDeleteValidateBeforeCall(teamId, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -557,7 +557,7 @@ public okhttp3.Call deleteTeamTeamsTeamIdDeleteAsync(UUID teamId, UUID instanceI 422 Validation Error - */ - public okhttp3.Call getTeamTeamsTeamIdGetCall(UUID teamId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getTeamTeamsTeamIdGetCall(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -612,7 +612,7 @@ public okhttp3.Call getTeamTeamsTeamIdGetCall(UUID teamId, UUID instanceId, Stri } @SuppressWarnings("rawtypes") - private okhttp3.Call getTeamTeamsTeamIdGetValidateBeforeCall(UUID teamId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getTeamTeamsTeamIdGetValidateBeforeCall(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'teamId' is set if (teamId == null) { throw new ApiException("Missing the required parameter 'teamId' when calling getTeamTeamsTeamIdGet(Async)"); @@ -638,7 +638,7 @@ private okhttp3.Call getTeamTeamsTeamIdGetValidateBeforeCall(UUID teamId, UUID i 422 Validation Error - */ - public Object getTeamTeamsTeamIdGet(UUID teamId, UUID instanceId, String authorization) throws ApiException { + public Object getTeamTeamsTeamIdGet(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = getTeamTeamsTeamIdGetWithHttpInfo(teamId, instanceId, authorization); return localVarResp.getData(); } @@ -659,7 +659,7 @@ public Object getTeamTeamsTeamIdGet(UUID teamId, UUID instanceId, String authori 422 Validation Error - */ - public ApiResponse getTeamTeamsTeamIdGetWithHttpInfo(UUID teamId, UUID instanceId, String authorization) throws ApiException { + public ApiResponse getTeamTeamsTeamIdGetWithHttpInfo(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = getTeamTeamsTeamIdGetValidateBeforeCall(teamId, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -682,7 +682,7 @@ public ApiResponse getTeamTeamsTeamIdGetWithHttpInfo(UUID teamId, UUID i 422 Validation Error - */ - public okhttp3.Call getTeamTeamsTeamIdGetAsync(UUID teamId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getTeamTeamsTeamIdGetAsync(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getTeamTeamsTeamIdGetValidateBeforeCall(teamId, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -705,7 +705,7 @@ public okhttp3.Call getTeamTeamsTeamIdGetAsync(UUID teamId, UUID instanceId, Str 422 Validation Error - */ - public okhttp3.Call listOrganizationTeamsTeamsOrganizationsOrganizationIdGetCall(UUID organizationId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listOrganizationTeamsTeamsOrganizationsOrganizationIdGetCall(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -760,7 +760,7 @@ public okhttp3.Call listOrganizationTeamsTeamsOrganizationsOrganizationIdGetCall } @SuppressWarnings("rawtypes") - private okhttp3.Call listOrganizationTeamsTeamsOrganizationsOrganizationIdGetValidateBeforeCall(UUID organizationId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listOrganizationTeamsTeamsOrganizationsOrganizationIdGetValidateBeforeCall(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'organizationId' is set if (organizationId == null) { throw new ApiException("Missing the required parameter 'organizationId' when calling listOrganizationTeamsTeamsOrganizationsOrganizationIdGet(Async)"); @@ -786,7 +786,7 @@ private okhttp3.Call listOrganizationTeamsTeamsOrganizationsOrganizationIdGetVal 422 Validation Error - */ - public Object listOrganizationTeamsTeamsOrganizationsOrganizationIdGet(UUID organizationId, UUID instanceId, String authorization) throws ApiException { + public Object listOrganizationTeamsTeamsOrganizationsOrganizationIdGet(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = listOrganizationTeamsTeamsOrganizationsOrganizationIdGetWithHttpInfo(organizationId, instanceId, authorization); return localVarResp.getData(); } @@ -807,7 +807,7 @@ public Object listOrganizationTeamsTeamsOrganizationsOrganizationIdGet(UUID orga 422 Validation Error - */ - public ApiResponse listOrganizationTeamsTeamsOrganizationsOrganizationIdGetWithHttpInfo(UUID organizationId, UUID instanceId, String authorization) throws ApiException { + public ApiResponse listOrganizationTeamsTeamsOrganizationsOrganizationIdGetWithHttpInfo(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = listOrganizationTeamsTeamsOrganizationsOrganizationIdGetValidateBeforeCall(organizationId, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -830,7 +830,7 @@ public ApiResponse listOrganizationTeamsTeamsOrganizationsOrganizationId 422 Validation Error - */ - public okhttp3.Call listOrganizationTeamsTeamsOrganizationsOrganizationIdGetAsync(UUID organizationId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listOrganizationTeamsTeamsOrganizationsOrganizationIdGetAsync(@javax.annotation.Nonnull UUID organizationId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = listOrganizationTeamsTeamsOrganizationsOrganizationIdGetValidateBeforeCall(organizationId, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -853,7 +853,7 @@ public okhttp3.Call listOrganizationTeamsTeamsOrganizationsOrganizationIdGetAsyn 422 Validation Error - */ - public okhttp3.Call listTeamMembersTeamsTeamIdMembersGetCall(UUID teamId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listTeamMembersTeamsTeamIdMembersGetCall(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -908,7 +908,7 @@ public okhttp3.Call listTeamMembersTeamsTeamIdMembersGetCall(UUID teamId, UUID i } @SuppressWarnings("rawtypes") - private okhttp3.Call listTeamMembersTeamsTeamIdMembersGetValidateBeforeCall(UUID teamId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listTeamMembersTeamsTeamIdMembersGetValidateBeforeCall(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'teamId' is set if (teamId == null) { throw new ApiException("Missing the required parameter 'teamId' when calling listTeamMembersTeamsTeamIdMembersGet(Async)"); @@ -934,7 +934,7 @@ private okhttp3.Call listTeamMembersTeamsTeamIdMembersGetValidateBeforeCall(UUID 422 Validation Error - */ - public Object listTeamMembersTeamsTeamIdMembersGet(UUID teamId, UUID instanceId, String authorization) throws ApiException { + public Object listTeamMembersTeamsTeamIdMembersGet(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = listTeamMembersTeamsTeamIdMembersGetWithHttpInfo(teamId, instanceId, authorization); return localVarResp.getData(); } @@ -955,7 +955,7 @@ public Object listTeamMembersTeamsTeamIdMembersGet(UUID teamId, UUID instanceId, 422 Validation Error - */ - public ApiResponse listTeamMembersTeamsTeamIdMembersGetWithHttpInfo(UUID teamId, UUID instanceId, String authorization) throws ApiException { + public ApiResponse listTeamMembersTeamsTeamIdMembersGetWithHttpInfo(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = listTeamMembersTeamsTeamIdMembersGetValidateBeforeCall(teamId, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -978,7 +978,7 @@ public ApiResponse listTeamMembersTeamsTeamIdMembersGetWithHttpInfo(UUID 422 Validation Error - */ - public okhttp3.Call listTeamMembersTeamsTeamIdMembersGetAsync(UUID teamId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listTeamMembersTeamsTeamIdMembersGetAsync(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = listTeamMembersTeamsTeamIdMembersGetValidateBeforeCall(teamId, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1002,7 +1002,7 @@ public okhttp3.Call listTeamMembersTeamsTeamIdMembersGetAsync(UUID teamId, UUID 422 Validation Error - */ - public okhttp3.Call removeTeamMemberTeamsTeamIdMembersAccountIdDeleteCall(UUID teamId, UUID accountId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call removeTeamMemberTeamsTeamIdMembersAccountIdDeleteCall(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1058,7 +1058,7 @@ public okhttp3.Call removeTeamMemberTeamsTeamIdMembersAccountIdDeleteCall(UUID t } @SuppressWarnings("rawtypes") - private okhttp3.Call removeTeamMemberTeamsTeamIdMembersAccountIdDeleteValidateBeforeCall(UUID teamId, UUID accountId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call removeTeamMemberTeamsTeamIdMembersAccountIdDeleteValidateBeforeCall(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'teamId' is set if (teamId == null) { throw new ApiException("Missing the required parameter 'teamId' when calling removeTeamMemberTeamsTeamIdMembersAccountIdDelete(Async)"); @@ -1090,7 +1090,7 @@ private okhttp3.Call removeTeamMemberTeamsTeamIdMembersAccountIdDeleteValidateBe 422 Validation Error - */ - public Object removeTeamMemberTeamsTeamIdMembersAccountIdDelete(UUID teamId, UUID accountId, UUID instanceId, String authorization) throws ApiException { + public Object removeTeamMemberTeamsTeamIdMembersAccountIdDelete(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = removeTeamMemberTeamsTeamIdMembersAccountIdDeleteWithHttpInfo(teamId, accountId, instanceId, authorization); return localVarResp.getData(); } @@ -1112,7 +1112,7 @@ public Object removeTeamMemberTeamsTeamIdMembersAccountIdDelete(UUID teamId, UUI 422 Validation Error - */ - public ApiResponse removeTeamMemberTeamsTeamIdMembersAccountIdDeleteWithHttpInfo(UUID teamId, UUID accountId, UUID instanceId, String authorization) throws ApiException { + public ApiResponse removeTeamMemberTeamsTeamIdMembersAccountIdDeleteWithHttpInfo(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = removeTeamMemberTeamsTeamIdMembersAccountIdDeleteValidateBeforeCall(teamId, accountId, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1136,7 +1136,7 @@ public ApiResponse removeTeamMemberTeamsTeamIdMembersAccountIdDeleteWith 422 Validation Error - */ - public okhttp3.Call removeTeamMemberTeamsTeamIdMembersAccountIdDeleteAsync(UUID teamId, UUID accountId, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call removeTeamMemberTeamsTeamIdMembersAccountIdDeleteAsync(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = removeTeamMemberTeamsTeamIdMembersAccountIdDeleteValidateBeforeCall(teamId, accountId, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1161,7 +1161,7 @@ public okhttp3.Call removeTeamMemberTeamsTeamIdMembersAccountIdDeleteAsync(UUID 422 Validation Error - */ - public okhttp3.Call updateTeamMemberTeamsTeamIdMembersAccountIdPatchCall(UUID teamId, UUID accountId, UpdateTeamMemberRequestBody updateTeamMemberRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateTeamMemberTeamsTeamIdMembersAccountIdPatchCall(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull UpdateTeamMemberRequestBody updateTeamMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1218,7 +1218,7 @@ public okhttp3.Call updateTeamMemberTeamsTeamIdMembersAccountIdPatchCall(UUID te } @SuppressWarnings("rawtypes") - private okhttp3.Call updateTeamMemberTeamsTeamIdMembersAccountIdPatchValidateBeforeCall(UUID teamId, UUID accountId, UpdateTeamMemberRequestBody updateTeamMemberRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateTeamMemberTeamsTeamIdMembersAccountIdPatchValidateBeforeCall(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull UpdateTeamMemberRequestBody updateTeamMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'teamId' is set if (teamId == null) { throw new ApiException("Missing the required parameter 'teamId' when calling updateTeamMemberTeamsTeamIdMembersAccountIdPatch(Async)"); @@ -1256,7 +1256,7 @@ private okhttp3.Call updateTeamMemberTeamsTeamIdMembersAccountIdPatchValidateBef 422 Validation Error - */ - public Object updateTeamMemberTeamsTeamIdMembersAccountIdPatch(UUID teamId, UUID accountId, UpdateTeamMemberRequestBody updateTeamMemberRequestBody, UUID instanceId, String authorization) throws ApiException { + public Object updateTeamMemberTeamsTeamIdMembersAccountIdPatch(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull UpdateTeamMemberRequestBody updateTeamMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = updateTeamMemberTeamsTeamIdMembersAccountIdPatchWithHttpInfo(teamId, accountId, updateTeamMemberRequestBody, instanceId, authorization); return localVarResp.getData(); } @@ -1279,7 +1279,7 @@ public Object updateTeamMemberTeamsTeamIdMembersAccountIdPatch(UUID teamId, UUID 422 Validation Error - */ - public ApiResponse updateTeamMemberTeamsTeamIdMembersAccountIdPatchWithHttpInfo(UUID teamId, UUID accountId, UpdateTeamMemberRequestBody updateTeamMemberRequestBody, UUID instanceId, String authorization) throws ApiException { + public ApiResponse updateTeamMemberTeamsTeamIdMembersAccountIdPatchWithHttpInfo(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull UpdateTeamMemberRequestBody updateTeamMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = updateTeamMemberTeamsTeamIdMembersAccountIdPatchValidateBeforeCall(teamId, accountId, updateTeamMemberRequestBody, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1304,7 +1304,7 @@ public ApiResponse updateTeamMemberTeamsTeamIdMembersAccountIdPatchWithH 422 Validation Error - */ - public okhttp3.Call updateTeamMemberTeamsTeamIdMembersAccountIdPatchAsync(UUID teamId, UUID accountId, UpdateTeamMemberRequestBody updateTeamMemberRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateTeamMemberTeamsTeamIdMembersAccountIdPatchAsync(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UUID accountId, @javax.annotation.Nonnull UpdateTeamMemberRequestBody updateTeamMemberRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateTeamMemberTeamsTeamIdMembersAccountIdPatchValidateBeforeCall(teamId, accountId, updateTeamMemberRequestBody, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1328,7 +1328,7 @@ public okhttp3.Call updateTeamMemberTeamsTeamIdMembersAccountIdPatchAsync(UUID t 422 Validation Error - */ - public okhttp3.Call updateTeamTeamsTeamIdPatchCall(UUID teamId, UpdateTeamRequestBody updateTeamRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateTeamTeamsTeamIdPatchCall(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UpdateTeamRequestBody updateTeamRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1384,7 +1384,7 @@ public okhttp3.Call updateTeamTeamsTeamIdPatchCall(UUID teamId, UpdateTeamReques } @SuppressWarnings("rawtypes") - private okhttp3.Call updateTeamTeamsTeamIdPatchValidateBeforeCall(UUID teamId, UpdateTeamRequestBody updateTeamRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateTeamTeamsTeamIdPatchValidateBeforeCall(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UpdateTeamRequestBody updateTeamRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { // verify the required parameter 'teamId' is set if (teamId == null) { throw new ApiException("Missing the required parameter 'teamId' when calling updateTeamTeamsTeamIdPatch(Async)"); @@ -1416,7 +1416,7 @@ private okhttp3.Call updateTeamTeamsTeamIdPatchValidateBeforeCall(UUID teamId, U 422 Validation Error - */ - public Object updateTeamTeamsTeamIdPatch(UUID teamId, UpdateTeamRequestBody updateTeamRequestBody, UUID instanceId, String authorization) throws ApiException { + public Object updateTeamTeamsTeamIdPatch(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UpdateTeamRequestBody updateTeamRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { ApiResponse localVarResp = updateTeamTeamsTeamIdPatchWithHttpInfo(teamId, updateTeamRequestBody, instanceId, authorization); return localVarResp.getData(); } @@ -1438,7 +1438,7 @@ public Object updateTeamTeamsTeamIdPatch(UUID teamId, UpdateTeamRequestBody upda 422 Validation Error - */ - public ApiResponse updateTeamTeamsTeamIdPatchWithHttpInfo(UUID teamId, UpdateTeamRequestBody updateTeamRequestBody, UUID instanceId, String authorization) throws ApiException { + public ApiResponse updateTeamTeamsTeamIdPatchWithHttpInfo(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UpdateTeamRequestBody updateTeamRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization) throws ApiException { okhttp3.Call localVarCall = updateTeamTeamsTeamIdPatchValidateBeforeCall(teamId, updateTeamRequestBody, instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1462,7 +1462,7 @@ public ApiResponse updateTeamTeamsTeamIdPatchWithHttpInfo(UUID teamId, U 422 Validation Error - */ - public okhttp3.Call updateTeamTeamsTeamIdPatchAsync(UUID teamId, UpdateTeamRequestBody updateTeamRequestBody, UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateTeamTeamsTeamIdPatchAsync(@javax.annotation.Nonnull UUID teamId, @javax.annotation.Nonnull UpdateTeamRequestBody updateTeamRequestBody, @javax.annotation.Nullable UUID instanceId, @javax.annotation.Nullable String authorization, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateTeamTeamsTeamIdPatchValidateBeforeCall(teamId, updateTeamRequestBody, instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/ai/lamin/lamin_api_client/auth/ApiKeyAuth.java b/src/main/java/ai/lamin/lamin_api_client/auth/ApiKeyAuth.java index 1abc0c7..0752b63 100644 --- a/src/main/java/ai/lamin/lamin_api_client/auth/ApiKeyAuth.java +++ b/src/main/java/ai/lamin/lamin_api_client/auth/ApiKeyAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/ai/lamin/lamin_api_client/auth/Authentication.java b/src/main/java/ai/lamin/lamin_api_client/auth/Authentication.java index 4561b57..de28a4c 100644 --- a/src/main/java/ai/lamin/lamin_api_client/auth/Authentication.java +++ b/src/main/java/ai/lamin/lamin_api_client/auth/Authentication.java @@ -20,6 +20,7 @@ import java.util.Map; import java.util.List; +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public interface Authentication { /** * Apply authentication settings to header and query params. diff --git a/src/main/java/ai/lamin/lamin_api_client/auth/HttpBearerAuth.java b/src/main/java/ai/lamin/lamin_api_client/auth/HttpBearerAuth.java index 10549de..69dc0de 100644 --- a/src/main/java/ai/lamin/lamin_api_client/auth/HttpBearerAuth.java +++ b/src/main/java/ai/lamin/lamin_api_client/auth/HttpBearerAuth.java @@ -22,7 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/src/main/java/ai/lamin/lamin_api_client/model/AbstractOpenApiSchema.java b/src/main/java/ai/lamin/lamin_api_client/model/AbstractOpenApiSchema.java index 965da0d..5b53a98 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/AbstractOpenApiSchema.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/AbstractOpenApiSchema.java @@ -21,7 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/ai/lamin/lamin_api_client/model/AddCollaboratorRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/AddCollaboratorRequestBody.java index 10fed2b..9a3f39e 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/AddCollaboratorRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/AddCollaboratorRequestBody.java @@ -50,7 +50,7 @@ /** * AddCollaboratorRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class AddCollaboratorRequestBody { public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) @@ -240,13 +240,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("account_id"); - openapiFields.add("team_id"); - openapiFields.add("role"); + openapiFields = new HashSet(Arrays.asList("account_id", "team_id", "role")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -258,7 +255,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!AddCollaboratorRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in AddCollaboratorRequestBody is not found in the empty JSON string", AddCollaboratorRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in AddCollaboratorRequestBody is not found in the empty JSON string", AddCollaboratorRequestBody.openapiRequiredFields.toString())); } } @@ -266,18 +263,18 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddCollaboratorRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AddCollaboratorRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddCollaboratorRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("account_id") != null && !jsonObj.get("account_id").isJsonNull()) && !jsonObj.get("account_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `account_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("account_id").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `account_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("account_id").toString())); } if ((jsonObj.get("team_id") != null && !jsonObj.get("team_id").isJsonNull()) && !jsonObj.get("team_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `team_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("team_id").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `team_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("team_id").toString())); } if ((jsonObj.get("role") != null && !jsonObj.get("role").isJsonNull()) && !jsonObj.get("role").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("role").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("role").toString())); } // validate the optional field `role` if (jsonObj.get("role") != null && !jsonObj.get("role").isJsonNull()) { diff --git a/src/main/java/ai/lamin/lamin_api_client/model/AddOrganizationMemberRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/AddOrganizationMemberRequestBody.java index c637c20..b0602dc 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/AddOrganizationMemberRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/AddOrganizationMemberRequestBody.java @@ -48,7 +48,7 @@ /** * AddOrganizationMemberRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class AddOrganizationMemberRequestBody { /** * Gets or Sets role @@ -177,11 +177,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("role"); + openapiFields = new HashSet(Arrays.asList("role")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -193,7 +192,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!AddOrganizationMemberRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in AddOrganizationMemberRequestBody is not found in the empty JSON string", AddOrganizationMemberRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in AddOrganizationMemberRequestBody is not found in the empty JSON string", AddOrganizationMemberRequestBody.openapiRequiredFields.toString())); } } @@ -201,12 +200,12 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddOrganizationMemberRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AddOrganizationMemberRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddOrganizationMemberRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("role") != null && !jsonObj.get("role").isJsonNull()) && !jsonObj.get("role").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("role").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("role").toString())); } // validate the optional field `role` if (jsonObj.get("role") != null && !jsonObj.get("role").isJsonNull()) { diff --git a/src/main/java/ai/lamin/lamin_api_client/model/AddSpaceCollaboratorRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/AddSpaceCollaboratorRequestBody.java index 8ca4a41..a8ba48f 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/AddSpaceCollaboratorRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/AddSpaceCollaboratorRequestBody.java @@ -50,7 +50,7 @@ /** * AddSpaceCollaboratorRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class AddSpaceCollaboratorRequestBody { public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) @@ -240,13 +240,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("account_id"); - openapiFields.add("team_id"); - openapiFields.add("role"); + openapiFields = new HashSet(Arrays.asList("account_id", "team_id", "role")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -258,7 +255,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!AddSpaceCollaboratorRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in AddSpaceCollaboratorRequestBody is not found in the empty JSON string", AddSpaceCollaboratorRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in AddSpaceCollaboratorRequestBody is not found in the empty JSON string", AddSpaceCollaboratorRequestBody.openapiRequiredFields.toString())); } } @@ -266,18 +263,18 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddSpaceCollaboratorRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AddSpaceCollaboratorRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddSpaceCollaboratorRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("account_id") != null && !jsonObj.get("account_id").isJsonNull()) && !jsonObj.get("account_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `account_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("account_id").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `account_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("account_id").toString())); } if ((jsonObj.get("team_id") != null && !jsonObj.get("team_id").isJsonNull()) && !jsonObj.get("team_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `team_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("team_id").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `team_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("team_id").toString())); } if ((jsonObj.get("role") != null && !jsonObj.get("role").isJsonNull()) && !jsonObj.get("role").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("role").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("role").toString())); } // validate the optional field `role` if (jsonObj.get("role") != null && !jsonObj.get("role").isJsonNull()) { diff --git a/src/main/java/ai/lamin/lamin_api_client/model/AddTeamMemberRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/AddTeamMemberRequestBody.java index e29ac65..f6abba1 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/AddTeamMemberRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/AddTeamMemberRequestBody.java @@ -14,7 +14,6 @@ package ai.lamin.lamin_api_client.model; import java.util.Objects; -import ai.lamin.lamin_api_client.model.Role; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,17 +48,73 @@ /** * AddTeamMemberRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class AddTeamMemberRequestBody { + /** + * Gets or Sets role + */ + @JsonAdapter(RoleEnum.Adapter.class) + public enum RoleEnum { + ADMIN("admin"), + + MEMBER("member"), + + MANAGER("manager"), + + GUEST("guest"); + + private String value; + + RoleEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static RoleEnum fromValue(String value) { + for (RoleEnum b : RoleEnum.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 RoleEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public RoleEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return RoleEnum.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + RoleEnum.fromValue(value); + } + } + public static final String SERIALIZED_NAME_ROLE = "role"; @SerializedName(SERIALIZED_NAME_ROLE) @javax.annotation.Nullable - private Role role; + private RoleEnum role = RoleEnum.MEMBER; public AddTeamMemberRequestBody() { } - public AddTeamMemberRequestBody role(@javax.annotation.Nullable Role role) { + public AddTeamMemberRequestBody role(@javax.annotation.Nullable RoleEnum role) { this.role = role; return this; } @@ -69,11 +124,11 @@ public AddTeamMemberRequestBody role(@javax.annotation.Nullable Role role) { * @return role */ @javax.annotation.Nullable - public Role getRole() { + public RoleEnum getRole() { return role; } - public void setRole(@javax.annotation.Nullable Role role) { + public void setRole(@javax.annotation.Nullable RoleEnum role) { this.role = role; } @@ -122,11 +177,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("role"); + openapiFields = new HashSet(Arrays.asList("role")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -138,7 +192,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!AddTeamMemberRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in AddTeamMemberRequestBody is not found in the empty JSON string", AddTeamMemberRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in AddTeamMemberRequestBody is not found in the empty JSON string", AddTeamMemberRequestBody.openapiRequiredFields.toString())); } } @@ -146,13 +200,16 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddTeamMemberRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AddTeamMemberRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddTeamMemberRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("role") != null && !jsonObj.get("role").isJsonNull()) && !jsonObj.get("role").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("role").toString())); + } // validate the optional field `role` if (jsonObj.get("role") != null && !jsonObj.get("role").isJsonNull()) { - Role.validateJsonElement(jsonObj.get("role")); + RoleEnum.validateJsonElement(jsonObj.get("role")); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/AttachSpaceToRecordRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/AttachSpaceToRecordRequestBody.java index b7ed061..306b5cf 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/AttachSpaceToRecordRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/AttachSpaceToRecordRequestBody.java @@ -48,7 +48,7 @@ /** * AttachSpaceToRecordRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class AttachSpaceToRecordRequestBody { public static final String SERIALIZED_NAME_MODULE_NAME = "module_name"; @SerializedName(SERIALIZED_NAME_MODULE_NAME) @@ -173,16 +173,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("module_name"); - openapiFields.add("model_name"); - openapiFields.add("record_id"); + openapiFields = new HashSet(Arrays.asList("module_name", "model_name", "record_id")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("module_name"); - openapiRequiredFields.add("model_name"); - openapiRequiredFields.add("record_id"); + openapiRequiredFields = new HashSet(Arrays.asList("module_name", "model_name", "record_id")); } /** @@ -194,7 +188,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!AttachSpaceToRecordRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in AttachSpaceToRecordRequestBody is not found in the empty JSON string", AttachSpaceToRecordRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in AttachSpaceToRecordRequestBody is not found in the empty JSON string", AttachSpaceToRecordRequestBody.openapiRequiredFields.toString())); } } @@ -202,22 +196,22 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AttachSpaceToRecordRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AttachSpaceToRecordRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AttachSpaceToRecordRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AttachSpaceToRecordRequestBody.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("module_name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `module_name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("module_name").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `module_name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("module_name").toString())); } if (!jsonObj.get("model_name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `model_name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("model_name").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `model_name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("model_name").toString())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/BatchDeleteBody.java b/src/main/java/ai/lamin/lamin_api_client/model/BatchDeleteBody.java index d999f0e..4f2000f 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/BatchDeleteBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/BatchDeleteBody.java @@ -51,7 +51,7 @@ /** * BatchDeleteBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class BatchDeleteBody { public static final String SERIALIZED_NAME_RECORDS = "records"; @SerializedName(SERIALIZED_NAME_RECORDS) @@ -132,12 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("records"); + openapiFields = new HashSet(Arrays.asList("records")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("records"); + openapiRequiredFields = new HashSet(Arrays.asList("records")); } /** @@ -149,7 +147,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!BatchDeleteBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in BatchDeleteBody is not found in the empty JSON string", BatchDeleteBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in BatchDeleteBody is not found in the empty JSON string", BatchDeleteBody.openapiRequiredFields.toString())); } } @@ -157,14 +155,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!BatchDeleteBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `BatchDeleteBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `BatchDeleteBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : BatchDeleteBody.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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(); @@ -172,7 +170,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonObj.get("records") == null) { throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); } else if (!jsonObj.get("records").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `records` to be an array in the JSON string but got `%s`", jsonObj.get("records").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `records` to be an array in the JSON string but got `%s`", jsonObj.get("records").toString())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/BatchDeleteResponse.java b/src/main/java/ai/lamin/lamin_api_client/model/BatchDeleteResponse.java index c710246..5611a1b 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/BatchDeleteResponse.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/BatchDeleteResponse.java @@ -48,7 +48,7 @@ /** * BatchDeleteResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class BatchDeleteResponse { public static final String SERIALIZED_NAME_DELETED_COUNT = "deleted_count"; @SerializedName(SERIALIZED_NAME_DELETED_COUNT) @@ -121,12 +121,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("deleted_count"); + openapiFields = new HashSet(Arrays.asList("deleted_count")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("deleted_count"); + openapiRequiredFields = new HashSet(Arrays.asList("deleted_count")); } /** @@ -138,7 +136,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!BatchDeleteResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in BatchDeleteResponse is not found in the empty JSON string", BatchDeleteResponse.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in BatchDeleteResponse is not found in the empty JSON string", BatchDeleteResponse.openapiRequiredFields.toString())); } } @@ -146,14 +144,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!BatchDeleteResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `BatchDeleteResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `BatchDeleteResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : BatchDeleteResponse.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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(); diff --git a/src/main/java/ai/lamin/lamin_api_client/model/BatchSyncLinksBody.java b/src/main/java/ai/lamin/lamin_api_client/model/BatchSyncLinksBody.java index 625136c..cfa6183 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/BatchSyncLinksBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/BatchSyncLinksBody.java @@ -51,7 +51,7 @@ /** * The request body for the batch synchronization endpoint. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class BatchSyncLinksBody { public static final String SERIALIZED_NAME_INSTRUCTIONS = "instructions"; @SerializedName(SERIALIZED_NAME_INSTRUCTIONS) @@ -158,14 +158,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("instructions"); - openapiFields.add("list_key"); + openapiFields = new HashSet(Arrays.asList("instructions", "list_key")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("instructions"); - openapiRequiredFields.add("list_key"); + openapiRequiredFields = new HashSet(Arrays.asList("instructions", "list_key")); } /** @@ -177,7 +173,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!BatchSyncLinksBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in BatchSyncLinksBody is not found in the empty JSON string", BatchSyncLinksBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in BatchSyncLinksBody is not found in the empty JSON string", BatchSyncLinksBody.openapiRequiredFields.toString())); } } @@ -185,20 +181,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!BatchSyncLinksBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `BatchSyncLinksBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `BatchSyncLinksBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : BatchSyncLinksBody.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("instructions").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `instructions` to be an array in the JSON string but got `%s`", jsonObj.get("instructions").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `instructions` to be an array in the JSON string but got `%s`", jsonObj.get("instructions").toString())); } JsonArray jsonArrayinstructions = jsonObj.getAsJsonArray("instructions"); @@ -207,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti SyncInstruction.validateJsonElement(jsonArrayinstructions.get(i)); }; if (!jsonObj.get("list_key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `list_key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("list_key").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `list_key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("list_key").toString())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/BatchSyncResponse.java b/src/main/java/ai/lamin/lamin_api_client/model/BatchSyncResponse.java index 68746bd..2e361a3 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/BatchSyncResponse.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/BatchSyncResponse.java @@ -51,7 +51,7 @@ /** * The detailed response model for a batch synchronization operation, including the lists of records that were processed. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class BatchSyncResponse { public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) @@ -218,18 +218,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("status"); - openapiFields.add("deleted"); - openapiFields.add("inserted"); - openapiFields.add("kept"); + openapiFields = new HashSet(Arrays.asList("status", "deleted", "inserted", "kept")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("status"); - openapiRequiredFields.add("deleted"); - openapiRequiredFields.add("inserted"); - openapiRequiredFields.add("kept"); + openapiRequiredFields = new HashSet(Arrays.asList("status", "deleted", "inserted", "kept")); } /** @@ -241,7 +233,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!BatchSyncResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in BatchSyncResponse is not found in the empty JSON string", BatchSyncResponse.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in BatchSyncResponse is not found in the empty JSON string", BatchSyncResponse.openapiRequiredFields.toString())); } } @@ -249,31 +241,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!BatchSyncResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `BatchSyncResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `BatchSyncResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : BatchSyncResponse.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("status").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `status` to be a primitive type in the JSON string but got `%s`", jsonObj.get("status").toString())); + 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())); } // ensure the required json array is present if (jsonObj.get("deleted") == null) { throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); } else if (!jsonObj.get("deleted").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `deleted` to be an array in the JSON string but got `%s`", jsonObj.get("deleted").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `deleted` to be an array in the JSON string but got `%s`", jsonObj.get("deleted").toString())); } // ensure the required json array is present if (jsonObj.get("inserted") == null) { throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); } else if (!jsonObj.get("inserted").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `inserted` to be an array in the JSON string but got `%s`", jsonObj.get("inserted").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `inserted` to be an array in the JSON string but got `%s`", jsonObj.get("inserted").toString())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/BatchUpdateBody.java b/src/main/java/ai/lamin/lamin_api_client/model/BatchUpdateBody.java index d822d3a..40b7d0f 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/BatchUpdateBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/BatchUpdateBody.java @@ -51,7 +51,7 @@ /** * BatchUpdateBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class BatchUpdateBody { public static final String SERIALIZED_NAME_RECORDS = "records"; @SerializedName(SERIALIZED_NAME_RECORDS) @@ -166,14 +166,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("records"); - openapiFields.add("index_columns"); + openapiFields = new HashSet(Arrays.asList("records", "index_columns")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("records"); - openapiRequiredFields.add("index_columns"); + openapiRequiredFields = new HashSet(Arrays.asList("records", "index_columns")); } /** @@ -185,7 +181,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!BatchUpdateBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in BatchUpdateBody is not found in the empty JSON string", BatchUpdateBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in BatchUpdateBody is not found in the empty JSON string", BatchUpdateBody.openapiRequiredFields.toString())); } } @@ -193,14 +189,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!BatchUpdateBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `BatchUpdateBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `BatchUpdateBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : BatchUpdateBody.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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(); @@ -208,13 +204,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonObj.get("records") == null) { throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); } else if (!jsonObj.get("records").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `records` to be an array in the JSON string but got `%s`", jsonObj.get("records").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `records` to be an array in the JSON string but got `%s`", jsonObj.get("records").toString())); } // ensure the required json array is present if (jsonObj.get("index_columns") == null) { throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); } else if (!jsonObj.get("index_columns").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `index_columns` to be an array in the JSON string but got `%s`", jsonObj.get("index_columns").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `index_columns` to be an array in the JSON string but got `%s`", jsonObj.get("index_columns").toString())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/Body.java b/src/main/java/ai/lamin/lamin_api_client/model/Body.java index eeab449..b6253e1 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/Body.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/Body.java @@ -52,7 +52,7 @@ import ai.lamin.lamin_api_client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class Body extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(Body.class.getName()); @@ -67,8 +67,7 @@ public TypeAdapter create(Gson gson, TypeToken type) { final Type typeInstanceListMapStringObject = new TypeToken>>(){}.getType(); final TypeAdapter>> adapterListMapStringObject = (TypeAdapter>>) gson.getDelegateAdapter(this, TypeToken.get(typeInstanceListMapStringObject)); - final Type typeInstanceMapStringObject = new TypeToken>(){}.getType(); - final TypeAdapter> adapterMapStringObject = (TypeAdapter>) gson.getDelegateAdapter(this, TypeToken.get(typeInstanceMapStringObject)); + final TypeAdapter> adapterMap = gson.getDelegateAdapter(this, TypeToken.get(Map.class)); return (TypeAdapter) new TypeAdapter() { @Override @@ -81,14 +80,14 @@ public void write(JsonWriter out, Body value) throws IOException { // check if the actual instance is of the type `List>` if (value.getActualInstance() instanceof List) { List list = (List) value.getActualInstance(); - if (list.get(0) instanceof Map) { + if (!list.isEmpty() && list.get(0) instanceof Map) { JsonArray array = adapterListMapStringObject.toJsonTree((List>)value.getActualInstance()).getAsJsonArray(); elementAdapter.write(out, array); return; } } // check if the actual instance is of the type `Map` - if (value.getActualInstance() instanceof Map) { + if (value.getActualInstance() instanceof Map) { JsonPrimitive primitive = adapterMapStringObject.toJsonTree((Map)value.getActualInstance()).getAsJsonPrimitive(); elementAdapter.write(out, primitive); return; @@ -108,14 +107,14 @@ public Body read(JsonReader in) throws IOException { try { // validate the JSON object to see if any exception is thrown if (!jsonElement.isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected json element to be a array type in the JSON string but got `%s`", jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected json element to be a array type in the JSON string but got `%s`", jsonElement.toString())); } JsonArray array = jsonElement.getAsJsonArray(); // validate array items for(JsonElement element : array) { if (!element.getAsJsonPrimitive().isNumber()) { - throw new IllegalArgumentException(String.format("Expected array items to be of type Number in the JSON string but got `%s`", jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected array items to be of type Number in the JSON string but got `%s`", jsonElement.toString())); } } actualAdapter = adapterListMapStringObject; @@ -124,14 +123,14 @@ public Body read(JsonReader in) throws IOException { return ret; } catch (Exception e) { // deserialization failed, continue - errorMessages.add(String.format("Deserialization for List> failed with `%s`.", e.getMessage())); + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for List> failed with `%s`.", e.getMessage())); log.log(Level.FINER, "Input data does not match schema 'List>'", e); } // deserialize Map try { // validate the JSON object to see if any exception is thrown if (!jsonElement.getAsJsonPrimitive().isNumber()) { - throw new IllegalArgumentException(String.format("Expected json element to be of type Number in the JSON string but got `%s`", jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected json element to be of type Number in the JSON string but got `%s`", jsonElement.toString())); } actualAdapter = adapterMapStringObject; Body ret = new Body(); @@ -139,11 +138,11 @@ public Body read(JsonReader in) throws IOException { return ret; } catch (Exception e) { // deserialization failed, continue - errorMessages.add(String.format("Deserialization for Map failed with `%s`.", e.getMessage())); + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for Map failed with `%s`.", e.getMessage())); log.log(Level.FINER, "Input data does not match schema 'Map'", e); } - throw new IOException(String.format("Failed deserialization for Body: no class matches result, expected at least 1. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString())); + throw new IOException(String.format(java.util.Locale.ROOT, "Failed deserialization for Body: no class matches result, expected at least 1. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString())); } }.nullSafe(); } @@ -182,13 +181,13 @@ public Map> getSchemas() { public void setActualInstance(Object instance) { if (instance instanceof List) { List list = (List) instance; - if (list.get(0) instanceof Map) { + if (!list.isEmpty() && list.get(0) instanceof Map) { super.setActualInstance(instance); return; } } - if (instance instanceof Map) { + if (instance instanceof Map) { super.setActualInstance(instance); return; } @@ -242,31 +241,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the json string with List> try { if (!jsonElement.isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected json element to be a array type in the JSON string but got `%s`", jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected json element to be a array type in the JSON string but got `%s`", jsonElement.toString())); } JsonArray array = jsonElement.getAsJsonArray(); // validate array items for(JsonElement element : array) { if (!element.getAsJsonPrimitive().isNumber()) { - throw new IllegalArgumentException(String.format("Expected array items to be of type Number in the JSON string but got `%s`", jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected array items to be of type Number in the JSON string but got `%s`", jsonElement.toString())); } } return; } catch (Exception e) { - errorMessages.add(String.format("Deserialization for List> failed with `%s`.", e.getMessage())); + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for List> failed with `%s`.", e.getMessage())); // continue to the next one } // validate the json string with Map try { if (!jsonElement.getAsJsonPrimitive().isNumber()) { - throw new IllegalArgumentException(String.format("Expected json element to be of type Number in the JSON string but got `%s`", jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected json element to be of type Number in the JSON string but got `%s`", jsonElement.toString())); } return; } catch (Exception e) { - errorMessages.add(String.format("Deserialization for Map failed with `%s`.", e.getMessage())); + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for Map failed with `%s`.", e.getMessage())); // continue to the next one } - throw new IOException(String.format("The JSON string is invalid for Body with anyOf schemas: List>, Map. no class match the result, expected at least 1. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString())); + throw new IOException(String.format(java.util.Locale.ROOT, "The JSON string is invalid for Body with anyOf schemas: List>, Map. no class match the result, expected at least 1. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString())); } /** diff --git a/src/main/java/ai/lamin/lamin_api_client/model/CreateArtifactRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/CreateArtifactRequestBody.java index 1124d28..fb89ba3 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/CreateArtifactRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/CreateArtifactRequestBody.java @@ -50,7 +50,7 @@ /** * CreateArtifactRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class CreateArtifactRequestBody { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -157,13 +157,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("path"); - openapiFields.add("kwargs"); + openapiFields = new HashSet(Arrays.asList("path", "kwargs")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("path"); + openapiRequiredFields = new HashSet(Arrays.asList("path")); } /** @@ -175,7 +172,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!CreateArtifactRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in CreateArtifactRequestBody is not found in the empty JSON string", CreateArtifactRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in CreateArtifactRequestBody is not found in the empty JSON string", CreateArtifactRequestBody.openapiRequiredFields.toString())); } } @@ -183,19 +180,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!CreateArtifactRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateArtifactRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `CreateArtifactRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : CreateArtifactRequestBody.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); + 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/ai/lamin/lamin_api_client/model/CreateSpaceRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/CreateSpaceRequestBody.java index 0a3b966..494fd0c 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/CreateSpaceRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/CreateSpaceRequestBody.java @@ -50,7 +50,7 @@ /** * CreateSpaceRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class CreateSpaceRequestBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -186,15 +186,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("organization_id"); - openapiFields.add("description"); + openapiFields = new HashSet(Arrays.asList("name", "organization_id", "description")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("name"); - openapiRequiredFields.add("organization_id"); + openapiRequiredFields = new HashSet(Arrays.asList("name", "organization_id")); } /** @@ -206,7 +201,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!CreateSpaceRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in CreateSpaceRequestBody is not found in the empty JSON string", CreateSpaceRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in CreateSpaceRequestBody is not found in the empty JSON string", CreateSpaceRequestBody.openapiRequiredFields.toString())); } } @@ -214,25 +209,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!CreateSpaceRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateSpaceRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `CreateSpaceRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : CreateSpaceRequestBody.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + 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("organization_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `organization_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("organization_id").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `organization_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("organization_id").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + 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/ai/lamin/lamin_api_client/model/CreateTeamRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/CreateTeamRequestBody.java index 90b718b..e520302 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/CreateTeamRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/CreateTeamRequestBody.java @@ -50,7 +50,7 @@ /** * CreateTeamRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class CreateTeamRequestBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -186,15 +186,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("organization_id"); - openapiFields.add("description"); + openapiFields = new HashSet(Arrays.asList("name", "organization_id", "description")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("name"); - openapiRequiredFields.add("organization_id"); + openapiRequiredFields = new HashSet(Arrays.asList("name", "organization_id")); } /** @@ -206,7 +201,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!CreateTeamRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in CreateTeamRequestBody is not found in the empty JSON string", CreateTeamRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in CreateTeamRequestBody is not found in the empty JSON string", CreateTeamRequestBody.openapiRequiredFields.toString())); } } @@ -214,25 +209,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!CreateTeamRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateTeamRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `CreateTeamRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : CreateTeamRequestBody.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + 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("organization_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `organization_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("organization_id").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `organization_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("organization_id").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + 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/ai/lamin/lamin_api_client/model/CreateTransformRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/CreateTransformRequestBody.java index 921719b..08085e7 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/CreateTransformRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/CreateTransformRequestBody.java @@ -51,7 +51,7 @@ /** * CreateTransformRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class CreateTransformRequestBody { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -221,17 +221,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("key"); - openapiFields.add("kind"); - openapiFields.add("source_code"); - openapiFields.add("kwargs"); + openapiFields = new HashSet(Arrays.asList("key", "kind", "source_code", "kwargs")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("key"); - openapiRequiredFields.add("kind"); - openapiRequiredFields.add("source_code"); + openapiRequiredFields = new HashSet(Arrays.asList("key", "kind", "source_code")); } /** @@ -243,7 +236,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!CreateTransformRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in CreateTransformRequestBody is not found in the empty JSON string", CreateTransformRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in CreateTransformRequestBody is not found in the empty JSON string", CreateTransformRequestBody.openapiRequiredFields.toString())); } } @@ -251,25 +244,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!CreateTransformRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateTransformRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `CreateTransformRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : CreateTransformRequestBody.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); + 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("kind").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `kind` to be a primitive type in the JSON string but got `%s`", jsonObj.get("kind").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `kind` to be a primitive type in the JSON string but got `%s`", jsonObj.get("kind").toString())); } if (!jsonObj.get("source_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `source_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("source_code").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `source_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("source_code").toString())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/Dimension.java b/src/main/java/ai/lamin/lamin_api_client/model/Dimension.java index d6d8caa..cdb5b9a 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/Dimension.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/Dimension.java @@ -49,7 +49,7 @@ /** * Dimension */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class Dimension { public static final String SERIALIZED_NAME_FIELD_NAME = "field_name"; @SerializedName(SERIALIZED_NAME_FIELD_NAME) @@ -217,13 +217,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("field_name"); - openapiFields.add("func"); + openapiFields = new HashSet(Arrays.asList("field_name", "func")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("field_name"); + openapiRequiredFields = new HashSet(Arrays.asList("field_name")); } /** @@ -235,7 +232,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Dimension.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in Dimension is not found in the empty JSON string", Dimension.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in Dimension is not found in the empty JSON string", Dimension.openapiRequiredFields.toString())); } } @@ -243,22 +240,22 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!Dimension.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `Dimension` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Dimension` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : Dimension.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("field_name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `field_name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("field_name").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `field_name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("field_name").toString())); } if ((jsonObj.get("func") != null && !jsonObj.get("func").isJsonNull()) && !jsonObj.get("func").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `func` to be a primitive type in the JSON string but got `%s`", jsonObj.get("func").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `func` to be a primitive type in the JSON string but got `%s`", jsonObj.get("func").toString())); } // validate the optional field `func` if (jsonObj.get("func") != null && !jsonObj.get("func").isJsonNull()) { diff --git a/src/main/java/ai/lamin/lamin_api_client/model/ErrorDetail.java b/src/main/java/ai/lamin/lamin_api_client/model/ErrorDetail.java index e92489b..4c7fbea 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/ErrorDetail.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/ErrorDetail.java @@ -48,7 +48,7 @@ /** * ErrorDetail */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class ErrorDetail { public static final String SERIALIZED_NAME_DETAIL = "detail"; @SerializedName(SERIALIZED_NAME_DETAIL) @@ -121,12 +121,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("detail"); + openapiFields = new HashSet(Arrays.asList("detail")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("detail"); + openapiRequiredFields = new HashSet(Arrays.asList("detail")); } /** @@ -138,7 +136,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ErrorDetail.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ErrorDetail is not found in the empty JSON string", ErrorDetail.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in ErrorDetail is not found in the empty JSON string", ErrorDetail.openapiRequiredFields.toString())); } } @@ -146,19 +144,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!ErrorDetail.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ErrorDetail` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `ErrorDetail` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : ErrorDetail.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("detail").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `detail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("detail").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `detail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("detail").toString())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/ExecuteFunctionRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/ExecuteFunctionRequestBody.java index 5d04ee0..130cff7 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/ExecuteFunctionRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/ExecuteFunctionRequestBody.java @@ -50,7 +50,7 @@ /** * ExecuteFunctionRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class ExecuteFunctionRequestBody { public static final String SERIALIZED_NAME_TRANSFORM_UID = "transform_uid"; @SerializedName(SERIALIZED_NAME_TRANSFORM_UID) @@ -183,16 +183,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("transform_uid"); - openapiFields.add("function_name"); - openapiFields.add("function_kwargs"); + openapiFields = new HashSet(Arrays.asList("transform_uid", "function_name", "function_kwargs")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("transform_uid"); - openapiRequiredFields.add("function_name"); - openapiRequiredFields.add("function_kwargs"); + openapiRequiredFields = new HashSet(Arrays.asList("transform_uid", "function_name", "function_kwargs")); } /** @@ -204,7 +198,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ExecuteFunctionRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ExecuteFunctionRequestBody is not found in the empty JSON string", ExecuteFunctionRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in ExecuteFunctionRequestBody is not found in the empty JSON string", ExecuteFunctionRequestBody.openapiRequiredFields.toString())); } } @@ -212,22 +206,22 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!ExecuteFunctionRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ExecuteFunctionRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `ExecuteFunctionRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : ExecuteFunctionRequestBody.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("transform_uid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `transform_uid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("transform_uid").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `transform_uid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("transform_uid").toString())); } if (!jsonObj.get("function_name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `function_name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("function_name").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `function_name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("function_name").toString())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/ExportRecordsRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/ExportRecordsRequestBody.java index d4adfce..805a656 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/ExportRecordsRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/ExportRecordsRequestBody.java @@ -50,7 +50,7 @@ /** * ExportRecordsRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class ExportRecordsRequestBody { public static final String SERIALIZED_NAME_KWARGS = "kwargs"; @SerializedName(SERIALIZED_NAME_KWARGS) @@ -131,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("kwargs"); + openapiFields = new HashSet(Arrays.asList("kwargs")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +146,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ExportRecordsRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ExportRecordsRequestBody is not found in the empty JSON string", ExportRecordsRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in ExportRecordsRequestBody is not found in the empty JSON string", ExportRecordsRequestBody.openapiRequiredFields.toString())); } } @@ -155,7 +154,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!ExportRecordsRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ExportRecordsRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `ExportRecordsRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); diff --git a/src/main/java/ai/lamin/lamin_api_client/model/GetRecordRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/GetRecordRequestBody.java index 2516ce4..da3efa2 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/GetRecordRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/GetRecordRequestBody.java @@ -51,7 +51,7 @@ /** * GetRecordRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class GetRecordRequestBody { public static final String SERIALIZED_NAME_SELECT = "select"; @SerializedName(SERIALIZED_NAME_SELECT) @@ -143,11 +143,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("select"); + openapiFields = new HashSet(Arrays.asList("select")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -159,7 +158,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!GetRecordRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in GetRecordRequestBody is not found in the empty JSON string", GetRecordRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in GetRecordRequestBody is not found in the empty JSON string", GetRecordRequestBody.openapiRequiredFields.toString())); } } @@ -167,13 +166,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetRecordRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `GetRecordRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetRecordRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); // ensure the optional json data is an array if present if (jsonObj.get("select") != null && !jsonObj.get("select").isJsonNull() && !jsonObj.get("select").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `select` to be an array in the JSON string but got `%s`", jsonObj.get("select").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `select` to be an array in the JSON string but got `%s`", jsonObj.get("select").toString())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/GetRecordsRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/GetRecordsRequestBody.java index 4964353..a56be83 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/GetRecordsRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/GetRecordsRequestBody.java @@ -54,7 +54,7 @@ /** * GetRecordsRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class GetRecordsRequestBody { public static final String SERIALIZED_NAME_SELECT = "select"; @SerializedName(SERIALIZED_NAME_SELECT) @@ -274,15 +274,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("select"); - openapiFields.add("filter"); - openapiFields.add("order_by"); - openapiFields.add("search"); - openapiFields.add("search_in"); + openapiFields = new HashSet(Arrays.asList("select", "filter", "order_by", "search", "search_in")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -294,7 +289,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!GetRecordsRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in GetRecordsRequestBody is not found in the empty JSON string", GetRecordsRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in GetRecordsRequestBody is not found in the empty JSON string", GetRecordsRequestBody.openapiRequiredFields.toString())); } } @@ -302,20 +297,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetRecordsRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `GetRecordsRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetRecordsRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); // ensure the optional json data is an array if present if (jsonObj.get("select") != null && !jsonObj.get("select").isJsonNull() && !jsonObj.get("select").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `select` to be an array in the JSON string but got `%s`", jsonObj.get("select").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `select` to be an array in the JSON string but got `%s`", jsonObj.get("select").toString())); } if (jsonObj.get("order_by") != null && !jsonObj.get("order_by").isJsonNull()) { JsonArray jsonArrayorderBy = jsonObj.getAsJsonArray("order_by"); if (jsonArrayorderBy != null) { // ensure the json data is an array if (!jsonObj.get("order_by").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `order_by` to be an array in the JSON string but got `%s`", jsonObj.get("order_by").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `order_by` to be an array in the JSON string but got `%s`", jsonObj.get("order_by").toString())); } // validate the optional field `order_by` (array) @@ -325,11 +320,11 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } if ((jsonObj.get("search") != null && !jsonObj.get("search").isJsonNull()) && !jsonObj.get("search").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `search` to be a primitive type in the JSON string but got `%s`", jsonObj.get("search").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `search` to be a primitive type in the JSON string but got `%s`", jsonObj.get("search").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("search_in") != null && !jsonObj.get("search_in").isJsonNull() && !jsonObj.get("search_in").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `search_in` to be an array in the JSON string but got `%s`", jsonObj.get("search_in").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `search_in` to be an array in the JSON string but got `%s`", jsonObj.get("search_in").toString())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/GetValuesRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/GetValuesRequestBody.java index 5a106b0..1a68a06 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/GetValuesRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/GetValuesRequestBody.java @@ -54,7 +54,7 @@ /** * GetValuesRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class GetValuesRequestBody { public static final String SERIALIZED_NAME_FILTER = "filter"; @SerializedName(SERIALIZED_NAME_FILTER) @@ -240,14 +240,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("filter"); - openapiFields.add("order_by"); - openapiFields.add("search"); - openapiFields.add("search_in"); + openapiFields = new HashSet(Arrays.asList("filter", "order_by", "search", "search_in")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -259,7 +255,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!GetValuesRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in GetValuesRequestBody is not found in the empty JSON string", GetValuesRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in GetValuesRequestBody is not found in the empty JSON string", GetValuesRequestBody.openapiRequiredFields.toString())); } } @@ -267,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 (!GetValuesRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `GetValuesRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetValuesRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -276,7 +272,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayorderBy != null) { // ensure the json data is an array if (!jsonObj.get("order_by").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `order_by` to be an array in the JSON string but got `%s`", jsonObj.get("order_by").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `order_by` to be an array in the JSON string but got `%s`", jsonObj.get("order_by").toString())); } // validate the optional field `order_by` (array) @@ -286,11 +282,11 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } if ((jsonObj.get("search") != null && !jsonObj.get("search").isJsonNull()) && !jsonObj.get("search").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `search` to be a primitive type in the JSON string but got `%s`", jsonObj.get("search").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `search` to be a primitive type in the JSON string but got `%s`", jsonObj.get("search").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("search_in") != null && !jsonObj.get("search_in").isJsonNull() && !jsonObj.get("search_in").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `search_in` to be an array in the JSON string but got `%s`", jsonObj.get("search_in").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `search_in` to be an array in the JSON string but got `%s`", jsonObj.get("search_in").toString())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/GroupByRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/GroupByRequestBody.java index 5f84329..fdadc0a 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/GroupByRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/GroupByRequestBody.java @@ -55,7 +55,7 @@ /** * GroupByRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class GroupByRequestBody { public static final String SERIALIZED_NAME_DIMENSIONS = "dimensions"; @SerializedName(SERIALIZED_NAME_DIMENSIONS) @@ -215,15 +215,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("dimensions"); - openapiFields.add("measures"); - openapiFields.add("filter"); + openapiFields = new HashSet(Arrays.asList("dimensions", "measures", "filter")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("dimensions"); - openapiRequiredFields.add("measures"); + openapiRequiredFields = new HashSet(Arrays.asList("dimensions", "measures")); } /** @@ -235,7 +230,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!GroupByRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in GroupByRequestBody is not found in the empty JSON string", GroupByRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in GroupByRequestBody is not found in the empty JSON string", GroupByRequestBody.openapiRequiredFields.toString())); } } @@ -243,20 +238,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GroupByRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `GroupByRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GroupByRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : GroupByRequestBody.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("dimensions").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `dimensions` to be an array in the JSON string but got `%s`", jsonObj.get("dimensions").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `dimensions` to be an array in the JSON string but got `%s`", jsonObj.get("dimensions").toString())); } JsonArray jsonArraydimensions = jsonObj.getAsJsonArray("dimensions"); @@ -266,7 +261,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti }; // ensure the json data is an array if (!jsonObj.get("measures").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `measures` to be an array in the JSON string but got `%s`", jsonObj.get("measures").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `measures` to be an array in the JSON string but got `%s`", jsonObj.get("measures").toString())); } JsonArray jsonArraymeasures = jsonObj.getAsJsonArray("measures"); diff --git a/src/main/java/ai/lamin/lamin_api_client/model/HTTPValidationError.java b/src/main/java/ai/lamin/lamin_api_client/model/HTTPValidationError.java index 47377e6..dc90547 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/HTTPValidationError.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/HTTPValidationError.java @@ -51,7 +51,7 @@ /** * HTTPValidationError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class HTTPValidationError { public static final String SERIALIZED_NAME_DETAIL = "detail"; @SerializedName(SERIALIZED_NAME_DETAIL) @@ -132,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("detail"); + openapiFields = new HashSet(Arrays.asList("detail")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -148,7 +147,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!HTTPValidationError.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in HTTPValidationError is not found in the empty JSON string", HTTPValidationError.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in HTTPValidationError is not found in the empty JSON string", HTTPValidationError.openapiRequiredFields.toString())); } } @@ -156,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 (!HTTPValidationError.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `HTTPValidationError` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `HTTPValidationError` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -165,7 +164,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydetail != null) { // ensure the json data is an array if (!jsonObj.get("detail").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `detail` to be an array in the JSON string but got `%s`", jsonObj.get("detail").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `detail` to be an array in the JSON string but got `%s`", jsonObj.get("detail").toString())); } // validate the optional field `detail` (array) diff --git a/src/main/java/ai/lamin/lamin_api_client/model/Measure.java b/src/main/java/ai/lamin/lamin_api_client/model/Measure.java index 81d5a5a..62e8cd2 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/Measure.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/Measure.java @@ -49,7 +49,7 @@ /** * Measure */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class Measure { public static final String SERIALIZED_NAME_FIELD_NAME = "field_name"; @SerializedName(SERIALIZED_NAME_FIELD_NAME) @@ -243,15 +243,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("field_name"); - openapiFields.add("agg_func"); - openapiFields.add("alias"); + openapiFields = new HashSet(Arrays.asList("field_name", "agg_func", "alias")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("field_name"); - openapiRequiredFields.add("agg_func"); + openapiRequiredFields = new HashSet(Arrays.asList("field_name", "agg_func")); } /** @@ -263,7 +258,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Measure.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in Measure is not found in the empty JSON string", Measure.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in Measure is not found in the empty JSON string", Measure.openapiRequiredFields.toString())); } } @@ -271,27 +266,27 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!Measure.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `Measure` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Measure` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : Measure.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("field_name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `field_name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("field_name").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `field_name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("field_name").toString())); } if (!jsonObj.get("agg_func").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `agg_func` to be a primitive type in the JSON string but got `%s`", jsonObj.get("agg_func").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `agg_func` to be a primitive type in the JSON string but got `%s`", jsonObj.get("agg_func").toString())); } // validate the required field `agg_func` AggFuncEnum.validateJsonElement(jsonObj.get("agg_func")); if ((jsonObj.get("alias") != null && !jsonObj.get("alias").isJsonNull()) && !jsonObj.get("alias").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `alias` to be a primitive type in the JSON string but got `%s`", jsonObj.get("alias").toString())); + 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())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/NonEmptyTablesResponse.java b/src/main/java/ai/lamin/lamin_api_client/model/NonEmptyTablesResponse.java index eb3ae2b..7bf4522 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/NonEmptyTablesResponse.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/NonEmptyTablesResponse.java @@ -51,7 +51,7 @@ /** * NonEmptyTablesResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class NonEmptyTablesResponse { public static final String SERIALIZED_NAME_NON_EMPTY_TABLES = "non_empty_tables"; @SerializedName(SERIALIZED_NAME_NON_EMPTY_TABLES) @@ -132,12 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("non_empty_tables"); + openapiFields = new HashSet(Arrays.asList("non_empty_tables")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("non_empty_tables"); + openapiRequiredFields = new HashSet(Arrays.asList("non_empty_tables")); } /** @@ -149,7 +147,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!NonEmptyTablesResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in NonEmptyTablesResponse is not found in the empty JSON string", NonEmptyTablesResponse.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in NonEmptyTablesResponse is not found in the empty JSON string", NonEmptyTablesResponse.openapiRequiredFields.toString())); } } @@ -157,14 +155,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!NonEmptyTablesResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `NonEmptyTablesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `NonEmptyTablesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : NonEmptyTablesResponse.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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(); diff --git a/src/main/java/ai/lamin/lamin_api_client/model/OrderByColumn.java b/src/main/java/ai/lamin/lamin_api_client/model/OrderByColumn.java index ed9af89..a3ca968 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/OrderByColumn.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/OrderByColumn.java @@ -48,7 +48,7 @@ /** * OrderByColumn */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class OrderByColumn { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) @@ -147,13 +147,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("field"); - openapiFields.add("descending"); + openapiFields = new HashSet(Arrays.asList("field", "descending")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("field"); + openapiRequiredFields = new HashSet(Arrays.asList("field")); } /** @@ -165,7 +162,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!OrderByColumn.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderByColumn is not found in the empty JSON string", OrderByColumn.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in OrderByColumn is not found in the empty JSON string", OrderByColumn.openapiRequiredFields.toString())); } } @@ -173,19 +170,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!OrderByColumn.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderByColumn` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `OrderByColumn` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : OrderByColumn.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("field").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `field` to be a primitive type in the JSON string but got `%s`", jsonObj.get("field").toString())); + 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())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/RegisterDbServerBody.java b/src/main/java/ai/lamin/lamin_api_client/model/RegisterDbServerBody.java index e3bb71b..3a09c0a 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/RegisterDbServerBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/RegisterDbServerBody.java @@ -49,7 +49,7 @@ /** * RegisterDbServerBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class RegisterDbServerBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -200,18 +200,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("url"); - openapiFields.add("api_server_name"); - openapiFields.add("organization_id"); + openapiFields = new HashSet(Arrays.asList("name", "url", "api_server_name", "organization_id")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("name"); - openapiRequiredFields.add("url"); - openapiRequiredFields.add("api_server_name"); - openapiRequiredFields.add("organization_id"); + openapiRequiredFields = new HashSet(Arrays.asList("name", "url", "api_server_name", "organization_id")); } /** @@ -223,7 +215,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!RegisterDbServerBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in RegisterDbServerBody is not found in the empty JSON string", RegisterDbServerBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in RegisterDbServerBody is not found in the empty JSON string", RegisterDbServerBody.openapiRequiredFields.toString())); } } @@ -231,28 +223,28 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!RegisterDbServerBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `RegisterDbServerBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `RegisterDbServerBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : RegisterDbServerBody.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + 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").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString())); + 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("api_server_name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `api_server_name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("api_server_name").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `api_server_name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("api_server_name").toString())); } if (!jsonObj.get("organization_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `organization_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("organization_id").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `organization_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("organization_id").toString())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/RegisterFormRequest.java b/src/main/java/ai/lamin/lamin_api_client/model/RegisterFormRequest.java index d7382fe..7fd2df9 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/RegisterFormRequest.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/RegisterFormRequest.java @@ -50,7 +50,7 @@ /** * RegisterFormRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class RegisterFormRequest { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -183,16 +183,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("key"); - openapiFields.add("data"); - openapiFields.add("schema_uid"); + openapiFields = new HashSet(Arrays.asList("key", "data", "schema_uid")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("key"); - openapiRequiredFields.add("data"); - openapiRequiredFields.add("schema_uid"); + openapiRequiredFields = new HashSet(Arrays.asList("key", "data", "schema_uid")); } /** @@ -204,7 +198,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!RegisterFormRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in RegisterFormRequest is not found in the empty JSON string", RegisterFormRequest.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in RegisterFormRequest is not found in the empty JSON string", RegisterFormRequest.openapiRequiredFields.toString())); } } @@ -212,22 +206,22 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!RegisterFormRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `RegisterFormRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `RegisterFormRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : RegisterFormRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); + 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("schema_uid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `schema_uid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("schema_uid").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `schema_uid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("schema_uid").toString())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/Request.java b/src/main/java/ai/lamin/lamin_api_client/model/Request.java index 841d7d8..ab15a6b 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/Request.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/Request.java @@ -55,7 +55,7 @@ /** * Request */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class Request { public static final String SERIALIZED_NAME_RELATIVES = "relatives"; @SerializedName(SERIALIZED_NAME_RELATIVES) @@ -301,17 +301,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("relatives"); - openapiFields.add("select"); - openapiFields.add("filter"); - openapiFields.add("order_by"); - openapiFields.add("search"); - openapiFields.add("search_in"); + openapiFields = new HashSet(Arrays.asList("relatives", "select", "filter", "order_by", "search", "search_in")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("relatives"); + openapiRequiredFields = new HashSet(Arrays.asList("relatives")); } /** @@ -323,7 +316,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Request.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in Request is not found in the empty JSON string", Request.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in Request is not found in the empty JSON string", Request.openapiRequiredFields.toString())); } } @@ -331,14 +324,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!Request.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `Request` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Request` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : Request.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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(); @@ -346,14 +339,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti TraversalParams.validateJsonElement(jsonObj.get("relatives")); // ensure the optional json data is an array if present if (jsonObj.get("select") != null && !jsonObj.get("select").isJsonNull() && !jsonObj.get("select").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `select` to be an array in the JSON string but got `%s`", jsonObj.get("select").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `select` to be an array in the JSON string but got `%s`", jsonObj.get("select").toString())); } if (jsonObj.get("order_by") != null && !jsonObj.get("order_by").isJsonNull()) { JsonArray jsonArrayorderBy = jsonObj.getAsJsonArray("order_by"); if (jsonArrayorderBy != null) { // ensure the json data is an array if (!jsonObj.get("order_by").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `order_by` to be an array in the JSON string but got `%s`", jsonObj.get("order_by").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `order_by` to be an array in the JSON string but got `%s`", jsonObj.get("order_by").toString())); } // validate the optional field `order_by` (array) @@ -363,11 +356,11 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } if ((jsonObj.get("search") != null && !jsonObj.get("search").isJsonNull()) && !jsonObj.get("search").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `search` to be a primitive type in the JSON string but got `%s`", jsonObj.get("search").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `search` to be a primitive type in the JSON string but got `%s`", jsonObj.get("search").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("search_in") != null && !jsonObj.get("search_in").isJsonNull() && !jsonObj.get("search_in").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `search_in` to be an array in the JSON string but got `%s`", jsonObj.get("search_in").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `search_in` to be an array in the JSON string but got `%s`", jsonObj.get("search_in").toString())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/Role.java b/src/main/java/ai/lamin/lamin_api_client/model/Role.java deleted file mode 100644 index 477bc0e..0000000 --- a/src/main/java/ai/lamin/lamin_api_client/model/Role.java +++ /dev/null @@ -1,217 +0,0 @@ -/* - * FastAPI - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package ai.lamin.lamin_api_client.model; - -import java.util.Objects; - - - -import java.io.IOException; -import java.lang.reflect.Type; -import java.util.logging.Level; -import java.util.logging.Logger; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashSet; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapter; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.JsonPrimitive; -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 com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonSerializationContext; -import com.google.gson.JsonSerializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonArray; -import com.google.gson.JsonParseException; - -import ai.lamin.lamin_api_client.JSON; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") -public class Role extends AbstractOpenApiSchema { - private static final Logger log = Logger.getLogger(Role.class.getName()); - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!Role.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'Role' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter adapterString = gson.getDelegateAdapter(this, TypeToken.get(String.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, Role value) throws IOException { - if (value == null || value.getActualInstance() == null) { - elementAdapter.write(out, null); - return; - } - - // check if the actual instance is of the type `String` - if (value.getActualInstance() instanceof String) { - JsonPrimitive primitive = adapterString.toJsonTree((String)value.getActualInstance()).getAsJsonPrimitive(); - elementAdapter.write(out, primitive); - return; - } - throw new IOException("Failed to serialize as the type doesn't match anyOf schemas: String"); - } - - @Override - public Role read(JsonReader in) throws IOException { - Object deserialized = null; - JsonElement jsonElement = elementAdapter.read(in); - - ArrayList errorMessages = new ArrayList<>(); - TypeAdapter actualAdapter = elementAdapter; - - // deserialize String - try { - // validate the JSON object to see if any exception is thrown - if (!jsonElement.getAsJsonPrimitive().isString()) { - throw new IllegalArgumentException(String.format("Expected json element to be of type String in the JSON string but got `%s`", jsonElement.toString())); - } - actualAdapter = adapterString; - Role ret = new Role(); - ret.setActualInstance(actualAdapter.fromJsonTree(jsonElement)); - return ret; - } catch (Exception e) { - // deserialization failed, continue - errorMessages.add(String.format("Deserialization for String failed with `%s`.", e.getMessage())); - log.log(Level.FINER, "Input data does not match schema 'String'", e); - } - - throw new IOException(String.format("Failed deserialization for Role: no class matches result, expected at least 1. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString())); - } - }.nullSafe(); - } - } - - // store a list of schema names defined in anyOf - public static final Map> schemas = new HashMap>(); - - public Role() { - super("anyOf", Boolean.FALSE); - } - - public Role(Object o) { - super("anyOf", Boolean.FALSE); - setActualInstance(o); - } - - static { - schemas.put("String", String.class); - } - - @Override - public Map> getSchemas() { - return Role.schemas; - } - - /** - * Set the instance that matches the anyOf child schema, check - * the instance parameter is valid against the anyOf child schemas: - * String - * - * It could be an instance of the 'anyOf' schemas. - */ - @Override - public void setActualInstance(Object instance) { - if (instance instanceof String) { - super.setActualInstance(instance); - return; - } - - throw new RuntimeException("Invalid instance type. Must be String"); - } - - /** - * Get the actual instance, which can be the following: - * String - * - * @return The actual instance (String) - */ - @SuppressWarnings("unchecked") - @Override - public Object getActualInstance() { - return super.getActualInstance(); - } - - /** - * Get the actual instance of `String`. If the actual instance is not `String`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `String` - * @throws ClassCastException if the instance is not `String` - */ - public String getString() throws ClassCastException { - return (String)super.getActualInstance(); - } - - /** - * 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 Role - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - // validate anyOf schemas one by one - ArrayList errorMessages = new ArrayList<>(); - // validate the json string with String - try { - if (!jsonElement.getAsJsonPrimitive().isString()) { - throw new IllegalArgumentException(String.format("Expected json element to be of type String in the JSON string but got `%s`", jsonElement.toString())); - } - return; - } catch (Exception e) { - errorMessages.add(String.format("Deserialization for String failed with `%s`.", e.getMessage())); - // continue to the next one - } - throw new IOException(String.format("The JSON string is invalid for Role with anyOf schemas: String. no class match the result, expected at least 1. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString())); - } - - /** - * Create an instance of Role given an JSON string - * - * @param jsonString JSON string - * @return An instance of Role - * @throws IOException if the JSON string is invalid with respect to Role - */ - public static Role fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, Role.class); - } - - /** - * Convert an instance of Role to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/ai/lamin/lamin_api_client/model/Role1.java b/src/main/java/ai/lamin/lamin_api_client/model/Role1.java deleted file mode 100644 index b8c15c6..0000000 --- a/src/main/java/ai/lamin/lamin_api_client/model/Role1.java +++ /dev/null @@ -1,217 +0,0 @@ -/* - * FastAPI - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package ai.lamin.lamin_api_client.model; - -import java.util.Objects; - - - -import java.io.IOException; -import java.lang.reflect.Type; -import java.util.logging.Level; -import java.util.logging.Logger; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashSet; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapter; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.JsonPrimitive; -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 com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonSerializationContext; -import com.google.gson.JsonSerializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonArray; -import com.google.gson.JsonParseException; - -import ai.lamin.lamin_api_client.JSON; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") -public class Role1 extends AbstractOpenApiSchema { - private static final Logger log = Logger.getLogger(Role1.class.getName()); - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!Role1.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'Role1' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter adapterString = gson.getDelegateAdapter(this, TypeToken.get(String.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, Role1 value) throws IOException { - if (value == null || value.getActualInstance() == null) { - elementAdapter.write(out, null); - return; - } - - // check if the actual instance is of the type `String` - if (value.getActualInstance() instanceof String) { - JsonPrimitive primitive = adapterString.toJsonTree((String)value.getActualInstance()).getAsJsonPrimitive(); - elementAdapter.write(out, primitive); - return; - } - throw new IOException("Failed to serialize as the type doesn't match anyOf schemas: String"); - } - - @Override - public Role1 read(JsonReader in) throws IOException { - Object deserialized = null; - JsonElement jsonElement = elementAdapter.read(in); - - ArrayList errorMessages = new ArrayList<>(); - TypeAdapter actualAdapter = elementAdapter; - - // deserialize String - try { - // validate the JSON object to see if any exception is thrown - if (!jsonElement.getAsJsonPrimitive().isString()) { - throw new IllegalArgumentException(String.format("Expected json element to be of type String in the JSON string but got `%s`", jsonElement.toString())); - } - actualAdapter = adapterString; - Role1 ret = new Role1(); - ret.setActualInstance(actualAdapter.fromJsonTree(jsonElement)); - return ret; - } catch (Exception e) { - // deserialization failed, continue - errorMessages.add(String.format("Deserialization for String failed with `%s`.", e.getMessage())); - log.log(Level.FINER, "Input data does not match schema 'String'", e); - } - - throw new IOException(String.format("Failed deserialization for Role1: no class matches result, expected at least 1. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString())); - } - }.nullSafe(); - } - } - - // store a list of schema names defined in anyOf - public static final Map> schemas = new HashMap>(); - - public Role1() { - super("anyOf", Boolean.FALSE); - } - - public Role1(Object o) { - super("anyOf", Boolean.FALSE); - setActualInstance(o); - } - - static { - schemas.put("String", String.class); - } - - @Override - public Map> getSchemas() { - return Role1.schemas; - } - - /** - * Set the instance that matches the anyOf child schema, check - * the instance parameter is valid against the anyOf child schemas: - * String - * - * It could be an instance of the 'anyOf' schemas. - */ - @Override - public void setActualInstance(Object instance) { - if (instance instanceof String) { - super.setActualInstance(instance); - return; - } - - throw new RuntimeException("Invalid instance type. Must be String"); - } - - /** - * Get the actual instance, which can be the following: - * String - * - * @return The actual instance (String) - */ - @SuppressWarnings("unchecked") - @Override - public Object getActualInstance() { - return super.getActualInstance(); - } - - /** - * Get the actual instance of `String`. If the actual instance is not `String`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `String` - * @throws ClassCastException if the instance is not `String` - */ - public String getString() throws ClassCastException { - return (String)super.getActualInstance(); - } - - /** - * 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 Role1 - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - // validate anyOf schemas one by one - ArrayList errorMessages = new ArrayList<>(); - // validate the json string with String - try { - if (!jsonElement.getAsJsonPrimitive().isString()) { - throw new IllegalArgumentException(String.format("Expected json element to be of type String in the JSON string but got `%s`", jsonElement.toString())); - } - return; - } catch (Exception e) { - errorMessages.add(String.format("Deserialization for String failed with `%s`.", e.getMessage())); - // continue to the next one - } - throw new IOException(String.format("The JSON string is invalid for Role1 with anyOf schemas: String. no class match the result, expected at least 1. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString())); - } - - /** - * Create an instance of Role1 given an JSON string - * - * @param jsonString JSON string - * @return An instance of Role1 - * @throws IOException if the JSON string is invalid with respect to Role1 - */ - public static Role1 fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, Role1.class); - } - - /** - * Convert an instance of Role1 to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/ai/lamin/lamin_api_client/model/S3PermissionsRequest.java b/src/main/java/ai/lamin/lamin_api_client/model/S3PermissionsRequest.java index 6910bd2..ce62fda 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/S3PermissionsRequest.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/S3PermissionsRequest.java @@ -51,7 +51,7 @@ /** * S3PermissionsRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class S3PermissionsRequest { public static final String SERIALIZED_NAME_AWS_ACCESS_KEY_ID = "aws_access_key_id"; @SerializedName(SERIALIZED_NAME_AWS_ACCESS_KEY_ID) @@ -247,18 +247,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("aws_access_key_id"); - openapiFields.add("aws_secret_access_key"); - openapiFields.add("region"); - openapiFields.add("aws_session_token"); - openapiFields.add("extra_parameters"); + openapiFields = new HashSet(Arrays.asList("aws_access_key_id", "aws_secret_access_key", "region", "aws_session_token", "extra_parameters")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("aws_access_key_id"); - openapiRequiredFields.add("aws_secret_access_key"); - openapiRequiredFields.add("region"); + openapiRequiredFields = new HashSet(Arrays.asList("aws_access_key_id", "aws_secret_access_key", "region")); } /** @@ -270,7 +262,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!S3PermissionsRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in S3PermissionsRequest is not found in the empty JSON string", S3PermissionsRequest.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in S3PermissionsRequest is not found in the empty JSON string", S3PermissionsRequest.openapiRequiredFields.toString())); } } @@ -278,28 +270,28 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!S3PermissionsRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `S3PermissionsRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `S3PermissionsRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : S3PermissionsRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("aws_access_key_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `aws_access_key_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("aws_access_key_id").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `aws_access_key_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("aws_access_key_id").toString())); } if (!jsonObj.get("aws_secret_access_key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `aws_secret_access_key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("aws_secret_access_key").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `aws_secret_access_key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("aws_secret_access_key").toString())); } if (!jsonObj.get("region").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `region` to be a primitive type in the JSON string but got `%s`", jsonObj.get("region").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `region` to be a primitive type in the JSON string but got `%s`", jsonObj.get("region").toString())); } if ((jsonObj.get("aws_session_token") != null && !jsonObj.get("aws_session_token").isJsonNull()) && !jsonObj.get("aws_session_token").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `aws_session_token` to be a primitive type in the JSON string but got `%s`", jsonObj.get("aws_session_token").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `aws_session_token` to be a primitive type in the JSON string but got `%s`", jsonObj.get("aws_session_token").toString())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/StatisticsResponse.java b/src/main/java/ai/lamin/lamin_api_client/model/StatisticsResponse.java index 08c6d02..d366b00 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/StatisticsResponse.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/StatisticsResponse.java @@ -50,7 +50,7 @@ /** * Defines the response for the instance statistics endpoint. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class StatisticsResponse { public static final String SERIALIZED_NAME_INSTANCE_SIZE = "instance_size"; @SerializedName(SERIALIZED_NAME_INSTANCE_SIZE) @@ -157,14 +157,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("instance_size"); - openapiFields.add("counts"); + openapiFields = new HashSet(Arrays.asList("instance_size", "counts")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("instance_size"); - openapiRequiredFields.add("counts"); + openapiRequiredFields = new HashSet(Arrays.asList("instance_size", "counts")); } /** @@ -176,7 +172,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!StatisticsResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in StatisticsResponse is not found in the empty JSON string", StatisticsResponse.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in StatisticsResponse is not found in the empty JSON string", StatisticsResponse.openapiRequiredFields.toString())); } } @@ -184,14 +180,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!StatisticsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `StatisticsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `StatisticsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : StatisticsResponse.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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(); diff --git a/src/main/java/ai/lamin/lamin_api_client/model/SyncInstruction.java b/src/main/java/ai/lamin/lamin_api_client/model/SyncInstruction.java index a3d0687..c0508eb 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/SyncInstruction.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/SyncInstruction.java @@ -52,7 +52,7 @@ /** * Defines a single synchronization instruction, containing the scope and the desired state for that scope. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class SyncInstruction { public static final String SERIALIZED_NAME_SCOPE = "scope"; @SerializedName(SERIALIZED_NAME_SCOPE) @@ -167,14 +167,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("scope"); - openapiFields.add("desired_ids"); + openapiFields = new HashSet(Arrays.asList("scope", "desired_ids")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("scope"); - openapiRequiredFields.add("desired_ids"); + openapiRequiredFields = new HashSet(Arrays.asList("scope", "desired_ids")); } /** @@ -186,7 +182,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!SyncInstruction.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in SyncInstruction is not found in the empty JSON string", SyncInstruction.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in SyncInstruction is not found in the empty JSON string", SyncInstruction.openapiRequiredFields.toString())); } } @@ -194,14 +190,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SyncInstruction.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SyncInstruction` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SyncInstruction` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : SyncInstruction.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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(); @@ -209,7 +205,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonObj.get("desired_ids") == null) { throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); } else if (!jsonObj.get("desired_ids").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `desired_ids` to be an array in the JSON string but got `%s`", jsonObj.get("desired_ids").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `desired_ids` to be an array in the JSON string but got `%s`", jsonObj.get("desired_ids").toString())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/TraversalParams.java b/src/main/java/ai/lamin/lamin_api_client/model/TraversalParams.java index 57b5c76..9f21672 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/TraversalParams.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/TraversalParams.java @@ -52,7 +52,7 @@ /** * Parameters that define the hierarchical traversal. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class TraversalParams { public static final String SERIALIZED_NAME_VALUES = "values"; @SerializedName(SERIALIZED_NAME_VALUES) @@ -274,16 +274,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("values"); - openapiFields.add("kind"); - openapiFields.add("field"); - openapiFields.add("depth"); + openapiFields = new HashSet(Arrays.asList("values", "kind", "field", "depth")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("values"); - openapiRequiredFields.add("kind"); + openapiRequiredFields = new HashSet(Arrays.asList("values", "kind")); } /** @@ -295,7 +289,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!TraversalParams.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in TraversalParams is not found in the empty JSON string", TraversalParams.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in TraversalParams is not found in the empty JSON string", TraversalParams.openapiRequiredFields.toString())); } } @@ -303,20 +297,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!TraversalParams.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `TraversalParams` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `TraversalParams` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : TraversalParams.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("values").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `values` to be an array in the JSON string but got `%s`", jsonObj.get("values").toString())); + 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())); } JsonArray jsonArrayvalues = jsonObj.getAsJsonArray("values"); @@ -325,12 +319,12 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti TraversalParamsValuesInner.validateJsonElement(jsonArrayvalues.get(i)); }; if (!jsonObj.get("kind").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `kind` to be a primitive type in the JSON string but got `%s`", jsonObj.get("kind").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `kind` to be a primitive type in the JSON string but got `%s`", jsonObj.get("kind").toString())); } // validate the required field `kind` KindEnum.validateJsonElement(jsonObj.get("kind")); if ((jsonObj.get("field") != null && !jsonObj.get("field").isJsonNull()) && !jsonObj.get("field").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `field` to be a primitive type in the JSON string but got `%s`", jsonObj.get("field").toString())); + 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())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/TraversalParamsValuesInner.java b/src/main/java/ai/lamin/lamin_api_client/model/TraversalParamsValuesInner.java index 7a0f87e..68eb49d 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/TraversalParamsValuesInner.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/TraversalParamsValuesInner.java @@ -50,7 +50,7 @@ import ai.lamin.lamin_api_client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class TraversalParamsValuesInner extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(TraversalParamsValuesInner.class.getName()); @@ -107,7 +107,7 @@ public TraversalParamsValuesInner read(JsonReader in) throws IOException { try { // validate the JSON object to see if any exception is thrown if (!jsonElement.getAsJsonPrimitive().isNumber()) { - throw new IllegalArgumentException(String.format("Expected json element to be of type Number in the JSON string but got `%s`", jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected json element to be of type Number in the JSON string but got `%s`", jsonElement.toString())); } actualAdapter = adapterInteger; TraversalParamsValuesInner ret = new TraversalParamsValuesInner(); @@ -115,14 +115,14 @@ public TraversalParamsValuesInner read(JsonReader in) throws IOException { return ret; } catch (Exception e) { // deserialization failed, continue - errorMessages.add(String.format("Deserialization for Integer failed with `%s`.", e.getMessage())); + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for Integer failed with `%s`.", e.getMessage())); log.log(Level.FINER, "Input data does not match schema 'Integer'", e); } // deserialize String try { // validate the JSON object to see if any exception is thrown if (!jsonElement.getAsJsonPrimitive().isString()) { - throw new IllegalArgumentException(String.format("Expected json element to be of type String in the JSON string but got `%s`", jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected json element to be of type String in the JSON string but got `%s`", jsonElement.toString())); } actualAdapter = adapterString; TraversalParamsValuesInner ret = new TraversalParamsValuesInner(); @@ -130,14 +130,14 @@ public TraversalParamsValuesInner read(JsonReader in) throws IOException { return ret; } catch (Exception e) { // deserialization failed, continue - errorMessages.add(String.format("Deserialization for String failed with `%s`.", e.getMessage())); + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for String failed with `%s`.", e.getMessage())); log.log(Level.FINER, "Input data does not match schema 'String'", e); } // deserialize Boolean try { // validate the JSON object to see if any exception is thrown if (!jsonElement.getAsJsonPrimitive().isBoolean()) { - throw new IllegalArgumentException(String.format("Expected json element to be of type Boolean in the JSON string but got `%s`", jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected json element to be of type Boolean in the JSON string but got `%s`", jsonElement.toString())); } actualAdapter = adapterBoolean; TraversalParamsValuesInner ret = new TraversalParamsValuesInner(); @@ -145,11 +145,11 @@ public TraversalParamsValuesInner read(JsonReader in) throws IOException { return ret; } catch (Exception e) { // deserialization failed, continue - errorMessages.add(String.format("Deserialization for Boolean failed with `%s`.", e.getMessage())); + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for Boolean failed with `%s`.", e.getMessage())); log.log(Level.FINER, "Input data does not match schema 'Boolean'", e); } - throw new IOException(String.format("Failed deserialization for TraversalParamsValuesInner: no class matches result, expected at least 1. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString())); + throw new IOException(String.format(java.util.Locale.ROOT, "Failed deserialization for TraversalParamsValuesInner: no class matches result, expected at least 1. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString())); } }.nullSafe(); } @@ -262,34 +262,34 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the json string with Integer try { if (!jsonElement.getAsJsonPrimitive().isNumber()) { - throw new IllegalArgumentException(String.format("Expected json element to be of type Number in the JSON string but got `%s`", jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected json element to be of type Number in the JSON string but got `%s`", jsonElement.toString())); } return; } catch (Exception e) { - errorMessages.add(String.format("Deserialization for Integer failed with `%s`.", e.getMessage())); + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for Integer failed with `%s`.", e.getMessage())); // continue to the next one } // validate the json string with String try { if (!jsonElement.getAsJsonPrimitive().isString()) { - throw new IllegalArgumentException(String.format("Expected json element to be of type String in the JSON string but got `%s`", jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected json element to be of type String in the JSON string but got `%s`", jsonElement.toString())); } return; } catch (Exception e) { - errorMessages.add(String.format("Deserialization for String failed with `%s`.", e.getMessage())); + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for String failed with `%s`.", e.getMessage())); // continue to the next one } // validate the json string with Boolean try { if (!jsonElement.getAsJsonPrimitive().isBoolean()) { - throw new IllegalArgumentException(String.format("Expected json element to be of type Boolean in the JSON string but got `%s`", jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected json element to be of type Boolean in the JSON string but got `%s`", jsonElement.toString())); } return; } catch (Exception e) { - errorMessages.add(String.format("Deserialization for Boolean failed with `%s`.", e.getMessage())); + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for Boolean failed with `%s`.", e.getMessage())); // continue to the next one } - throw new IOException(String.format("The JSON string is invalid for TraversalParamsValuesInner with anyOf schemas: Boolean, Integer, String. no class match the result, expected at least 1. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString())); + throw new IOException(String.format(java.util.Locale.ROOT, "The JSON string is invalid for TraversalParamsValuesInner with anyOf schemas: Boolean, Integer, String. no class match the result, expected at least 1. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString())); } /** diff --git a/src/main/java/ai/lamin/lamin_api_client/model/UpdateCollaboratorRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/UpdateCollaboratorRequestBody.java index 9ac540d..f1f2828 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/UpdateCollaboratorRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/UpdateCollaboratorRequestBody.java @@ -50,7 +50,7 @@ /** * UpdateCollaboratorRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class UpdateCollaboratorRequestBody { /** * Gets or Sets role @@ -240,14 +240,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("role"); - openapiFields.add("account_id"); - openapiFields.add("team_id"); + openapiFields = new HashSet(Arrays.asList("role", "account_id", "team_id")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("role"); + openapiRequiredFields = new HashSet(Arrays.asList("role")); } /** @@ -259,7 +255,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!UpdateCollaboratorRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in UpdateCollaboratorRequestBody is not found in the empty JSON string", UpdateCollaboratorRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in UpdateCollaboratorRequestBody is not found in the empty JSON string", UpdateCollaboratorRequestBody.openapiRequiredFields.toString())); } } @@ -267,27 +263,27 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateCollaboratorRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UpdateCollaboratorRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateCollaboratorRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : UpdateCollaboratorRequestBody.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("role").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("role").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("role").toString())); } // validate the required field `role` RoleEnum.validateJsonElement(jsonObj.get("role")); if ((jsonObj.get("account_id") != null && !jsonObj.get("account_id").isJsonNull()) && !jsonObj.get("account_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `account_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("account_id").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `account_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("account_id").toString())); } if ((jsonObj.get("team_id") != null && !jsonObj.get("team_id").isJsonNull()) && !jsonObj.get("team_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `team_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("team_id").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `team_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("team_id").toString())); } } diff --git a/src/main/java/ai/lamin/lamin_api_client/model/UpdateOrganizationMemberRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/UpdateOrganizationMemberRequestBody.java index 276add6..31d5647 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/UpdateOrganizationMemberRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/UpdateOrganizationMemberRequestBody.java @@ -48,7 +48,7 @@ /** * UpdateOrganizationMemberRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class UpdateOrganizationMemberRequestBody { /** * Gets or Sets role @@ -177,12 +177,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("role"); + openapiFields = new HashSet(Arrays.asList("role")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("role"); + openapiRequiredFields = new HashSet(Arrays.asList("role")); } /** @@ -194,7 +192,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!UpdateOrganizationMemberRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in UpdateOrganizationMemberRequestBody is not found in the empty JSON string", UpdateOrganizationMemberRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in UpdateOrganizationMemberRequestBody is not found in the empty JSON string", UpdateOrganizationMemberRequestBody.openapiRequiredFields.toString())); } } @@ -202,19 +200,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateOrganizationMemberRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UpdateOrganizationMemberRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateOrganizationMemberRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : UpdateOrganizationMemberRequestBody.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("role").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("role").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("role").toString())); } // validate the required field `role` RoleEnum.validateJsonElement(jsonObj.get("role")); diff --git a/src/main/java/ai/lamin/lamin_api_client/model/UpdateSpaceCollaboratorRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/UpdateSpaceCollaboratorRequestBody.java index e37afef..c04ed48 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/UpdateSpaceCollaboratorRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/UpdateSpaceCollaboratorRequestBody.java @@ -50,7 +50,7 @@ /** * UpdateSpaceCollaboratorRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class UpdateSpaceCollaboratorRequestBody { public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) @@ -240,13 +240,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("account_id"); - openapiFields.add("team_id"); - openapiFields.add("role"); + openapiFields = new HashSet(Arrays.asList("account_id", "team_id", "role")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -258,7 +255,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!UpdateSpaceCollaboratorRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in UpdateSpaceCollaboratorRequestBody is not found in the empty JSON string", UpdateSpaceCollaboratorRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in UpdateSpaceCollaboratorRequestBody is not found in the empty JSON string", UpdateSpaceCollaboratorRequestBody.openapiRequiredFields.toString())); } } @@ -266,18 +263,18 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateSpaceCollaboratorRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UpdateSpaceCollaboratorRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateSpaceCollaboratorRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("account_id") != null && !jsonObj.get("account_id").isJsonNull()) && !jsonObj.get("account_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `account_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("account_id").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `account_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("account_id").toString())); } if ((jsonObj.get("team_id") != null && !jsonObj.get("team_id").isJsonNull()) && !jsonObj.get("team_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `team_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("team_id").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `team_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("team_id").toString())); } if ((jsonObj.get("role") != null && !jsonObj.get("role").isJsonNull()) && !jsonObj.get("role").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("role").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("role").toString())); } // validate the optional field `role` if (jsonObj.get("role") != null && !jsonObj.get("role").isJsonNull()) { diff --git a/src/main/java/ai/lamin/lamin_api_client/model/UpdateSpaceRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/UpdateSpaceRequestBody.java index bef6b17..4cef05e 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/UpdateSpaceRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/UpdateSpaceRequestBody.java @@ -49,7 +49,7 @@ /** * UpdateSpaceRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class UpdateSpaceRequestBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -159,12 +159,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("description"); + openapiFields = new HashSet(Arrays.asList("name", "description")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -176,7 +174,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!UpdateSpaceRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in UpdateSpaceRequestBody is not found in the empty JSON string", UpdateSpaceRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in UpdateSpaceRequestBody is not found in the empty JSON string", UpdateSpaceRequestBody.openapiRequiredFields.toString())); } } @@ -184,15 +182,15 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateSpaceRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UpdateSpaceRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateSpaceRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + 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("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + 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/ai/lamin/lamin_api_client/model/UpdateTeamMemberRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/UpdateTeamMemberRequestBody.java index 16507e8..88791ed 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/UpdateTeamMemberRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/UpdateTeamMemberRequestBody.java @@ -14,7 +14,6 @@ package ai.lamin.lamin_api_client.model; import java.util.Objects; -import ai.lamin.lamin_api_client.model.Role1; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,17 +48,73 @@ /** * UpdateTeamMemberRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class UpdateTeamMemberRequestBody { + /** + * Gets or Sets role + */ + @JsonAdapter(RoleEnum.Adapter.class) + public enum RoleEnum { + ADMIN("admin"), + + MEMBER("member"), + + MANAGER("manager"), + + GUEST("guest"); + + private String value; + + RoleEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static RoleEnum fromValue(String value) { + for (RoleEnum b : RoleEnum.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 RoleEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public RoleEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return RoleEnum.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + RoleEnum.fromValue(value); + } + } + public static final String SERIALIZED_NAME_ROLE = "role"; @SerializedName(SERIALIZED_NAME_ROLE) @javax.annotation.Nonnull - private Role1 role; + private RoleEnum role; public UpdateTeamMemberRequestBody() { } - public UpdateTeamMemberRequestBody role(@javax.annotation.Nonnull Role1 role) { + public UpdateTeamMemberRequestBody role(@javax.annotation.Nonnull RoleEnum role) { this.role = role; return this; } @@ -69,11 +124,11 @@ public UpdateTeamMemberRequestBody role(@javax.annotation.Nonnull Role1 role) { * @return role */ @javax.annotation.Nonnull - public Role1 getRole() { + public RoleEnum getRole() { return role; } - public void setRole(@javax.annotation.Nonnull Role1 role) { + public void setRole(@javax.annotation.Nonnull RoleEnum role) { this.role = role; } @@ -122,12 +177,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("role"); + openapiFields = new HashSet(Arrays.asList("role")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("role"); + openapiRequiredFields = new HashSet(Arrays.asList("role")); } /** @@ -139,7 +192,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!UpdateTeamMemberRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in UpdateTeamMemberRequestBody is not found in the empty JSON string", UpdateTeamMemberRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in UpdateTeamMemberRequestBody is not found in the empty JSON string", UpdateTeamMemberRequestBody.openapiRequiredFields.toString())); } } @@ -147,19 +200,22 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateTeamMemberRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UpdateTeamMemberRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateTeamMemberRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : UpdateTeamMemberRequestBody.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("role").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("role").toString())); + } // validate the required field `role` - Role1.validateJsonElement(jsonObj.get("role")); + RoleEnum.validateJsonElement(jsonObj.get("role")); } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/ai/lamin/lamin_api_client/model/UpdateTeamRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/UpdateTeamRequestBody.java index 0206938..4f1f028 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/UpdateTeamRequestBody.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/UpdateTeamRequestBody.java @@ -49,7 +49,7 @@ /** * UpdateTeamRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class UpdateTeamRequestBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -159,12 +159,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("description"); + openapiFields = new HashSet(Arrays.asList("name", "description")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -176,7 +174,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!UpdateTeamRequestBody.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in UpdateTeamRequestBody is not found in the empty JSON string", UpdateTeamRequestBody.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The required field(s) %s in UpdateTeamRequestBody is not found in the empty JSON string", UpdateTeamRequestBody.openapiRequiredFields.toString())); } } @@ -184,15 +182,15 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateTeamRequestBody.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UpdateTeamRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateTeamRequestBody` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + 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("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + 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/ai/lamin/lamin_api_client/model/ValidationError.java b/src/main/java/ai/lamin/lamin_api_client/model/ValidationError.java index 3a6b426..75ef810 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/ValidationError.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/ValidationError.java @@ -51,7 +51,7 @@ /** * ValidationError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class ValidationError { public static final String SERIALIZED_NAME_LOC = "loc"; @SerializedName(SERIALIZED_NAME_LOC) @@ -184,16 +184,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("loc"); - openapiFields.add("msg"); - openapiFields.add("type"); + openapiFields = new HashSet(Arrays.asList("loc", "msg", "type")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("loc"); - openapiRequiredFields.add("msg"); - openapiRequiredFields.add("type"); + openapiRequiredFields = new HashSet(Arrays.asList("loc", "msg", "type")); } /** @@ -205,7 +199,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ValidationError.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ValidationError is not found in the empty JSON string", ValidationError.openapiRequiredFields.toString())); + 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())); } } @@ -213,20 +207,20 @@ 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("The field `%s` in the JSON string is not defined in the `ValidationError` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + 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())); } } // check to make sure all required properties/fields are present in the JSON string for (String requiredField : ValidationError.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + 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("loc").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `loc` to be an array in the JSON string but got `%s`", jsonObj.get("loc").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `loc` to be an array in the JSON string but got `%s`", jsonObj.get("loc").toString())); } JsonArray jsonArrayloc = jsonObj.getAsJsonArray("loc"); @@ -235,10 +229,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti ValidationErrorLocInner.validateJsonElement(jsonArrayloc.get(i)); }; if (!jsonObj.get("msg").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `msg` to be a primitive type in the JSON string but got `%s`", jsonObj.get("msg").toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `msg` to be a primitive type in the JSON string but got `%s`", jsonObj.get("msg").toString())); } if (!jsonObj.get("type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + 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/ai/lamin/lamin_api_client/model/ValidationErrorLocInner.java b/src/main/java/ai/lamin/lamin_api_client/model/ValidationErrorLocInner.java index cbe883c..0907719 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/ValidationErrorLocInner.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/ValidationErrorLocInner.java @@ -50,7 +50,7 @@ import ai.lamin.lamin_api_client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-01-12T11:54:54.680196623+01:00[Europe/Brussels]", comments = "Generator version: 7.18.0") public class ValidationErrorLocInner extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(ValidationErrorLocInner.class.getName()); @@ -100,7 +100,7 @@ public ValidationErrorLocInner read(JsonReader in) throws IOException { try { // validate the JSON object to see if any exception is thrown if (!jsonElement.getAsJsonPrimitive().isString()) { - throw new IllegalArgumentException(String.format("Expected json element to be of type String in the JSON string but got `%s`", jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected json element to be of type String in the JSON string but got `%s`", jsonElement.toString())); } actualAdapter = adapterString; ValidationErrorLocInner ret = new ValidationErrorLocInner(); @@ -108,14 +108,14 @@ public ValidationErrorLocInner read(JsonReader in) throws IOException { return ret; } catch (Exception e) { // deserialization failed, continue - errorMessages.add(String.format("Deserialization for String failed with `%s`.", e.getMessage())); + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for String failed with `%s`.", e.getMessage())); log.log(Level.FINER, "Input data does not match schema 'String'", e); } // deserialize Integer try { // validate the JSON object to see if any exception is thrown if (!jsonElement.getAsJsonPrimitive().isNumber()) { - throw new IllegalArgumentException(String.format("Expected json element to be of type Number in the JSON string but got `%s`", jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected json element to be of type Number in the JSON string but got `%s`", jsonElement.toString())); } actualAdapter = adapterInteger; ValidationErrorLocInner ret = new ValidationErrorLocInner(); @@ -123,11 +123,11 @@ public ValidationErrorLocInner read(JsonReader in) throws IOException { return ret; } catch (Exception e) { // deserialization failed, continue - errorMessages.add(String.format("Deserialization for Integer failed with `%s`.", e.getMessage())); + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for Integer failed with `%s`.", e.getMessage())); log.log(Level.FINER, "Input data does not match schema 'Integer'", e); } - throw new IOException(String.format("Failed deserialization for ValidationErrorLocInner: no class matches result, expected at least 1. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString())); + throw new IOException(String.format(java.util.Locale.ROOT, "Failed deserialization for ValidationErrorLocInner: no class matches result, expected at least 1. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString())); } }.nullSafe(); } @@ -223,24 +223,24 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the json string with String try { if (!jsonElement.getAsJsonPrimitive().isString()) { - throw new IllegalArgumentException(String.format("Expected json element to be of type String in the JSON string but got `%s`", jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected json element to be of type String in the JSON string but got `%s`", jsonElement.toString())); } return; } catch (Exception e) { - errorMessages.add(String.format("Deserialization for String failed with `%s`.", e.getMessage())); + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for String failed with `%s`.", e.getMessage())); // continue to the next one } // validate the json string with Integer try { if (!jsonElement.getAsJsonPrimitive().isNumber()) { - throw new IllegalArgumentException(String.format("Expected json element to be of type Number in the JSON string but got `%s`", jsonElement.toString())); + throw new IllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected json element to be of type Number in the JSON string but got `%s`", jsonElement.toString())); } return; } catch (Exception e) { - errorMessages.add(String.format("Deserialization for Integer failed with `%s`.", e.getMessage())); + errorMessages.add(String.format(java.util.Locale.ROOT, "Deserialization for Integer failed with `%s`.", e.getMessage())); // continue to the next one } - throw new IOException(String.format("The JSON string is invalid for ValidationErrorLocInner with anyOf schemas: Integer, String. no class match the result, expected at least 1. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString())); + throw new IOException(String.format(java.util.Locale.ROOT, "The JSON string is invalid for ValidationErrorLocInner with anyOf schemas: Integer, String. no class match the result, expected at least 1. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString())); } /** diff --git a/src/test/src/test/java/ai/lamin/lamin_api_client/model/AddTeamMemberRequestBodyTest.java b/src/test/src/test/java/ai/lamin/lamin_api_client/model/AddTeamMemberRequestBodyTest.java index 224348e..8a9b884 100644 --- a/src/test/src/test/java/ai/lamin/lamin_api_client/model/AddTeamMemberRequestBodyTest.java +++ b/src/test/src/test/java/ai/lamin/lamin_api_client/model/AddTeamMemberRequestBodyTest.java @@ -13,7 +13,6 @@ package ai.lamin.lamin_api_client.model; -import ai.lamin.lamin_api_client.model.Role; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; diff --git a/src/test/src/test/java/ai/lamin/lamin_api_client/model/Role1Test.java b/src/test/src/test/java/ai/lamin/lamin_api_client/model/Role1Test.java deleted file mode 100644 index 308a571..0000000 --- a/src/test/src/test/java/ai/lamin/lamin_api_client/model/Role1Test.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * FastAPI - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package ai.lamin.lamin_api_client.model; - -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for Role1 - */ -public class Role1Test { - private final Role1 model = new Role1(); - - /** - * Model tests for Role1 - */ - @Test - public void testRole1() { - // TODO: test Role1 - } - -} diff --git a/src/test/src/test/java/ai/lamin/lamin_api_client/model/RoleTest.java b/src/test/src/test/java/ai/lamin/lamin_api_client/model/RoleTest.java deleted file mode 100644 index 15f6cd4..0000000 --- a/src/test/src/test/java/ai/lamin/lamin_api_client/model/RoleTest.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * FastAPI - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package ai.lamin.lamin_api_client.model; - -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for Role - */ -public class RoleTest { - private final Role model = new Role(); - - /** - * Model tests for Role - */ - @Test - public void testRole() { - // TODO: test Role - } - -} diff --git a/src/test/src/test/java/ai/lamin/lamin_api_client/model/UpdateTeamMemberRequestBodyTest.java b/src/test/src/test/java/ai/lamin/lamin_api_client/model/UpdateTeamMemberRequestBodyTest.java index 29bfb62..990846a 100644 --- a/src/test/src/test/java/ai/lamin/lamin_api_client/model/UpdateTeamMemberRequestBodyTest.java +++ b/src/test/src/test/java/ai/lamin/lamin_api_client/model/UpdateTeamMemberRequestBodyTest.java @@ -13,7 +13,6 @@ package ai.lamin.lamin_api_client.model; -import ai.lamin.lamin_api_client.model.Role1; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName;