From 982a7e5a8365b957ff11920ef4fd1cab26f3c257 Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Sun, 11 May 2025 17:05:00 +0200 Subject: [PATCH 1/8] attempt manual workaround --- README.md | 2 +- src/main/java/ai/lamin/lamin_api_client/api/DefaultApi.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ed168df..869babb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # lamin-api-client -![Maven Central Version](https://img.shields.io/maven-central/v/ai.lamin/lamin-api-client) +[![Maven Central Version](https://img.shields.io/maven-central/v/ai.lamin/lamin-api-client.svg)](https://central.sonatype.com/artifact/ai.lamin/lamin-api-client/overview) [![javadoc](https://javadoc.io/badge2/ai.lamin/lamin-api-client/javadoc.svg)](https://javadoc.io/doc/ai.lamin/lamin-api-client) Lamin API diff --git a/src/main/java/ai/lamin/lamin_api_client/api/DefaultApi.java b/src/main/java/ai/lamin/lamin_api_client/api/DefaultApi.java index e6cc953..b05b76f 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/DefaultApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/DefaultApi.java @@ -1572,7 +1572,7 @@ public okhttp3.Call createRecordInstancesInstanceIdModulesModuleNameModelNamePut } final String[] localVarContentTypes = { - "application/json" + "application/octet-stream" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { From 33f8115d074b8642f82d0fa7e3aa5e85e2c61d86 Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Sun, 11 May 2025 17:07:03 +0200 Subject: [PATCH 2/8] bump version --- README.md | 8 ++++---- config.yaml | 2 +- pom.xml | 2 +- src/main/java/ai/lamin/lamin_api_client/ApiClient.java | 2 +- .../java/ai/lamin/lamin_api_client/Configuration.java | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 869babb..d12bb47 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ mvn clean install To deploy it to a remote Maven repository instead, configure the settings of the repository and execute: ```shell -mvn clean deploy +mvn clean deploy -P deployment ``` Refer to the [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html) for more information. @@ -44,7 +44,7 @@ Add this dependency to your project's POM: ai.lamin lamin-api-client - 0.0.2 + 0.0.2.1 compile ``` @@ -60,7 +60,7 @@ Add this dependency to your project's build file: } dependencies { - implementation "ai.lamin:lamin-api-client:0.0.2" + implementation "ai.lamin:lamin-api-client:0.0.2.1" } ``` @@ -74,7 +74,7 @@ mvn clean package Then manually install the following JARs: -* `target/lamin-api-client-0.0.2.jar` +* `target/lamin-api-client-0.0.2.1.jar` * `target/lib/*.jar` ## Getting Started diff --git a/config.yaml b/config.yaml index d6bb668..4670ffb 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.2 +artifactVersion: 0.0.2.1 # Description: artifact URL in generated pom.xml artifactUrl: https://github.com/laminlabs/lamin-api-client-java diff --git a/pom.xml b/pom.xml index 08c3d2b..d2da56d 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ lamin-api-client jar lamin-api-client - 0.0.2 + 0.0.2.1 https://github.com/laminlabs/lamin-api-client-java Java client for the Lamin API 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 89701e5..72b6c0e 100644 --- a/src/main/java/ai/lamin/lamin_api_client/ApiClient.java +++ b/src/main/java/ai/lamin/lamin_api_client/ApiClient.java @@ -139,7 +139,7 @@ private void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/0.0.2/java"); + setUserAgent("OpenAPI-Generator/0.0.2.1/java"); authentications = new HashMap(); } 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 3a9bcd9..9fa115e 100644 --- a/src/main/java/ai/lamin/lamin_api_client/Configuration.java +++ b/src/main/java/ai/lamin/lamin_api_client/Configuration.java @@ -15,7 +15,7 @@ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Configuration { - public static final String VERSION = "0.0.2"; + public static final String VERSION = "0.0.2.1"; private static volatile ApiClient defaultApiClient = new ApiClient(); From 3a28e1032e4567316bdb1059731d3f3226a112f5 Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Wed, 4 Jun 2025 12:32:22 +0200 Subject: [PATCH 3/8] create 0.0.3-rc1 --- .openapi-generator/FILES | 8 + README.md | 40 +- api/openapi.yaml | 613 +++- config.yaml | 2 +- docs/AddOrganizationMemberRequestBody.md | 23 + docs/CreateArtifactRequestBody.md | 14 + docs/CreateTransformRequestBody.md | 15 + docs/DefaultApi.md | 1004 ++++++- docs/UpdateOrganizationMemberRequestBody.md | 23 + docs/UpdateSpaceCollaboratorRequestBody.md | 2 +- generate.sh | 2 +- pom.xml | 2 +- .../ai/lamin/lamin_api_client/ApiClient.java | 8 +- .../lamin/lamin_api_client/ApiException.java | 2 +- .../lamin/lamin_api_client/Configuration.java | 4 +- .../java/ai/lamin/lamin_api_client/JSON.java | 4 + .../java/ai/lamin/lamin_api_client/Pair.java | 2 +- .../lamin_api_client/ServerConfiguration.java | 2 +- .../lamin_api_client/ServerVariable.java | 2 +- .../ai/lamin/lamin_api_client/StringUtil.java | 2 +- .../lamin_api_client/api/DefaultApi.java | 2535 ++++++++++++++--- .../lamin_api_client/auth/ApiKeyAuth.java | 2 +- .../lamin_api_client/auth/HttpBearerAuth.java | 2 +- .../model/AbstractOpenApiSchema.java | 2 +- .../model/AddCollaboratorRequestBody.java | 2 +- .../AddOrganizationMemberRequestBody.java | 264 ++ .../AddSpaceCollaboratorRequestBody.java | 2 +- .../model/AddTeamMemberRequestBody.java | 4 +- .../model/AttachSpaceToRecordRequestBody.java | 2 +- .../model/CreateArtifactRequestBody.java | 251 ++ .../model/CreateSpaceRequestBody.java | 2 +- .../model/CreateTeamRequestBody.java | 2 +- .../model/CreateTransformRequestBody.java | 276 ++ .../lamin_api_client/model/DbUrlRequest.java | 2 +- .../lamin_api_client/model/Dimension.java | 2 +- .../model/GetRecordRequestBody.java | 2 +- .../model/GetRecordsRequestBody.java | 2 +- .../model/GetValuesRequestBody.java | 2 +- .../model/GroupByRequestBody.java | 2 +- .../model/HTTPValidationError.java | 2 +- .../lamin/lamin_api_client/model/Measure.java | 2 +- .../lamin_api_client/model/OrderByColumn.java | 2 +- .../model/RegisterDbServerBody.java | 2 +- .../model/RegisterFormRequest.java | 2 +- .../ai/lamin/lamin_api_client/model/Role.java | 2 +- .../lamin/lamin_api_client/model/Role1.java | 2 +- .../model/S3PermissionsRequest.java | 2 +- .../model/UpdateCollaboratorRequestBody.java | 2 +- .../UpdateOrganizationMemberRequestBody.java | 270 ++ .../UpdateSpaceCollaboratorRequestBody.java | 6 +- .../model/UpdateSpaceRequestBody.java | 2 +- .../model/UpdateTeamMemberRequestBody.java | 2 +- .../model/UpdateTeamRequestBody.java | 2 +- .../model/ValidationError.java | 2 +- .../model/ValidationErrorLocInner.java | 2 +- .../AddOrganizationMemberRequestBodyTest.java | 48 + .../model/CreateArtifactRequestBodyTest.java | 58 + .../model/CreateTransformRequestBodyTest.java | 64 + ...dateOrganizationMemberRequestBodyTest.java | 48 + 59 files changed, 5096 insertions(+), 558 deletions(-) create mode 100644 docs/AddOrganizationMemberRequestBody.md create mode 100644 docs/CreateArtifactRequestBody.md create mode 100644 docs/CreateTransformRequestBody.md create mode 100644 docs/UpdateOrganizationMemberRequestBody.md create mode 100644 src/main/java/ai/lamin/lamin_api_client/model/AddOrganizationMemberRequestBody.java create mode 100644 src/main/java/ai/lamin/lamin_api_client/model/CreateArtifactRequestBody.java create mode 100644 src/main/java/ai/lamin/lamin_api_client/model/CreateTransformRequestBody.java create mode 100644 src/main/java/ai/lamin/lamin_api_client/model/UpdateOrganizationMemberRequestBody.java create mode 100644 src/test/src/test/java/ai/lamin/lamin_api_client/model/AddOrganizationMemberRequestBodyTest.java create mode 100644 src/test/src/test/java/ai/lamin/lamin_api_client/model/CreateArtifactRequestBodyTest.java create mode 100644 src/test/src/test/java/ai/lamin/lamin_api_client/model/CreateTransformRequestBodyTest.java create mode 100644 src/test/src/test/java/ai/lamin/lamin_api_client/model/UpdateOrganizationMemberRequestBodyTest.java diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index c129714..7244076 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -2,11 +2,14 @@ README.md api/openapi.yaml docs/AddCollaboratorRequestBody.md +docs/AddOrganizationMemberRequestBody.md docs/AddSpaceCollaboratorRequestBody.md docs/AddTeamMemberRequestBody.md docs/AttachSpaceToRecordRequestBody.md +docs/CreateArtifactRequestBody.md docs/CreateSpaceRequestBody.md docs/CreateTeamRequestBody.md +docs/CreateTransformRequestBody.md docs/DbUrlRequest.md docs/DefaultApi.md docs/Dimension.md @@ -23,6 +26,7 @@ docs/Role.md docs/Role1.md docs/S3PermissionsRequest.md docs/UpdateCollaboratorRequestBody.md +docs/UpdateOrganizationMemberRequestBody.md docs/UpdateSpaceCollaboratorRequestBody.md docs/UpdateSpaceRequestBody.md docs/UpdateTeamMemberRequestBody.md @@ -53,11 +57,14 @@ src/main/java/ai/lamin/lamin_api_client/auth/HttpBasicAuth.java src/main/java/ai/lamin/lamin_api_client/auth/HttpBearerAuth.java src/main/java/ai/lamin/lamin_api_client/model/AbstractOpenApiSchema.java src/main/java/ai/lamin/lamin_api_client/model/AddCollaboratorRequestBody.java +src/main/java/ai/lamin/lamin_api_client/model/AddOrganizationMemberRequestBody.java src/main/java/ai/lamin/lamin_api_client/model/AddSpaceCollaboratorRequestBody.java src/main/java/ai/lamin/lamin_api_client/model/AddTeamMemberRequestBody.java src/main/java/ai/lamin/lamin_api_client/model/AttachSpaceToRecordRequestBody.java +src/main/java/ai/lamin/lamin_api_client/model/CreateArtifactRequestBody.java src/main/java/ai/lamin/lamin_api_client/model/CreateSpaceRequestBody.java src/main/java/ai/lamin/lamin_api_client/model/CreateTeamRequestBody.java +src/main/java/ai/lamin/lamin_api_client/model/CreateTransformRequestBody.java src/main/java/ai/lamin/lamin_api_client/model/DbUrlRequest.java src/main/java/ai/lamin/lamin_api_client/model/Dimension.java src/main/java/ai/lamin/lamin_api_client/model/GetRecordRequestBody.java @@ -73,6 +80,7 @@ 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/UpdateCollaboratorRequestBody.java +src/main/java/ai/lamin/lamin_api_client/model/UpdateOrganizationMemberRequestBody.java src/main/java/ai/lamin/lamin_api_client/model/UpdateSpaceCollaboratorRequestBody.java src/main/java/ai/lamin/lamin_api_client/model/UpdateSpaceRequestBody.java src/main/java/ai/lamin/lamin_api_client/model/UpdateTeamMemberRequestBody.java diff --git a/README.md b/README.md index d12bb47..84a5c03 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # lamin-api-client [![Maven Central Version](https://img.shields.io/maven-central/v/ai.lamin/lamin-api-client.svg)](https://central.sonatype.com/artifact/ai.lamin/lamin-api-client/overview) -[![javadoc](https://javadoc.io/badge2/ai.lamin/lamin-api-client/javadoc.svg)](https://javadoc.io/doc/ai.lamin/lamin-api-client) +[![javadoc](https://javadoc.io/badge2/ai.lamin/lamin-api-client/javadoc.svg)](https://javadoc.io/doc/ai.lamin/lamin-api-client) Lamin API - API version: 0.1.0 - - Build date: 2025-05-10T19:58:41.182141089+02:00[Europe/Brussels] + - Build date: 2025-06-04T12:31:22.348899534+02:00[Europe/Brussels] - Generator version: 7.12.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.2.1 + 0.0.3-rc1 compile ``` @@ -60,7 +60,7 @@ Add this dependency to your project's build file: } dependencies { - implementation "ai.lamin:lamin-api-client:0.0.2.1" + implementation "ai.lamin:lamin-api-client:0.0.3-rc1" } ``` @@ -74,7 +74,7 @@ mvn clean package Then manually install the following JARs: -* `target/lamin-api-client-0.0.2.1.jar` +* `target/lamin-api-client-0.0.3-rc1.jar` * `target/lib/*.jar` ## Getting Started @@ -93,7 +93,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -116,22 +116,28 @@ public class Example { ## Documentation for API Endpoints -All URIs are relative to *https://aws.us-east-1.lamin.ai/api* +All URIs are relative to *https://staging.laminhub.com/api* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *DefaultApi* | [**addCollaboratorAccessV2InstancesInstanceIdCollaboratorsPut**](docs/DefaultApi.md#addCollaboratorAccessV2InstancesInstanceIdCollaboratorsPut) | **PUT** /access_v2/instances/{instance_id}/collaborators | Add Collaborator *DefaultApi* | [**addCollaboratorInstancesInstanceIdCollaboratorsAccountIdPut**](docs/DefaultApi.md#addCollaboratorInstancesInstanceIdCollaboratorsAccountIdPut) | **PUT** /instances/{instance_id}/collaborators/{account_id} | Add Collaborator +*DefaultApi* | [**addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut**](docs/DefaultApi.md#addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut) | **PUT** /access_v2/organizations/{organization_id}/members/{account_id} | Add Organization Member *DefaultApi* | [**addSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPut**](docs/DefaultApi.md#addSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPut) | **PUT** /access_v2/spaces/{space_id}/collaborators | Add Space Collaborator *DefaultApi* | [**addTeamMemberAccessV2TeamsTeamIdMembersAccountIdPut**](docs/DefaultApi.md#addTeamMemberAccessV2TeamsTeamIdMembersAccountIdPut) | **PUT** /access_v2/teams/{team_id}/members/{account_id} | Add Team Member *DefaultApi* | [**attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut**](docs/DefaultApi.md#attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/{label_field}/{label_id} | Attach Label *DefaultApi* | [**attachSpaceToInstanceAccessV2SpacesSpaceIdInstancesInstanceIdPut**](docs/DefaultApi.md#attachSpaceToInstanceAccessV2SpacesSpaceIdInstancesInstanceIdPut) | **PUT** /access_v2/spaces/{space_id}/instances/{instance_id} | Attach Space To Instance +*DefaultApi* | [**checkCacheAccessDebugCacheAccessGet**](docs/DefaultApi.md#checkCacheAccessDebugCacheAccessGet) | **GET** /_debug/cache-access | Check Cache Access *DefaultApi* | [**checkDbAccessDebugDbAccessPost**](docs/DefaultApi.md#checkDbAccessDebugDbAccessPost) | **POST** /_debug/db-access | Check Db Access *DefaultApi* | [**checkDbServerAccessDbServerCheckAccessPost**](docs/DefaultApi.md#checkDbServerAccessDbServerCheckAccessPost) | **POST** /db/server/check-access | Check Db Server Access +*DefaultApi* | [**checkLambdaAccessDebugLambdaAccessGet**](docs/DefaultApi.md#checkLambdaAccessDebugLambdaAccessGet) | **GET** /_debug/lambda-access | Check Lambda Access +*DefaultApi* | [**createArtifactInstancesInstanceIdArtifactsCreatePost**](docs/DefaultApi.md#createArtifactInstancesInstanceIdArtifactsCreatePost) | **POST** /instances/{instance_id}/artifacts/create | Create Artifact *DefaultApi* | [**createInstanceInstancesPut**](docs/DefaultApi.md#createInstanceInstancesPut) | **PUT** /instances | Create Instance *DefaultApi* | [**createRecordInstancesInstanceIdModulesModuleNameModelNamePut**](docs/DefaultApi.md#createRecordInstancesInstanceIdModulesModuleNameModelNamePut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name} | Create Record +*DefaultApi* | [**createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut**](docs/DefaultApi.md#createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name}/bulk | Create Records *DefaultApi* | [**createSpaceAccessV2SpacesPut**](docs/DefaultApi.md#createSpaceAccessV2SpacesPut) | **PUT** /access_v2/spaces | Create Space *DefaultApi* | [**createTeamAccessV2TeamsPut**](docs/DefaultApi.md#createTeamAccessV2TeamsPut) | **PUT** /access_v2/teams | Create Team +*DefaultApi* | [**createTransformInstancesInstanceIdTransformsPost**](docs/DefaultApi.md#createTransformInstancesInstanceIdTransformsPost) | **POST** /instances/{instance_id}/transforms | Create Transform *DefaultApi* | [**deleteCollaboratorInstancesInstanceIdCollaboratorsAccountIdDelete**](docs/DefaultApi.md#deleteCollaboratorInstancesInstanceIdCollaboratorsAccountIdDelete) | **DELETE** /instances/{instance_id}/collaborators/{account_id} | Delete Collaborator *DefaultApi* | [**deleteInstanceInstancesInstanceIdDelete**](docs/DefaultApi.md#deleteInstanceInstancesInstanceIdDelete) | **DELETE** /instances/{instance_id} | Delete Instance *DefaultApi* | [**deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete**](docs/DefaultApi.md#deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete) | **DELETE** /instances/{instance_id}/modules/{module_name}/{model_name}/{uid} | Delete Record @@ -139,10 +145,12 @@ Class | Method | HTTP request | Description *DefaultApi* | [**deleteTeamAccessV2TeamsTeamIdDelete**](docs/DefaultApi.md#deleteTeamAccessV2TeamsTeamIdDelete) | **DELETE** /access_v2/teams/{team_id} | Delete Team *DefaultApi* | [**detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete**](docs/DefaultApi.md#detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete) | **DELETE** /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/{label_field}/{label_id} | Detach Label *DefaultApi* | [**detachSpaceFromInstanceAccessV2SpacesSpaceIdInstancesInstanceIdDelete**](docs/DefaultApi.md#detachSpaceFromInstanceAccessV2SpacesSpaceIdInstancesInstanceIdDelete) | **DELETE** /access_v2/spaces/{space_id}/instances/{instance_id} | Detach Space From Instance +*DefaultApi* | [**getCallerAccountAccountGet**](docs/DefaultApi.md#getCallerAccountAccountGet) | **GET** /account | Get Caller Account *DefaultApi* | [**getDbTokenAccessV2InstancesInstanceIdDbTokenGet**](docs/DefaultApi.md#getDbTokenAccessV2InstancesInstanceIdDbTokenGet) | **GET** /access_v2/instances/{instance_id}/db_token | Get Db Token *DefaultApi* | [**getInstanceStatisticsInstancesInstanceIdStatisticsGet**](docs/DefaultApi.md#getInstanceStatisticsInstancesInstanceIdStatisticsGet) | **GET** /instances/{instance_id}/statistics | Get Instance Statistics *DefaultApi* | [**getIpDebugIpGet**](docs/DefaultApi.md#getIpDebugIpGet) | **GET** /_debug/ip | Get Ip *DefaultApi* | [**getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet**](docs/DefaultApi.md#getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet) | **GET** /instances/{instance_id}/non_empty_tables | Get Non Empty Tables +*DefaultApi* | [**getOrganizationAccessV2OrganizationsOrganizationIdGet**](docs/DefaultApi.md#getOrganizationAccessV2OrganizationsOrganizationIdGet) | **GET** /access_v2/organizations/{organization_id} | Get Organization *DefaultApi* | [**getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost**](docs/DefaultApi.md#getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/{id_or_uid} | Get Record *DefaultApi* | [**getRecordsInstancesInstanceIdModulesModuleNameModelNamePost**](docs/DefaultApi.md#getRecordsInstancesInstanceIdModulesModuleNameModelNamePost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name} | Get Records *DefaultApi* | [**getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGet**](docs/DefaultApi.md#getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGet) | **GET** /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/counts | Get Relation Counts @@ -158,39 +166,46 @@ Class | Method | HTTP request | Description *DefaultApi* | [**listDirectoryInstancesInstanceIdEntityTypeGet**](docs/DefaultApi.md#listDirectoryInstancesInstanceIdEntityTypeGet) | **GET** /instances/{instance_id}/{entity_type} | List Directory *DefaultApi* | [**listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet**](docs/DefaultApi.md#listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet) | **GET** /access_v2/spaces/instances/{instance_id} | List Instance Spaces *DefaultApi* | [**listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet**](docs/DefaultApi.md#listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet) | **GET** /access_v2/spaces/{space_id}/instances | List Instances Using Space +*DefaultApi* | [**listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet**](docs/DefaultApi.md#listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet) | **GET** /access_v2/organizations/{organization_id}/members | List Organization Members *DefaultApi* | [**listOrganizationSpacesAccessV2SpacesOrganizationsOrganizationIdGet**](docs/DefaultApi.md#listOrganizationSpacesAccessV2SpacesOrganizationsOrganizationIdGet) | **GET** /access_v2/spaces/organizations/{organization_id} | List Organization Spaces *DefaultApi* | [**listOrganizationTeamsAccessV2TeamsOrganizationsOrganizationIdGet**](docs/DefaultApi.md#listOrganizationTeamsAccessV2TeamsOrganizationsOrganizationIdGet) | **GET** /access_v2/teams/organizations/{organization_id} | List Organization Teams *DefaultApi* | [**listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet**](docs/DefaultApi.md#listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet) | **GET** /access_v2/spaces/{space_id}/collaborators | List Space Collaborators *DefaultApi* | [**listTeamMembersAccessV2TeamsTeamIdMembersGet**](docs/DefaultApi.md#listTeamMembersAccessV2TeamsTeamIdMembersGet) | **GET** /access_v2/teams/{team_id}/members | List Team Members *DefaultApi* | [**moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut**](docs/DefaultApi.md#moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut) | **PUT** /access_v2/spaces/{space_id}/record-attachments | Move Record To Space -*DefaultApi* | [**proxyS3S3PathGet**](docs/DefaultApi.md#proxyS3S3PathGet) | **GET** /s3/{path} | Proxy S3 -*DefaultApi* | [**proxyS3S3PathGet_0**](docs/DefaultApi.md#proxyS3S3PathGet_0) | **HEAD** /s3/{path} | Proxy S3 -*DefaultApi* | [**proxyS3S3PathGet_1**](docs/DefaultApi.md#proxyS3S3PathGet_1) | **PUT** /s3/{path} | Proxy S3 -*DefaultApi* | [**proxyS3S3PathGet_2**](docs/DefaultApi.md#proxyS3S3PathGet_2) | **POST** /s3/{path} | Proxy S3 -*DefaultApi* | [**proxyS3S3PathGet_3**](docs/DefaultApi.md#proxyS3S3PathGet_3) | **DELETE** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathHead**](docs/DefaultApi.md#proxyS3S3PathHead) | **GET** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathHead_0**](docs/DefaultApi.md#proxyS3S3PathHead_0) | **HEAD** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathHead_1**](docs/DefaultApi.md#proxyS3S3PathHead_1) | **PUT** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathHead_2**](docs/DefaultApi.md#proxyS3S3PathHead_2) | **POST** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathHead_3**](docs/DefaultApi.md#proxyS3S3PathHead_3) | **DELETE** /s3/{path} | Proxy S3 *DefaultApi* | [**registerDbServerDbServerRegisterPost**](docs/DefaultApi.md#registerDbServerDbServerRegisterPost) | **POST** /db/server/register | Register Db Server *DefaultApi* | [**registerFormInstancesInstanceIdFormsPost**](docs/DefaultApi.md#registerFormInstancesInstanceIdFormsPost) | **POST** /instances/{instance_id}/forms | Register Form *DefaultApi* | [**removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete**](docs/DefaultApi.md#removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete) | **DELETE** /access_v2/instances/{instance_id}/collaborators | Remove Collaborator +*DefaultApi* | [**removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete**](docs/DefaultApi.md#removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete) | **DELETE** /access_v2/organizations/{organization_id}/members/{account_id} | Remove Organization Member *DefaultApi* | [**removeSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsDelete**](docs/DefaultApi.md#removeSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsDelete) | **DELETE** /access_v2/spaces/{space_id}/collaborators | Remove Space Collaborator *DefaultApi* | [**removeTeamMemberAccessV2TeamsTeamIdMembersAccountIdDelete**](docs/DefaultApi.md#removeTeamMemberAccessV2TeamsTeamIdMembersAccountIdDelete) | **DELETE** /access_v2/teams/{team_id}/members/{account_id} | Remove Team Member *DefaultApi* | [**transferOwnershipInstancesInstanceIdOwnerHandlePatch**](docs/DefaultApi.md#transferOwnershipInstancesInstanceIdOwnerHandlePatch) | **PATCH** /instances/{instance_id}/owner/{handle} | Transfer Ownership *DefaultApi* | [**updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch**](docs/DefaultApi.md#updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch) | **PATCH** /access_v2/instances/{instance_id}/collaborators | Update Collaborator *DefaultApi* | [**updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch**](docs/DefaultApi.md#updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch) | **PATCH** /instances/{instance_id}/collaborators/{account_id} | Update Collaborator +*DefaultApi* | [**updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch**](docs/DefaultApi.md#updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch) | **PATCH** /access_v2/organizations/{organization_id}/members/{account_id} | Update Organization Member *DefaultApi* | [**updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch**](docs/DefaultApi.md#updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch) | **PATCH** /instances/{instance_id}/modules/{module_name}/{model_name}/{uid} | Update Record *DefaultApi* | [**updateSpaceAccessV2SpacesSpaceIdPatch**](docs/DefaultApi.md#updateSpaceAccessV2SpacesSpaceIdPatch) | **PATCH** /access_v2/spaces/{space_id} | Update Space *DefaultApi* | [**updateSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPatch**](docs/DefaultApi.md#updateSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPatch) | **PATCH** /access_v2/spaces/{space_id}/collaborators | Update Space Collaborator *DefaultApi* | [**updateTeamAccessV2TeamsTeamIdPatch**](docs/DefaultApi.md#updateTeamAccessV2TeamsTeamIdPatch) | **PATCH** /access_v2/teams/{team_id} | Update Team *DefaultApi* | [**updateTeamMemberAccessV2TeamsTeamIdMembersAccountIdPatch**](docs/DefaultApi.md#updateTeamMemberAccessV2TeamsTeamIdMembersAccountIdPatch) | **PATCH** /access_v2/teams/{team_id}/members/{account_id} | Update Team Member +*DefaultApi* | [**uploadArtifactInstancesInstanceIdArtifactsUploadPost**](docs/DefaultApi.md#uploadArtifactInstancesInstanceIdArtifactsUploadPost) | **POST** /instances/{instance_id}/artifacts/upload | Upload Artifact ## Documentation for Models - [AddCollaboratorRequestBody](docs/AddCollaboratorRequestBody.md) + - [AddOrganizationMemberRequestBody](docs/AddOrganizationMemberRequestBody.md) - [AddSpaceCollaboratorRequestBody](docs/AddSpaceCollaboratorRequestBody.md) - [AddTeamMemberRequestBody](docs/AddTeamMemberRequestBody.md) - [AttachSpaceToRecordRequestBody](docs/AttachSpaceToRecordRequestBody.md) + - [CreateArtifactRequestBody](docs/CreateArtifactRequestBody.md) - [CreateSpaceRequestBody](docs/CreateSpaceRequestBody.md) - [CreateTeamRequestBody](docs/CreateTeamRequestBody.md) + - [CreateTransformRequestBody](docs/CreateTransformRequestBody.md) - [DbUrlRequest](docs/DbUrlRequest.md) - [Dimension](docs/Dimension.md) - [GetRecordRequestBody](docs/GetRecordRequestBody.md) @@ -206,6 +221,7 @@ Class | Method | HTTP request | Description - [Role1](docs/Role1.md) - [S3PermissionsRequest](docs/S3PermissionsRequest.md) - [UpdateCollaboratorRequestBody](docs/UpdateCollaboratorRequestBody.md) + - [UpdateOrganizationMemberRequestBody](docs/UpdateOrganizationMemberRequestBody.md) - [UpdateSpaceCollaboratorRequestBody](docs/UpdateSpaceCollaboratorRequestBody.md) - [UpdateSpaceRequestBody](docs/UpdateSpaceRequestBody.md) - [UpdateTeamMemberRequestBody](docs/UpdateTeamMemberRequestBody.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index 0cba3df..3030d35 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -3,7 +3,7 @@ info: title: FastAPI version: 0.1.0 servers: -- url: https://aws.us-east-1.lamin.ai/api +- url: https://staging.laminhub.com/api paths: /instances: put: @@ -42,6 +42,14 @@ paths: nullable: true type: string style: form + - explode: true + in: query + name: storage_uid + required: false + schema: + nullable: true + type: string + style: form - explode: false in: header name: Authorization @@ -1179,6 +1187,73 @@ paths: summary: Attach Label x-accepts: - application/json + /instances/{instance_id}/modules/{module_name}/{model_name}/bulk: + put: + operationId: create_records_instances__instance_id__modules__module_name___model_name__bulk_put + parameters: + - explode: false + in: path + name: module_name + required: true + schema: + title: Module Name + type: string + style: simple + - explode: false + in: path + name: model_name + required: true + schema: + title: Model Name + type: string + style: simple + - explode: false + in: path + name: instance_id + required: true + schema: + format: uuid + nullable: true + type: string + style: simple + - explode: true + in: query + name: schema_id + required: false + schema: + format: uuid + nullable: true + type: string + style: form + - explode: false + in: header + name: Authorization + required: false + schema: + nullable: true + type: string + style: simple + requestBody: + content: + application/json: + schema: {} + required: true + responses: + "200": + content: + application/json: + schema: {} + description: Successful Response + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/HTTPValidationError' + description: Validation Error + summary: Create Records + x-content-type: application/json + x-accepts: + - application/json /instances/{instance_id}/modules/{module_name}/{model_name}/{uid}: delete: operationId: delete_record_instances__instance_id__modules__module_name___model_name___uid__delete @@ -1391,9 +1466,138 @@ paths: summary: Get Relation Counts x-accepts: - application/json + /instances/{instance_id}/artifacts/upload: + post: + operationId: upload_artifact_instances__instance_id__artifacts_upload_post + parameters: + - explode: false + in: path + name: instance_id + required: true + schema: + format: uuid + nullable: true + type: string + style: simple + - explode: false + in: header + name: Authorization + required: false + schema: + nullable: true + type: string + style: simple + requestBody: + content: + multipart/form-data: + schema: + $ref: '#/components/schemas/Body_upload_artifact_instances__instance_id__artifacts_upload_post' + required: true + responses: + "200": + content: + application/json: + schema: {} + description: Successful Response + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/HTTPValidationError' + description: Validation Error + summary: Upload Artifact + x-content-type: multipart/form-data + x-accepts: + - application/json + /instances/{instance_id}/artifacts/create: + post: + operationId: create_artifact_instances__instance_id__artifacts_create_post + parameters: + - explode: false + in: path + name: instance_id + required: true + schema: + format: uuid + nullable: true + type: string + style: simple + - explode: false + in: header + name: Authorization + required: false + schema: + nullable: true + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateArtifactRequestBody' + required: true + responses: + "200": + content: + application/json: + schema: {} + description: Successful Response + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/HTTPValidationError' + description: Validation Error + summary: Create Artifact + x-content-type: application/json + x-accepts: + - application/json + /instances/{instance_id}/transforms: + post: + operationId: create_transform_instances__instance_id__transforms_post + parameters: + - explode: false + in: path + name: instance_id + required: true + schema: + format: uuid + nullable: true + type: string + style: simple + - explode: false + in: header + name: Authorization + required: false + schema: + nullable: true + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateTransformRequestBody' + required: true + responses: + "200": + content: + application/json: + schema: {} + description: Successful Response + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/HTTPValidationError' + description: Validation Error + summary: Create Transform + x-content-type: application/json + x-accepts: + - application/json /s3/{path}: delete: - operationId: proxy_s3_s3__path__get + operationId: proxy_s3_s3__path__head parameters: - explode: false in: path @@ -1419,7 +1623,7 @@ paths: x-accepts: - application/json get: - operationId: proxy_s3_s3__path__get + operationId: proxy_s3_s3__path__head parameters: - explode: false in: path @@ -1445,7 +1649,7 @@ paths: x-accepts: - application/json head: - operationId: proxy_s3_s3__path__get + operationId: proxy_s3_s3__path__head parameters: - explode: false in: path @@ -1471,7 +1675,7 @@ paths: x-accepts: - application/json post: - operationId: proxy_s3_s3__path__get + operationId: proxy_s3_s3__path__head parameters: - explode: false in: path @@ -1497,7 +1701,7 @@ paths: x-accepts: - application/json put: - operationId: proxy_s3_s3__path__get + operationId: proxy_s3_s3__path__head parameters: - explode: false in: path @@ -2976,6 +3180,275 @@ paths: summary: Get Db Token x-accepts: - application/json + /access_v2/organizations/{organization_id}: + get: + description: |- + Get details of a specific organization. + + Parameters: + - **organization_id**: UUID of the organization to retrieve + + Returns: + - **200**: Organization details retrieved successfully + - **404**: Organization not found + operationId: get_organization_access_v2_organizations__organization_id__get + parameters: + - explode: false + in: path + name: organization_id + required: true + schema: + format: uuid + title: Organization Id + type: string + style: simple + - explode: false + in: header + name: Authorization + required: false + schema: + nullable: true + type: string + style: simple + responses: + "200": + content: + application/json: + schema: {} + description: Successful Response + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/HTTPValidationError' + description: Validation Error + summary: Get Organization + x-accepts: + - application/json + /access_v2/organizations/{organization_id}/members: + get: + description: |- + List all members of an organization. + + Parameters: + - **organization_id**: UUID of the organization to list members for + + Returns: + - **200**: List of organization members retrieved successfully + operationId: list_organization_members_access_v2_organizations__organization_id__members_get + parameters: + - explode: false + in: path + name: organization_id + required: true + schema: + format: uuid + title: Organization Id + type: string + style: simple + - explode: false + in: header + name: Authorization + required: false + schema: + nullable: true + type: string + style: simple + responses: + "200": + content: + application/json: + schema: {} + description: Successful Response + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/HTTPValidationError' + description: Validation Error + summary: List Organization Members + x-accepts: + - application/json + /access_v2/organizations/{organization_id}/members/{account_id}: + delete: + description: |- + Remove a member from an organization. + + Parameters: + - **organization_id**: UUID of the organization to remove the member from + - **account_id**: UUID of the account to remove from the organization + + Returns: + - **200**: Organization member removed successfully + - **404**: Member not found in organization + operationId: remove_organization_member_access_v2_organizations__organization_id__members__account_id__delete + parameters: + - explode: false + in: path + name: organization_id + required: true + schema: + format: uuid + title: Organization Id + type: string + style: simple + - explode: false + in: path + name: account_id + required: true + schema: + format: uuid + title: Account Id + type: string + style: simple + - explode: false + in: header + name: Authorization + required: false + schema: + nullable: true + type: string + style: simple + responses: + "200": + content: + application/json: + schema: {} + description: Successful Response + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/HTTPValidationError' + description: Validation Error + summary: Remove Organization Member + x-accepts: + - application/json + patch: + description: |- + Update an organization member's details. + + Parameters: + - **organization_id**: UUID of the organization the member belongs to + - **account_id**: UUID of the account to update + - **body**: Request body containing updated member details + - **role**: Role of the member in the organization + + Returns: + - **200**: Organization member updated successfully + - **404**: Member not found in organization + operationId: update_organization_member_access_v2_organizations__organization_id__members__account_id__patch + parameters: + - explode: false + in: path + name: organization_id + required: true + schema: + format: uuid + title: Organization Id + type: string + style: simple + - explode: false + in: path + name: account_id + required: true + schema: + format: uuid + title: Account Id + type: string + style: simple + - explode: false + in: header + name: Authorization + required: false + schema: + nullable: true + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/UpdateOrganizationMemberRequestBody' + required: true + responses: + "200": + content: + application/json: + schema: {} + description: Successful Response + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/HTTPValidationError' + description: Validation Error + summary: Update Organization Member + x-content-type: application/json + x-accepts: + - application/json + put: + description: |- + Add a member to an organization. + + Parameters: + - **organization_id**: UUID of the organization to add the member to + - **account_id**: UUID of the account to add as a member + - **body**: Request body containing member details + - **role**: Role of the member in the organization + + Returns: + - **201**: Organization member added successfully + operationId: add_organization_member_access_v2_organizations__organization_id__members__account_id__put + parameters: + - explode: false + in: path + name: organization_id + required: true + schema: + format: uuid + title: Organization Id + type: string + style: simple + - explode: false + in: path + name: account_id + required: true + schema: + format: uuid + title: Account Id + type: string + style: simple + - explode: false + in: header + name: Authorization + required: false + schema: + nullable: true + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AddOrganizationMemberRequestBody' + required: true + responses: + "200": + content: + application/json: + schema: {} + description: Successful Response + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/HTTPValidationError' + description: Validation Error + summary: Add Organization Member + x-content-type: application/json + x-accepts: + - application/json /instances/{instance_id}/{entity_type}: get: operationId: list_directory_instances__instance_id___entity_type__get @@ -3188,6 +3661,30 @@ paths: x-content-type: application/json x-accepts: - application/json + /_debug/lambda-access: + get: + operationId: check_lambda_access__debug_lambda_access_get + responses: + "200": + content: + application/json: + schema: {} + description: Successful Response + summary: Check Lambda Access + x-accepts: + - application/json + /_debug/cache-access: + get: + operationId: check_cache_access__debug_cache_access_get + responses: + "200": + content: + application/json: + schema: {} + description: Successful Response + summary: Check Cache Access + x-accepts: + - application/json /db/server/register: post: operationId: register_db_server_db_server_register_post @@ -3257,6 +3754,33 @@ paths: summary: Check Db Server Access x-accepts: - application/json + /account: + get: + operationId: get_caller_account_account_get + parameters: + - explode: false + in: header + name: Authorization + required: false + schema: + nullable: true + type: string + style: simple + responses: + "200": + content: + application/json: + schema: {} + description: Successful Response + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/HTTPValidationError' + description: Validation Error + summary: Get Caller Account + x-accepts: + - application/json components: schemas: AddCollaboratorRequestBody: @@ -3282,6 +3806,19 @@ components: title: Role type: string title: AddCollaboratorRequestBody + AddOrganizationMemberRequestBody: + example: + role: member + properties: + role: + default: member + enum: + - admin + - member + - manager + title: Role + type: string + title: AddOrganizationMemberRequestBody AddSpaceCollaboratorRequestBody: example: account_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -3332,6 +3869,34 @@ components: - module_name - record_id title: AttachSpaceToRecordRequestBody + Body_upload_artifact_instances__instance_id__artifacts_upload_post: + properties: + file: + format: binary + title: File + type: string + kwargs: + nullable: true + type: string + required: + - file + title: Body_upload_artifact_instances__instance_id__artifacts_upload_post + CreateArtifactRequestBody: + example: + path: path + kwargs: + key: "" + properties: + path: + title: Path + type: string + kwargs: + additionalProperties: {} + default: {} + title: Kwargs + required: + - path + title: CreateArtifactRequestBody CreateSpaceRequestBody: example: organization_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -3372,6 +3937,26 @@ components: - name - organization_id title: CreateTeamRequestBody + CreateTransformRequestBody: + example: + type: type + source_code: source_code + key: key + properties: + key: + title: Key + type: string + type: + title: Type + type: string + source_code: + title: Source Code + type: string + required: + - key + - source_code + - type + title: CreateTransformRequestBody DbUrlRequest: example: db_url: db_url @@ -3646,6 +4231,20 @@ components: required: - role title: UpdateCollaboratorRequestBody + UpdateOrganizationMemberRequestBody: + example: + role: admin + properties: + role: + enum: + - admin + - member + - manager + title: Role + type: string + required: + - role + title: UpdateOrganizationMemberRequestBody UpdateSpaceCollaboratorRequestBody: example: account_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -3663,8 +4262,8 @@ components: role: enum: - admin - - write - read + - write nullable: true type: string title: UpdateSpaceCollaboratorRequestBody diff --git a/config.yaml b/config.yaml index 4670ffb..f054f2c 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.2.1 +artifactVersion: 0.0.3-rc1 # Description: artifact URL in generated pom.xml artifactUrl: https://github.com/laminlabs/lamin-api-client-java diff --git a/docs/AddOrganizationMemberRequestBody.md b/docs/AddOrganizationMemberRequestBody.md new file mode 100644 index 0000000..cac9793 --- /dev/null +++ b/docs/AddOrganizationMemberRequestBody.md @@ -0,0 +1,23 @@ + + +# AddOrganizationMemberRequestBody + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**role** | [**RoleEnum**](#RoleEnum) | | [optional] | + + + +## Enum: RoleEnum + +| Name | Value | +|---- | -----| +| ADMIN | "admin" | +| MEMBER | "member" | +| MANAGER | "manager" | + + + diff --git a/docs/CreateArtifactRequestBody.md b/docs/CreateArtifactRequestBody.md new file mode 100644 index 0000000..fb0335c --- /dev/null +++ b/docs/CreateArtifactRequestBody.md @@ -0,0 +1,14 @@ + + +# CreateArtifactRequestBody + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**path** | **String** | | | +|**kwargs** | **Map<String, Object>** | | [optional] | + + + diff --git a/docs/CreateTransformRequestBody.md b/docs/CreateTransformRequestBody.md new file mode 100644 index 0000000..ffb0bbd --- /dev/null +++ b/docs/CreateTransformRequestBody.md @@ -0,0 +1,15 @@ + + +# CreateTransformRequestBody + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**key** | **String** | | | +|**type** | **String** | | | +|**sourceCode** | **String** | | | + + + diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index 74b6003..64ba993 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -1,21 +1,27 @@ # DefaultApi -All URIs are relative to *https://aws.us-east-1.lamin.ai/api* +All URIs are relative to *https://staging.laminhub.com/api* | Method | HTTP request | Description | |------------- | ------------- | -------------| | [**addCollaboratorAccessV2InstancesInstanceIdCollaboratorsPut**](DefaultApi.md#addCollaboratorAccessV2InstancesInstanceIdCollaboratorsPut) | **PUT** /access_v2/instances/{instance_id}/collaborators | Add Collaborator | | [**addCollaboratorInstancesInstanceIdCollaboratorsAccountIdPut**](DefaultApi.md#addCollaboratorInstancesInstanceIdCollaboratorsAccountIdPut) | **PUT** /instances/{instance_id}/collaborators/{account_id} | Add Collaborator | +| [**addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut**](DefaultApi.md#addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut) | **PUT** /access_v2/organizations/{organization_id}/members/{account_id} | Add Organization Member | | [**addSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPut**](DefaultApi.md#addSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPut) | **PUT** /access_v2/spaces/{space_id}/collaborators | Add Space Collaborator | | [**addTeamMemberAccessV2TeamsTeamIdMembersAccountIdPut**](DefaultApi.md#addTeamMemberAccessV2TeamsTeamIdMembersAccountIdPut) | **PUT** /access_v2/teams/{team_id}/members/{account_id} | Add Team Member | | [**attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut**](DefaultApi.md#attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/{label_field}/{label_id} | Attach Label | | [**attachSpaceToInstanceAccessV2SpacesSpaceIdInstancesInstanceIdPut**](DefaultApi.md#attachSpaceToInstanceAccessV2SpacesSpaceIdInstancesInstanceIdPut) | **PUT** /access_v2/spaces/{space_id}/instances/{instance_id} | Attach Space To Instance | +| [**checkCacheAccessDebugCacheAccessGet**](DefaultApi.md#checkCacheAccessDebugCacheAccessGet) | **GET** /_debug/cache-access | Check Cache Access | | [**checkDbAccessDebugDbAccessPost**](DefaultApi.md#checkDbAccessDebugDbAccessPost) | **POST** /_debug/db-access | Check Db Access | | [**checkDbServerAccessDbServerCheckAccessPost**](DefaultApi.md#checkDbServerAccessDbServerCheckAccessPost) | **POST** /db/server/check-access | Check Db Server Access | +| [**checkLambdaAccessDebugLambdaAccessGet**](DefaultApi.md#checkLambdaAccessDebugLambdaAccessGet) | **GET** /_debug/lambda-access | Check Lambda Access | +| [**createArtifactInstancesInstanceIdArtifactsCreatePost**](DefaultApi.md#createArtifactInstancesInstanceIdArtifactsCreatePost) | **POST** /instances/{instance_id}/artifacts/create | Create Artifact | | [**createInstanceInstancesPut**](DefaultApi.md#createInstanceInstancesPut) | **PUT** /instances | Create Instance | | [**createRecordInstancesInstanceIdModulesModuleNameModelNamePut**](DefaultApi.md#createRecordInstancesInstanceIdModulesModuleNameModelNamePut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name} | Create Record | +| [**createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut**](DefaultApi.md#createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name}/bulk | Create Records | | [**createSpaceAccessV2SpacesPut**](DefaultApi.md#createSpaceAccessV2SpacesPut) | **PUT** /access_v2/spaces | Create Space | | [**createTeamAccessV2TeamsPut**](DefaultApi.md#createTeamAccessV2TeamsPut) | **PUT** /access_v2/teams | Create Team | +| [**createTransformInstancesInstanceIdTransformsPost**](DefaultApi.md#createTransformInstancesInstanceIdTransformsPost) | **POST** /instances/{instance_id}/transforms | Create Transform | | [**deleteCollaboratorInstancesInstanceIdCollaboratorsAccountIdDelete**](DefaultApi.md#deleteCollaboratorInstancesInstanceIdCollaboratorsAccountIdDelete) | **DELETE** /instances/{instance_id}/collaborators/{account_id} | Delete Collaborator | | [**deleteInstanceInstancesInstanceIdDelete**](DefaultApi.md#deleteInstanceInstancesInstanceIdDelete) | **DELETE** /instances/{instance_id} | Delete Instance | | [**deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete**](DefaultApi.md#deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete) | **DELETE** /instances/{instance_id}/modules/{module_name}/{model_name}/{uid} | Delete Record | @@ -23,10 +29,12 @@ All URIs are relative to *https://aws.us-east-1.lamin.ai/api* | [**deleteTeamAccessV2TeamsTeamIdDelete**](DefaultApi.md#deleteTeamAccessV2TeamsTeamIdDelete) | **DELETE** /access_v2/teams/{team_id} | Delete Team | | [**detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete**](DefaultApi.md#detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete) | **DELETE** /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/{label_field}/{label_id} | Detach Label | | [**detachSpaceFromInstanceAccessV2SpacesSpaceIdInstancesInstanceIdDelete**](DefaultApi.md#detachSpaceFromInstanceAccessV2SpacesSpaceIdInstancesInstanceIdDelete) | **DELETE** /access_v2/spaces/{space_id}/instances/{instance_id} | Detach Space From Instance | +| [**getCallerAccountAccountGet**](DefaultApi.md#getCallerAccountAccountGet) | **GET** /account | Get Caller Account | | [**getDbTokenAccessV2InstancesInstanceIdDbTokenGet**](DefaultApi.md#getDbTokenAccessV2InstancesInstanceIdDbTokenGet) | **GET** /access_v2/instances/{instance_id}/db_token | Get Db Token | | [**getInstanceStatisticsInstancesInstanceIdStatisticsGet**](DefaultApi.md#getInstanceStatisticsInstancesInstanceIdStatisticsGet) | **GET** /instances/{instance_id}/statistics | Get Instance Statistics | | [**getIpDebugIpGet**](DefaultApi.md#getIpDebugIpGet) | **GET** /_debug/ip | Get Ip | | [**getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet**](DefaultApi.md#getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet) | **GET** /instances/{instance_id}/non_empty_tables | Get Non Empty Tables | +| [**getOrganizationAccessV2OrganizationsOrganizationIdGet**](DefaultApi.md#getOrganizationAccessV2OrganizationsOrganizationIdGet) | **GET** /access_v2/organizations/{organization_id} | Get Organization | | [**getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost**](DefaultApi.md#getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/{id_or_uid} | Get Record | | [**getRecordsInstancesInstanceIdModulesModuleNameModelNamePost**](DefaultApi.md#getRecordsInstancesInstanceIdModulesModuleNameModelNamePost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name} | Get Records | | [**getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGet**](DefaultApi.md#getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGet) | **GET** /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/counts | Get Relation Counts | @@ -42,29 +50,33 @@ All URIs are relative to *https://aws.us-east-1.lamin.ai/api* | [**listDirectoryInstancesInstanceIdEntityTypeGet**](DefaultApi.md#listDirectoryInstancesInstanceIdEntityTypeGet) | **GET** /instances/{instance_id}/{entity_type} | List Directory | | [**listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet**](DefaultApi.md#listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet) | **GET** /access_v2/spaces/instances/{instance_id} | List Instance Spaces | | [**listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet**](DefaultApi.md#listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet) | **GET** /access_v2/spaces/{space_id}/instances | List Instances Using Space | +| [**listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet**](DefaultApi.md#listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet) | **GET** /access_v2/organizations/{organization_id}/members | List Organization Members | | [**listOrganizationSpacesAccessV2SpacesOrganizationsOrganizationIdGet**](DefaultApi.md#listOrganizationSpacesAccessV2SpacesOrganizationsOrganizationIdGet) | **GET** /access_v2/spaces/organizations/{organization_id} | List Organization Spaces | | [**listOrganizationTeamsAccessV2TeamsOrganizationsOrganizationIdGet**](DefaultApi.md#listOrganizationTeamsAccessV2TeamsOrganizationsOrganizationIdGet) | **GET** /access_v2/teams/organizations/{organization_id} | List Organization Teams | | [**listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet**](DefaultApi.md#listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet) | **GET** /access_v2/spaces/{space_id}/collaborators | List Space Collaborators | | [**listTeamMembersAccessV2TeamsTeamIdMembersGet**](DefaultApi.md#listTeamMembersAccessV2TeamsTeamIdMembersGet) | **GET** /access_v2/teams/{team_id}/members | List Team Members | | [**moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut**](DefaultApi.md#moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut) | **PUT** /access_v2/spaces/{space_id}/record-attachments | Move Record To Space | -| [**proxyS3S3PathGet**](DefaultApi.md#proxyS3S3PathGet) | **GET** /s3/{path} | Proxy S3 | -| [**proxyS3S3PathGet_0**](DefaultApi.md#proxyS3S3PathGet_0) | **HEAD** /s3/{path} | Proxy S3 | -| [**proxyS3S3PathGet_1**](DefaultApi.md#proxyS3S3PathGet_1) | **PUT** /s3/{path} | Proxy S3 | -| [**proxyS3S3PathGet_2**](DefaultApi.md#proxyS3S3PathGet_2) | **POST** /s3/{path} | Proxy S3 | -| [**proxyS3S3PathGet_3**](DefaultApi.md#proxyS3S3PathGet_3) | **DELETE** /s3/{path} | Proxy S3 | +| [**proxyS3S3PathHead**](DefaultApi.md#proxyS3S3PathHead) | **GET** /s3/{path} | Proxy S3 | +| [**proxyS3S3PathHead_0**](DefaultApi.md#proxyS3S3PathHead_0) | **HEAD** /s3/{path} | Proxy S3 | +| [**proxyS3S3PathHead_1**](DefaultApi.md#proxyS3S3PathHead_1) | **PUT** /s3/{path} | Proxy S3 | +| [**proxyS3S3PathHead_2**](DefaultApi.md#proxyS3S3PathHead_2) | **POST** /s3/{path} | Proxy S3 | +| [**proxyS3S3PathHead_3**](DefaultApi.md#proxyS3S3PathHead_3) | **DELETE** /s3/{path} | Proxy S3 | | [**registerDbServerDbServerRegisterPost**](DefaultApi.md#registerDbServerDbServerRegisterPost) | **POST** /db/server/register | Register Db Server | | [**registerFormInstancesInstanceIdFormsPost**](DefaultApi.md#registerFormInstancesInstanceIdFormsPost) | **POST** /instances/{instance_id}/forms | Register Form | | [**removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete**](DefaultApi.md#removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete) | **DELETE** /access_v2/instances/{instance_id}/collaborators | Remove Collaborator | +| [**removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete**](DefaultApi.md#removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete) | **DELETE** /access_v2/organizations/{organization_id}/members/{account_id} | Remove Organization Member | | [**removeSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsDelete**](DefaultApi.md#removeSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsDelete) | **DELETE** /access_v2/spaces/{space_id}/collaborators | Remove Space Collaborator | | [**removeTeamMemberAccessV2TeamsTeamIdMembersAccountIdDelete**](DefaultApi.md#removeTeamMemberAccessV2TeamsTeamIdMembersAccountIdDelete) | **DELETE** /access_v2/teams/{team_id}/members/{account_id} | Remove Team Member | | [**transferOwnershipInstancesInstanceIdOwnerHandlePatch**](DefaultApi.md#transferOwnershipInstancesInstanceIdOwnerHandlePatch) | **PATCH** /instances/{instance_id}/owner/{handle} | Transfer Ownership | | [**updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch**](DefaultApi.md#updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch) | **PATCH** /access_v2/instances/{instance_id}/collaborators | Update Collaborator | | [**updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch**](DefaultApi.md#updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch) | **PATCH** /instances/{instance_id}/collaborators/{account_id} | Update Collaborator | +| [**updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch**](DefaultApi.md#updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch) | **PATCH** /access_v2/organizations/{organization_id}/members/{account_id} | Update Organization Member | | [**updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch**](DefaultApi.md#updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch) | **PATCH** /instances/{instance_id}/modules/{module_name}/{model_name}/{uid} | Update Record | | [**updateSpaceAccessV2SpacesSpaceIdPatch**](DefaultApi.md#updateSpaceAccessV2SpacesSpaceIdPatch) | **PATCH** /access_v2/spaces/{space_id} | Update Space | | [**updateSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPatch**](DefaultApi.md#updateSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPatch) | **PATCH** /access_v2/spaces/{space_id}/collaborators | Update Space Collaborator | | [**updateTeamAccessV2TeamsTeamIdPatch**](DefaultApi.md#updateTeamAccessV2TeamsTeamIdPatch) | **PATCH** /access_v2/teams/{team_id} | Update Team | | [**updateTeamMemberAccessV2TeamsTeamIdMembersAccountIdPatch**](DefaultApi.md#updateTeamMemberAccessV2TeamsTeamIdMembersAccountIdPatch) | **PATCH** /access_v2/teams/{team_id}/members/{account_id} | Update Team Member | +| [**uploadArtifactInstancesInstanceIdArtifactsUploadPost**](DefaultApi.md#uploadArtifactInstancesInstanceIdArtifactsUploadPost) | **POST** /instances/{instance_id}/artifacts/upload | Upload Artifact | @@ -87,7 +99,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -152,7 +164,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -203,6 +215,75 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | + +# **addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut** +> Object addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut(organizationId, accountId, addOrganizationMemberRequestBody, authorization) + +Add Organization Member + +Add a member to an organization. Parameters: - **organization_id**: UUID of the organization to add the member to - **account_id**: UUID of the account to add as a member - **body**: Request body containing member details - **role**: Role of the member in the organization Returns: - **201**: Organization member added successfully + +### Example +```java +// Import classes: +import ai.lamin.lamin_api_client.ApiClient; +import ai.lamin.lamin_api_client.ApiException; +import ai.lamin.lamin_api_client.Configuration; +import ai.lamin.lamin_api_client.models.*; +import ai.lamin.lamin_api_client.api.DefaultApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://staging.laminhub.com/api"); + + DefaultApi apiInstance = new DefaultApi(defaultClient); + UUID organizationId = UUID.randomUUID(); // UUID | + UUID accountId = UUID.randomUUID(); // UUID | + AddOrganizationMemberRequestBody addOrganizationMemberRequestBody = new AddOrganizationMemberRequestBody(); // AddOrganizationMemberRequestBody | + String authorization = "authorization_example"; // String | + try { + Object result = apiInstance.addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut(organizationId, accountId, addOrganizationMemberRequestBody, authorization); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DefaultApi#addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **organizationId** | **UUID**| | | +| **accountId** | **UUID**| | | +| **addOrganizationMemberRequestBody** | [**AddOrganizationMemberRequestBody**](AddOrganizationMemberRequestBody.md)| | | +| **authorization** | **String**| | [optional] | + +### Return type + +**Object** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful Response | - | +| **422** | Validation Error | - | + # **addSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPut** > Object addSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPut(spaceId, addSpaceCollaboratorRequestBody, authorization) @@ -223,7 +304,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -290,7 +371,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID teamId = UUID.randomUUID(); // UUID | @@ -357,7 +438,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -434,7 +515,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -481,6 +562,62 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | + +# **checkCacheAccessDebugCacheAccessGet** +> Object checkCacheAccessDebugCacheAccessGet() + +Check Cache Access + +### Example +```java +// Import classes: +import ai.lamin.lamin_api_client.ApiClient; +import ai.lamin.lamin_api_client.ApiException; +import ai.lamin.lamin_api_client.Configuration; +import ai.lamin.lamin_api_client.models.*; +import ai.lamin.lamin_api_client.api.DefaultApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://staging.laminhub.com/api"); + + DefaultApi apiInstance = new DefaultApi(defaultClient); + try { + Object result = apiInstance.checkCacheAccessDebugCacheAccessGet(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DefaultApi#checkCacheAccessDebugCacheAccessGet"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +**Object** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful Response | - | + # **checkDbAccessDebugDbAccessPost** > Object checkDbAccessDebugDbAccessPost(dbUrlRequest) @@ -499,7 +636,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); DbUrlRequest dbUrlRequest = new DbUrlRequest(); // DbUrlRequest | @@ -560,7 +697,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String name = "name_example"; // String | @@ -605,9 +742,130 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | + +# **checkLambdaAccessDebugLambdaAccessGet** +> Object checkLambdaAccessDebugLambdaAccessGet() + +Check Lambda Access + +### Example +```java +// Import classes: +import ai.lamin.lamin_api_client.ApiClient; +import ai.lamin.lamin_api_client.ApiException; +import ai.lamin.lamin_api_client.Configuration; +import ai.lamin.lamin_api_client.models.*; +import ai.lamin.lamin_api_client.api.DefaultApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://staging.laminhub.com/api"); + + DefaultApi apiInstance = new DefaultApi(defaultClient); + try { + Object result = apiInstance.checkLambdaAccessDebugLambdaAccessGet(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DefaultApi#checkLambdaAccessDebugLambdaAccessGet"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +**Object** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful Response | - | + + +# **createArtifactInstancesInstanceIdArtifactsCreatePost** +> Object createArtifactInstancesInstanceIdArtifactsCreatePost(instanceId, createArtifactRequestBody, authorization) + +Create Artifact + +### Example +```java +// Import classes: +import ai.lamin.lamin_api_client.ApiClient; +import ai.lamin.lamin_api_client.ApiException; +import ai.lamin.lamin_api_client.Configuration; +import ai.lamin.lamin_api_client.models.*; +import ai.lamin.lamin_api_client.api.DefaultApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://staging.laminhub.com/api"); + + DefaultApi apiInstance = new DefaultApi(defaultClient); + UUID instanceId = UUID.randomUUID(); // UUID | + CreateArtifactRequestBody createArtifactRequestBody = new CreateArtifactRequestBody(); // CreateArtifactRequestBody | + String authorization = "authorization_example"; // String | + try { + Object result = apiInstance.createArtifactInstancesInstanceIdArtifactsCreatePost(instanceId, createArtifactRequestBody, authorization); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DefaultApi#createArtifactInstancesInstanceIdArtifactsCreatePost"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **instanceId** | **UUID**| | | +| **createArtifactRequestBody** | [**CreateArtifactRequestBody**](CreateArtifactRequestBody.md)| | | +| **authorization** | **String**| | [optional] | + +### Return type + +**Object** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful Response | - | +| **422** | Validation Error | - | + # **createInstanceInstancesPut** -> Object createInstanceInstancesPut(name, storage, schemaStr, dbServerKey, authorization) +> Object createInstanceInstancesPut(name, storage, schemaStr, dbServerKey, storageUid, authorization) Create Instance @@ -623,16 +881,17 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String name = "name_example"; // String | String storage = "create-s3"; // String | String schemaStr = "schemaStr_example"; // String | String dbServerKey = "dbServerKey_example"; // String | + String storageUid = "storageUid_example"; // String | String authorization = "authorization_example"; // String | try { - Object result = apiInstance.createInstanceInstancesPut(name, storage, schemaStr, dbServerKey, authorization); + Object result = apiInstance.createInstanceInstancesPut(name, storage, schemaStr, dbServerKey, storageUid, authorization); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DefaultApi#createInstanceInstancesPut"); @@ -653,6 +912,7 @@ public class Example { | **storage** | **String**| | [optional] [default to create-s3] | | **schemaStr** | **String**| | [optional] | | **dbServerKey** | **String**| | [optional] | +| **storageUid** | **String**| | [optional] | | **authorization** | **String**| | [optional] | ### Return type @@ -692,7 +952,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -745,6 +1005,77 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | + +# **createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut** +> Object createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut(moduleName, modelName, instanceId, body, schemaId, authorization) + +Create Records + +### Example +```java +// Import classes: +import ai.lamin.lamin_api_client.ApiClient; +import ai.lamin.lamin_api_client.ApiException; +import ai.lamin.lamin_api_client.Configuration; +import ai.lamin.lamin_api_client.models.*; +import ai.lamin.lamin_api_client.api.DefaultApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://staging.laminhub.com/api"); + + DefaultApi apiInstance = new DefaultApi(defaultClient); + String moduleName = "moduleName_example"; // String | + String modelName = "modelName_example"; // String | + UUID instanceId = UUID.randomUUID(); // UUID | + Object body = null; // Object | + UUID schemaId = UUID.randomUUID(); // UUID | + String authorization = "authorization_example"; // String | + try { + Object result = apiInstance.createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut(moduleName, modelName, instanceId, body, schemaId, authorization); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DefaultApi#createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **moduleName** | **String**| | | +| **modelName** | **String**| | | +| **instanceId** | **UUID**| | | +| **body** | **Object**| | | +| **schemaId** | **UUID**| | [optional] | +| **authorization** | **String**| | [optional] | + +### Return type + +**Object** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful Response | - | +| **422** | Validation Error | - | + # **createSpaceAccessV2SpacesPut** > Object createSpaceAccessV2SpacesPut(createSpaceRequestBody, authorization) @@ -765,7 +1096,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); CreateSpaceRequestBody createSpaceRequestBody = new CreateSpaceRequestBody(); // CreateSpaceRequestBody | @@ -830,7 +1161,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); CreateTeamRequestBody createTeamRequestBody = new CreateTeamRequestBody(); // CreateTeamRequestBody | @@ -875,6 +1206,71 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | + +# **createTransformInstancesInstanceIdTransformsPost** +> Object createTransformInstancesInstanceIdTransformsPost(instanceId, createTransformRequestBody, authorization) + +Create Transform + +### Example +```java +// Import classes: +import ai.lamin.lamin_api_client.ApiClient; +import ai.lamin.lamin_api_client.ApiException; +import ai.lamin.lamin_api_client.Configuration; +import ai.lamin.lamin_api_client.models.*; +import ai.lamin.lamin_api_client.api.DefaultApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://staging.laminhub.com/api"); + + DefaultApi apiInstance = new DefaultApi(defaultClient); + UUID instanceId = UUID.randomUUID(); // UUID | + CreateTransformRequestBody createTransformRequestBody = new CreateTransformRequestBody(); // CreateTransformRequestBody | + String authorization = "authorization_example"; // String | + try { + Object result = apiInstance.createTransformInstancesInstanceIdTransformsPost(instanceId, createTransformRequestBody, authorization); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DefaultApi#createTransformInstancesInstanceIdTransformsPost"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **instanceId** | **UUID**| | | +| **createTransformRequestBody** | [**CreateTransformRequestBody**](CreateTransformRequestBody.md)| | | +| **authorization** | **String**| | [optional] | + +### Return type + +**Object** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful Response | - | +| **422** | Validation Error | - | + # **deleteCollaboratorInstancesInstanceIdCollaboratorsAccountIdDelete** > Object deleteCollaboratorInstancesInstanceIdCollaboratorsAccountIdDelete(instanceId, accountId, authorization) @@ -893,7 +1289,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -958,7 +1354,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -1023,7 +1419,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -1096,7 +1492,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -1161,7 +1557,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID teamId = UUID.randomUUID(); // UUID | @@ -1224,7 +1620,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -1301,7 +1697,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -1348,6 +1744,67 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | + +# **getCallerAccountAccountGet** +> Object getCallerAccountAccountGet(authorization) + +Get Caller Account + +### Example +```java +// Import classes: +import ai.lamin.lamin_api_client.ApiClient; +import ai.lamin.lamin_api_client.ApiException; +import ai.lamin.lamin_api_client.Configuration; +import ai.lamin.lamin_api_client.models.*; +import ai.lamin.lamin_api_client.api.DefaultApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://staging.laminhub.com/api"); + + DefaultApi apiInstance = new DefaultApi(defaultClient); + String authorization = "authorization_example"; // String | + try { + Object result = apiInstance.getCallerAccountAccountGet(authorization); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DefaultApi#getCallerAccountAccountGet"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **authorization** | **String**| | [optional] | + +### Return type + +**Object** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful Response | - | +| **422** | Validation Error | - | + # **getDbTokenAccessV2InstancesInstanceIdDbTokenGet** > Object getDbTokenAccessV2InstancesInstanceIdDbTokenGet(instanceId, authorization) @@ -1368,7 +1825,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -1431,7 +1888,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -1498,14 +1955,73 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); try { - Object result = apiInstance.getIpDebugIpGet(); + Object result = apiInstance.getIpDebugIpGet(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DefaultApi#getIpDebugIpGet"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +**Object** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful Response | - | + + +# **getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet** +> Object getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet(instanceId, schemaId, authorization) + +Get Non Empty Tables + +### Example +```java +// Import classes: +import ai.lamin.lamin_api_client.ApiClient; +import ai.lamin.lamin_api_client.ApiException; +import ai.lamin.lamin_api_client.Configuration; +import ai.lamin.lamin_api_client.models.*; +import ai.lamin.lamin_api_client.api.DefaultApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://staging.laminhub.com/api"); + + DefaultApi apiInstance = new DefaultApi(defaultClient); + UUID instanceId = UUID.randomUUID(); // UUID | + UUID schemaId = UUID.randomUUID(); // UUID | + String authorization = "authorization_example"; // String | + try { + Object result = apiInstance.getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet(instanceId, schemaId, authorization); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#getIpDebugIpGet"); + System.err.println("Exception when calling DefaultApi#getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -1516,7 +2032,12 @@ public class Example { ``` ### Parameters -This endpoint does not need any parameter. + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **instanceId** | **UUID**| | | +| **schemaId** | **UUID**| | [optional] | +| **authorization** | **String**| | [optional] | ### Return type @@ -1535,12 +2056,15 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Successful Response | - | +| **422** | Validation Error | - | - -# **getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet** -> Object getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet(instanceId, schemaId, authorization) + +# **getOrganizationAccessV2OrganizationsOrganizationIdGet** +> Object getOrganizationAccessV2OrganizationsOrganizationIdGet(organizationId, authorization) -Get Non Empty Tables +Get Organization + +Get details of a specific organization. Parameters: - **organization_id**: UUID of the organization to retrieve Returns: - **200**: Organization details retrieved successfully - **404**: Organization not found ### Example ```java @@ -1554,17 +2078,16 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); - UUID instanceId = UUID.randomUUID(); // UUID | - UUID schemaId = UUID.randomUUID(); // UUID | + UUID organizationId = UUID.randomUUID(); // UUID | String authorization = "authorization_example"; // String | try { - Object result = apiInstance.getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet(instanceId, schemaId, authorization); + Object result = apiInstance.getOrganizationAccessV2OrganizationsOrganizationIdGet(organizationId, authorization); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet"); + System.err.println("Exception when calling DefaultApi#getOrganizationAccessV2OrganizationsOrganizationIdGet"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -1578,8 +2101,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **instanceId** | **UUID**| | | -| **schemaId** | **UUID**| | [optional] | +| **organizationId** | **UUID**| | | | **authorization** | **String**| | [optional] | ### Return type @@ -1619,7 +2141,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -1696,7 +2218,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -1775,7 +2297,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -1846,7 +2368,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -1913,7 +2435,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -1978,7 +2500,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -2043,7 +2565,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID teamId = UUID.randomUUID(); // UUID | @@ -2106,7 +2628,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -2173,7 +2695,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -2250,7 +2772,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String bucketName = "bucketName_example"; // String | @@ -2319,7 +2841,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -2392,7 +2914,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -2455,7 +2977,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String entityType = "artifact"; // String | @@ -2526,7 +3048,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -2591,7 +3113,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -2636,6 +3158,71 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | + +# **listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet** +> Object listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet(organizationId, authorization) + +List Organization Members + +List all members of an organization. Parameters: - **organization_id**: UUID of the organization to list members for Returns: - **200**: List of organization members retrieved successfully + +### Example +```java +// Import classes: +import ai.lamin.lamin_api_client.ApiClient; +import ai.lamin.lamin_api_client.ApiException; +import ai.lamin.lamin_api_client.Configuration; +import ai.lamin.lamin_api_client.models.*; +import ai.lamin.lamin_api_client.api.DefaultApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://staging.laminhub.com/api"); + + DefaultApi apiInstance = new DefaultApi(defaultClient); + UUID organizationId = UUID.randomUUID(); // UUID | + String authorization = "authorization_example"; // String | + try { + Object result = apiInstance.listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet(organizationId, authorization); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DefaultApi#listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **organizationId** | **UUID**| | | +| **authorization** | **String**| | [optional] | + +### Return type + +**Object** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful Response | - | +| **422** | Validation Error | - | + # **listOrganizationSpacesAccessV2SpacesOrganizationsOrganizationIdGet** > Object listOrganizationSpacesAccessV2SpacesOrganizationsOrganizationIdGet(organizationId, authorization) @@ -2656,7 +3243,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID organizationId = UUID.randomUUID(); // UUID | @@ -2721,7 +3308,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID organizationId = UUID.randomUUID(); // UUID | @@ -2786,7 +3373,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -2851,7 +3438,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID teamId = UUID.randomUUID(); // UUID | @@ -2916,7 +3503,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); Integer instanceDbSpaceId = 56; // Integer | @@ -2967,9 +3554,9 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | - -# **proxyS3S3PathGet** -> Object proxyS3S3PathGet(path) + +# **proxyS3S3PathHead** +> Object proxyS3S3PathHead(path) Proxy S3 @@ -2985,15 +3572,15 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String path = "path_example"; // String | try { - Object result = apiInstance.proxyS3S3PathGet(path); + Object result = apiInstance.proxyS3S3PathHead(path); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#proxyS3S3PathGet"); + System.err.println("Exception when calling DefaultApi#proxyS3S3PathHead"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3028,9 +3615,9 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | - -# **proxyS3S3PathGet_0** -> Object proxyS3S3PathGet_0(path) + +# **proxyS3S3PathHead_0** +> Object proxyS3S3PathHead_0(path) Proxy S3 @@ -3046,15 +3633,15 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String path = "path_example"; // String | try { - Object result = apiInstance.proxyS3S3PathGet_0(path); + Object result = apiInstance.proxyS3S3PathHead_0(path); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#proxyS3S3PathGet_0"); + System.err.println("Exception when calling DefaultApi#proxyS3S3PathHead_0"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3089,9 +3676,9 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | - -# **proxyS3S3PathGet_1** -> Object proxyS3S3PathGet_1(path) + +# **proxyS3S3PathHead_1** +> Object proxyS3S3PathHead_1(path) Proxy S3 @@ -3107,15 +3694,15 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String path = "path_example"; // String | try { - Object result = apiInstance.proxyS3S3PathGet_1(path); + Object result = apiInstance.proxyS3S3PathHead_1(path); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#proxyS3S3PathGet_1"); + System.err.println("Exception when calling DefaultApi#proxyS3S3PathHead_1"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3150,9 +3737,9 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | - -# **proxyS3S3PathGet_2** -> Object proxyS3S3PathGet_2(path) + +# **proxyS3S3PathHead_2** +> Object proxyS3S3PathHead_2(path) Proxy S3 @@ -3168,15 +3755,15 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String path = "path_example"; // String | try { - Object result = apiInstance.proxyS3S3PathGet_2(path); + Object result = apiInstance.proxyS3S3PathHead_2(path); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#proxyS3S3PathGet_2"); + System.err.println("Exception when calling DefaultApi#proxyS3S3PathHead_2"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3211,9 +3798,9 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | - -# **proxyS3S3PathGet_3** -> Object proxyS3S3PathGet_3(path) + +# **proxyS3S3PathHead_3** +> Object proxyS3S3PathHead_3(path) Proxy S3 @@ -3229,15 +3816,15 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String path = "path_example"; // String | try { - Object result = apiInstance.proxyS3S3PathGet_3(path); + Object result = apiInstance.proxyS3S3PathHead_3(path); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#proxyS3S3PathGet_3"); + System.err.println("Exception when calling DefaultApi#proxyS3S3PathHead_3"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3290,7 +3877,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); RegisterDbServerBody registerDbServerBody = new RegisterDbServerBody(); // RegisterDbServerBody | @@ -3355,7 +3942,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -3422,7 +4009,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -3471,6 +4058,73 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | + +# **removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete** +> Object removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete(organizationId, accountId, authorization) + +Remove Organization Member + +Remove a member from an organization. Parameters: - **organization_id**: UUID of the organization to remove the member from - **account_id**: UUID of the account to remove from the organization Returns: - **200**: Organization member removed successfully - **404**: Member not found in organization + +### Example +```java +// Import classes: +import ai.lamin.lamin_api_client.ApiClient; +import ai.lamin.lamin_api_client.ApiException; +import ai.lamin.lamin_api_client.Configuration; +import ai.lamin.lamin_api_client.models.*; +import ai.lamin.lamin_api_client.api.DefaultApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://staging.laminhub.com/api"); + + DefaultApi apiInstance = new DefaultApi(defaultClient); + UUID organizationId = UUID.randomUUID(); // UUID | + UUID accountId = UUID.randomUUID(); // UUID | + String authorization = "authorization_example"; // String | + try { + Object result = apiInstance.removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete(organizationId, accountId, authorization); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DefaultApi#removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **organizationId** | **UUID**| | | +| **accountId** | **UUID**| | | +| **authorization** | **String**| | [optional] | + +### Return type + +**Object** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful Response | - | +| **422** | Validation Error | - | + # **removeSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsDelete** > Object removeSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsDelete(spaceId, accountId, teamId, authorization) @@ -3491,7 +4145,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -3560,7 +4214,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID teamId = UUID.randomUUID(); // UUID | @@ -3625,7 +4279,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String handle = "handle_example"; // String | @@ -3694,7 +4348,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -3759,7 +4413,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -3808,6 +4462,75 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | + +# **updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch** +> Object updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch(organizationId, accountId, updateOrganizationMemberRequestBody, authorization) + +Update Organization Member + +Update an organization member's details. Parameters: - **organization_id**: UUID of the organization the member belongs to - **account_id**: UUID of the account to update - **body**: Request body containing updated member details - **role**: Role of the member in the organization Returns: - **200**: Organization member updated successfully - **404**: Member not found in organization + +### Example +```java +// Import classes: +import ai.lamin.lamin_api_client.ApiClient; +import ai.lamin.lamin_api_client.ApiException; +import ai.lamin.lamin_api_client.Configuration; +import ai.lamin.lamin_api_client.models.*; +import ai.lamin.lamin_api_client.api.DefaultApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://staging.laminhub.com/api"); + + DefaultApi apiInstance = new DefaultApi(defaultClient); + UUID organizationId = UUID.randomUUID(); // UUID | + UUID accountId = UUID.randomUUID(); // UUID | + UpdateOrganizationMemberRequestBody updateOrganizationMemberRequestBody = new UpdateOrganizationMemberRequestBody(); // UpdateOrganizationMemberRequestBody | + String authorization = "authorization_example"; // String | + try { + Object result = apiInstance.updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch(organizationId, accountId, updateOrganizationMemberRequestBody, authorization); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DefaultApi#updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **organizationId** | **UUID**| | | +| **accountId** | **UUID**| | | +| **updateOrganizationMemberRequestBody** | [**UpdateOrganizationMemberRequestBody**](UpdateOrganizationMemberRequestBody.md)| | | +| **authorization** | **String**| | [optional] | + +### Return type + +**Object** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful Response | - | +| **422** | Validation Error | - | + # **updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch** > Object updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch(moduleName, modelName, uid, instanceId, body, schemaId, authorization) @@ -3826,7 +4549,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -3901,7 +4624,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -3968,7 +4691,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -4035,7 +4758,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID teamId = UUID.randomUUID(); // UUID | @@ -4102,7 +4825,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); + defaultClient.setBasePath("https://staging.laminhub.com/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID teamId = UUID.randomUUID(); // UUID | @@ -4151,3 +4874,70 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | + +# **uploadArtifactInstancesInstanceIdArtifactsUploadPost** +> Object uploadArtifactInstancesInstanceIdArtifactsUploadPost(instanceId, _file, authorization, kwargs) + +Upload Artifact + +### Example +```java +// Import classes: +import ai.lamin.lamin_api_client.ApiClient; +import ai.lamin.lamin_api_client.ApiException; +import ai.lamin.lamin_api_client.Configuration; +import ai.lamin.lamin_api_client.models.*; +import ai.lamin.lamin_api_client.api.DefaultApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://staging.laminhub.com/api"); + + DefaultApi apiInstance = new DefaultApi(defaultClient); + UUID instanceId = UUID.randomUUID(); // UUID | + File _file = new File("/path/to/file"); // File | + String authorization = "authorization_example"; // String | + String kwargs = "kwargs_example"; // String | + try { + Object result = apiInstance.uploadArtifactInstancesInstanceIdArtifactsUploadPost(instanceId, _file, authorization, kwargs); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DefaultApi#uploadArtifactInstancesInstanceIdArtifactsUploadPost"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **instanceId** | **UUID**| | | +| **_file** | **File**| | | +| **authorization** | **String**| | [optional] | +| **kwargs** | **String**| | [optional] | + +### Return type + +**Object** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful Response | - | +| **422** | Validation Error | - | + diff --git a/docs/UpdateOrganizationMemberRequestBody.md b/docs/UpdateOrganizationMemberRequestBody.md new file mode 100644 index 0000000..6bcea03 --- /dev/null +++ b/docs/UpdateOrganizationMemberRequestBody.md @@ -0,0 +1,23 @@ + + +# UpdateOrganizationMemberRequestBody + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**role** | [**RoleEnum**](#RoleEnum) | | | + + + +## Enum: RoleEnum + +| Name | Value | +|---- | -----| +| ADMIN | "admin" | +| MEMBER | "member" | +| MANAGER | "manager" | + + + diff --git a/docs/UpdateSpaceCollaboratorRequestBody.md b/docs/UpdateSpaceCollaboratorRequestBody.md index 0a6aec7..4142c17 100644 --- a/docs/UpdateSpaceCollaboratorRequestBody.md +++ b/docs/UpdateSpaceCollaboratorRequestBody.md @@ -18,8 +18,8 @@ | Name | Value | |---- | -----| | ADMIN | "admin" | -| WRITE | "write" | | READ | "read" | +| WRITE | "write" | diff --git a/generate.sh b/generate.sh index a65da7a..b408908 100755 --- a/generate.sh +++ b/generate.sh @@ -4,7 +4,7 @@ npx @openapitools/openapi-generator-cli generate \ --generator-name java \ - --input-spec https://aws.us-east-1.lamin.ai/openapi.json \ + --input-spec https://staging.laminhub.com/api/openapi.json \ --config config.yaml \ --skip-validate-spec \ --output . diff --git a/pom.xml b/pom.xml index d2da56d..a72d003 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ lamin-api-client jar lamin-api-client - 0.0.2.1 + 0.0.3-rc1 https://github.com/laminlabs/lamin-api-client-java Java client for the Lamin API 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 72b6c0e..754613d 100644 --- a/src/main/java/ai/lamin/lamin_api_client/ApiClient.java +++ b/src/main/java/ai/lamin/lamin_api_client/ApiClient.java @@ -61,10 +61,10 @@ */ public class ApiClient { - private String basePath = "https://aws.us-east-1.lamin.ai/api"; + private String basePath = "https://staging.laminhub.com/api"; protected List servers = new ArrayList(Arrays.asList( new ServerConfiguration( - "https://aws.us-east-1.lamin.ai/api", + "https://staging.laminhub.com/api", "No description provided", new HashMap() ) @@ -139,7 +139,7 @@ private void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/0.0.2.1/java"); + setUserAgent("OpenAPI-Generator/0.0.3-rc1/java"); authentications = new HashMap(); } @@ -156,7 +156,7 @@ public String getBasePath() { /** * Set base path * - * @param basePath Base path of the URL (e.g https://aws.us-east-1.lamin.ai/api + * @param basePath Base path of the URL (e.g https://staging.laminhub.com/api * @return An instance of OkHttpClient */ public ApiClient setBasePath(String basePath) { 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 bccb56b..7691e4b 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class ApiException extends Exception { private static final long serialVersionUID = 1L; 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 9fa115e..6408b31 100644 --- a/src/main/java/ai/lamin/lamin_api_client/Configuration.java +++ b/src/main/java/ai/lamin/lamin_api_client/Configuration.java @@ -13,9 +13,9 @@ package ai.lamin.lamin_api_client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Configuration { - public static final String VERSION = "0.0.2.1"; + public static final String VERSION = "0.0.3-rc1"; private static volatile ApiClient defaultApiClient = new ApiClient(); 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 037ef00..d85dd2b 100644 --- a/src/main/java/ai/lamin/lamin_api_client/JSON.java +++ b/src/main/java/ai/lamin/lamin_api_client/JSON.java @@ -94,11 +94,14 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapter(LocalDate.class, localDateTypeAdapter); gsonBuilder.registerTypeAdapter(byte[].class, byteArrayAdapter); gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.AddCollaboratorRequestBody.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.AddOrganizationMemberRequestBody.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.AddSpaceCollaboratorRequestBody.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.AddTeamMemberRequestBody.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.AttachSpaceToRecordRequestBody.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.CreateArtifactRequestBody.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.CreateSpaceRequestBody.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.CreateTeamRequestBody.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.CreateTransformRequestBody.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.DbUrlRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.Dimension.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.GetRecordRequestBody.CustomTypeAdapterFactory()); @@ -114,6 +117,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri 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.UpdateCollaboratorRequestBody.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.UpdateOrganizationMemberRequestBody.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.UpdateSpaceCollaboratorRequestBody.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.UpdateSpaceRequestBody.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new ai.lamin.lamin_api_client.model.UpdateTeamMemberRequestBody.CustomTypeAdapterFactory()); 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 eceb20f..0dfb6c7 100644 --- a/src/main/java/ai/lamin/lamin_api_client/Pair.java +++ b/src/main/java/ai/lamin/lamin_api_client/Pair.java @@ -13,7 +13,7 @@ package ai.lamin.lamin_api_client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Pair { private String name = ""; private String value = ""; 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 97cf0ac..160e62d 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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 52a189d..a013c82 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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 fb49389..caf2cb2 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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/DefaultApi.java b/src/main/java/ai/lamin/lamin_api_client/api/DefaultApi.java index b05b76f..fddb371 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/DefaultApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/DefaultApi.java @@ -28,12 +28,16 @@ import ai.lamin.lamin_api_client.model.AddCollaboratorRequestBody; +import ai.lamin.lamin_api_client.model.AddOrganizationMemberRequestBody; import ai.lamin.lamin_api_client.model.AddSpaceCollaboratorRequestBody; import ai.lamin.lamin_api_client.model.AddTeamMemberRequestBody; import ai.lamin.lamin_api_client.model.AttachSpaceToRecordRequestBody; +import ai.lamin.lamin_api_client.model.CreateArtifactRequestBody; import ai.lamin.lamin_api_client.model.CreateSpaceRequestBody; import ai.lamin.lamin_api_client.model.CreateTeamRequestBody; +import ai.lamin.lamin_api_client.model.CreateTransformRequestBody; import ai.lamin.lamin_api_client.model.DbUrlRequest; +import java.io.File; import ai.lamin.lamin_api_client.model.GetRecordRequestBody; import ai.lamin.lamin_api_client.model.GetRecordsRequestBody; import ai.lamin.lamin_api_client.model.GetValuesRequestBody; @@ -44,6 +48,7 @@ import ai.lamin.lamin_api_client.model.S3PermissionsRequest; import java.util.UUID; import ai.lamin.lamin_api_client.model.UpdateCollaboratorRequestBody; +import ai.lamin.lamin_api_client.model.UpdateOrganizationMemberRequestBody; import ai.lamin.lamin_api_client.model.UpdateSpaceCollaboratorRequestBody; import ai.lamin.lamin_api_client.model.UpdateSpaceRequestBody; import ai.lamin.lamin_api_client.model.UpdateTeamMemberRequestBody; @@ -413,6 +418,166 @@ public okhttp3.Call addCollaboratorInstancesInstanceIdCollaboratorsAccountIdPutA localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + /** + * Build call for addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut + * @param organizationId (required) + * @param accountId (required) + * @param addOrganizationMemberRequestBody (required) + * @param authorization (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPutCall(UUID organizationId, UUID accountId, AddOrganizationMemberRequestBody addOrganizationMemberRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = addOrganizationMemberRequestBody; + + // create path and map variables + String localVarPath = "/access_v2/organizations/{organization_id}/members/{account_id}" + .replace("{" + "organization_id" + "}", localVarApiClient.escapeString(organizationId.toString())) + .replace("{" + "account_id" + "}", localVarApiClient.escapeString(accountId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + if (authorization != null) { + localVarHeaderParams.put("Authorization", localVarApiClient.parameterToString(authorization)); + } + + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPutValidateBeforeCall(UUID organizationId, UUID accountId, AddOrganizationMemberRequestBody addOrganizationMemberRequestBody, 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 addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut(Async)"); + } + + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException("Missing the required parameter 'accountId' when calling addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut(Async)"); + } + + // verify the required parameter 'addOrganizationMemberRequestBody' is set + if (addOrganizationMemberRequestBody == null) { + throw new ApiException("Missing the required parameter 'addOrganizationMemberRequestBody' when calling addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut(Async)"); + } + + return addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPutCall(organizationId, accountId, addOrganizationMemberRequestBody, authorization, _callback); + + } + + /** + * Add Organization Member + * Add a member to an organization. Parameters: - **organization_id**: UUID of the organization to add the member to - **account_id**: UUID of the account to add as a member - **body**: Request body containing member details - **role**: Role of the member in the organization Returns: - **201**: Organization member added successfully + * @param organizationId (required) + * @param accountId (required) + * @param addOrganizationMemberRequestBody (required) + * @param authorization (optional) + * @return Object + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public Object addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut(UUID organizationId, UUID accountId, AddOrganizationMemberRequestBody addOrganizationMemberRequestBody, String authorization) throws ApiException { + ApiResponse localVarResp = addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPutWithHttpInfo(organizationId, accountId, addOrganizationMemberRequestBody, authorization); + return localVarResp.getData(); + } + + /** + * Add Organization Member + * Add a member to an organization. Parameters: - **organization_id**: UUID of the organization to add the member to - **account_id**: UUID of the account to add as a member - **body**: Request body containing member details - **role**: Role of the member in the organization Returns: - **201**: Organization member added successfully + * @param organizationId (required) + * @param accountId (required) + * @param addOrganizationMemberRequestBody (required) + * @param authorization (optional) + * @return ApiResponse<Object> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public ApiResponse addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPutWithHttpInfo(UUID organizationId, UUID accountId, AddOrganizationMemberRequestBody addOrganizationMemberRequestBody, String authorization) throws ApiException { + okhttp3.Call localVarCall = addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPutValidateBeforeCall(organizationId, accountId, addOrganizationMemberRequestBody, authorization, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Add Organization Member (asynchronously) + * Add a member to an organization. Parameters: - **organization_id**: UUID of the organization to add the member to - **account_id**: UUID of the account to add as a member - **body**: Request body containing member details - **role**: Role of the member in the organization Returns: - **201**: Organization member added successfully + * @param organizationId (required) + * @param accountId (required) + * @param addOrganizationMemberRequestBody (required) + * @param authorization (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPutAsync(UUID organizationId, UUID accountId, AddOrganizationMemberRequestBody addOrganizationMemberRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPutValidateBeforeCall(organizationId, accountId, addOrganizationMemberRequestBody, authorization, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } /** * Build call for addSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPut * @param spaceId (required) @@ -1071,6 +1236,123 @@ public okhttp3.Call attachSpaceToInstanceAccessV2SpacesSpaceIdInstancesInstanceI localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + /** + * Build call for checkCacheAccessDebugCacheAccessGet + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
+ */ + public okhttp3.Call checkCacheAccessDebugCacheAccessGetCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/_debug/cache-access"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call checkCacheAccessDebugCacheAccessGetValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return checkCacheAccessDebugCacheAccessGetCall(_callback); + + } + + /** + * Check Cache Access + * + * @return Object + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
+ */ + public Object checkCacheAccessDebugCacheAccessGet() throws ApiException { + ApiResponse localVarResp = checkCacheAccessDebugCacheAccessGetWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Check Cache Access + * + * @return ApiResponse<Object> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
+ */ + public ApiResponse checkCacheAccessDebugCacheAccessGetWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = checkCacheAccessDebugCacheAccessGetValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Check Cache Access (asynchronously) + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
+ */ + public okhttp3.Call checkCacheAccessDebugCacheAccessGetAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = checkCacheAccessDebugCacheAccessGetValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } /** * Build call for checkDbAccessDebugDbAccessPost * @param dbUrlRequest (required) @@ -1346,12 +1628,7 @@ public okhttp3.Call checkDbServerAccessDbServerCheckAccessPostAsync(String name, return localVarCall; } /** - * Build call for createInstanceInstancesPut - * @param name (required) - * @param storage (optional, default to create-s3) - * @param schemaStr (optional) - * @param dbServerKey (optional) - * @param authorization (optional) + * Build call for checkLambdaAccessDebugLambdaAccessGet * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1360,10 +1637,9 @@ public okhttp3.Call checkDbServerAccessDbServerCheckAccessPostAsync(String name, Response Details Status Code Description Response Headers 200 Successful Response - - 422 Validation Error - */ - public okhttp3.Call createInstanceInstancesPutCall(String name, String storage, String schemaStr, String dbServerKey, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call checkLambdaAccessDebugLambdaAccessGetCall(final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1380,7 +1656,7 @@ public okhttp3.Call createInstanceInstancesPutCall(String name, String storage, Object localVarPostBody = null; // create path and map variables - String localVarPath = "/instances"; + String localVarPath = "/_debug/lambda-access"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1388,20 +1664,460 @@ public okhttp3.Call createInstanceInstancesPutCall(String name, String storage, Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (name != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("name", name)); - } - - if (storage != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("storage", storage)); + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); } - if (schemaStr != null) { + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call checkLambdaAccessDebugLambdaAccessGetValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return checkLambdaAccessDebugLambdaAccessGetCall(_callback); + + } + + /** + * Check Lambda Access + * + * @return Object + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
+ */ + public Object checkLambdaAccessDebugLambdaAccessGet() throws ApiException { + ApiResponse localVarResp = checkLambdaAccessDebugLambdaAccessGetWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Check Lambda Access + * + * @return ApiResponse<Object> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
+ */ + public ApiResponse checkLambdaAccessDebugLambdaAccessGetWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = checkLambdaAccessDebugLambdaAccessGetValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Check Lambda Access (asynchronously) + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
+ */ + public okhttp3.Call checkLambdaAccessDebugLambdaAccessGetAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = checkLambdaAccessDebugLambdaAccessGetValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for createArtifactInstancesInstanceIdArtifactsCreatePost + * @param instanceId (required) + * @param createArtifactRequestBody (required) + * @param authorization (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call createArtifactInstancesInstanceIdArtifactsCreatePostCall(UUID instanceId, CreateArtifactRequestBody createArtifactRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createArtifactRequestBody; + + // create path and map variables + String localVarPath = "/instances/{instance_id}/artifacts/create" + .replace("{" + "instance_id" + "}", localVarApiClient.escapeString(instanceId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + if (authorization != null) { + localVarHeaderParams.put("Authorization", localVarApiClient.parameterToString(authorization)); + } + + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createArtifactInstancesInstanceIdArtifactsCreatePostValidateBeforeCall(UUID instanceId, CreateArtifactRequestBody createArtifactRequestBody, 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)"); + } + + // verify the required parameter 'createArtifactRequestBody' is set + if (createArtifactRequestBody == null) { + throw new ApiException("Missing the required parameter 'createArtifactRequestBody' when calling createArtifactInstancesInstanceIdArtifactsCreatePost(Async)"); + } + + return createArtifactInstancesInstanceIdArtifactsCreatePostCall(instanceId, createArtifactRequestBody, authorization, _callback); + + } + + /** + * Create Artifact + * + * @param instanceId (required) + * @param createArtifactRequestBody (required) + * @param authorization (optional) + * @return Object + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public Object createArtifactInstancesInstanceIdArtifactsCreatePost(UUID instanceId, CreateArtifactRequestBody createArtifactRequestBody, String authorization) throws ApiException { + ApiResponse localVarResp = createArtifactInstancesInstanceIdArtifactsCreatePostWithHttpInfo(instanceId, createArtifactRequestBody, authorization); + return localVarResp.getData(); + } + + /** + * Create Artifact + * + * @param instanceId (required) + * @param createArtifactRequestBody (required) + * @param authorization (optional) + * @return ApiResponse<Object> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public ApiResponse createArtifactInstancesInstanceIdArtifactsCreatePostWithHttpInfo(UUID instanceId, CreateArtifactRequestBody createArtifactRequestBody, String authorization) throws ApiException { + okhttp3.Call localVarCall = createArtifactInstancesInstanceIdArtifactsCreatePostValidateBeforeCall(instanceId, createArtifactRequestBody, authorization, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create Artifact (asynchronously) + * + * @param instanceId (required) + * @param createArtifactRequestBody (required) + * @param authorization (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call createArtifactInstancesInstanceIdArtifactsCreatePostAsync(UUID instanceId, CreateArtifactRequestBody createArtifactRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createArtifactInstancesInstanceIdArtifactsCreatePostValidateBeforeCall(instanceId, createArtifactRequestBody, authorization, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for createInstanceInstancesPut + * @param name (required) + * @param storage (optional, default to create-s3) + * @param schemaStr (optional) + * @param dbServerKey (optional) + * @param storageUid (optional) + * @param authorization (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call createInstanceInstancesPutCall(String name, String storage, String schemaStr, String dbServerKey, String storageUid, String authorization, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/instances"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (name != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("name", name)); + } + + if (storage != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("storage", storage)); + } + + if (schemaStr != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("schema_str", schemaStr)); } - if (dbServerKey != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("db_server_key", dbServerKey)); + if (dbServerKey != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("db_server_key", dbServerKey)); + } + + if (storageUid != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("storage_uid", storageUid)); + } + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + if (authorization != null) { + localVarHeaderParams.put("Authorization", localVarApiClient.parameterToString(authorization)); + } + + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createInstanceInstancesPutValidateBeforeCall(String name, String storage, String schemaStr, String dbServerKey, String storageUid, 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 createInstanceInstancesPut(Async)"); + } + + return createInstanceInstancesPutCall(name, storage, schemaStr, dbServerKey, storageUid, authorization, _callback); + + } + + /** + * Create Instance + * + * @param name (required) + * @param storage (optional, default to create-s3) + * @param schemaStr (optional) + * @param dbServerKey (optional) + * @param storageUid (optional) + * @param authorization (optional) + * @return Object + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public Object createInstanceInstancesPut(String name, String storage, String schemaStr, String dbServerKey, String storageUid, String authorization) throws ApiException { + ApiResponse localVarResp = createInstanceInstancesPutWithHttpInfo(name, storage, schemaStr, dbServerKey, storageUid, authorization); + return localVarResp.getData(); + } + + /** + * Create Instance + * + * @param name (required) + * @param storage (optional, default to create-s3) + * @param schemaStr (optional) + * @param dbServerKey (optional) + * @param storageUid (optional) + * @param authorization (optional) + * @return ApiResponse<Object> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public ApiResponse createInstanceInstancesPutWithHttpInfo(String name, String storage, String schemaStr, String dbServerKey, String storageUid, String authorization) throws ApiException { + okhttp3.Call localVarCall = createInstanceInstancesPutValidateBeforeCall(name, storage, schemaStr, dbServerKey, storageUid, authorization, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create Instance (asynchronously) + * + * @param name (required) + * @param storage (optional, default to create-s3) + * @param schemaStr (optional) + * @param dbServerKey (optional) + * @param storageUid (optional) + * @param authorization (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call createInstanceInstancesPutAsync(String name, String storage, String schemaStr, String dbServerKey, String storageUid, String authorization, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createInstanceInstancesPutValidateBeforeCall(name, storage, schemaStr, dbServerKey, storageUid, authorization, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for createRecordInstancesInstanceIdModulesModuleNameModelNamePut + * @param moduleName (required) + * @param modelName (required) + * @param instanceId (required) + * @param body (required) + * @param schemaId (optional) + * @param authorization (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call createRecordInstancesInstanceIdModulesModuleNameModelNamePutCall(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/instances/{instance_id}/modules/{module_name}/{model_name}" + .replace("{" + "module_name" + "}", localVarApiClient.escapeString(moduleName.toString())) + .replace("{" + "model_name" + "}", localVarApiClient.escapeString(modelName.toString())) + .replace("{" + "instance_id" + "}", localVarApiClient.escapeString(instanceId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (schemaId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("schema_id", schemaId)); } final String[] localVarAccepts = { @@ -1413,6 +2129,7 @@ public okhttp3.Call createInstanceInstancesPutCall(String name, String storage, } final String[] localVarContentTypes = { + "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { @@ -1429,23 +2146,39 @@ public okhttp3.Call createInstanceInstancesPutCall(String name, String storage, } @SuppressWarnings("rawtypes") - private okhttp3.Call createInstanceInstancesPutValidateBeforeCall(String name, String storage, String schemaStr, String dbServerKey, 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 createInstanceInstancesPut(Async)"); + private okhttp3.Call createRecordInstancesInstanceIdModulesModuleNameModelNamePutValidateBeforeCall(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, 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 createRecordInstancesInstanceIdModulesModuleNameModelNamePut(Async)"); + } + + // verify the required parameter 'modelName' is set + if (modelName == null) { + throw new ApiException("Missing the required parameter 'modelName' when calling createRecordInstancesInstanceIdModulesModuleNameModelNamePut(Async)"); + } + + // verify the required parameter 'instanceId' is set + if (instanceId == null) { + throw new ApiException("Missing the required parameter 'instanceId' when calling createRecordInstancesInstanceIdModulesModuleNameModelNamePut(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createRecordInstancesInstanceIdModulesModuleNameModelNamePut(Async)"); } - return createInstanceInstancesPutCall(name, storage, schemaStr, dbServerKey, authorization, _callback); + return createRecordInstancesInstanceIdModulesModuleNameModelNamePutCall(moduleName, modelName, instanceId, body, schemaId, authorization, _callback); } /** - * Create Instance + * Create Record * - * @param name (required) - * @param storage (optional, default to create-s3) - * @param schemaStr (optional) - * @param dbServerKey (optional) + * @param moduleName (required) + * @param modelName (required) + * @param instanceId (required) + * @param body (required) + * @param schemaId (optional) * @param authorization (optional) * @return Object * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -1457,18 +2190,19 @@ private okhttp3.Call createInstanceInstancesPutValidateBeforeCall(String name, S 422 Validation Error - */ - public Object createInstanceInstancesPut(String name, String storage, String schemaStr, String dbServerKey, String authorization) throws ApiException { - ApiResponse localVarResp = createInstanceInstancesPutWithHttpInfo(name, storage, schemaStr, dbServerKey, authorization); + public Object createRecordInstancesInstanceIdModulesModuleNameModelNamePut(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization) throws ApiException { + ApiResponse localVarResp = createRecordInstancesInstanceIdModulesModuleNameModelNamePutWithHttpInfo(moduleName, modelName, instanceId, body, schemaId, authorization); return localVarResp.getData(); } /** - * Create Instance + * Create Record * - * @param name (required) - * @param storage (optional, default to create-s3) - * @param schemaStr (optional) - * @param dbServerKey (optional) + * @param moduleName (required) + * @param modelName (required) + * @param instanceId (required) + * @param body (required) + * @param schemaId (optional) * @param authorization (optional) * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -1480,19 +2214,20 @@ public Object createInstanceInstancesPut(String name, String storage, String sch 422 Validation Error - */ - public ApiResponse createInstanceInstancesPutWithHttpInfo(String name, String storage, String schemaStr, String dbServerKey, String authorization) throws ApiException { - okhttp3.Call localVarCall = createInstanceInstancesPutValidateBeforeCall(name, storage, schemaStr, dbServerKey, authorization, null); + public ApiResponse createRecordInstancesInstanceIdModulesModuleNameModelNamePutWithHttpInfo(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization) throws ApiException { + okhttp3.Call localVarCall = createRecordInstancesInstanceIdModulesModuleNameModelNamePutValidateBeforeCall(moduleName, modelName, instanceId, body, schemaId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Create Instance (asynchronously) + * Create Record (asynchronously) * - * @param name (required) - * @param storage (optional, default to create-s3) - * @param schemaStr (optional) - * @param dbServerKey (optional) + * @param moduleName (required) + * @param modelName (required) + * @param instanceId (required) + * @param body (required) + * @param schemaId (optional) * @param authorization (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -1505,15 +2240,15 @@ public ApiResponse createInstanceInstancesPutWithHttpInfo(String name, S 422 Validation Error - */ - public okhttp3.Call createInstanceInstancesPutAsync(String name, String storage, String schemaStr, String dbServerKey, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createRecordInstancesInstanceIdModulesModuleNameModelNamePutAsync(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = createInstanceInstancesPutValidateBeforeCall(name, storage, schemaStr, dbServerKey, authorization, _callback); + okhttp3.Call localVarCall = createRecordInstancesInstanceIdModulesModuleNameModelNamePutValidateBeforeCall(moduleName, modelName, instanceId, body, schemaId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for createRecordInstancesInstanceIdModulesModuleNameModelNamePut + * Build call for createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut * @param moduleName (required) * @param modelName (required) * @param instanceId (required) @@ -1531,7 +2266,7 @@ public okhttp3.Call createInstanceInstancesPutAsync(String name, String storage, 422 Validation Error - */ - public okhttp3.Call createRecordInstancesInstanceIdModulesModuleNameModelNamePutCall(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPutCall(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1548,7 +2283,7 @@ public okhttp3.Call createRecordInstancesInstanceIdModulesModuleNameModelNamePut Object localVarPostBody = body; // create path and map variables - String localVarPath = "/instances/{instance_id}/modules/{module_name}/{model_name}" + String localVarPath = "/instances/{instance_id}/modules/{module_name}/{model_name}/bulk" .replace("{" + "module_name" + "}", localVarApiClient.escapeString(moduleName.toString())) .replace("{" + "model_name" + "}", localVarApiClient.escapeString(modelName.toString())) .replace("{" + "instance_id" + "}", localVarApiClient.escapeString(instanceId.toString())); @@ -1572,7 +2307,7 @@ public okhttp3.Call createRecordInstancesInstanceIdModulesModuleNameModelNamePut } final String[] localVarContentTypes = { - "application/octet-stream" + "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { @@ -1589,33 +2324,33 @@ public okhttp3.Call createRecordInstancesInstanceIdModulesModuleNameModelNamePut } @SuppressWarnings("rawtypes") - private okhttp3.Call createRecordInstancesInstanceIdModulesModuleNameModelNamePutValidateBeforeCall(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPutValidateBeforeCall(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, 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 createRecordInstancesInstanceIdModulesModuleNameModelNamePut(Async)"); + throw new ApiException("Missing the required parameter 'moduleName' when calling createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut(Async)"); } // verify the required parameter 'modelName' is set if (modelName == null) { - throw new ApiException("Missing the required parameter 'modelName' when calling createRecordInstancesInstanceIdModulesModuleNameModelNamePut(Async)"); + throw new ApiException("Missing the required parameter 'modelName' when calling createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut(Async)"); } // verify the required parameter 'instanceId' is set if (instanceId == null) { - throw new ApiException("Missing the required parameter 'instanceId' when calling createRecordInstancesInstanceIdModulesModuleNameModelNamePut(Async)"); + throw new ApiException("Missing the required parameter 'instanceId' when calling createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createRecordInstancesInstanceIdModulesModuleNameModelNamePut(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut(Async)"); } - return createRecordInstancesInstanceIdModulesModuleNameModelNamePutCall(moduleName, modelName, instanceId, body, schemaId, authorization, _callback); + return createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPutCall(moduleName, modelName, instanceId, body, schemaId, authorization, _callback); } /** - * Create Record + * Create Records * * @param moduleName (required) * @param modelName (required) @@ -1633,13 +2368,13 @@ private okhttp3.Call createRecordInstancesInstanceIdModulesModuleNameModelNamePu 422 Validation Error - */ - public Object createRecordInstancesInstanceIdModulesModuleNameModelNamePut(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization) throws ApiException { - ApiResponse localVarResp = createRecordInstancesInstanceIdModulesModuleNameModelNamePutWithHttpInfo(moduleName, modelName, instanceId, body, schemaId, authorization); + public Object createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization) throws ApiException { + ApiResponse localVarResp = createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPutWithHttpInfo(moduleName, modelName, instanceId, body, schemaId, authorization); return localVarResp.getData(); } /** - * Create Record + * Create Records * * @param moduleName (required) * @param modelName (required) @@ -1657,14 +2392,14 @@ public Object createRecordInstancesInstanceIdModulesModuleNameModelNamePut(Strin 422 Validation Error - */ - public ApiResponse createRecordInstancesInstanceIdModulesModuleNameModelNamePutWithHttpInfo(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization) throws ApiException { - okhttp3.Call localVarCall = createRecordInstancesInstanceIdModulesModuleNameModelNamePutValidateBeforeCall(moduleName, modelName, instanceId, body, schemaId, authorization, null); + public ApiResponse createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPutWithHttpInfo(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization) throws ApiException { + okhttp3.Call localVarCall = createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPutValidateBeforeCall(moduleName, modelName, instanceId, body, schemaId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Create Record (asynchronously) + * Create Records (asynchronously) * * @param moduleName (required) * @param modelName (required) @@ -1683,9 +2418,9 @@ public ApiResponse createRecordInstancesInstanceIdModulesModuleNameModel 422 Validation Error - */ - public okhttp3.Call createRecordInstancesInstanceIdModulesModuleNameModelNamePutAsync(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPutAsync(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = createRecordInstancesInstanceIdModulesModuleNameModelNamePutValidateBeforeCall(moduleName, modelName, instanceId, body, schemaId, authorization, _callback); + okhttp3.Call localVarCall = createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPutValidateBeforeCall(moduleName, modelName, instanceId, body, schemaId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -1921,15 +2656,164 @@ private okhttp3.Call createTeamAccessV2TeamsPutValidateBeforeCall(CreateTeamRequ 422 Validation Error - */ - public Object createTeamAccessV2TeamsPut(CreateTeamRequestBody createTeamRequestBody, String authorization) throws ApiException { - ApiResponse localVarResp = createTeamAccessV2TeamsPutWithHttpInfo(createTeamRequestBody, authorization); + public Object createTeamAccessV2TeamsPut(CreateTeamRequestBody createTeamRequestBody, String authorization) throws ApiException { + ApiResponse localVarResp = createTeamAccessV2TeamsPutWithHttpInfo(createTeamRequestBody, authorization); + return localVarResp.getData(); + } + + /** + * Create Team + * Create a new team. Parameters: - **body**: Request body containing team details - **name**: Name of the team - **organization_id**: UUID of the organization - **description**: Optional description of the team Returns: - **201**: Team created successfully + * @param createTeamRequestBody (required) + * @param authorization (optional) + * @return ApiResponse<Object> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public ApiResponse createTeamAccessV2TeamsPutWithHttpInfo(CreateTeamRequestBody createTeamRequestBody, String authorization) throws ApiException { + okhttp3.Call localVarCall = createTeamAccessV2TeamsPutValidateBeforeCall(createTeamRequestBody, authorization, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create Team (asynchronously) + * Create a new team. Parameters: - **body**: Request body containing team details - **name**: Name of the team - **organization_id**: UUID of the organization - **description**: Optional description of the team Returns: - **201**: Team created successfully + * @param createTeamRequestBody (required) + * @param authorization (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call createTeamAccessV2TeamsPutAsync(CreateTeamRequestBody createTeamRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createTeamAccessV2TeamsPutValidateBeforeCall(createTeamRequestBody, authorization, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for createTransformInstancesInstanceIdTransformsPost + * @param instanceId (required) + * @param createTransformRequestBody (required) + * @param authorization (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call createTransformInstancesInstanceIdTransformsPostCall(UUID instanceId, CreateTransformRequestBody createTransformRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createTransformRequestBody; + + // create path and map variables + String localVarPath = "/instances/{instance_id}/transforms" + .replace("{" + "instance_id" + "}", localVarApiClient.escapeString(instanceId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + if (authorization != null) { + localVarHeaderParams.put("Authorization", localVarApiClient.parameterToString(authorization)); + } + + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createTransformInstancesInstanceIdTransformsPostValidateBeforeCall(UUID instanceId, CreateTransformRequestBody createTransformRequestBody, 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)"); + } + + // verify the required parameter 'createTransformRequestBody' is set + if (createTransformRequestBody == null) { + throw new ApiException("Missing the required parameter 'createTransformRequestBody' when calling createTransformInstancesInstanceIdTransformsPost(Async)"); + } + + return createTransformInstancesInstanceIdTransformsPostCall(instanceId, createTransformRequestBody, authorization, _callback); + + } + + /** + * Create Transform + * + * @param instanceId (required) + * @param createTransformRequestBody (required) + * @param authorization (optional) + * @return Object + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public Object createTransformInstancesInstanceIdTransformsPost(UUID instanceId, CreateTransformRequestBody createTransformRequestBody, String authorization) throws ApiException { + ApiResponse localVarResp = createTransformInstancesInstanceIdTransformsPostWithHttpInfo(instanceId, createTransformRequestBody, authorization); return localVarResp.getData(); } /** - * Create Team - * Create a new team. Parameters: - **body**: Request body containing team details - **name**: Name of the team - **organization_id**: UUID of the organization - **description**: Optional description of the team Returns: - **201**: Team created successfully - * @param createTeamRequestBody (required) + * Create Transform + * + * @param instanceId (required) + * @param createTransformRequestBody (required) * @param authorization (optional) * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -1941,16 +2825,17 @@ public Object createTeamAccessV2TeamsPut(CreateTeamRequestBody createTeamRequest 422 Validation Error - */ - public ApiResponse createTeamAccessV2TeamsPutWithHttpInfo(CreateTeamRequestBody createTeamRequestBody, String authorization) throws ApiException { - okhttp3.Call localVarCall = createTeamAccessV2TeamsPutValidateBeforeCall(createTeamRequestBody, authorization, null); + public ApiResponse createTransformInstancesInstanceIdTransformsPostWithHttpInfo(UUID instanceId, CreateTransformRequestBody createTransformRequestBody, String authorization) throws ApiException { + okhttp3.Call localVarCall = createTransformInstancesInstanceIdTransformsPostValidateBeforeCall(instanceId, createTransformRequestBody, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Create Team (asynchronously) - * Create a new team. Parameters: - **body**: Request body containing team details - **name**: Name of the team - **organization_id**: UUID of the organization - **description**: Optional description of the team Returns: - **201**: Team created successfully - * @param createTeamRequestBody (required) + * Create Transform (asynchronously) + * + * @param instanceId (required) + * @param createTransformRequestBody (required) * @param authorization (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -1963,9 +2848,9 @@ public ApiResponse createTeamAccessV2TeamsPutWithHttpInfo(CreateTeamRequ 422 Validation Error - */ - public okhttp3.Call createTeamAccessV2TeamsPutAsync(CreateTeamRequestBody createTeamRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createTransformInstancesInstanceIdTransformsPostAsync(UUID instanceId, CreateTransformRequestBody createTransformRequestBody, String authorization, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = createTeamAccessV2TeamsPutValidateBeforeCall(createTeamRequestBody, authorization, _callback); + okhttp3.Call localVarCall = createTransformInstancesInstanceIdTransformsPostValidateBeforeCall(instanceId, createTransformRequestBody, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -3079,6 +3964,136 @@ public okhttp3.Call detachSpaceFromInstanceAccessV2SpacesSpaceIdInstancesInstanc localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + /** + * Build call for getCallerAccountAccountGet + * @param authorization (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call getCallerAccountAccountGetCall(String authorization, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/account"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + if (authorization != null) { + localVarHeaderParams.put("Authorization", localVarApiClient.parameterToString(authorization)); + } + + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getCallerAccountAccountGetValidateBeforeCall(String authorization, final ApiCallback _callback) throws ApiException { + return getCallerAccountAccountGetCall(authorization, _callback); + + } + + /** + * Get Caller Account + * + * @param authorization (optional) + * @return Object + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public Object getCallerAccountAccountGet(String authorization) throws ApiException { + ApiResponse localVarResp = getCallerAccountAccountGetWithHttpInfo(authorization); + return localVarResp.getData(); + } + + /** + * Get Caller Account + * + * @param authorization (optional) + * @return ApiResponse<Object> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public ApiResponse getCallerAccountAccountGetWithHttpInfo(String authorization) throws ApiException { + okhttp3.Call localVarCall = getCallerAccountAccountGetValidateBeforeCall(authorization, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Caller Account (asynchronously) + * + * @param authorization (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call getCallerAccountAccountGetAsync(String authorization, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getCallerAccountAccountGetValidateBeforeCall(authorization, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } /** * Build call for getDbTokenAccessV2InstancesInstanceIdDbTokenGet * @param instanceId (required) @@ -3351,12 +4366,130 @@ public ApiResponse getInstanceStatisticsInstancesInstanceIdStatisticsGet } /** - * Get Instance Statistics (asynchronously) + * Get Instance Statistics (asynchronously) + * + * @param instanceId (required) + * @param q In ${module}.${model} format (case-sensitive) (optional) + * @param schemaId (optional) + * @param authorization (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call getInstanceStatisticsInstancesInstanceIdStatisticsGetAsync(UUID instanceId, List q, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getInstanceStatisticsInstancesInstanceIdStatisticsGetValidateBeforeCall(instanceId, q, schemaId, authorization, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getIpDebugIpGet + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
+ */ + public okhttp3.Call getIpDebugIpGetCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/_debug/ip"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getIpDebugIpGetValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getIpDebugIpGetCall(_callback); + + } + + /** + * Get Ip + * + * @return Object + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
+ */ + public Object getIpDebugIpGet() throws ApiException { + ApiResponse localVarResp = getIpDebugIpGetWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get Ip + * + * @return ApiResponse<Object> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
+ */ + public ApiResponse getIpDebugIpGetWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getIpDebugIpGetValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Ip (asynchronously) * - * @param instanceId (required) - * @param q In ${module}.${model} format (case-sensitive) (optional) - * @param schemaId (optional) - * @param authorization (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -3365,18 +4498,20 @@ public ApiResponse getInstanceStatisticsInstancesInstanceIdStatisticsGet Response Details Status Code Description Response Headers 200 Successful Response - - 422 Validation Error - */ - public okhttp3.Call getInstanceStatisticsInstancesInstanceIdStatisticsGetAsync(UUID instanceId, List q, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getIpDebugIpGetAsync(final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getInstanceStatisticsInstancesInstanceIdStatisticsGetValidateBeforeCall(instanceId, q, schemaId, authorization, _callback); + okhttp3.Call localVarCall = getIpDebugIpGetValidateBeforeCall(_callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for getIpDebugIpGet + * Build call for getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet + * @param instanceId (required) + * @param schemaId (optional) + * @param authorization (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -3385,9 +4520,10 @@ public okhttp3.Call getInstanceStatisticsInstancesInstanceIdStatisticsGetAsync(U Response Details Status Code Description Response Headers 200 Successful Response - + 422 Validation Error - */ - public okhttp3.Call getIpDebugIpGetCall(final ApiCallback _callback) throws ApiException { + public okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetCall(UUID instanceId, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -3404,7 +4540,8 @@ public okhttp3.Call getIpDebugIpGetCall(final ApiCallback _callback) throws ApiE Object localVarPostBody = null; // create path and map variables - String localVarPath = "/_debug/ip"; + String localVarPath = "/instances/{instance_id}/non_empty_tables" + .replace("{" + "instance_id" + "}", localVarApiClient.escapeString(instanceId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -3412,6 +4549,10 @@ public okhttp3.Call getIpDebugIpGetCall(final ApiCallback _callback) throws ApiE Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (schemaId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("schema_id", schemaId)); + } + final String[] localVarAccepts = { "application/json" }; @@ -3427,19 +4568,32 @@ public okhttp3.Call getIpDebugIpGetCall(final ApiCallback _callback) throws ApiE localVarHeaderParams.put("Content-Type", localVarContentType); } + if (authorization != null) { + localVarHeaderParams.put("Authorization", localVarApiClient.parameterToString(authorization)); + } + + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call getIpDebugIpGetValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return getIpDebugIpGetCall(_callback); + private okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetValidateBeforeCall(UUID instanceId, UUID schemaId, 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)"); + } + + return getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetCall(instanceId, schemaId, authorization, _callback); } /** - * Get Ip + * Get Non Empty Tables * + * @param instanceId (required) + * @param schemaId (optional) + * @param authorization (optional) * @return Object * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3447,16 +4601,20 @@ private okhttp3.Call getIpDebugIpGetValidateBeforeCall(final ApiCallback _callba Response Details Status Code Description Response Headers 200 Successful Response - + 422 Validation Error - */ - public Object getIpDebugIpGet() throws ApiException { - ApiResponse localVarResp = getIpDebugIpGetWithHttpInfo(); + public Object getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet(UUID instanceId, UUID schemaId, String authorization) throws ApiException { + ApiResponse localVarResp = getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetWithHttpInfo(instanceId, schemaId, authorization); return localVarResp.getData(); } /** - * Get Ip + * Get Non Empty Tables * + * @param instanceId (required) + * @param schemaId (optional) + * @param authorization (optional) * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3464,17 +4622,21 @@ public Object getIpDebugIpGet() throws ApiException { Response Details Status Code Description Response Headers 200 Successful Response - + 422 Validation Error - */ - public ApiResponse getIpDebugIpGetWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getIpDebugIpGetValidateBeforeCall(null); + public ApiResponse getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetWithHttpInfo(UUID instanceId, UUID schemaId, String authorization) throws ApiException { + okhttp3.Call localVarCall = getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetValidateBeforeCall(instanceId, schemaId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Get Ip (asynchronously) + * Get Non Empty Tables (asynchronously) * + * @param instanceId (required) + * @param schemaId (optional) + * @param authorization (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -3483,19 +4645,19 @@ public ApiResponse getIpDebugIpGetWithHttpInfo() throws ApiException { Response Details Status Code Description Response Headers 200 Successful Response - + 422 Validation Error - */ - public okhttp3.Call getIpDebugIpGetAsync(final ApiCallback _callback) throws ApiException { + public okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetAsync(UUID instanceId, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getIpDebugIpGetValidateBeforeCall(_callback); + okhttp3.Call localVarCall = getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetValidateBeforeCall(instanceId, schemaId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet - * @param instanceId (required) - * @param schemaId (optional) + * Build call for getOrganizationAccessV2OrganizationsOrganizationIdGet + * @param organizationId (required) * @param authorization (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -3508,7 +4670,7 @@ public okhttp3.Call getIpDebugIpGetAsync(final ApiCallback _callback) th 422 Validation Error - */ - public okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetCall(UUID instanceId, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getOrganizationAccessV2OrganizationsOrganizationIdGetCall(UUID organizationId, String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -3525,8 +4687,8 @@ public okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetCall(UU Object localVarPostBody = null; // create path and map variables - String localVarPath = "/instances/{instance_id}/non_empty_tables" - .replace("{" + "instance_id" + "}", localVarApiClient.escapeString(instanceId.toString())); + String localVarPath = "/access_v2/organizations/{organization_id}" + .replace("{" + "organization_id" + "}", localVarApiClient.escapeString(organizationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -3534,10 +4696,6 @@ public okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetCall(UU Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (schemaId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("schema_id", schemaId)); - } - final String[] localVarAccepts = { "application/json" }; @@ -3563,21 +4721,20 @@ public okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetCall(UU } @SuppressWarnings("rawtypes") - private okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetValidateBeforeCall(UUID instanceId, UUID schemaId, 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)"); + private okhttp3.Call getOrganizationAccessV2OrganizationsOrganizationIdGetValidateBeforeCall(UUID organizationId, 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 getOrganizationAccessV2OrganizationsOrganizationIdGet(Async)"); } - return getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetCall(instanceId, schemaId, authorization, _callback); + return getOrganizationAccessV2OrganizationsOrganizationIdGetCall(organizationId, authorization, _callback); } /** - * Get Non Empty Tables - * - * @param instanceId (required) - * @param schemaId (optional) + * Get Organization + * Get details of a specific organization. Parameters: - **organization_id**: UUID of the organization to retrieve Returns: - **200**: Organization details retrieved successfully - **404**: Organization not found + * @param organizationId (required) * @param authorization (optional) * @return Object * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -3589,16 +4746,15 @@ private okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetValida 422 Validation Error - */ - public Object getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet(UUID instanceId, UUID schemaId, String authorization) throws ApiException { - ApiResponse localVarResp = getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetWithHttpInfo(instanceId, schemaId, authorization); + public Object getOrganizationAccessV2OrganizationsOrganizationIdGet(UUID organizationId, String authorization) throws ApiException { + ApiResponse localVarResp = getOrganizationAccessV2OrganizationsOrganizationIdGetWithHttpInfo(organizationId, authorization); return localVarResp.getData(); } /** - * Get Non Empty Tables - * - * @param instanceId (required) - * @param schemaId (optional) + * Get Organization + * Get details of a specific organization. Parameters: - **organization_id**: UUID of the organization to retrieve Returns: - **200**: Organization details retrieved successfully - **404**: Organization not found + * @param organizationId (required) * @param authorization (optional) * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -3610,17 +4766,16 @@ public Object getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet(UUID instanc 422 Validation Error - */ - public ApiResponse getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetWithHttpInfo(UUID instanceId, UUID schemaId, String authorization) throws ApiException { - okhttp3.Call localVarCall = getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetValidateBeforeCall(instanceId, schemaId, authorization, null); + public ApiResponse getOrganizationAccessV2OrganizationsOrganizationIdGetWithHttpInfo(UUID organizationId, String authorization) throws ApiException { + okhttp3.Call localVarCall = getOrganizationAccessV2OrganizationsOrganizationIdGetValidateBeforeCall(organizationId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Get Non Empty Tables (asynchronously) - * - * @param instanceId (required) - * @param schemaId (optional) + * Get Organization (asynchronously) + * Get details of a specific organization. Parameters: - **organization_id**: UUID of the organization to retrieve Returns: - **200**: Organization details retrieved successfully - **404**: Organization not found + * @param organizationId (required) * @param authorization (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -3633,9 +4788,9 @@ public ApiResponse getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet 422 Validation Error - */ - public okhttp3.Call getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetAsync(UUID instanceId, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getOrganizationAccessV2OrganizationsOrganizationIdGetAsync(UUID organizationId, String authorization, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGetValidateBeforeCall(instanceId, schemaId, authorization, _callback); + okhttp3.Call localVarCall = getOrganizationAccessV2OrganizationsOrganizationIdGetValidateBeforeCall(organizationId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -5767,8 +6922,151 @@ public Object listDirectoryInstancesInstanceIdEntityTypeGet(String entityType, U * * @param entityType (required) * @param instanceId (required) - * @param path (optional, default to ) - * @param schemaId (optional) + * @param path (optional, default to ) + * @param schemaId (optional) + * @param authorization (optional) + * @return ApiResponse<Object> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public ApiResponse listDirectoryInstancesInstanceIdEntityTypeGetWithHttpInfo(String entityType, UUID instanceId, String path, UUID schemaId, String authorization) throws ApiException { + okhttp3.Call localVarCall = listDirectoryInstancesInstanceIdEntityTypeGetValidateBeforeCall(entityType, instanceId, path, schemaId, authorization, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * List Directory (asynchronously) + * + * @param entityType (required) + * @param instanceId (required) + * @param path (optional, default to ) + * @param schemaId (optional) + * @param authorization (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call listDirectoryInstancesInstanceIdEntityTypeGetAsync(String entityType, UUID instanceId, String path, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = listDirectoryInstancesInstanceIdEntityTypeGetValidateBeforeCall(entityType, instanceId, path, schemaId, authorization, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet + * @param instanceId (required) + * @param authorization (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/access_v2/spaces/instances/{instance_id}" + .replace("{" + "instance_id" + "}", localVarApiClient.escapeString(instanceId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + if (authorization != null) { + localVarHeaderParams.put("Authorization", localVarApiClient.parameterToString(authorization)); + } + + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetValidateBeforeCall(UUID instanceId, 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 listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet(Async)"); + } + + return listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetCall(instanceId, authorization, _callback); + + } + + /** + * List Instance Spaces + * List all spaces attached to an instance. Parameters: - **instance_id**: UUID of the instance to list spaces for (from URL path) Returns: - **200**: List of spaces attached to the instance retrieved successfully + * @param instanceId (required) + * @param authorization (optional) + * @return Object + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public Object listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet(UUID instanceId, String authorization) throws ApiException { + ApiResponse localVarResp = listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetWithHttpInfo(instanceId, authorization); + return localVarResp.getData(); + } + + /** + * List Instance Spaces + * List all spaces attached to an instance. Parameters: - **instance_id**: UUID of the instance to list spaces for (from URL path) Returns: - **200**: List of spaces attached to the instance retrieved successfully + * @param instanceId (required) * @param authorization (optional) * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -5780,19 +7078,16 @@ public Object listDirectoryInstancesInstanceIdEntityTypeGet(String entityType, U 422 Validation Error - */ - public ApiResponse listDirectoryInstancesInstanceIdEntityTypeGetWithHttpInfo(String entityType, UUID instanceId, String path, UUID schemaId, String authorization) throws ApiException { - okhttp3.Call localVarCall = listDirectoryInstancesInstanceIdEntityTypeGetValidateBeforeCall(entityType, instanceId, path, schemaId, authorization, null); + public ApiResponse listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetWithHttpInfo(UUID instanceId, String authorization) throws ApiException { + okhttp3.Call localVarCall = listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetValidateBeforeCall(instanceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * List Directory (asynchronously) - * - * @param entityType (required) + * List Instance Spaces (asynchronously) + * List all spaces attached to an instance. Parameters: - **instance_id**: UUID of the instance to list spaces for (from URL path) Returns: - **200**: List of spaces attached to the instance retrieved successfully * @param instanceId (required) - * @param path (optional, default to ) - * @param schemaId (optional) * @param authorization (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -5805,16 +7100,16 @@ public ApiResponse listDirectoryInstancesInstanceIdEntityTypeGetWithHttp 422 Validation Error - */ - public okhttp3.Call listDirectoryInstancesInstanceIdEntityTypeGetAsync(String entityType, UUID instanceId, String path, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetAsync(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = listDirectoryInstancesInstanceIdEntityTypeGetValidateBeforeCall(entityType, instanceId, path, schemaId, authorization, _callback); + okhttp3.Call localVarCall = listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetValidateBeforeCall(instanceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet - * @param instanceId (required) + * Build call for listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet + * @param spaceId (required) * @param authorization (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -5827,7 +7122,7 @@ public okhttp3.Call listDirectoryInstancesInstanceIdEntityTypeGetAsync(String en 422 Validation Error - */ - public okhttp3.Call listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetCall(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetCall(UUID spaceId, String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -5844,8 +7139,8 @@ public okhttp3.Call listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetCall(U Object localVarPostBody = null; // create path and map variables - String localVarPath = "/access_v2/spaces/instances/{instance_id}" - .replace("{" + "instance_id" + "}", localVarApiClient.escapeString(instanceId.toString())); + String localVarPath = "/access_v2/spaces/{space_id}/instances" + .replace("{" + "space_id" + "}", localVarApiClient.escapeString(spaceId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -5878,20 +7173,20 @@ public okhttp3.Call listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetCall(U } @SuppressWarnings("rawtypes") - private okhttp3.Call listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetValidateBeforeCall(UUID instanceId, 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 listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet(Async)"); + private okhttp3.Call listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetValidateBeforeCall(UUID spaceId, 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 listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet(Async)"); } - return listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetCall(instanceId, authorization, _callback); + return listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetCall(spaceId, authorization, _callback); } /** - * List Instance Spaces - * List all spaces attached to an instance. Parameters: - **instance_id**: UUID of the instance to list spaces for (from URL path) Returns: - **200**: List of spaces attached to the instance retrieved successfully - * @param instanceId (required) + * List Instances Using Space + * List all instances that have this space attached. Parameters: - **space_id**: ID of the space to check Returns: - **200**: List of instances using the space retrieved successfully + * @param spaceId (required) * @param authorization (optional) * @return Object * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -5903,15 +7198,15 @@ private okhttp3.Call listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetValid 422 Validation Error - */ - public Object listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet(UUID instanceId, String authorization) throws ApiException { - ApiResponse localVarResp = listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetWithHttpInfo(instanceId, authorization); + public Object listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet(UUID spaceId, String authorization) throws ApiException { + ApiResponse localVarResp = listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetWithHttpInfo(spaceId, authorization); return localVarResp.getData(); } /** - * List Instance Spaces - * List all spaces attached to an instance. Parameters: - **instance_id**: UUID of the instance to list spaces for (from URL path) Returns: - **200**: List of spaces attached to the instance retrieved successfully - * @param instanceId (required) + * List Instances Using Space + * List all instances that have this space attached. Parameters: - **space_id**: ID of the space to check Returns: - **200**: List of instances using the space retrieved successfully + * @param spaceId (required) * @param authorization (optional) * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -5923,16 +7218,16 @@ public Object listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet(UUID instan 422 Validation Error - */ - public ApiResponse listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetWithHttpInfo(UUID instanceId, String authorization) throws ApiException { - okhttp3.Call localVarCall = listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetValidateBeforeCall(instanceId, authorization, null); + public ApiResponse listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetWithHttpInfo(UUID spaceId, String authorization) throws ApiException { + okhttp3.Call localVarCall = listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetValidateBeforeCall(spaceId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * List Instance Spaces (asynchronously) - * List all spaces attached to an instance. Parameters: - **instance_id**: UUID of the instance to list spaces for (from URL path) Returns: - **200**: List of spaces attached to the instance retrieved successfully - * @param instanceId (required) + * List Instances Using Space (asynchronously) + * List all instances that have this space attached. Parameters: - **space_id**: ID of the space to check Returns: - **200**: List of instances using the space retrieved successfully + * @param spaceId (required) * @param authorization (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -5945,16 +7240,16 @@ public ApiResponse listInstanceSpacesAccessV2SpacesInstancesInstanceIdGe 422 Validation Error - */ - public okhttp3.Call listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetAsync(UUID instanceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetAsync(UUID spaceId, String authorization, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetValidateBeforeCall(instanceId, authorization, _callback); + okhttp3.Call localVarCall = listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetValidateBeforeCall(spaceId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet - * @param spaceId (required) + * Build call for listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet + * @param organizationId (required) * @param authorization (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -5967,7 +7262,7 @@ public okhttp3.Call listInstanceSpacesAccessV2SpacesInstancesInstanceIdGetAsync( 422 Validation Error - */ - public okhttp3.Call listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetCall(UUID spaceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGetCall(UUID organizationId, String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -5984,8 +7279,8 @@ public okhttp3.Call listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetCall Object localVarPostBody = null; // create path and map variables - String localVarPath = "/access_v2/spaces/{space_id}/instances" - .replace("{" + "space_id" + "}", localVarApiClient.escapeString(spaceId.toString())); + String localVarPath = "/access_v2/organizations/{organization_id}/members" + .replace("{" + "organization_id" + "}", localVarApiClient.escapeString(organizationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -6018,20 +7313,20 @@ public okhttp3.Call listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetCall } @SuppressWarnings("rawtypes") - private okhttp3.Call listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetValidateBeforeCall(UUID spaceId, 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 listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet(Async)"); + private okhttp3.Call listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGetValidateBeforeCall(UUID organizationId, 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 listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet(Async)"); } - return listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetCall(spaceId, authorization, _callback); + return listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGetCall(organizationId, authorization, _callback); } /** - * List Instances Using Space - * List all instances that have this space attached. Parameters: - **space_id**: ID of the space to check Returns: - **200**: List of instances using the space retrieved successfully - * @param spaceId (required) + * List Organization Members + * List all members of an organization. Parameters: - **organization_id**: UUID of the organization to list members for Returns: - **200**: List of organization members retrieved successfully + * @param organizationId (required) * @param authorization (optional) * @return Object * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -6043,15 +7338,15 @@ private okhttp3.Call listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetVal 422 Validation Error - */ - public Object listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet(UUID spaceId, String authorization) throws ApiException { - ApiResponse localVarResp = listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetWithHttpInfo(spaceId, authorization); + public Object listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet(UUID organizationId, String authorization) throws ApiException { + ApiResponse localVarResp = listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGetWithHttpInfo(organizationId, authorization); return localVarResp.getData(); } /** - * List Instances Using Space - * List all instances that have this space attached. Parameters: - **space_id**: ID of the space to check Returns: - **200**: List of instances using the space retrieved successfully - * @param spaceId (required) + * List Organization Members + * List all members of an organization. Parameters: - **organization_id**: UUID of the organization to list members for Returns: - **200**: List of organization members retrieved successfully + * @param organizationId (required) * @param authorization (optional) * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -6063,16 +7358,16 @@ public Object listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet(UUID spac 422 Validation Error - */ - public ApiResponse listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetWithHttpInfo(UUID spaceId, String authorization) throws ApiException { - okhttp3.Call localVarCall = listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetValidateBeforeCall(spaceId, authorization, null); + public ApiResponse listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGetWithHttpInfo(UUID organizationId, String authorization) throws ApiException { + okhttp3.Call localVarCall = listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGetValidateBeforeCall(organizationId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * List Instances Using Space (asynchronously) - * List all instances that have this space attached. Parameters: - **space_id**: ID of the space to check Returns: - **200**: List of instances using the space retrieved successfully - * @param spaceId (required) + * List Organization Members (asynchronously) + * List all members of an organization. Parameters: - **organization_id**: UUID of the organization to list members for Returns: - **200**: List of organization members retrieved successfully + * @param organizationId (required) * @param authorization (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -6085,9 +7380,9 @@ public ApiResponse listInstancesUsingSpaceAccessV2SpacesSpaceIdInstances 422 Validation Error - */ - public okhttp3.Call listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetAsync(UUID spaceId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGetAsync(UUID organizationId, String authorization, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGetValidateBeforeCall(spaceId, authorization, _callback); + okhttp3.Call localVarCall = listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGetValidateBeforeCall(organizationId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -6822,7 +8117,7 @@ public okhttp3.Call moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPutAs return localVarCall; } /** - * Build call for proxyS3S3PathGet + * Build call for proxyS3S3PathHead * @param path (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -6835,7 +8130,7 @@ public okhttp3.Call moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPutAs 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathGetCall(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathHeadCall(String path, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -6881,13 +8176,13 @@ public okhttp3.Call proxyS3S3PathGetCall(String path, final ApiCallback _callbac } @SuppressWarnings("rawtypes") - private okhttp3.Call proxyS3S3PathGetValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { + private okhttp3.Call proxyS3S3PathHeadValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { // verify the required parameter 'path' is set if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathGet(Async)"); + throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathHead(Async)"); } - return proxyS3S3PathGetCall(path, _callback); + return proxyS3S3PathHeadCall(path, _callback); } @@ -6905,8 +8200,8 @@ private okhttp3.Call proxyS3S3PathGetValidateBeforeCall(String path, final ApiCa 422 Validation Error - */ - public Object proxyS3S3PathGet(String path) throws ApiException { - ApiResponse localVarResp = proxyS3S3PathGetWithHttpInfo(path); + public Object proxyS3S3PathHead(String path) throws ApiException { + ApiResponse localVarResp = proxyS3S3PathHeadWithHttpInfo(path); return localVarResp.getData(); } @@ -6924,8 +8219,8 @@ public Object proxyS3S3PathGet(String path) throws ApiException { 422 Validation Error - */ - public ApiResponse proxyS3S3PathGetWithHttpInfo(String path) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathGetValidateBeforeCall(path, null); + public ApiResponse proxyS3S3PathHeadWithHttpInfo(String path) throws ApiException { + okhttp3.Call localVarCall = proxyS3S3PathHeadValidateBeforeCall(path, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -6945,15 +8240,15 @@ public ApiResponse proxyS3S3PathGetWithHttpInfo(String path) throws ApiE 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathGetAsync(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathHeadAsync(String path, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathGetValidateBeforeCall(path, _callback); + okhttp3.Call localVarCall = proxyS3S3PathHeadValidateBeforeCall(path, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for proxyS3S3PathGet_0 + * Build call for proxyS3S3PathHead_0 * @param path (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -6966,7 +8261,7 @@ public okhttp3.Call proxyS3S3PathGetAsync(String path, final ApiCallback 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathGet_0Call(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathHead_0Call(String path, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -7012,13 +8307,13 @@ public okhttp3.Call proxyS3S3PathGet_0Call(String path, final ApiCallback _callb } @SuppressWarnings("rawtypes") - private okhttp3.Call proxyS3S3PathGet_0ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { + private okhttp3.Call proxyS3S3PathHead_0ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { // verify the required parameter 'path' is set if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathGet_0(Async)"); + throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathHead_0(Async)"); } - return proxyS3S3PathGet_0Call(path, _callback); + return proxyS3S3PathHead_0Call(path, _callback); } @@ -7036,8 +8331,8 @@ private okhttp3.Call proxyS3S3PathGet_0ValidateBeforeCall(String path, final Api 422 Validation Error - */ - public Object proxyS3S3PathGet_0(String path) throws ApiException { - ApiResponse localVarResp = proxyS3S3PathGet_0WithHttpInfo(path); + public Object proxyS3S3PathHead_0(String path) throws ApiException { + ApiResponse localVarResp = proxyS3S3PathHead_0WithHttpInfo(path); return localVarResp.getData(); } @@ -7055,8 +8350,8 @@ public Object proxyS3S3PathGet_0(String path) throws ApiException { 422 Validation Error - */ - public ApiResponse proxyS3S3PathGet_0WithHttpInfo(String path) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathGet_0ValidateBeforeCall(path, null); + public ApiResponse proxyS3S3PathHead_0WithHttpInfo(String path) throws ApiException { + okhttp3.Call localVarCall = proxyS3S3PathHead_0ValidateBeforeCall(path, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -7076,15 +8371,15 @@ public ApiResponse proxyS3S3PathGet_0WithHttpInfo(String path) throws Ap 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathGet_0Async(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathHead_0Async(String path, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathGet_0ValidateBeforeCall(path, _callback); + okhttp3.Call localVarCall = proxyS3S3PathHead_0ValidateBeforeCall(path, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for proxyS3S3PathGet_1 + * Build call for proxyS3S3PathHead_1 * @param path (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -7097,7 +8392,7 @@ public okhttp3.Call proxyS3S3PathGet_0Async(String path, final ApiCallback 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathGet_1Call(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathHead_1Call(String path, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -7143,13 +8438,13 @@ public okhttp3.Call proxyS3S3PathGet_1Call(String path, final ApiCallback _callb } @SuppressWarnings("rawtypes") - private okhttp3.Call proxyS3S3PathGet_1ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { + private okhttp3.Call proxyS3S3PathHead_1ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { // verify the required parameter 'path' is set if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathGet_1(Async)"); + throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathHead_1(Async)"); } - return proxyS3S3PathGet_1Call(path, _callback); + return proxyS3S3PathHead_1Call(path, _callback); } @@ -7167,8 +8462,8 @@ private okhttp3.Call proxyS3S3PathGet_1ValidateBeforeCall(String path, final Api 422 Validation Error - */ - public Object proxyS3S3PathGet_1(String path) throws ApiException { - ApiResponse localVarResp = proxyS3S3PathGet_1WithHttpInfo(path); + public Object proxyS3S3PathHead_1(String path) throws ApiException { + ApiResponse localVarResp = proxyS3S3PathHead_1WithHttpInfo(path); return localVarResp.getData(); } @@ -7186,8 +8481,8 @@ public Object proxyS3S3PathGet_1(String path) throws ApiException { 422 Validation Error - */ - public ApiResponse proxyS3S3PathGet_1WithHttpInfo(String path) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathGet_1ValidateBeforeCall(path, null); + public ApiResponse proxyS3S3PathHead_1WithHttpInfo(String path) throws ApiException { + okhttp3.Call localVarCall = proxyS3S3PathHead_1ValidateBeforeCall(path, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -7207,15 +8502,15 @@ public ApiResponse proxyS3S3PathGet_1WithHttpInfo(String path) throws Ap 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathGet_1Async(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathHead_1Async(String path, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathGet_1ValidateBeforeCall(path, _callback); + okhttp3.Call localVarCall = proxyS3S3PathHead_1ValidateBeforeCall(path, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for proxyS3S3PathGet_2 + * Build call for proxyS3S3PathHead_2 * @param path (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -7228,7 +8523,7 @@ public okhttp3.Call proxyS3S3PathGet_1Async(String path, final ApiCallback 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathGet_2Call(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathHead_2Call(String path, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -7274,13 +8569,13 @@ public okhttp3.Call proxyS3S3PathGet_2Call(String path, final ApiCallback _callb } @SuppressWarnings("rawtypes") - private okhttp3.Call proxyS3S3PathGet_2ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { + private okhttp3.Call proxyS3S3PathHead_2ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { // verify the required parameter 'path' is set if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathGet_2(Async)"); + throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathHead_2(Async)"); } - return proxyS3S3PathGet_2Call(path, _callback); + return proxyS3S3PathHead_2Call(path, _callback); } @@ -7298,8 +8593,8 @@ private okhttp3.Call proxyS3S3PathGet_2ValidateBeforeCall(String path, final Api 422 Validation Error - */ - public Object proxyS3S3PathGet_2(String path) throws ApiException { - ApiResponse localVarResp = proxyS3S3PathGet_2WithHttpInfo(path); + public Object proxyS3S3PathHead_2(String path) throws ApiException { + ApiResponse localVarResp = proxyS3S3PathHead_2WithHttpInfo(path); return localVarResp.getData(); } @@ -7317,8 +8612,8 @@ public Object proxyS3S3PathGet_2(String path) throws ApiException { 422 Validation Error - */ - public ApiResponse proxyS3S3PathGet_2WithHttpInfo(String path) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathGet_2ValidateBeforeCall(path, null); + public ApiResponse proxyS3S3PathHead_2WithHttpInfo(String path) throws ApiException { + okhttp3.Call localVarCall = proxyS3S3PathHead_2ValidateBeforeCall(path, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -7338,15 +8633,15 @@ public ApiResponse proxyS3S3PathGet_2WithHttpInfo(String path) throws Ap 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathGet_2Async(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathHead_2Async(String path, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathGet_2ValidateBeforeCall(path, _callback); + okhttp3.Call localVarCall = proxyS3S3PathHead_2ValidateBeforeCall(path, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for proxyS3S3PathGet_3 + * Build call for proxyS3S3PathHead_3 * @param path (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -7359,7 +8654,7 @@ public okhttp3.Call proxyS3S3PathGet_2Async(String path, final ApiCallback 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathGet_3Call(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathHead_3Call(String path, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -7405,13 +8700,13 @@ public okhttp3.Call proxyS3S3PathGet_3Call(String path, final ApiCallback _callb } @SuppressWarnings("rawtypes") - private okhttp3.Call proxyS3S3PathGet_3ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { + private okhttp3.Call proxyS3S3PathHead_3ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { // verify the required parameter 'path' is set if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathGet_3(Async)"); + throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathHead_3(Async)"); } - return proxyS3S3PathGet_3Call(path, _callback); + return proxyS3S3PathHead_3Call(path, _callback); } @@ -7429,8 +8724,8 @@ private okhttp3.Call proxyS3S3PathGet_3ValidateBeforeCall(String path, final Api 422 Validation Error - */ - public Object proxyS3S3PathGet_3(String path) throws ApiException { - ApiResponse localVarResp = proxyS3S3PathGet_3WithHttpInfo(path); + public Object proxyS3S3PathHead_3(String path) throws ApiException { + ApiResponse localVarResp = proxyS3S3PathHead_3WithHttpInfo(path); return localVarResp.getData(); } @@ -7448,8 +8743,8 @@ public Object proxyS3S3PathGet_3(String path) throws ApiException { 422 Validation Error - */ - public ApiResponse proxyS3S3PathGet_3WithHttpInfo(String path) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathGet_3ValidateBeforeCall(path, null); + public ApiResponse proxyS3S3PathHead_3WithHttpInfo(String path) throws ApiException { + okhttp3.Call localVarCall = proxyS3S3PathHead_3ValidateBeforeCall(path, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -7469,9 +8764,9 @@ public ApiResponse proxyS3S3PathGet_3WithHttpInfo(String path) throws Ap 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathGet_3Async(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathHead_3Async(String path, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathGet_3ValidateBeforeCall(path, _callback); + okhttp3.Call localVarCall = proxyS3S3PathHead_3ValidateBeforeCall(path, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -7667,7 +8962,165 @@ public okhttp3.Call registerFormInstancesInstanceIdFormsPostCall(UUID instanceId } final String[] localVarContentTypes = { - "application/json" + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + if (authorization != null) { + localVarHeaderParams.put("Authorization", localVarApiClient.parameterToString(authorization)); + } + + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call registerFormInstancesInstanceIdFormsPostValidateBeforeCall(UUID instanceId, RegisterFormRequest registerFormRequest, 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)"); + } + + // verify the required parameter 'registerFormRequest' is set + if (registerFormRequest == null) { + throw new ApiException("Missing the required parameter 'registerFormRequest' when calling registerFormInstancesInstanceIdFormsPost(Async)"); + } + + return registerFormInstancesInstanceIdFormsPostCall(instanceId, registerFormRequest, authorization, _callback); + + } + + /** + * Register Form + * Register a form for a specific instance. Parameters: - **body**: Request body containing form details - **key**: Key of the form - **data**: Form data - **schema_uid**: UID of the schema Returns: - **201**: Form registered successfully + * @param instanceId (required) + * @param registerFormRequest (required) + * @param authorization (optional) + * @return Object + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public Object registerFormInstancesInstanceIdFormsPost(UUID instanceId, RegisterFormRequest registerFormRequest, String authorization) throws ApiException { + ApiResponse localVarResp = registerFormInstancesInstanceIdFormsPostWithHttpInfo(instanceId, registerFormRequest, authorization); + return localVarResp.getData(); + } + + /** + * Register Form + * Register a form for a specific instance. Parameters: - **body**: Request body containing form details - **key**: Key of the form - **data**: Form data - **schema_uid**: UID of the schema Returns: - **201**: Form registered successfully + * @param instanceId (required) + * @param registerFormRequest (required) + * @param authorization (optional) + * @return ApiResponse<Object> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public ApiResponse registerFormInstancesInstanceIdFormsPostWithHttpInfo(UUID instanceId, RegisterFormRequest registerFormRequest, String authorization) throws ApiException { + okhttp3.Call localVarCall = registerFormInstancesInstanceIdFormsPostValidateBeforeCall(instanceId, registerFormRequest, authorization, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Register Form (asynchronously) + * Register a form for a specific instance. Parameters: - **body**: Request body containing form details - **key**: Key of the form - **data**: Form data - **schema_uid**: UID of the schema Returns: - **201**: Form registered successfully + * @param instanceId (required) + * @param registerFormRequest (required) + * @param authorization (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call registerFormInstancesInstanceIdFormsPostAsync(UUID instanceId, RegisterFormRequest registerFormRequest, String authorization, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = registerFormInstancesInstanceIdFormsPostValidateBeforeCall(instanceId, registerFormRequest, authorization, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete + * @param instanceId (required) + * @param accountId (optional) + * @param teamId (optional) + * @param authorization (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDeleteCall(UUID instanceId, UUID accountId, UUID teamId, String authorization, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/access_v2/instances/{instance_id}/collaborators" + .replace("{" + "instance_id" + "}", localVarApiClient.escapeString(instanceId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (accountId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("account_id", accountId)); + } + + if (teamId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("team_id", teamId)); + } + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { @@ -7680,30 +9133,26 @@ public okhttp3.Call registerFormInstancesInstanceIdFormsPostCall(UUID instanceId String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call registerFormInstancesInstanceIdFormsPostValidateBeforeCall(UUID instanceId, RegisterFormRequest registerFormRequest, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDeleteValidateBeforeCall(UUID instanceId, UUID accountId, UUID teamId, 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)"); - } - - // verify the required parameter 'registerFormRequest' is set - if (registerFormRequest == null) { - throw new ApiException("Missing the required parameter 'registerFormRequest' when calling registerFormInstancesInstanceIdFormsPost(Async)"); + throw new ApiException("Missing the required parameter 'instanceId' when calling removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete(Async)"); } - return registerFormInstancesInstanceIdFormsPostCall(instanceId, registerFormRequest, authorization, _callback); + return removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDeleteCall(instanceId, accountId, teamId, authorization, _callback); } /** - * Register Form - * Register a form for a specific instance. Parameters: - **body**: Request body containing form details - **key**: Key of the form - **data**: Form data - **schema_uid**: UID of the schema Returns: - **201**: Form registered successfully + * Remove Collaborator + * Remove a collaborator from an instance. Parameters: - **instance_id**: UUID of the instance (from URL path) - **account_id**: UUID of the account to remove (mutually exclusive with team_id) - **team_id**: UUID of the team to remove (mutually exclusive with account_id) Returns: - **200**: Collaborator removed successfully - **400**: Invalid input (e.g., both account_id and team_id provided) Requires admin access to the instance * @param instanceId (required) - * @param registerFormRequest (required) + * @param accountId (optional) + * @param teamId (optional) * @param authorization (optional) * @return Object * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -7715,16 +9164,17 @@ private okhttp3.Call registerFormInstancesInstanceIdFormsPostValidateBeforeCall( 422 Validation Error - */ - public Object registerFormInstancesInstanceIdFormsPost(UUID instanceId, RegisterFormRequest registerFormRequest, String authorization) throws ApiException { - ApiResponse localVarResp = registerFormInstancesInstanceIdFormsPostWithHttpInfo(instanceId, registerFormRequest, authorization); + public Object removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete(UUID instanceId, UUID accountId, UUID teamId, String authorization) throws ApiException { + ApiResponse localVarResp = removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDeleteWithHttpInfo(instanceId, accountId, teamId, authorization); return localVarResp.getData(); } /** - * Register Form - * Register a form for a specific instance. Parameters: - **body**: Request body containing form details - **key**: Key of the form - **data**: Form data - **schema_uid**: UID of the schema Returns: - **201**: Form registered successfully + * Remove Collaborator + * Remove a collaborator from an instance. Parameters: - **instance_id**: UUID of the instance (from URL path) - **account_id**: UUID of the account to remove (mutually exclusive with team_id) - **team_id**: UUID of the team to remove (mutually exclusive with account_id) Returns: - **200**: Collaborator removed successfully - **400**: Invalid input (e.g., both account_id and team_id provided) Requires admin access to the instance * @param instanceId (required) - * @param registerFormRequest (required) + * @param accountId (optional) + * @param teamId (optional) * @param authorization (optional) * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -7736,17 +9186,18 @@ public Object registerFormInstancesInstanceIdFormsPost(UUID instanceId, Register 422 Validation Error - */ - public ApiResponse registerFormInstancesInstanceIdFormsPostWithHttpInfo(UUID instanceId, RegisterFormRequest registerFormRequest, String authorization) throws ApiException { - okhttp3.Call localVarCall = registerFormInstancesInstanceIdFormsPostValidateBeforeCall(instanceId, registerFormRequest, authorization, null); + public ApiResponse removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDeleteWithHttpInfo(UUID instanceId, UUID accountId, UUID teamId, String authorization) throws ApiException { + okhttp3.Call localVarCall = removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDeleteValidateBeforeCall(instanceId, accountId, teamId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Register Form (asynchronously) - * Register a form for a specific instance. Parameters: - **body**: Request body containing form details - **key**: Key of the form - **data**: Form data - **schema_uid**: UID of the schema Returns: - **201**: Form registered successfully + * Remove Collaborator (asynchronously) + * Remove a collaborator from an instance. Parameters: - **instance_id**: UUID of the instance (from URL path) - **account_id**: UUID of the account to remove (mutually exclusive with team_id) - **team_id**: UUID of the team to remove (mutually exclusive with account_id) Returns: - **200**: Collaborator removed successfully - **400**: Invalid input (e.g., both account_id and team_id provided) Requires admin access to the instance * @param instanceId (required) - * @param registerFormRequest (required) + * @param accountId (optional) + * @param teamId (optional) * @param authorization (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -7759,18 +9210,17 @@ public ApiResponse registerFormInstancesInstanceIdFormsPostWithHttpInfo( 422 Validation Error - */ - public okhttp3.Call registerFormInstancesInstanceIdFormsPostAsync(UUID instanceId, RegisterFormRequest registerFormRequest, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDeleteAsync(UUID instanceId, UUID accountId, UUID teamId, String authorization, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = registerFormInstancesInstanceIdFormsPostValidateBeforeCall(instanceId, registerFormRequest, authorization, _callback); + okhttp3.Call localVarCall = removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDeleteValidateBeforeCall(instanceId, accountId, teamId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete - * @param instanceId (required) - * @param accountId (optional) - * @param teamId (optional) + * Build call for removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete + * @param organizationId (required) + * @param accountId (required) * @param authorization (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -7783,7 +9233,7 @@ public okhttp3.Call registerFormInstancesInstanceIdFormsPostAsync(UUID instanceI 422 Validation Error - */ - public okhttp3.Call removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDeleteCall(UUID instanceId, UUID accountId, UUID teamId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDeleteCall(UUID organizationId, UUID accountId, String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -7800,8 +9250,9 @@ public okhttp3.Call removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDe Object localVarPostBody = null; // create path and map variables - String localVarPath = "/access_v2/instances/{instance_id}/collaborators" - .replace("{" + "instance_id" + "}", localVarApiClient.escapeString(instanceId.toString())); + String localVarPath = "/access_v2/organizations/{organization_id}/members/{account_id}" + .replace("{" + "organization_id" + "}", localVarApiClient.escapeString(organizationId.toString())) + .replace("{" + "account_id" + "}", localVarApiClient.escapeString(accountId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -7809,14 +9260,6 @@ public okhttp3.Call removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDe Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (accountId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("account_id", accountId)); - } - - if (teamId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("team_id", teamId)); - } - final String[] localVarAccepts = { "application/json" }; @@ -7842,22 +9285,26 @@ public okhttp3.Call removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDe } @SuppressWarnings("rawtypes") - private okhttp3.Call removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDeleteValidateBeforeCall(UUID instanceId, UUID accountId, UUID teamId, 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 removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete(Async)"); + private okhttp3.Call removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDeleteValidateBeforeCall(UUID organizationId, UUID accountId, 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 removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete(Async)"); } - return removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDeleteCall(instanceId, accountId, teamId, authorization, _callback); + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException("Missing the required parameter 'accountId' when calling removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete(Async)"); + } + + return removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDeleteCall(organizationId, accountId, authorization, _callback); } /** - * Remove Collaborator - * Remove a collaborator from an instance. Parameters: - **instance_id**: UUID of the instance (from URL path) - **account_id**: UUID of the account to remove (mutually exclusive with team_id) - **team_id**: UUID of the team to remove (mutually exclusive with account_id) Returns: - **200**: Collaborator removed successfully - **400**: Invalid input (e.g., both account_id and team_id provided) Requires admin access to the instance - * @param instanceId (required) - * @param accountId (optional) - * @param teamId (optional) + * Remove Organization Member + * Remove a member from an organization. Parameters: - **organization_id**: UUID of the organization to remove the member from - **account_id**: UUID of the account to remove from the organization Returns: - **200**: Organization member removed successfully - **404**: Member not found in organization + * @param organizationId (required) + * @param accountId (required) * @param authorization (optional) * @return Object * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -7869,17 +9316,16 @@ private okhttp3.Call removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsD 422 Validation Error - */ - public Object removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete(UUID instanceId, UUID accountId, UUID teamId, String authorization) throws ApiException { - ApiResponse localVarResp = removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDeleteWithHttpInfo(instanceId, accountId, teamId, authorization); + public Object removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete(UUID organizationId, UUID accountId, String authorization) throws ApiException { + ApiResponse localVarResp = removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDeleteWithHttpInfo(organizationId, accountId, authorization); return localVarResp.getData(); } /** - * Remove Collaborator - * Remove a collaborator from an instance. Parameters: - **instance_id**: UUID of the instance (from URL path) - **account_id**: UUID of the account to remove (mutually exclusive with team_id) - **team_id**: UUID of the team to remove (mutually exclusive with account_id) Returns: - **200**: Collaborator removed successfully - **400**: Invalid input (e.g., both account_id and team_id provided) Requires admin access to the instance - * @param instanceId (required) - * @param accountId (optional) - * @param teamId (optional) + * Remove Organization Member + * Remove a member from an organization. Parameters: - **organization_id**: UUID of the organization to remove the member from - **account_id**: UUID of the account to remove from the organization Returns: - **200**: Organization member removed successfully - **404**: Member not found in organization + * @param organizationId (required) + * @param accountId (required) * @param authorization (optional) * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -7891,18 +9337,17 @@ public Object removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete(U 422 Validation Error - */ - public ApiResponse removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDeleteWithHttpInfo(UUID instanceId, UUID accountId, UUID teamId, String authorization) throws ApiException { - okhttp3.Call localVarCall = removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDeleteValidateBeforeCall(instanceId, accountId, teamId, authorization, null); + public ApiResponse removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDeleteWithHttpInfo(UUID organizationId, UUID accountId, String authorization) throws ApiException { + okhttp3.Call localVarCall = removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDeleteValidateBeforeCall(organizationId, accountId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Remove Collaborator (asynchronously) - * Remove a collaborator from an instance. Parameters: - **instance_id**: UUID of the instance (from URL path) - **account_id**: UUID of the account to remove (mutually exclusive with team_id) - **team_id**: UUID of the team to remove (mutually exclusive with account_id) Returns: - **200**: Collaborator removed successfully - **400**: Invalid input (e.g., both account_id and team_id provided) Requires admin access to the instance - * @param instanceId (required) - * @param accountId (optional) - * @param teamId (optional) + * Remove Organization Member (asynchronously) + * Remove a member from an organization. Parameters: - **organization_id**: UUID of the organization to remove the member from - **account_id**: UUID of the account to remove from the organization Returns: - **200**: Organization member removed successfully - **404**: Member not found in organization + * @param organizationId (required) + * @param accountId (required) * @param authorization (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -7915,9 +9360,9 @@ public ApiResponse removeCollaboratorAccessV2InstancesInstanceIdCollabor 422 Validation Error - */ - public okhttp3.Call removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDeleteAsync(UUID instanceId, UUID accountId, UUID teamId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDeleteAsync(UUID organizationId, UUID accountId, String authorization, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDeleteValidateBeforeCall(instanceId, accountId, teamId, authorization, _callback); + okhttp3.Call localVarCall = removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDeleteValidateBeforeCall(organizationId, accountId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -8343,7 +9788,158 @@ public Object transferOwnershipInstancesInstanceIdOwnerHandlePatch(String handle * * @param handle (required) * @param instanceId (required) - * @param schemaId (optional) + * @param schemaId (optional) + * @param authorization (optional) + * @return ApiResponse<Object> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public ApiResponse transferOwnershipInstancesInstanceIdOwnerHandlePatchWithHttpInfo(String handle, UUID instanceId, UUID schemaId, String authorization) throws ApiException { + okhttp3.Call localVarCall = transferOwnershipInstancesInstanceIdOwnerHandlePatchValidateBeforeCall(handle, instanceId, schemaId, authorization, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Transfer Ownership (asynchronously) + * + * @param handle (required) + * @param instanceId (required) + * @param schemaId (optional) + * @param authorization (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call transferOwnershipInstancesInstanceIdOwnerHandlePatchAsync(String handle, UUID instanceId, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = transferOwnershipInstancesInstanceIdOwnerHandlePatchValidateBeforeCall(handle, instanceId, schemaId, authorization, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch + * @param instanceId (required) + * @param updateCollaboratorRequestBody (required) + * @param authorization (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatchCall(UUID instanceId, UpdateCollaboratorRequestBody updateCollaboratorRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = updateCollaboratorRequestBody; + + // create path and map variables + String localVarPath = "/access_v2/instances/{instance_id}/collaborators" + .replace("{" + "instance_id" + "}", localVarApiClient.escapeString(instanceId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + if (authorization != null) { + localVarHeaderParams.put("Authorization", localVarApiClient.parameterToString(authorization)); + } + + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatchValidateBeforeCall(UUID instanceId, UpdateCollaboratorRequestBody updateCollaboratorRequestBody, 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 updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch(Async)"); + } + + // verify the required parameter 'updateCollaboratorRequestBody' is set + if (updateCollaboratorRequestBody == null) { + throw new ApiException("Missing the required parameter 'updateCollaboratorRequestBody' when calling updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch(Async)"); + } + + return updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatchCall(instanceId, updateCollaboratorRequestBody, authorization, _callback); + + } + + /** + * Update Collaborator + * Update a collaborator's permissions on an instance. Parameters: - **instance_id**: UUID of the instance (from URL path) - **body**: Request body containing collaborator details - **account_id**: UUID of the account to update (mutually exclusive with team_id) - **team_id**: UUID of the team to update (mutually exclusive with account_id) - **role**: Role of the collaborator Returns: - **200**: Collaborator updated successfully - **400**: Invalid input (e.g., both account_id and team_id provided) Requires admin access to the instance + * @param instanceId (required) + * @param updateCollaboratorRequestBody (required) + * @param authorization (optional) + * @return Object + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public Object updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch(UUID instanceId, UpdateCollaboratorRequestBody updateCollaboratorRequestBody, String authorization) throws ApiException { + ApiResponse localVarResp = updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatchWithHttpInfo(instanceId, updateCollaboratorRequestBody, authorization); + return localVarResp.getData(); + } + + /** + * Update Collaborator + * Update a collaborator's permissions on an instance. Parameters: - **instance_id**: UUID of the instance (from URL path) - **body**: Request body containing collaborator details - **account_id**: UUID of the account to update (mutually exclusive with team_id) - **team_id**: UUID of the team to update (mutually exclusive with account_id) - **role**: Role of the collaborator Returns: - **200**: Collaborator updated successfully - **400**: Invalid input (e.g., both account_id and team_id provided) Requires admin access to the instance + * @param instanceId (required) + * @param updateCollaboratorRequestBody (required) * @param authorization (optional) * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -8355,18 +9951,17 @@ public Object transferOwnershipInstancesInstanceIdOwnerHandlePatch(String handle 422 Validation Error - */ - public ApiResponse transferOwnershipInstancesInstanceIdOwnerHandlePatchWithHttpInfo(String handle, UUID instanceId, UUID schemaId, String authorization) throws ApiException { - okhttp3.Call localVarCall = transferOwnershipInstancesInstanceIdOwnerHandlePatchValidateBeforeCall(handle, instanceId, schemaId, authorization, null); + public ApiResponse updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatchWithHttpInfo(UUID instanceId, UpdateCollaboratorRequestBody updateCollaboratorRequestBody, String authorization) throws ApiException { + okhttp3.Call localVarCall = updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatchValidateBeforeCall(instanceId, updateCollaboratorRequestBody, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Transfer Ownership (asynchronously) - * - * @param handle (required) + * Update Collaborator (asynchronously) + * Update a collaborator's permissions on an instance. Parameters: - **instance_id**: UUID of the instance (from URL path) - **body**: Request body containing collaborator details - **account_id**: UUID of the account to update (mutually exclusive with team_id) - **team_id**: UUID of the team to update (mutually exclusive with account_id) - **role**: Role of the collaborator Returns: - **200**: Collaborator updated successfully - **400**: Invalid input (e.g., both account_id and team_id provided) Requires admin access to the instance * @param instanceId (required) - * @param schemaId (optional) + * @param updateCollaboratorRequestBody (required) * @param authorization (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -8379,17 +9974,18 @@ public ApiResponse transferOwnershipInstancesInstanceIdOwnerHandlePatchW 422 Validation Error - */ - public okhttp3.Call transferOwnershipInstancesInstanceIdOwnerHandlePatchAsync(String handle, UUID instanceId, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatchAsync(UUID instanceId, UpdateCollaboratorRequestBody updateCollaboratorRequestBody, String authorization, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = transferOwnershipInstancesInstanceIdOwnerHandlePatchValidateBeforeCall(handle, instanceId, schemaId, authorization, _callback); + okhttp3.Call localVarCall = updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatchValidateBeforeCall(instanceId, updateCollaboratorRequestBody, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch + * Build call for updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch * @param instanceId (required) - * @param updateCollaboratorRequestBody (required) + * @param accountId (required) + * @param role (required) * @param authorization (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -8402,7 +9998,7 @@ public okhttp3.Call transferOwnershipInstancesInstanceIdOwnerHandlePatchAsync(St 422 Validation Error - */ - public okhttp3.Call updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatchCall(UUID instanceId, UpdateCollaboratorRequestBody updateCollaboratorRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatchCall(UUID instanceId, UUID accountId, String role, String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -8416,11 +10012,12 @@ public okhttp3.Call updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPa basePath = null; } - Object localVarPostBody = updateCollaboratorRequestBody; + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/access_v2/instances/{instance_id}/collaborators" - .replace("{" + "instance_id" + "}", localVarApiClient.escapeString(instanceId.toString())); + String localVarPath = "/instances/{instance_id}/collaborators/{account_id}" + .replace("{" + "instance_id" + "}", localVarApiClient.escapeString(instanceId.toString())) + .replace("{" + "account_id" + "}", localVarApiClient.escapeString(accountId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -8428,6 +10025,10 @@ public okhttp3.Call updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPa Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (role != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("role", role)); + } + final String[] localVarAccepts = { "application/json" }; @@ -8437,7 +10038,6 @@ public okhttp3.Call updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPa } final String[] localVarContentTypes = { - "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { @@ -8454,26 +10054,32 @@ public okhttp3.Call updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPa } @SuppressWarnings("rawtypes") - private okhttp3.Call updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatchValidateBeforeCall(UUID instanceId, UpdateCollaboratorRequestBody updateCollaboratorRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatchValidateBeforeCall(UUID instanceId, UUID accountId, String role, 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 updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch(Async)"); + throw new ApiException("Missing the required parameter 'instanceId' when calling updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch(Async)"); } - // verify the required parameter 'updateCollaboratorRequestBody' is set - if (updateCollaboratorRequestBody == null) { - throw new ApiException("Missing the required parameter 'updateCollaboratorRequestBody' when calling updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch(Async)"); + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException("Missing the required parameter 'accountId' when calling updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch(Async)"); } - return updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatchCall(instanceId, updateCollaboratorRequestBody, authorization, _callback); + // verify the required parameter 'role' is set + if (role == null) { + throw new ApiException("Missing the required parameter 'role' when calling updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch(Async)"); + } + + return updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatchCall(instanceId, accountId, role, authorization, _callback); } /** * Update Collaborator - * Update a collaborator's permissions on an instance. Parameters: - **instance_id**: UUID of the instance (from URL path) - **body**: Request body containing collaborator details - **account_id**: UUID of the account to update (mutually exclusive with team_id) - **team_id**: UUID of the team to update (mutually exclusive with account_id) - **role**: Role of the collaborator Returns: - **200**: Collaborator updated successfully - **400**: Invalid input (e.g., both account_id and team_id provided) Requires admin access to the instance + * * @param instanceId (required) - * @param updateCollaboratorRequestBody (required) + * @param accountId (required) + * @param role (required) * @param authorization (optional) * @return Object * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -8485,16 +10091,17 @@ private okhttp3.Call updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsP 422 Validation Error - */ - public Object updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch(UUID instanceId, UpdateCollaboratorRequestBody updateCollaboratorRequestBody, String authorization) throws ApiException { - ApiResponse localVarResp = updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatchWithHttpInfo(instanceId, updateCollaboratorRequestBody, authorization); + public Object updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch(UUID instanceId, UUID accountId, String role, String authorization) throws ApiException { + ApiResponse localVarResp = updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatchWithHttpInfo(instanceId, accountId, role, authorization); return localVarResp.getData(); } /** * Update Collaborator - * Update a collaborator's permissions on an instance. Parameters: - **instance_id**: UUID of the instance (from URL path) - **body**: Request body containing collaborator details - **account_id**: UUID of the account to update (mutually exclusive with team_id) - **team_id**: UUID of the team to update (mutually exclusive with account_id) - **role**: Role of the collaborator Returns: - **200**: Collaborator updated successfully - **400**: Invalid input (e.g., both account_id and team_id provided) Requires admin access to the instance + * * @param instanceId (required) - * @param updateCollaboratorRequestBody (required) + * @param accountId (required) + * @param role (required) * @param authorization (optional) * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -8506,17 +10113,18 @@ public Object updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch(UU 422 Validation Error - */ - public ApiResponse updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatchWithHttpInfo(UUID instanceId, UpdateCollaboratorRequestBody updateCollaboratorRequestBody, String authorization) throws ApiException { - okhttp3.Call localVarCall = updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatchValidateBeforeCall(instanceId, updateCollaboratorRequestBody, authorization, null); + public ApiResponse updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatchWithHttpInfo(UUID instanceId, UUID accountId, String role, String authorization) throws ApiException { + okhttp3.Call localVarCall = updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatchValidateBeforeCall(instanceId, accountId, role, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** * Update Collaborator (asynchronously) - * Update a collaborator's permissions on an instance. Parameters: - **instance_id**: UUID of the instance (from URL path) - **body**: Request body containing collaborator details - **account_id**: UUID of the account to update (mutually exclusive with team_id) - **team_id**: UUID of the team to update (mutually exclusive with account_id) - **role**: Role of the collaborator Returns: - **200**: Collaborator updated successfully - **400**: Invalid input (e.g., both account_id and team_id provided) Requires admin access to the instance + * * @param instanceId (required) - * @param updateCollaboratorRequestBody (required) + * @param accountId (required) + * @param role (required) * @param authorization (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -8529,18 +10137,18 @@ public ApiResponse updateCollaboratorAccessV2InstancesInstanceIdCollabor 422 Validation Error - */ - public okhttp3.Call updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatchAsync(UUID instanceId, UpdateCollaboratorRequestBody updateCollaboratorRequestBody, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatchAsync(UUID instanceId, UUID accountId, String role, String authorization, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatchValidateBeforeCall(instanceId, updateCollaboratorRequestBody, authorization, _callback); + okhttp3.Call localVarCall = updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatchValidateBeforeCall(instanceId, accountId, role, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch - * @param instanceId (required) + * Build call for updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch + * @param organizationId (required) * @param accountId (required) - * @param role (required) + * @param updateOrganizationMemberRequestBody (required) * @param authorization (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -8553,7 +10161,7 @@ public okhttp3.Call updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPa 422 Validation Error - */ - public okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatchCall(UUID instanceId, UUID accountId, String role, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatchCall(UUID organizationId, UUID accountId, UpdateOrganizationMemberRequestBody updateOrganizationMemberRequestBody, String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -8567,11 +10175,11 @@ public okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdP basePath = null; } - Object localVarPostBody = null; + Object localVarPostBody = updateOrganizationMemberRequestBody; // create path and map variables - String localVarPath = "/instances/{instance_id}/collaborators/{account_id}" - .replace("{" + "instance_id" + "}", localVarApiClient.escapeString(instanceId.toString())) + String localVarPath = "/access_v2/organizations/{organization_id}/members/{account_id}" + .replace("{" + "organization_id" + "}", localVarApiClient.escapeString(organizationId.toString())) .replace("{" + "account_id" + "}", localVarApiClient.escapeString(accountId.toString())); List localVarQueryParams = new ArrayList(); @@ -8580,10 +10188,6 @@ public okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdP Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (role != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("role", role)); - } - final String[] localVarAccepts = { "application/json" }; @@ -8593,6 +10197,7 @@ public okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdP } final String[] localVarContentTypes = { + "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { @@ -8609,32 +10214,32 @@ public okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdP } @SuppressWarnings("rawtypes") - private okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatchValidateBeforeCall(UUID instanceId, UUID accountId, String role, 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 updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch(Async)"); + private okhttp3.Call updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatchValidateBeforeCall(UUID organizationId, UUID accountId, UpdateOrganizationMemberRequestBody updateOrganizationMemberRequestBody, 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 updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch(Async)"); } // verify the required parameter 'accountId' is set if (accountId == null) { - throw new ApiException("Missing the required parameter 'accountId' when calling updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch(Async)"); + throw new ApiException("Missing the required parameter 'accountId' when calling updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch(Async)"); } - // verify the required parameter 'role' is set - if (role == null) { - throw new ApiException("Missing the required parameter 'role' when calling updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch(Async)"); + // verify the required parameter 'updateOrganizationMemberRequestBody' is set + if (updateOrganizationMemberRequestBody == null) { + throw new ApiException("Missing the required parameter 'updateOrganizationMemberRequestBody' when calling updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch(Async)"); } - return updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatchCall(instanceId, accountId, role, authorization, _callback); + return updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatchCall(organizationId, accountId, updateOrganizationMemberRequestBody, authorization, _callback); } /** - * Update Collaborator - * - * @param instanceId (required) + * Update Organization Member + * Update an organization member's details. Parameters: - **organization_id**: UUID of the organization the member belongs to - **account_id**: UUID of the account to update - **body**: Request body containing updated member details - **role**: Role of the member in the organization Returns: - **200**: Organization member updated successfully - **404**: Member not found in organization + * @param organizationId (required) * @param accountId (required) - * @param role (required) + * @param updateOrganizationMemberRequestBody (required) * @param authorization (optional) * @return Object * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -8646,17 +10251,17 @@ private okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsAccountId 422 Validation Error - */ - public Object updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch(UUID instanceId, UUID accountId, String role, String authorization) throws ApiException { - ApiResponse localVarResp = updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatchWithHttpInfo(instanceId, accountId, role, authorization); + public Object updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch(UUID organizationId, UUID accountId, UpdateOrganizationMemberRequestBody updateOrganizationMemberRequestBody, String authorization) throws ApiException { + ApiResponse localVarResp = updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatchWithHttpInfo(organizationId, accountId, updateOrganizationMemberRequestBody, authorization); return localVarResp.getData(); } /** - * Update Collaborator - * - * @param instanceId (required) + * Update Organization Member + * Update an organization member's details. Parameters: - **organization_id**: UUID of the organization the member belongs to - **account_id**: UUID of the account to update - **body**: Request body containing updated member details - **role**: Role of the member in the organization Returns: - **200**: Organization member updated successfully - **404**: Member not found in organization + * @param organizationId (required) * @param accountId (required) - * @param role (required) + * @param updateOrganizationMemberRequestBody (required) * @param authorization (optional) * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -8668,18 +10273,18 @@ public Object updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch(U 422 Validation Error - */ - public ApiResponse updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatchWithHttpInfo(UUID instanceId, UUID accountId, String role, String authorization) throws ApiException { - okhttp3.Call localVarCall = updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatchValidateBeforeCall(instanceId, accountId, role, authorization, null); + public ApiResponse updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatchWithHttpInfo(UUID organizationId, UUID accountId, UpdateOrganizationMemberRequestBody updateOrganizationMemberRequestBody, String authorization) throws ApiException { + okhttp3.Call localVarCall = updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatchValidateBeforeCall(organizationId, accountId, updateOrganizationMemberRequestBody, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Update Collaborator (asynchronously) - * - * @param instanceId (required) + * Update Organization Member (asynchronously) + * Update an organization member's details. Parameters: - **organization_id**: UUID of the organization the member belongs to - **account_id**: UUID of the account to update - **body**: Request body containing updated member details - **role**: Role of the member in the organization Returns: - **200**: Organization member updated successfully - **404**: Member not found in organization + * @param organizationId (required) * @param accountId (required) - * @param role (required) + * @param updateOrganizationMemberRequestBody (required) * @param authorization (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -8692,9 +10297,9 @@ public ApiResponse updateCollaboratorInstancesInstanceIdCollaboratorsAcc 422 Validation Error - */ - public okhttp3.Call updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatchAsync(UUID instanceId, UUID accountId, String role, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatchAsync(UUID organizationId, UUID accountId, UpdateOrganizationMemberRequestBody updateOrganizationMemberRequestBody, String authorization, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatchValidateBeforeCall(instanceId, accountId, role, authorization, _callback); + okhttp3.Call localVarCall = updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatchValidateBeforeCall(organizationId, accountId, updateOrganizationMemberRequestBody, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -9497,4 +11102,166 @@ public okhttp3.Call updateTeamMemberAccessV2TeamsTeamIdMembersAccountIdPatchAsyn localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + /** + * Build call for uploadArtifactInstancesInstanceIdArtifactsUploadPost + * @param instanceId (required) + * @param _file (required) + * @param authorization (optional) + * @param kwargs (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call uploadArtifactInstancesInstanceIdArtifactsUploadPostCall(UUID instanceId, File _file, String authorization, String kwargs, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/instances/{instance_id}/artifacts/upload" + .replace("{" + "instance_id" + "}", localVarApiClient.escapeString(instanceId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (_file != null) { + localVarFormParams.put("file", _file); + } + + if (kwargs != null) { + localVarFormParams.put("kwargs", kwargs); + } + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "multipart/form-data" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + if (authorization != null) { + localVarHeaderParams.put("Authorization", localVarApiClient.parameterToString(authorization)); + } + + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call uploadArtifactInstancesInstanceIdArtifactsUploadPostValidateBeforeCall(UUID instanceId, File _file, String authorization, 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)"); + } + + // verify the required parameter '_file' is set + if (_file == null) { + throw new ApiException("Missing the required parameter '_file' when calling uploadArtifactInstancesInstanceIdArtifactsUploadPost(Async)"); + } + + return uploadArtifactInstancesInstanceIdArtifactsUploadPostCall(instanceId, _file, authorization, kwargs, _callback); + + } + + /** + * Upload Artifact + * + * @param instanceId (required) + * @param _file (required) + * @param authorization (optional) + * @param kwargs (optional) + * @return Object + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public Object uploadArtifactInstancesInstanceIdArtifactsUploadPost(UUID instanceId, File _file, String authorization, String kwargs) throws ApiException { + ApiResponse localVarResp = uploadArtifactInstancesInstanceIdArtifactsUploadPostWithHttpInfo(instanceId, _file, authorization, kwargs); + return localVarResp.getData(); + } + + /** + * Upload Artifact + * + * @param instanceId (required) + * @param _file (required) + * @param authorization (optional) + * @param kwargs (optional) + * @return ApiResponse<Object> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public ApiResponse uploadArtifactInstancesInstanceIdArtifactsUploadPostWithHttpInfo(UUID instanceId, File _file, String authorization, String kwargs) throws ApiException { + okhttp3.Call localVarCall = uploadArtifactInstancesInstanceIdArtifactsUploadPostValidateBeforeCall(instanceId, _file, authorization, kwargs, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Upload Artifact (asynchronously) + * + * @param instanceId (required) + * @param _file (required) + * @param authorization (optional) + * @param kwargs (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call uploadArtifactInstancesInstanceIdArtifactsUploadPostAsync(UUID instanceId, File _file, String authorization, String kwargs, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = uploadArtifactInstancesInstanceIdArtifactsUploadPostValidateBeforeCall(instanceId, _file, authorization, kwargs, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } } 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 41072ff..00f7bff 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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/HttpBearerAuth.java b/src/main/java/ai/lamin/lamin_api_client/auth/HttpBearerAuth.java index 047106e..0376190 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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 c774b41..5ac6f64 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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 f695d6c..35d5613 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class AddCollaboratorRequestBody { public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) 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 new file mode 100644 index 0000000..9da5e89 --- /dev/null +++ b/src/main/java/ai/lamin/lamin_api_client/model/AddOrganizationMemberRequestBody.java @@ -0,0 +1,264 @@ +/* + * 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 com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import ai.lamin.lamin_api_client.JSON; + +/** + * AddOrganizationMemberRequestBody + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +public class AddOrganizationMemberRequestBody { + /** + * Gets or Sets role + */ + @JsonAdapter(RoleEnum.Adapter.class) + public enum RoleEnum { + ADMIN("admin"), + + MEMBER("member"), + + MANAGER("manager"); + + 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 RoleEnum role = RoleEnum.MEMBER; + + public AddOrganizationMemberRequestBody() { + } + + public AddOrganizationMemberRequestBody role(@javax.annotation.Nullable RoleEnum role) { + this.role = role; + return this; + } + + /** + * Get role + * @return role + */ + @javax.annotation.Nullable + public RoleEnum getRole() { + return role; + } + + public void setRole(@javax.annotation.Nullable RoleEnum role) { + this.role = role; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AddOrganizationMemberRequestBody addOrganizationMemberRequestBody = (AddOrganizationMemberRequestBody) o; + return Objects.equals(this.role, addOrganizationMemberRequestBody.role); + } + + @Override + public int hashCode() { + return Objects.hash(role); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AddOrganizationMemberRequestBody {\n"); + sb.append(" role: ").append(toIndentedString(role)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("role"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * 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 AddOrganizationMemberRequestBody + */ + 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())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // 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())); + } + } + 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())); + } + // validate the optional field `role` + if (jsonObj.get("role") != null && !jsonObj.get("role").isJsonNull()) { + RoleEnum.validateJsonElement(jsonObj.get("role")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AddOrganizationMemberRequestBody.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AddOrganizationMemberRequestBody' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AddOrganizationMemberRequestBody.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AddOrganizationMemberRequestBody value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AddOrganizationMemberRequestBody read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AddOrganizationMemberRequestBody given an JSON string + * + * @param jsonString JSON string + * @return An instance of AddOrganizationMemberRequestBody + * @throws IOException if the JSON string is invalid with respect to AddOrganizationMemberRequestBody + */ + public static AddOrganizationMemberRequestBody fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AddOrganizationMemberRequestBody.class); + } + + /** + * Convert an instance of AddOrganizationMemberRequestBody 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/AddSpaceCollaboratorRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/AddSpaceCollaboratorRequestBody.java index e967168..68b37b5 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class AddSpaceCollaboratorRequestBody { public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) 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 98d0e94..96ef09a 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 @@ -49,12 +49,12 @@ /** * AddTeamMemberRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class AddTeamMemberRequestBody { public static final String SERIALIZED_NAME_ROLE = "role"; @SerializedName(SERIALIZED_NAME_ROLE) @javax.annotation.Nullable - private Role role; + private Role role = member; public AddTeamMemberRequestBody() { } 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 9edcc66..842efa8 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class AttachSpaceToRecordRequestBody { public static final String SERIALIZED_NAME_MODULE_NAME = "module_name"; @SerializedName(SERIALIZED_NAME_MODULE_NAME) 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 new file mode 100644 index 0000000..acb5084 --- /dev/null +++ b/src/main/java/ai/lamin/lamin_api_client/model/CreateArtifactRequestBody.java @@ -0,0 +1,251 @@ +/* + * 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 com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import ai.lamin.lamin_api_client.JSON; + +/** + * CreateArtifactRequestBody + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +public class CreateArtifactRequestBody { + public static final String SERIALIZED_NAME_PATH = "path"; + @SerializedName(SERIALIZED_NAME_PATH) + @javax.annotation.Nonnull + private String path; + + public static final String SERIALIZED_NAME_KWARGS = "kwargs"; + @SerializedName(SERIALIZED_NAME_KWARGS) + @javax.annotation.Nullable + private Map kwargs = new HashMap<>(); + + public CreateArtifactRequestBody() { + } + + public CreateArtifactRequestBody path(@javax.annotation.Nonnull String path) { + this.path = path; + return this; + } + + /** + * Get path + * @return path + */ + @javax.annotation.Nonnull + public String getPath() { + return path; + } + + public void setPath(@javax.annotation.Nonnull String path) { + this.path = path; + } + + + public CreateArtifactRequestBody kwargs(@javax.annotation.Nullable Map kwargs) { + this.kwargs = kwargs; + return this; + } + + public CreateArtifactRequestBody putKwargsItem(String key, Object kwargsItem) { + if (this.kwargs == null) { + this.kwargs = new HashMap<>(); + } + this.kwargs.put(key, kwargsItem); + return this; + } + + /** + * Get kwargs + * @return kwargs + */ + @javax.annotation.Nullable + public Map getKwargs() { + return kwargs; + } + + public void setKwargs(@javax.annotation.Nullable Map kwargs) { + this.kwargs = kwargs; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateArtifactRequestBody createArtifactRequestBody = (CreateArtifactRequestBody) o; + return Objects.equals(this.path, createArtifactRequestBody.path) && + Objects.equals(this.kwargs, createArtifactRequestBody.kwargs); + } + + @Override + public int hashCode() { + return Objects.hash(path, kwargs); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateArtifactRequestBody {\n"); + sb.append(" path: ").append(toIndentedString(path)).append("\n"); + sb.append(" kwargs: ").append(toIndentedString(kwargs)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("path"); + openapiFields.add("kwargs"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("path"); + } + + /** + * 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 CreateArtifactRequestBody + */ + 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())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // 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())); + } + } + + // 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())); + } + } + 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())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CreateArtifactRequestBody.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CreateArtifactRequestBody' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CreateArtifactRequestBody.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CreateArtifactRequestBody value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public CreateArtifactRequestBody read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CreateArtifactRequestBody given an JSON string + * + * @param jsonString JSON string + * @return An instance of CreateArtifactRequestBody + * @throws IOException if the JSON string is invalid with respect to CreateArtifactRequestBody + */ + public static CreateArtifactRequestBody fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CreateArtifactRequestBody.class); + } + + /** + * Convert an instance of CreateArtifactRequestBody 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/CreateSpaceRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/CreateSpaceRequestBody.java index b452889..da32aaf 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class CreateSpaceRequestBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) 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 5bfc629..4d6774f 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class CreateTeamRequestBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) 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 new file mode 100644 index 0000000..da8c447 --- /dev/null +++ b/src/main/java/ai/lamin/lamin_api_client/model/CreateTransformRequestBody.java @@ -0,0 +1,276 @@ +/* + * 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 com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import ai.lamin.lamin_api_client.JSON; + +/** + * CreateTransformRequestBody + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +public class CreateTransformRequestBody { + public static final String SERIALIZED_NAME_KEY = "key"; + @SerializedName(SERIALIZED_NAME_KEY) + @javax.annotation.Nonnull + private String key; + + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + @javax.annotation.Nonnull + private String type; + + public static final String SERIALIZED_NAME_SOURCE_CODE = "source_code"; + @SerializedName(SERIALIZED_NAME_SOURCE_CODE) + @javax.annotation.Nonnull + private String sourceCode; + + public CreateTransformRequestBody() { + } + + public CreateTransformRequestBody key(@javax.annotation.Nonnull String key) { + this.key = key; + return this; + } + + /** + * Get key + * @return key + */ + @javax.annotation.Nonnull + public String getKey() { + return key; + } + + public void setKey(@javax.annotation.Nonnull String key) { + this.key = key; + } + + + public CreateTransformRequestBody type(@javax.annotation.Nonnull String type) { + this.type = type; + return this; + } + + /** + * Get type + * @return type + */ + @javax.annotation.Nonnull + public String getType() { + return type; + } + + public void setType(@javax.annotation.Nonnull String type) { + this.type = type; + } + + + public CreateTransformRequestBody sourceCode(@javax.annotation.Nonnull String sourceCode) { + this.sourceCode = sourceCode; + return this; + } + + /** + * Get sourceCode + * @return sourceCode + */ + @javax.annotation.Nonnull + public String getSourceCode() { + return sourceCode; + } + + public void setSourceCode(@javax.annotation.Nonnull String sourceCode) { + this.sourceCode = sourceCode; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateTransformRequestBody createTransformRequestBody = (CreateTransformRequestBody) o; + return Objects.equals(this.key, createTransformRequestBody.key) && + Objects.equals(this.type, createTransformRequestBody.type) && + Objects.equals(this.sourceCode, createTransformRequestBody.sourceCode); + } + + @Override + public int hashCode() { + return Objects.hash(key, type, sourceCode); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateTransformRequestBody {\n"); + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" sourceCode: ").append(toIndentedString(sourceCode)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("key"); + openapiFields.add("type"); + openapiFields.add("source_code"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("key"); + openapiRequiredFields.add("type"); + openapiRequiredFields.add("source_code"); + } + + /** + * 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 CreateTransformRequestBody + */ + 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())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // 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())); + } + } + + // 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())); + } + } + 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())); + } + 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())); + } + 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())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CreateTransformRequestBody.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CreateTransformRequestBody' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CreateTransformRequestBody.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CreateTransformRequestBody value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public CreateTransformRequestBody read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CreateTransformRequestBody given an JSON string + * + * @param jsonString JSON string + * @return An instance of CreateTransformRequestBody + * @throws IOException if the JSON string is invalid with respect to CreateTransformRequestBody + */ + public static CreateTransformRequestBody fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CreateTransformRequestBody.class); + } + + /** + * Convert an instance of CreateTransformRequestBody 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/DbUrlRequest.java b/src/main/java/ai/lamin/lamin_api_client/model/DbUrlRequest.java index 8b6f68d..72eb72b 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/DbUrlRequest.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/DbUrlRequest.java @@ -48,7 +48,7 @@ /** * DbUrlRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class DbUrlRequest { public static final String SERIALIZED_NAME_DB_URL = "db_url"; @SerializedName(SERIALIZED_NAME_DB_URL) 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 1abfa2c..90601cc 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Dimension { public static final String SERIALIZED_NAME_FIELD_NAME = "field_name"; @SerializedName(SERIALIZED_NAME_FIELD_NAME) 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 eb5220f..0b5dea1 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class GetRecordRequestBody { public static final String SERIALIZED_NAME_SELECT = "select"; @SerializedName(SERIALIZED_NAME_SELECT) 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 7dd2c6b..3d8d35f 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class GetRecordsRequestBody { public static final String SERIALIZED_NAME_SELECT = "select"; @SerializedName(SERIALIZED_NAME_SELECT) 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 679b547..30a77e7 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class GetValuesRequestBody { public static final String SERIALIZED_NAME_FILTER = "filter"; @SerializedName(SERIALIZED_NAME_FILTER) 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 cae62de..6d6a107 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class GroupByRequestBody { public static final String SERIALIZED_NAME_DIMENSIONS = "dimensions"; @SerializedName(SERIALIZED_NAME_DIMENSIONS) 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 555a054..efe0a03 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class HTTPValidationError { public static final String SERIALIZED_NAME_DETAIL = "detail"; @SerializedName(SERIALIZED_NAME_DETAIL) 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 8fd574f..432f09d 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Measure { public static final String SERIALIZED_NAME_FIELD_NAME = "field_name"; @SerializedName(SERIALIZED_NAME_FIELD_NAME) 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 2ba0094..0bf2e0f 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class OrderByColumn { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) 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 39fbddd..fbd8826 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 @@ -48,7 +48,7 @@ /** * RegisterDbServerBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class RegisterDbServerBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) 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 a6e3686..d7ae0bf 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class RegisterFormRequest { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) 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 index d55dec1..db1decf 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/Role.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/Role.java @@ -50,7 +50,7 @@ import ai.lamin.lamin_api_client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Role extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(Role.class.getName()); 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 index 3a45416..f85684d 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/Role1.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/Role1.java @@ -50,7 +50,7 @@ import ai.lamin.lamin_api_client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Role1 extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(Role1.class.getName()); 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 07cbf86..0523ff3 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 @@ -48,7 +48,7 @@ /** * S3PermissionsRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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) 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 6cc41fd..7c0a9d8 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class UpdateCollaboratorRequestBody { /** * Gets or Sets role 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 new file mode 100644 index 0000000..37a8c19 --- /dev/null +++ b/src/main/java/ai/lamin/lamin_api_client/model/UpdateOrganizationMemberRequestBody.java @@ -0,0 +1,270 @@ +/* + * 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 com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import ai.lamin.lamin_api_client.JSON; + +/** + * UpdateOrganizationMemberRequestBody + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +public class UpdateOrganizationMemberRequestBody { + /** + * Gets or Sets role + */ + @JsonAdapter(RoleEnum.Adapter.class) + public enum RoleEnum { + ADMIN("admin"), + + MEMBER("member"), + + MANAGER("manager"); + + 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 RoleEnum role; + + public UpdateOrganizationMemberRequestBody() { + } + + public UpdateOrganizationMemberRequestBody role(@javax.annotation.Nonnull RoleEnum role) { + this.role = role; + return this; + } + + /** + * Get role + * @return role + */ + @javax.annotation.Nonnull + public RoleEnum getRole() { + return role; + } + + public void setRole(@javax.annotation.Nonnull RoleEnum role) { + this.role = role; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateOrganizationMemberRequestBody updateOrganizationMemberRequestBody = (UpdateOrganizationMemberRequestBody) o; + return Objects.equals(this.role, updateOrganizationMemberRequestBody.role); + } + + @Override + public int hashCode() { + return Objects.hash(role); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpdateOrganizationMemberRequestBody {\n"); + sb.append(" role: ").append(toIndentedString(role)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("role"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("role"); + } + + /** + * 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 UpdateOrganizationMemberRequestBody + */ + 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())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // 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())); + } + } + + // 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())); + } + } + 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())); + } + // validate the required field `role` + RoleEnum.validateJsonElement(jsonObj.get("role")); + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UpdateOrganizationMemberRequestBody.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UpdateOrganizationMemberRequestBody' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UpdateOrganizationMemberRequestBody.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UpdateOrganizationMemberRequestBody value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UpdateOrganizationMemberRequestBody read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UpdateOrganizationMemberRequestBody given an JSON string + * + * @param jsonString JSON string + * @return An instance of UpdateOrganizationMemberRequestBody + * @throws IOException if the JSON string is invalid with respect to UpdateOrganizationMemberRequestBody + */ + public static UpdateOrganizationMemberRequestBody fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UpdateOrganizationMemberRequestBody.class); + } + + /** + * Convert an instance of UpdateOrganizationMemberRequestBody 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/UpdateSpaceCollaboratorRequestBody.java b/src/main/java/ai/lamin/lamin_api_client/model/UpdateSpaceCollaboratorRequestBody.java index e03cf32..dd19736 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class UpdateSpaceCollaboratorRequestBody { public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) @@ -69,9 +69,9 @@ public class UpdateSpaceCollaboratorRequestBody { public enum RoleEnum { ADMIN("admin"), - WRITE("write"), + READ("read"), - READ("read"); + WRITE("write"); private String value; 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 42978c2..6b32b9c 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class UpdateSpaceRequestBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) 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 c5b36c6..7d0fefb 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 @@ -49,7 +49,7 @@ /** * UpdateTeamMemberRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class UpdateTeamMemberRequestBody { public static final String SERIALIZED_NAME_ROLE = "role"; @SerializedName(SERIALIZED_NAME_ROLE) 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 4bb9994..30c07fd 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class UpdateTeamRequestBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) 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 8c5f6ed..41bb795 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class ValidationError { public static final String SERIALIZED_NAME_LOC = "loc"; @SerializedName(SERIALIZED_NAME_LOC) 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 4ed9d56..a07c9c4 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 = "2025-05-10T19:58:41.182141089+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class ValidationErrorLocInner extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(ValidationErrorLocInner.class.getName()); diff --git a/src/test/src/test/java/ai/lamin/lamin_api_client/model/AddOrganizationMemberRequestBodyTest.java b/src/test/src/test/java/ai/lamin/lamin_api_client/model/AddOrganizationMemberRequestBodyTest.java new file mode 100644 index 0000000..bc89175 --- /dev/null +++ b/src/test/src/test/java/ai/lamin/lamin_api_client/model/AddOrganizationMemberRequestBodyTest.java @@ -0,0 +1,48 @@ +/* + * 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 com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AddOrganizationMemberRequestBody + */ +public class AddOrganizationMemberRequestBodyTest { + private final AddOrganizationMemberRequestBody model = new AddOrganizationMemberRequestBody(); + + /** + * Model tests for AddOrganizationMemberRequestBody + */ + @Test + public void testAddOrganizationMemberRequestBody() { + // TODO: test AddOrganizationMemberRequestBody + } + + /** + * Test the property 'role' + */ + @Test + public void roleTest() { + // TODO: test role + } + +} diff --git a/src/test/src/test/java/ai/lamin/lamin_api_client/model/CreateArtifactRequestBodyTest.java b/src/test/src/test/java/ai/lamin/lamin_api_client/model/CreateArtifactRequestBodyTest.java new file mode 100644 index 0000000..d89d5f8 --- /dev/null +++ b/src/test/src/test/java/ai/lamin/lamin_api_client/model/CreateArtifactRequestBodyTest.java @@ -0,0 +1,58 @@ +/* + * 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 com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for CreateArtifactRequestBody + */ +public class CreateArtifactRequestBodyTest { + private final CreateArtifactRequestBody model = new CreateArtifactRequestBody(); + + /** + * Model tests for CreateArtifactRequestBody + */ + @Test + public void testCreateArtifactRequestBody() { + // TODO: test CreateArtifactRequestBody + } + + /** + * Test the property 'path' + */ + @Test + public void pathTest() { + // TODO: test path + } + + /** + * Test the property 'kwargs' + */ + @Test + public void kwargsTest() { + // TODO: test kwargs + } + +} diff --git a/src/test/src/test/java/ai/lamin/lamin_api_client/model/CreateTransformRequestBodyTest.java b/src/test/src/test/java/ai/lamin/lamin_api_client/model/CreateTransformRequestBodyTest.java new file mode 100644 index 0000000..eed57aa --- /dev/null +++ b/src/test/src/test/java/ai/lamin/lamin_api_client/model/CreateTransformRequestBodyTest.java @@ -0,0 +1,64 @@ +/* + * 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 com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for CreateTransformRequestBody + */ +public class CreateTransformRequestBodyTest { + private final CreateTransformRequestBody model = new CreateTransformRequestBody(); + + /** + * Model tests for CreateTransformRequestBody + */ + @Test + public void testCreateTransformRequestBody() { + // TODO: test CreateTransformRequestBody + } + + /** + * Test the property 'key' + */ + @Test + public void keyTest() { + // TODO: test key + } + + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } + + /** + * Test the property 'sourceCode' + */ + @Test + public void sourceCodeTest() { + // TODO: test sourceCode + } + +} diff --git a/src/test/src/test/java/ai/lamin/lamin_api_client/model/UpdateOrganizationMemberRequestBodyTest.java b/src/test/src/test/java/ai/lamin/lamin_api_client/model/UpdateOrganizationMemberRequestBodyTest.java new file mode 100644 index 0000000..4321fa3 --- /dev/null +++ b/src/test/src/test/java/ai/lamin/lamin_api_client/model/UpdateOrganizationMemberRequestBodyTest.java @@ -0,0 +1,48 @@ +/* + * 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 com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for UpdateOrganizationMemberRequestBody + */ +public class UpdateOrganizationMemberRequestBodyTest { + private final UpdateOrganizationMemberRequestBody model = new UpdateOrganizationMemberRequestBody(); + + /** + * Model tests for UpdateOrganizationMemberRequestBody + */ + @Test + public void testUpdateOrganizationMemberRequestBody() { + // TODO: test UpdateOrganizationMemberRequestBody + } + + /** + * Test the property 'role' + */ + @Test + public void roleTest() { + // TODO: test role + } + +} From a5b6fc2533be6daf833f8aadc1365bf65c8fea87 Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Wed, 4 Jun 2025 12:34:16 +0200 Subject: [PATCH 4/8] fix dangling symbol --- .../lamin/lamin_api_client/model/AddTeamMemberRequestBody.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 96ef09a..ef2bd77 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 @@ -54,7 +54,7 @@ public class AddTeamMemberRequestBody { public static final String SERIALIZED_NAME_ROLE = "role"; @SerializedName(SERIALIZED_NAME_ROLE) @javax.annotation.Nullable - private Role role = member; + private Role role; public AddTeamMemberRequestBody() { } From 2befb3615301e7ab53986a461321f2f3157e99c1 Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Tue, 10 Jun 2025 21:51:13 +0200 Subject: [PATCH 5/8] publish 0.0.3-rc2 --- README.md | 19 +++++++++---------- config.yaml | 2 +- generate.sh | 2 ++ pom.xml | 2 +- .../ai/lamin/lamin_api_client/ApiClient.java | 2 +- 5 files changed, 14 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 84a5c03..cf0ac09 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ Add this dependency to your project's POM: ai.lamin lamin-api-client - 0.0.3-rc1 + 0.0.3-rc2 compile ``` @@ -60,7 +60,7 @@ Add this dependency to your project's build file: } dependencies { - implementation "ai.lamin:lamin-api-client:0.0.3-rc1" + implementation "ai.lamin:lamin-api-client:0.0.3-rc2" } ``` @@ -74,7 +74,7 @@ mvn clean package Then manually install the following JARs: -* `target/lamin-api-client-0.0.3-rc1.jar` +* `target/lamin-api-client-0.0.3-rc2.jar` * `target/lib/*.jar` ## Getting Started @@ -133,8 +133,7 @@ Class | Method | HTTP request | Description *DefaultApi* | [**checkLambdaAccessDebugLambdaAccessGet**](docs/DefaultApi.md#checkLambdaAccessDebugLambdaAccessGet) | **GET** /_debug/lambda-access | Check Lambda Access *DefaultApi* | [**createArtifactInstancesInstanceIdArtifactsCreatePost**](docs/DefaultApi.md#createArtifactInstancesInstanceIdArtifactsCreatePost) | **POST** /instances/{instance_id}/artifacts/create | Create Artifact *DefaultApi* | [**createInstanceInstancesPut**](docs/DefaultApi.md#createInstanceInstancesPut) | **PUT** /instances | Create Instance -*DefaultApi* | [**createRecordInstancesInstanceIdModulesModuleNameModelNamePut**](docs/DefaultApi.md#createRecordInstancesInstanceIdModulesModuleNameModelNamePut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name} | Create Record -*DefaultApi* | [**createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut**](docs/DefaultApi.md#createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name}/bulk | Create Records +*DefaultApi* | [**createRecordsInstancesInstanceIdModulesModuleNameModelNamePut**](docs/DefaultApi.md#createRecordsInstancesInstanceIdModulesModuleNameModelNamePut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name} | Create Records *DefaultApi* | [**createSpaceAccessV2SpacesPut**](docs/DefaultApi.md#createSpaceAccessV2SpacesPut) | **PUT** /access_v2/spaces | Create Space *DefaultApi* | [**createTeamAccessV2TeamsPut**](docs/DefaultApi.md#createTeamAccessV2TeamsPut) | **PUT** /access_v2/teams | Create Team *DefaultApi* | [**createTransformInstancesInstanceIdTransformsPost**](docs/DefaultApi.md#createTransformInstancesInstanceIdTransformsPost) | **POST** /instances/{instance_id}/transforms | Create Transform @@ -172,11 +171,11 @@ Class | Method | HTTP request | Description *DefaultApi* | [**listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet**](docs/DefaultApi.md#listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet) | **GET** /access_v2/spaces/{space_id}/collaborators | List Space Collaborators *DefaultApi* | [**listTeamMembersAccessV2TeamsTeamIdMembersGet**](docs/DefaultApi.md#listTeamMembersAccessV2TeamsTeamIdMembersGet) | **GET** /access_v2/teams/{team_id}/members | List Team Members *DefaultApi* | [**moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut**](docs/DefaultApi.md#moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut) | **PUT** /access_v2/spaces/{space_id}/record-attachments | Move Record To Space -*DefaultApi* | [**proxyS3S3PathHead**](docs/DefaultApi.md#proxyS3S3PathHead) | **GET** /s3/{path} | Proxy S3 -*DefaultApi* | [**proxyS3S3PathHead_0**](docs/DefaultApi.md#proxyS3S3PathHead_0) | **HEAD** /s3/{path} | Proxy S3 -*DefaultApi* | [**proxyS3S3PathHead_1**](docs/DefaultApi.md#proxyS3S3PathHead_1) | **PUT** /s3/{path} | Proxy S3 -*DefaultApi* | [**proxyS3S3PathHead_2**](docs/DefaultApi.md#proxyS3S3PathHead_2) | **POST** /s3/{path} | Proxy S3 -*DefaultApi* | [**proxyS3S3PathHead_3**](docs/DefaultApi.md#proxyS3S3PathHead_3) | **DELETE** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathDelete**](docs/DefaultApi.md#proxyS3S3PathDelete) | **GET** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathDelete_0**](docs/DefaultApi.md#proxyS3S3PathDelete_0) | **HEAD** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathDelete_1**](docs/DefaultApi.md#proxyS3S3PathDelete_1) | **PUT** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathDelete_2**](docs/DefaultApi.md#proxyS3S3PathDelete_2) | **POST** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathDelete_3**](docs/DefaultApi.md#proxyS3S3PathDelete_3) | **DELETE** /s3/{path} | Proxy S3 *DefaultApi* | [**registerDbServerDbServerRegisterPost**](docs/DefaultApi.md#registerDbServerDbServerRegisterPost) | **POST** /db/server/register | Register Db Server *DefaultApi* | [**registerFormInstancesInstanceIdFormsPost**](docs/DefaultApi.md#registerFormInstancesInstanceIdFormsPost) | **POST** /instances/{instance_id}/forms | Register Form *DefaultApi* | [**removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete**](docs/DefaultApi.md#removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete) | **DELETE** /access_v2/instances/{instance_id}/collaborators | Remove Collaborator diff --git a/config.yaml b/config.yaml index f054f2c..1e3ec0d 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.3-rc1 +artifactVersion: 0.0.3-rc2 # Description: artifact URL in generated pom.xml artifactUrl: https://github.com/laminlabs/lamin-api-client-java diff --git a/generate.sh b/generate.sh index b408908..a194b10 100755 --- a/generate.sh +++ b/generate.sh @@ -2,6 +2,8 @@ # See https://openapi-generator.tech/docs/installation to install openapi-generator-cli +# --input-spec https://aws.us-east-1.lamin.ai/api/openapi.json \ + npx @openapitools/openapi-generator-cli generate \ --generator-name java \ --input-spec https://staging.laminhub.com/api/openapi.json \ diff --git a/pom.xml b/pom.xml index a72d003..7e945b7 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ lamin-api-client jar lamin-api-client - 0.0.3-rc1 + 0.0.3-rc2 https://github.com/laminlabs/lamin-api-client-java Java client for the Lamin API 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 754613d..11b7d6f 100644 --- a/src/main/java/ai/lamin/lamin_api_client/ApiClient.java +++ b/src/main/java/ai/lamin/lamin_api_client/ApiClient.java @@ -139,7 +139,7 @@ private void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/0.0.3-rc1/java"); + setUserAgent("OpenAPI-Generator/0.0.3-rc2/java"); authentications = new HashMap(); } From 439a87e79b9cbce9bfb22d237d5603d81deb85c1 Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Wed, 11 Jun 2025 10:24:04 +0200 Subject: [PATCH 6/8] update 0.0.3-rc3 --- README.md | 19 +- api/openapi.yaml | 35 +- config.yaml | 2 +- docs/CreateTransformRequestBody.md | 1 + docs/DefaultApi.md | 218 ++++---- generate.sh | 13 +- .../ai/lamin/lamin_api_client/ApiClient.java | 2 +- .../lamin/lamin_api_client/ApiException.java | 2 +- .../lamin/lamin_api_client/Configuration.java | 4 +- .../java/ai/lamin/lamin_api_client/Pair.java | 2 +- .../lamin_api_client/ServerConfiguration.java | 2 +- .../lamin_api_client/ServerVariable.java | 2 +- .../ai/lamin/lamin_api_client/StringUtil.java | 2 +- .../lamin_api_client/api/DefaultApi.java | 502 +++++++++--------- .../lamin_api_client/auth/ApiKeyAuth.java | 2 +- .../lamin_api_client/auth/HttpBearerAuth.java | 2 +- .../model/AbstractOpenApiSchema.java | 2 +- .../model/AddCollaboratorRequestBody.java | 2 +- .../AddOrganizationMemberRequestBody.java | 2 +- .../AddSpaceCollaboratorRequestBody.java | 2 +- .../model/AddTeamMemberRequestBody.java | 2 +- .../model/AttachSpaceToRecordRequestBody.java | 2 +- .../model/CreateArtifactRequestBody.java | 2 +- .../model/CreateSpaceRequestBody.java | 2 +- .../model/CreateTeamRequestBody.java | 2 +- .../model/CreateTransformRequestBody.java | 55 +- .../lamin_api_client/model/DbUrlRequest.java | 2 +- .../lamin_api_client/model/Dimension.java | 2 +- .../model/GetRecordRequestBody.java | 2 +- .../model/GetRecordsRequestBody.java | 2 +- .../model/GetValuesRequestBody.java | 2 +- .../model/GroupByRequestBody.java | 2 +- .../model/HTTPValidationError.java | 2 +- .../lamin/lamin_api_client/model/Measure.java | 2 +- .../lamin_api_client/model/OrderByColumn.java | 2 +- .../model/RegisterDbServerBody.java | 2 +- .../model/RegisterFormRequest.java | 2 +- .../ai/lamin/lamin_api_client/model/Role.java | 2 +- .../lamin/lamin_api_client/model/Role1.java | 2 +- .../model/S3PermissionsRequest.java | 2 +- .../model/UpdateCollaboratorRequestBody.java | 2 +- .../UpdateOrganizationMemberRequestBody.java | 2 +- .../UpdateSpaceCollaboratorRequestBody.java | 2 +- .../model/UpdateSpaceRequestBody.java | 2 +- .../model/UpdateTeamMemberRequestBody.java | 2 +- .../model/UpdateTeamRequestBody.java | 2 +- .../model/ValidationError.java | 2 +- .../model/ValidationErrorLocInner.java | 2 +- 48 files changed, 506 insertions(+), 421 deletions(-) diff --git a/README.md b/README.md index cf0ac09..e066552 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Lamin API - API version: 0.1.0 - - Build date: 2025-06-04T12:31:22.348899534+02:00[Europe/Brussels] + - Build date: 2025-06-11T10:23:42.127510575+02:00[Europe/Brussels] - Generator version: 7.12.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.3-rc2 + 0.0.3-rc3 compile ``` @@ -60,7 +60,7 @@ Add this dependency to your project's build file: } dependencies { - implementation "ai.lamin:lamin-api-client:0.0.3-rc2" + implementation "ai.lamin:lamin-api-client:0.0.3-rc3" } ``` @@ -74,7 +74,7 @@ mvn clean package Then manually install the following JARs: -* `target/lamin-api-client-0.0.3-rc2.jar` +* `target/lamin-api-client-0.0.3-rc3.jar` * `target/lib/*.jar` ## Getting Started @@ -171,11 +171,11 @@ Class | Method | HTTP request | Description *DefaultApi* | [**listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet**](docs/DefaultApi.md#listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet) | **GET** /access_v2/spaces/{space_id}/collaborators | List Space Collaborators *DefaultApi* | [**listTeamMembersAccessV2TeamsTeamIdMembersGet**](docs/DefaultApi.md#listTeamMembersAccessV2TeamsTeamIdMembersGet) | **GET** /access_v2/teams/{team_id}/members | List Team Members *DefaultApi* | [**moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut**](docs/DefaultApi.md#moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut) | **PUT** /access_v2/spaces/{space_id}/record-attachments | Move Record To Space -*DefaultApi* | [**proxyS3S3PathDelete**](docs/DefaultApi.md#proxyS3S3PathDelete) | **GET** /s3/{path} | Proxy S3 -*DefaultApi* | [**proxyS3S3PathDelete_0**](docs/DefaultApi.md#proxyS3S3PathDelete_0) | **HEAD** /s3/{path} | Proxy S3 -*DefaultApi* | [**proxyS3S3PathDelete_1**](docs/DefaultApi.md#proxyS3S3PathDelete_1) | **PUT** /s3/{path} | Proxy S3 -*DefaultApi* | [**proxyS3S3PathDelete_2**](docs/DefaultApi.md#proxyS3S3PathDelete_2) | **POST** /s3/{path} | Proxy S3 -*DefaultApi* | [**proxyS3S3PathDelete_3**](docs/DefaultApi.md#proxyS3S3PathDelete_3) | **DELETE** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathPut**](docs/DefaultApi.md#proxyS3S3PathPut) | **GET** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathPut_0**](docs/DefaultApi.md#proxyS3S3PathPut_0) | **HEAD** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathPut_1**](docs/DefaultApi.md#proxyS3S3PathPut_1) | **PUT** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathPut_2**](docs/DefaultApi.md#proxyS3S3PathPut_2) | **POST** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathPut_3**](docs/DefaultApi.md#proxyS3S3PathPut_3) | **DELETE** /s3/{path} | Proxy S3 *DefaultApi* | [**registerDbServerDbServerRegisterPost**](docs/DefaultApi.md#registerDbServerDbServerRegisterPost) | **POST** /db/server/register | Register Db Server *DefaultApi* | [**registerFormInstancesInstanceIdFormsPost**](docs/DefaultApi.md#registerFormInstancesInstanceIdFormsPost) | **POST** /instances/{instance_id}/forms | Register Form *DefaultApi* | [**removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete**](docs/DefaultApi.md#removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete) | **DELETE** /access_v2/instances/{instance_id}/collaborators | Remove Collaborator @@ -192,6 +192,7 @@ Class | Method | HTTP request | Description *DefaultApi* | [**updateTeamAccessV2TeamsTeamIdPatch**](docs/DefaultApi.md#updateTeamAccessV2TeamsTeamIdPatch) | **PATCH** /access_v2/teams/{team_id} | Update Team *DefaultApi* | [**updateTeamMemberAccessV2TeamsTeamIdMembersAccountIdPatch**](docs/DefaultApi.md#updateTeamMemberAccessV2TeamsTeamIdMembersAccountIdPatch) | **PATCH** /access_v2/teams/{team_id}/members/{account_id} | Update Team Member *DefaultApi* | [**uploadArtifactInstancesInstanceIdArtifactsUploadPost**](docs/DefaultApi.md#uploadArtifactInstancesInstanceIdArtifactsUploadPost) | **POST** /instances/{instance_id}/artifacts/upload | Upload Artifact +*DefaultApi* | [**upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut**](docs/DefaultApi.md#upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name}/upsert | Upsert Records ## Documentation for Models diff --git a/api/openapi.yaml b/api/openapi.yaml index 3030d35..9642acf 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -691,7 +691,7 @@ paths: x-accepts: - application/json put: - operationId: create_record_instances__instance_id__modules__module_name___model_name__put + operationId: create_records_instances__instance_id__modules__module_name___model_name__put parameters: - explode: false in: path @@ -752,7 +752,7 @@ paths: schema: $ref: '#/components/schemas/HTTPValidationError' description: Validation Error - summary: Create Record + summary: Create Records x-content-type: application/json x-accepts: - application/json @@ -1187,9 +1187,9 @@ paths: summary: Attach Label x-accepts: - application/json - /instances/{instance_id}/modules/{module_name}/{model_name}/bulk: + /instances/{instance_id}/modules/{module_name}/{model_name}/upsert: put: - operationId: create_records_instances__instance_id__modules__module_name___model_name__bulk_put + operationId: upsert_records_instances__instance_id__modules__module_name___model_name__upsert_put parameters: - explode: false in: path @@ -1216,6 +1216,16 @@ paths: nullable: true type: string style: simple + - explode: true + in: query + name: conflict_columns + required: false + schema: + items: + type: string + nullable: true + type: array + style: form - explode: true in: query name: schema_id @@ -1250,7 +1260,7 @@ paths: schema: $ref: '#/components/schemas/HTTPValidationError' description: Validation Error - summary: Create Records + summary: Upsert Records x-content-type: application/json x-accepts: - application/json @@ -1597,7 +1607,7 @@ paths: - application/json /s3/{path}: delete: - operationId: proxy_s3_s3__path__head + operationId: proxy_s3_s3__path__put parameters: - explode: false in: path @@ -1623,7 +1633,7 @@ paths: x-accepts: - application/json get: - operationId: proxy_s3_s3__path__head + operationId: proxy_s3_s3__path__put parameters: - explode: false in: path @@ -1649,7 +1659,7 @@ paths: x-accepts: - application/json head: - operationId: proxy_s3_s3__path__head + operationId: proxy_s3_s3__path__put parameters: - explode: false in: path @@ -1675,7 +1685,7 @@ paths: x-accepts: - application/json post: - operationId: proxy_s3_s3__path__head + operationId: proxy_s3_s3__path__put parameters: - explode: false in: path @@ -1701,7 +1711,7 @@ paths: x-accepts: - application/json put: - operationId: proxy_s3_s3__path__head + operationId: proxy_s3_s3__path__put parameters: - explode: false in: path @@ -3939,6 +3949,8 @@ components: title: CreateTeamRequestBody CreateTransformRequestBody: example: + kwargs: + key: "" type: type source_code: source_code key: key @@ -3952,6 +3964,9 @@ components: source_code: title: Source Code type: string + kwargs: + additionalProperties: {} + nullable: true required: - key - source_code diff --git a/config.yaml b/config.yaml index 1e3ec0d..eaea540 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.3-rc2 +artifactVersion: 0.0.3-rc3 # Description: artifact URL in generated pom.xml artifactUrl: https://github.com/laminlabs/lamin-api-client-java diff --git a/docs/CreateTransformRequestBody.md b/docs/CreateTransformRequestBody.md index ffb0bbd..6283650 100644 --- a/docs/CreateTransformRequestBody.md +++ b/docs/CreateTransformRequestBody.md @@ -10,6 +10,7 @@ |**key** | **String** | | | |**type** | **String** | | | |**sourceCode** | **String** | | | +|**kwargs** | **Map<String, Object>** | | [optional] | diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index 64ba993..8c3bb9b 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -17,8 +17,7 @@ All URIs are relative to *https://staging.laminhub.com/api* | [**checkLambdaAccessDebugLambdaAccessGet**](DefaultApi.md#checkLambdaAccessDebugLambdaAccessGet) | **GET** /_debug/lambda-access | Check Lambda Access | | [**createArtifactInstancesInstanceIdArtifactsCreatePost**](DefaultApi.md#createArtifactInstancesInstanceIdArtifactsCreatePost) | **POST** /instances/{instance_id}/artifacts/create | Create Artifact | | [**createInstanceInstancesPut**](DefaultApi.md#createInstanceInstancesPut) | **PUT** /instances | Create Instance | -| [**createRecordInstancesInstanceIdModulesModuleNameModelNamePut**](DefaultApi.md#createRecordInstancesInstanceIdModulesModuleNameModelNamePut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name} | Create Record | -| [**createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut**](DefaultApi.md#createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name}/bulk | Create Records | +| [**createRecordsInstancesInstanceIdModulesModuleNameModelNamePut**](DefaultApi.md#createRecordsInstancesInstanceIdModulesModuleNameModelNamePut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name} | Create Records | | [**createSpaceAccessV2SpacesPut**](DefaultApi.md#createSpaceAccessV2SpacesPut) | **PUT** /access_v2/spaces | Create Space | | [**createTeamAccessV2TeamsPut**](DefaultApi.md#createTeamAccessV2TeamsPut) | **PUT** /access_v2/teams | Create Team | | [**createTransformInstancesInstanceIdTransformsPost**](DefaultApi.md#createTransformInstancesInstanceIdTransformsPost) | **POST** /instances/{instance_id}/transforms | Create Transform | @@ -56,11 +55,11 @@ All URIs are relative to *https://staging.laminhub.com/api* | [**listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet**](DefaultApi.md#listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet) | **GET** /access_v2/spaces/{space_id}/collaborators | List Space Collaborators | | [**listTeamMembersAccessV2TeamsTeamIdMembersGet**](DefaultApi.md#listTeamMembersAccessV2TeamsTeamIdMembersGet) | **GET** /access_v2/teams/{team_id}/members | List Team Members | | [**moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut**](DefaultApi.md#moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut) | **PUT** /access_v2/spaces/{space_id}/record-attachments | Move Record To Space | -| [**proxyS3S3PathHead**](DefaultApi.md#proxyS3S3PathHead) | **GET** /s3/{path} | Proxy S3 | -| [**proxyS3S3PathHead_0**](DefaultApi.md#proxyS3S3PathHead_0) | **HEAD** /s3/{path} | Proxy S3 | -| [**proxyS3S3PathHead_1**](DefaultApi.md#proxyS3S3PathHead_1) | **PUT** /s3/{path} | Proxy S3 | -| [**proxyS3S3PathHead_2**](DefaultApi.md#proxyS3S3PathHead_2) | **POST** /s3/{path} | Proxy S3 | -| [**proxyS3S3PathHead_3**](DefaultApi.md#proxyS3S3PathHead_3) | **DELETE** /s3/{path} | Proxy S3 | +| [**proxyS3S3PathPut**](DefaultApi.md#proxyS3S3PathPut) | **GET** /s3/{path} | Proxy S3 | +| [**proxyS3S3PathPut_0**](DefaultApi.md#proxyS3S3PathPut_0) | **HEAD** /s3/{path} | Proxy S3 | +| [**proxyS3S3PathPut_1**](DefaultApi.md#proxyS3S3PathPut_1) | **PUT** /s3/{path} | Proxy S3 | +| [**proxyS3S3PathPut_2**](DefaultApi.md#proxyS3S3PathPut_2) | **POST** /s3/{path} | Proxy S3 | +| [**proxyS3S3PathPut_3**](DefaultApi.md#proxyS3S3PathPut_3) | **DELETE** /s3/{path} | Proxy S3 | | [**registerDbServerDbServerRegisterPost**](DefaultApi.md#registerDbServerDbServerRegisterPost) | **POST** /db/server/register | Register Db Server | | [**registerFormInstancesInstanceIdFormsPost**](DefaultApi.md#registerFormInstancesInstanceIdFormsPost) | **POST** /instances/{instance_id}/forms | Register Form | | [**removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete**](DefaultApi.md#removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete) | **DELETE** /access_v2/instances/{instance_id}/collaborators | Remove Collaborator | @@ -77,6 +76,7 @@ All URIs are relative to *https://staging.laminhub.com/api* | [**updateTeamAccessV2TeamsTeamIdPatch**](DefaultApi.md#updateTeamAccessV2TeamsTeamIdPatch) | **PATCH** /access_v2/teams/{team_id} | Update Team | | [**updateTeamMemberAccessV2TeamsTeamIdMembersAccountIdPatch**](DefaultApi.md#updateTeamMemberAccessV2TeamsTeamIdMembersAccountIdPatch) | **PATCH** /access_v2/teams/{team_id}/members/{account_id} | Update Team Member | | [**uploadArtifactInstancesInstanceIdArtifactsUploadPost**](DefaultApi.md#uploadArtifactInstancesInstanceIdArtifactsUploadPost) | **POST** /instances/{instance_id}/artifacts/upload | Upload Artifact | +| [**upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut**](DefaultApi.md#upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name}/upsert | Upsert Records | @@ -934,80 +934,9 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | - -# **createRecordInstancesInstanceIdModulesModuleNameModelNamePut** -> Object createRecordInstancesInstanceIdModulesModuleNameModelNamePut(moduleName, modelName, instanceId, body, schemaId, authorization) - -Create Record - -### Example -```java -// Import classes: -import ai.lamin.lamin_api_client.ApiClient; -import ai.lamin.lamin_api_client.ApiException; -import ai.lamin.lamin_api_client.Configuration; -import ai.lamin.lamin_api_client.models.*; -import ai.lamin.lamin_api_client.api.DefaultApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); - - DefaultApi apiInstance = new DefaultApi(defaultClient); - String moduleName = "moduleName_example"; // String | - String modelName = "modelName_example"; // String | - UUID instanceId = UUID.randomUUID(); // UUID | - Object body = null; // Object | - UUID schemaId = UUID.randomUUID(); // UUID | - String authorization = "authorization_example"; // String | - try { - Object result = apiInstance.createRecordInstancesInstanceIdModulesModuleNameModelNamePut(moduleName, modelName, instanceId, body, schemaId, authorization); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#createRecordInstancesInstanceIdModulesModuleNameModelNamePut"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **moduleName** | **String**| | | -| **modelName** | **String**| | | -| **instanceId** | **UUID**| | | -| **body** | **Object**| | | -| **schemaId** | **UUID**| | [optional] | -| **authorization** | **String**| | [optional] | - -### Return type - -**Object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Successful Response | - | -| **422** | Validation Error | - | - - -# **createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut** -> Object createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut(moduleName, modelName, instanceId, body, schemaId, authorization) + +# **createRecordsInstancesInstanceIdModulesModuleNameModelNamePut** +> Object createRecordsInstancesInstanceIdModulesModuleNameModelNamePut(moduleName, modelName, instanceId, body, schemaId, authorization) Create Records @@ -1033,10 +962,10 @@ public class Example { UUID schemaId = UUID.randomUUID(); // UUID | String authorization = "authorization_example"; // String | try { - Object result = apiInstance.createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut(moduleName, modelName, instanceId, body, schemaId, authorization); + Object result = apiInstance.createRecordsInstancesInstanceIdModulesModuleNameModelNamePut(moduleName, modelName, instanceId, body, schemaId, authorization); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut"); + System.err.println("Exception when calling DefaultApi#createRecordsInstancesInstanceIdModulesModuleNameModelNamePut"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3554,9 +3483,9 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | - -# **proxyS3S3PathHead** -> Object proxyS3S3PathHead(path) + +# **proxyS3S3PathPut** +> Object proxyS3S3PathPut(path) Proxy S3 @@ -3577,10 +3506,10 @@ public class Example { DefaultApi apiInstance = new DefaultApi(defaultClient); String path = "path_example"; // String | try { - Object result = apiInstance.proxyS3S3PathHead(path); + Object result = apiInstance.proxyS3S3PathPut(path); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#proxyS3S3PathHead"); + System.err.println("Exception when calling DefaultApi#proxyS3S3PathPut"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3615,9 +3544,9 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | - -# **proxyS3S3PathHead_0** -> Object proxyS3S3PathHead_0(path) + +# **proxyS3S3PathPut_0** +> Object proxyS3S3PathPut_0(path) Proxy S3 @@ -3638,10 +3567,10 @@ public class Example { DefaultApi apiInstance = new DefaultApi(defaultClient); String path = "path_example"; // String | try { - Object result = apiInstance.proxyS3S3PathHead_0(path); + Object result = apiInstance.proxyS3S3PathPut_0(path); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#proxyS3S3PathHead_0"); + System.err.println("Exception when calling DefaultApi#proxyS3S3PathPut_0"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3676,9 +3605,9 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | - -# **proxyS3S3PathHead_1** -> Object proxyS3S3PathHead_1(path) + +# **proxyS3S3PathPut_1** +> Object proxyS3S3PathPut_1(path) Proxy S3 @@ -3699,10 +3628,10 @@ public class Example { DefaultApi apiInstance = new DefaultApi(defaultClient); String path = "path_example"; // String | try { - Object result = apiInstance.proxyS3S3PathHead_1(path); + Object result = apiInstance.proxyS3S3PathPut_1(path); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#proxyS3S3PathHead_1"); + System.err.println("Exception when calling DefaultApi#proxyS3S3PathPut_1"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3737,9 +3666,9 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | - -# **proxyS3S3PathHead_2** -> Object proxyS3S3PathHead_2(path) + +# **proxyS3S3PathPut_2** +> Object proxyS3S3PathPut_2(path) Proxy S3 @@ -3760,10 +3689,10 @@ public class Example { DefaultApi apiInstance = new DefaultApi(defaultClient); String path = "path_example"; // String | try { - Object result = apiInstance.proxyS3S3PathHead_2(path); + Object result = apiInstance.proxyS3S3PathPut_2(path); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#proxyS3S3PathHead_2"); + System.err.println("Exception when calling DefaultApi#proxyS3S3PathPut_2"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3798,9 +3727,9 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | - -# **proxyS3S3PathHead_3** -> Object proxyS3S3PathHead_3(path) + +# **proxyS3S3PathPut_3** +> Object proxyS3S3PathPut_3(path) Proxy S3 @@ -3821,10 +3750,10 @@ public class Example { DefaultApi apiInstance = new DefaultApi(defaultClient); String path = "path_example"; // String | try { - Object result = apiInstance.proxyS3S3PathHead_3(path); + Object result = apiInstance.proxyS3S3PathPut_3(path); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#proxyS3S3PathHead_3"); + System.err.println("Exception when calling DefaultApi#proxyS3S3PathPut_3"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -4941,3 +4870,76 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | + +# **upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut** +> Object upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut(moduleName, modelName, instanceId, body, conflictColumns, schemaId, authorization) + +Upsert Records + +### Example +```java +// Import classes: +import ai.lamin.lamin_api_client.ApiClient; +import ai.lamin.lamin_api_client.ApiException; +import ai.lamin.lamin_api_client.Configuration; +import ai.lamin.lamin_api_client.models.*; +import ai.lamin.lamin_api_client.api.DefaultApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://staging.laminhub.com/api"); + + DefaultApi apiInstance = new DefaultApi(defaultClient); + String moduleName = "moduleName_example"; // String | + String modelName = "modelName_example"; // String | + UUID instanceId = UUID.randomUUID(); // UUID | + Object body = null; // Object | + List conflictColumns = Arrays.asList(); // List | + UUID schemaId = UUID.randomUUID(); // UUID | + String authorization = "authorization_example"; // String | + try { + Object result = apiInstance.upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut(moduleName, modelName, instanceId, body, conflictColumns, schemaId, authorization); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DefaultApi#upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **moduleName** | **String**| | | +| **modelName** | **String**| | | +| **instanceId** | **UUID**| | | +| **body** | **Object**| | | +| **conflictColumns** | [**List<String>**](String.md)| | [optional] | +| **schemaId** | **UUID**| | [optional] | +| **authorization** | **String**| | [optional] | + +### Return type + +**Object** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful Response | - | +| **422** | Validation Error | - | + diff --git a/generate.sh b/generate.sh index a194b10..ff3b63c 100755 --- a/generate.sh +++ b/generate.sh @@ -2,11 +2,20 @@ # See https://openapi-generator.tech/docs/installation to install openapi-generator-cli -# --input-spec https://aws.us-east-1.lamin.ai/api/openapi.json \ +# INPUT_SPEC="https://aws.us-east-1.lamin.ai/api/openapi.json" +INPUT_SPEC="https://staging.laminhub.com/api/openapi.json" npx @openapitools/openapi-generator-cli generate \ --generator-name java \ - --input-spec https://staging.laminhub.com/api/openapi.json \ --config config.yaml \ + --input-spec "$INPUT_SPEC" \ --skip-validate-spec \ --output . + +# postfix readme +SED_CMD1='s#FastAPI#[![Maven Central Version](https://img.shields.io/maven-central/v/ai.lamin/lamin-api-client.svg)](https://central.sonatype.com/artifact/ai.lamin/lamin-api-client/overview)\n[![javadoc](https://javadoc.io/badge2/ai.lamin/lamin-api-client/javadoc.svg)](https://javadoc.io/doc/ai.lamin/lamin-api-client)\n\nLamin API#' +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 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 11b7d6f..a85ca4b 100644 --- a/src/main/java/ai/lamin/lamin_api_client/ApiClient.java +++ b/src/main/java/ai/lamin/lamin_api_client/ApiClient.java @@ -139,7 +139,7 @@ private void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/0.0.3-rc2/java"); + setUserAgent("OpenAPI-Generator/0.0.3-rc3/java"); authentications = new HashMap(); } 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 7691e4b..09ed9bb 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class ApiException extends Exception { private static final long serialVersionUID = 1L; 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 6408b31..babf7c4 100644 --- a/src/main/java/ai/lamin/lamin_api_client/Configuration.java +++ b/src/main/java/ai/lamin/lamin_api_client/Configuration.java @@ -13,9 +13,9 @@ package ai.lamin.lamin_api_client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Configuration { - public static final String VERSION = "0.0.3-rc1"; + public static final String VERSION = "0.0.3-rc3"; private static volatile ApiClient defaultApiClient = new ApiClient(); 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 0dfb6c7..307e51f 100644 --- a/src/main/java/ai/lamin/lamin_api_client/Pair.java +++ b/src/main/java/ai/lamin/lamin_api_client/Pair.java @@ -13,7 +13,7 @@ package ai.lamin.lamin_api_client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Pair { private String name = ""; private String value = ""; 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 160e62d..bda00af 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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 a013c82..9161d53 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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 caf2cb2..74cce92 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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/DefaultApi.java b/src/main/java/ai/lamin/lamin_api_client/api/DefaultApi.java index fddb371..1976ee6 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/DefaultApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/DefaultApi.java @@ -2070,7 +2070,7 @@ public okhttp3.Call createInstanceInstancesPutAsync(String name, String storage, return localVarCall; } /** - * Build call for createRecordInstancesInstanceIdModulesModuleNameModelNamePut + * Build call for createRecordsInstancesInstanceIdModulesModuleNameModelNamePut * @param moduleName (required) * @param modelName (required) * @param instanceId (required) @@ -2088,7 +2088,7 @@ public okhttp3.Call createInstanceInstancesPutAsync(String name, String storage, 422 Validation Error - */ - public okhttp3.Call createRecordInstancesInstanceIdModulesModuleNameModelNamePutCall(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNamePutCall(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2146,206 +2146,28 @@ public okhttp3.Call createRecordInstancesInstanceIdModulesModuleNameModelNamePut } @SuppressWarnings("rawtypes") - private okhttp3.Call createRecordInstancesInstanceIdModulesModuleNameModelNamePutValidateBeforeCall(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNamePutValidateBeforeCall(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, 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 createRecordInstancesInstanceIdModulesModuleNameModelNamePut(Async)"); + throw new ApiException("Missing the required parameter 'moduleName' when calling createRecordsInstancesInstanceIdModulesModuleNameModelNamePut(Async)"); } // verify the required parameter 'modelName' is set if (modelName == null) { - throw new ApiException("Missing the required parameter 'modelName' when calling createRecordInstancesInstanceIdModulesModuleNameModelNamePut(Async)"); + throw new ApiException("Missing the required parameter 'modelName' when calling createRecordsInstancesInstanceIdModulesModuleNameModelNamePut(Async)"); } // verify the required parameter 'instanceId' is set if (instanceId == null) { - throw new ApiException("Missing the required parameter 'instanceId' when calling createRecordInstancesInstanceIdModulesModuleNameModelNamePut(Async)"); + throw new ApiException("Missing the required parameter 'instanceId' when calling createRecordsInstancesInstanceIdModulesModuleNameModelNamePut(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createRecordInstancesInstanceIdModulesModuleNameModelNamePut(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling createRecordsInstancesInstanceIdModulesModuleNameModelNamePut(Async)"); } - return createRecordInstancesInstanceIdModulesModuleNameModelNamePutCall(moduleName, modelName, instanceId, body, schemaId, authorization, _callback); - - } - - /** - * Create Record - * - * @param moduleName (required) - * @param modelName (required) - * @param instanceId (required) - * @param body (required) - * @param schemaId (optional) - * @param authorization (optional) - * @return Object - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
- */ - public Object createRecordInstancesInstanceIdModulesModuleNameModelNamePut(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization) throws ApiException { - ApiResponse localVarResp = createRecordInstancesInstanceIdModulesModuleNameModelNamePutWithHttpInfo(moduleName, modelName, instanceId, body, schemaId, authorization); - return localVarResp.getData(); - } - - /** - * Create Record - * - * @param moduleName (required) - * @param modelName (required) - * @param instanceId (required) - * @param body (required) - * @param schemaId (optional) - * @param authorization (optional) - * @return ApiResponse<Object> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
- */ - public ApiResponse createRecordInstancesInstanceIdModulesModuleNameModelNamePutWithHttpInfo(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization) throws ApiException { - okhttp3.Call localVarCall = createRecordInstancesInstanceIdModulesModuleNameModelNamePutValidateBeforeCall(moduleName, modelName, instanceId, body, schemaId, authorization, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Create Record (asynchronously) - * - * @param moduleName (required) - * @param modelName (required) - * @param instanceId (required) - * @param body (required) - * @param schemaId (optional) - * @param authorization (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
- */ - public okhttp3.Call createRecordInstancesInstanceIdModulesModuleNameModelNamePutAsync(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createRecordInstancesInstanceIdModulesModuleNameModelNamePutValidateBeforeCall(moduleName, modelName, instanceId, body, schemaId, authorization, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut - * @param moduleName (required) - * @param modelName (required) - * @param instanceId (required) - * @param body (required) - * @param schemaId (optional) - * @param authorization (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
- */ - public okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPutCall(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/instances/{instance_id}/modules/{module_name}/{model_name}/bulk" - .replace("{" + "module_name" + "}", localVarApiClient.escapeString(moduleName.toString())) - .replace("{" + "model_name" + "}", localVarApiClient.escapeString(modelName.toString())) - .replace("{" + "instance_id" + "}", localVarApiClient.escapeString(instanceId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (schemaId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("schema_id", schemaId)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - if (authorization != null) { - localVarHeaderParams.put("Authorization", localVarApiClient.parameterToString(authorization)); - } - - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPutValidateBeforeCall(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, 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 createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut(Async)"); - } - - // verify the required parameter 'modelName' is set - if (modelName == null) { - throw new ApiException("Missing the required parameter 'modelName' when calling createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut(Async)"); - } - - // verify the required parameter 'instanceId' is set - if (instanceId == null) { - throw new ApiException("Missing the required parameter 'instanceId' when calling createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut(Async)"); - } - - return createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPutCall(moduleName, modelName, instanceId, body, schemaId, authorization, _callback); + return createRecordsInstancesInstanceIdModulesModuleNameModelNamePutCall(moduleName, modelName, instanceId, body, schemaId, authorization, _callback); } @@ -2368,8 +2190,8 @@ private okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNameB 422 Validation Error - */ - public Object createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization) throws ApiException { - ApiResponse localVarResp = createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPutWithHttpInfo(moduleName, modelName, instanceId, body, schemaId, authorization); + public Object createRecordsInstancesInstanceIdModulesModuleNameModelNamePut(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization) throws ApiException { + ApiResponse localVarResp = createRecordsInstancesInstanceIdModulesModuleNameModelNamePutWithHttpInfo(moduleName, modelName, instanceId, body, schemaId, authorization); return localVarResp.getData(); } @@ -2392,8 +2214,8 @@ public Object createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPut( 422 Validation Error - */ - public ApiResponse createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPutWithHttpInfo(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization) throws ApiException { - okhttp3.Call localVarCall = createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPutValidateBeforeCall(moduleName, modelName, instanceId, body, schemaId, authorization, null); + public ApiResponse createRecordsInstancesInstanceIdModulesModuleNameModelNamePutWithHttpInfo(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization) throws ApiException { + okhttp3.Call localVarCall = createRecordsInstancesInstanceIdModulesModuleNameModelNamePutValidateBeforeCall(moduleName, modelName, instanceId, body, schemaId, authorization, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2418,9 +2240,9 @@ public ApiResponse createRecordsInstancesInstanceIdModulesModuleNameMode 422 Validation Error - */ - public okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPutAsync(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createRecordsInstancesInstanceIdModulesModuleNameModelNamePutAsync(String moduleName, String modelName, UUID instanceId, Object body, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = createRecordsInstancesInstanceIdModulesModuleNameModelNameBulkPutValidateBeforeCall(moduleName, modelName, instanceId, body, schemaId, authorization, _callback); + okhttp3.Call localVarCall = createRecordsInstancesInstanceIdModulesModuleNameModelNamePutValidateBeforeCall(moduleName, modelName, instanceId, body, schemaId, authorization, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -8117,7 +7939,7 @@ public okhttp3.Call moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPutAs return localVarCall; } /** - * Build call for proxyS3S3PathHead + * Build call for proxyS3S3PathPut * @param path (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -8130,7 +7952,7 @@ public okhttp3.Call moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPutAs 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathHeadCall(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathPutCall(String path, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -8176,13 +7998,13 @@ public okhttp3.Call proxyS3S3PathHeadCall(String path, final ApiCallback _callba } @SuppressWarnings("rawtypes") - private okhttp3.Call proxyS3S3PathHeadValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { + private okhttp3.Call proxyS3S3PathPutValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { // verify the required parameter 'path' is set if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathHead(Async)"); + throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathPut(Async)"); } - return proxyS3S3PathHeadCall(path, _callback); + return proxyS3S3PathPutCall(path, _callback); } @@ -8200,8 +8022,8 @@ private okhttp3.Call proxyS3S3PathHeadValidateBeforeCall(String path, final ApiC 422 Validation Error - */ - public Object proxyS3S3PathHead(String path) throws ApiException { - ApiResponse localVarResp = proxyS3S3PathHeadWithHttpInfo(path); + public Object proxyS3S3PathPut(String path) throws ApiException { + ApiResponse localVarResp = proxyS3S3PathPutWithHttpInfo(path); return localVarResp.getData(); } @@ -8219,8 +8041,8 @@ public Object proxyS3S3PathHead(String path) throws ApiException { 422 Validation Error - */ - public ApiResponse proxyS3S3PathHeadWithHttpInfo(String path) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathHeadValidateBeforeCall(path, null); + public ApiResponse proxyS3S3PathPutWithHttpInfo(String path) throws ApiException { + okhttp3.Call localVarCall = proxyS3S3PathPutValidateBeforeCall(path, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -8240,15 +8062,15 @@ public ApiResponse proxyS3S3PathHeadWithHttpInfo(String path) throws Api 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathHeadAsync(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathPutAsync(String path, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathHeadValidateBeforeCall(path, _callback); + okhttp3.Call localVarCall = proxyS3S3PathPutValidateBeforeCall(path, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for proxyS3S3PathHead_0 + * Build call for proxyS3S3PathPut_0 * @param path (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -8261,7 +8083,7 @@ public okhttp3.Call proxyS3S3PathHeadAsync(String path, final ApiCallback 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathHead_0Call(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathPut_0Call(String path, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -8307,13 +8129,13 @@ public okhttp3.Call proxyS3S3PathHead_0Call(String path, final ApiCallback _call } @SuppressWarnings("rawtypes") - private okhttp3.Call proxyS3S3PathHead_0ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { + private okhttp3.Call proxyS3S3PathPut_0ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { // verify the required parameter 'path' is set if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathHead_0(Async)"); + throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathPut_0(Async)"); } - return proxyS3S3PathHead_0Call(path, _callback); + return proxyS3S3PathPut_0Call(path, _callback); } @@ -8331,8 +8153,8 @@ private okhttp3.Call proxyS3S3PathHead_0ValidateBeforeCall(String path, final Ap 422 Validation Error - */ - public Object proxyS3S3PathHead_0(String path) throws ApiException { - ApiResponse localVarResp = proxyS3S3PathHead_0WithHttpInfo(path); + public Object proxyS3S3PathPut_0(String path) throws ApiException { + ApiResponse localVarResp = proxyS3S3PathPut_0WithHttpInfo(path); return localVarResp.getData(); } @@ -8350,8 +8172,8 @@ public Object proxyS3S3PathHead_0(String path) throws ApiException { 422 Validation Error - */ - public ApiResponse proxyS3S3PathHead_0WithHttpInfo(String path) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathHead_0ValidateBeforeCall(path, null); + public ApiResponse proxyS3S3PathPut_0WithHttpInfo(String path) throws ApiException { + okhttp3.Call localVarCall = proxyS3S3PathPut_0ValidateBeforeCall(path, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -8371,15 +8193,15 @@ public ApiResponse proxyS3S3PathHead_0WithHttpInfo(String path) throws A 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathHead_0Async(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathPut_0Async(String path, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathHead_0ValidateBeforeCall(path, _callback); + okhttp3.Call localVarCall = proxyS3S3PathPut_0ValidateBeforeCall(path, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for proxyS3S3PathHead_1 + * Build call for proxyS3S3PathPut_1 * @param path (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -8392,7 +8214,7 @@ public okhttp3.Call proxyS3S3PathHead_0Async(String path, final ApiCallback 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathHead_1Call(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathPut_1Call(String path, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -8438,13 +8260,13 @@ public okhttp3.Call proxyS3S3PathHead_1Call(String path, final ApiCallback _call } @SuppressWarnings("rawtypes") - private okhttp3.Call proxyS3S3PathHead_1ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { + private okhttp3.Call proxyS3S3PathPut_1ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { // verify the required parameter 'path' is set if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathHead_1(Async)"); + throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathPut_1(Async)"); } - return proxyS3S3PathHead_1Call(path, _callback); + return proxyS3S3PathPut_1Call(path, _callback); } @@ -8462,8 +8284,8 @@ private okhttp3.Call proxyS3S3PathHead_1ValidateBeforeCall(String path, final Ap 422 Validation Error - */ - public Object proxyS3S3PathHead_1(String path) throws ApiException { - ApiResponse localVarResp = proxyS3S3PathHead_1WithHttpInfo(path); + public Object proxyS3S3PathPut_1(String path) throws ApiException { + ApiResponse localVarResp = proxyS3S3PathPut_1WithHttpInfo(path); return localVarResp.getData(); } @@ -8481,8 +8303,8 @@ public Object proxyS3S3PathHead_1(String path) throws ApiException { 422 Validation Error - */ - public ApiResponse proxyS3S3PathHead_1WithHttpInfo(String path) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathHead_1ValidateBeforeCall(path, null); + public ApiResponse proxyS3S3PathPut_1WithHttpInfo(String path) throws ApiException { + okhttp3.Call localVarCall = proxyS3S3PathPut_1ValidateBeforeCall(path, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -8502,15 +8324,15 @@ public ApiResponse proxyS3S3PathHead_1WithHttpInfo(String path) throws A 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathHead_1Async(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathPut_1Async(String path, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathHead_1ValidateBeforeCall(path, _callback); + okhttp3.Call localVarCall = proxyS3S3PathPut_1ValidateBeforeCall(path, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for proxyS3S3PathHead_2 + * Build call for proxyS3S3PathPut_2 * @param path (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -8523,7 +8345,7 @@ public okhttp3.Call proxyS3S3PathHead_1Async(String path, final ApiCallback 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathHead_2Call(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathPut_2Call(String path, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -8569,13 +8391,13 @@ public okhttp3.Call proxyS3S3PathHead_2Call(String path, final ApiCallback _call } @SuppressWarnings("rawtypes") - private okhttp3.Call proxyS3S3PathHead_2ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { + private okhttp3.Call proxyS3S3PathPut_2ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { // verify the required parameter 'path' is set if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathHead_2(Async)"); + throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathPut_2(Async)"); } - return proxyS3S3PathHead_2Call(path, _callback); + return proxyS3S3PathPut_2Call(path, _callback); } @@ -8593,8 +8415,8 @@ private okhttp3.Call proxyS3S3PathHead_2ValidateBeforeCall(String path, final Ap 422 Validation Error - */ - public Object proxyS3S3PathHead_2(String path) throws ApiException { - ApiResponse localVarResp = proxyS3S3PathHead_2WithHttpInfo(path); + public Object proxyS3S3PathPut_2(String path) throws ApiException { + ApiResponse localVarResp = proxyS3S3PathPut_2WithHttpInfo(path); return localVarResp.getData(); } @@ -8612,8 +8434,8 @@ public Object proxyS3S3PathHead_2(String path) throws ApiException { 422 Validation Error - */ - public ApiResponse proxyS3S3PathHead_2WithHttpInfo(String path) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathHead_2ValidateBeforeCall(path, null); + public ApiResponse proxyS3S3PathPut_2WithHttpInfo(String path) throws ApiException { + okhttp3.Call localVarCall = proxyS3S3PathPut_2ValidateBeforeCall(path, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -8633,15 +8455,15 @@ public ApiResponse proxyS3S3PathHead_2WithHttpInfo(String path) throws A 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathHead_2Async(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathPut_2Async(String path, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathHead_2ValidateBeforeCall(path, _callback); + okhttp3.Call localVarCall = proxyS3S3PathPut_2ValidateBeforeCall(path, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for proxyS3S3PathHead_3 + * Build call for proxyS3S3PathPut_3 * @param path (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -8654,7 +8476,7 @@ public okhttp3.Call proxyS3S3PathHead_2Async(String path, final ApiCallback 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathHead_3Call(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathPut_3Call(String path, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -8700,13 +8522,13 @@ public okhttp3.Call proxyS3S3PathHead_3Call(String path, final ApiCallback _call } @SuppressWarnings("rawtypes") - private okhttp3.Call proxyS3S3PathHead_3ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { + private okhttp3.Call proxyS3S3PathPut_3ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { // verify the required parameter 'path' is set if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathHead_3(Async)"); + throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathPut_3(Async)"); } - return proxyS3S3PathHead_3Call(path, _callback); + return proxyS3S3PathPut_3Call(path, _callback); } @@ -8724,8 +8546,8 @@ private okhttp3.Call proxyS3S3PathHead_3ValidateBeforeCall(String path, final Ap 422 Validation Error - */ - public Object proxyS3S3PathHead_3(String path) throws ApiException { - ApiResponse localVarResp = proxyS3S3PathHead_3WithHttpInfo(path); + public Object proxyS3S3PathPut_3(String path) throws ApiException { + ApiResponse localVarResp = proxyS3S3PathPut_3WithHttpInfo(path); return localVarResp.getData(); } @@ -8743,8 +8565,8 @@ public Object proxyS3S3PathHead_3(String path) throws ApiException { 422 Validation Error - */ - public ApiResponse proxyS3S3PathHead_3WithHttpInfo(String path) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathHead_3ValidateBeforeCall(path, null); + public ApiResponse proxyS3S3PathPut_3WithHttpInfo(String path) throws ApiException { + okhttp3.Call localVarCall = proxyS3S3PathPut_3ValidateBeforeCall(path, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -8764,9 +8586,9 @@ public ApiResponse proxyS3S3PathHead_3WithHttpInfo(String path) throws A 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathHead_3Async(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathPut_3Async(String path, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathHead_3ValidateBeforeCall(path, _callback); + okhttp3.Call localVarCall = proxyS3S3PathPut_3ValidateBeforeCall(path, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -11264,4 +11086,190 @@ public okhttp3.Call uploadArtifactInstancesInstanceIdArtifactsUploadPostAsync(UU localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + /** + * Build call for upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut + * @param moduleName (required) + * @param modelName (required) + * @param instanceId (required) + * @param body (required) + * @param conflictColumns (optional) + * @param schemaId (optional) + * @param authorization (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutCall(String moduleName, String modelName, UUID instanceId, Object body, List conflictColumns, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/instances/{instance_id}/modules/{module_name}/{model_name}/upsert" + .replace("{" + "module_name" + "}", localVarApiClient.escapeString(moduleName.toString())) + .replace("{" + "model_name" + "}", localVarApiClient.escapeString(modelName.toString())) + .replace("{" + "instance_id" + "}", localVarApiClient.escapeString(instanceId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (conflictColumns != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "conflict_columns", conflictColumns)); + } + + if (schemaId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("schema_id", schemaId)); + } + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + if (authorization != null) { + localVarHeaderParams.put("Authorization", localVarApiClient.parameterToString(authorization)); + } + + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutValidateBeforeCall(String moduleName, String modelName, UUID instanceId, Object body, List conflictColumns, UUID schemaId, 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)"); + } + + // verify the required parameter 'modelName' is set + if (modelName == null) { + throw new ApiException("Missing the required parameter 'modelName' when calling upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut(Async)"); + } + + // verify the required parameter 'instanceId' is set + if (instanceId == null) { + throw new ApiException("Missing the required parameter 'instanceId' when calling upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut(Async)"); + } + + return upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutCall(moduleName, modelName, instanceId, body, conflictColumns, schemaId, authorization, _callback); + + } + + /** + * Upsert Records + * + * @param moduleName (required) + * @param modelName (required) + * @param instanceId (required) + * @param body (required) + * @param conflictColumns (optional) + * @param schemaId (optional) + * @param authorization (optional) + * @return Object + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public Object upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut(String moduleName, String modelName, UUID instanceId, Object body, List conflictColumns, UUID schemaId, String authorization) throws ApiException { + ApiResponse localVarResp = upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutWithHttpInfo(moduleName, modelName, instanceId, body, conflictColumns, schemaId, authorization); + return localVarResp.getData(); + } + + /** + * Upsert Records + * + * @param moduleName (required) + * @param modelName (required) + * @param instanceId (required) + * @param body (required) + * @param conflictColumns (optional) + * @param schemaId (optional) + * @param authorization (optional) + * @return ApiResponse<Object> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public ApiResponse upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutWithHttpInfo(String moduleName, String modelName, UUID instanceId, Object body, List conflictColumns, UUID schemaId, String authorization) throws ApiException { + okhttp3.Call localVarCall = upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutValidateBeforeCall(moduleName, modelName, instanceId, body, conflictColumns, schemaId, authorization, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Upsert Records (asynchronously) + * + * @param moduleName (required) + * @param modelName (required) + * @param instanceId (required) + * @param body (required) + * @param conflictColumns (optional) + * @param schemaId (optional) + * @param authorization (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 Successful Response -
422 Validation Error -
+ */ + public okhttp3.Call upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutAsync(String moduleName, String modelName, UUID instanceId, Object body, List conflictColumns, UUID schemaId, String authorization, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPutValidateBeforeCall(moduleName, modelName, instanceId, body, conflictColumns, schemaId, authorization, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } } 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 00f7bff..278ad4a 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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/HttpBearerAuth.java b/src/main/java/ai/lamin/lamin_api_client/auth/HttpBearerAuth.java index 0376190..8c1157c 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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 5ac6f64..f5de2ac 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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 35d5613..a3d3c0c 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class AddCollaboratorRequestBody { public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) 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 9da5e89..09b6267 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class AddOrganizationMemberRequestBody { /** * Gets or Sets role 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 68b37b5..854dec1 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class AddSpaceCollaboratorRequestBody { public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) 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 ef2bd77..74aafac 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 @@ -49,7 +49,7 @@ /** * AddTeamMemberRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class AddTeamMemberRequestBody { public static final String SERIALIZED_NAME_ROLE = "role"; @SerializedName(SERIALIZED_NAME_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 842efa8..e713b20 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class AttachSpaceToRecordRequestBody { public static final String SERIALIZED_NAME_MODULE_NAME = "module_name"; @SerializedName(SERIALIZED_NAME_MODULE_NAME) 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 acb5084..1efa43f 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class CreateArtifactRequestBody { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) 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 da32aaf..a1d1788 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class CreateSpaceRequestBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) 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 4d6774f..5d69a92 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class CreateTeamRequestBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) 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 da8c447..fee106e 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 @@ -21,6 +21,9 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; +import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -48,7 +51,7 @@ /** * CreateTransformRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class CreateTransformRequestBody { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -65,6 +68,11 @@ public class CreateTransformRequestBody { @javax.annotation.Nonnull private String sourceCode; + public static final String SERIALIZED_NAME_KWARGS = "kwargs"; + @SerializedName(SERIALIZED_NAME_KWARGS) + @javax.annotation.Nullable + private Map kwargs; + public CreateTransformRequestBody() { } @@ -125,6 +133,33 @@ public void setSourceCode(@javax.annotation.Nonnull String sourceCode) { } + public CreateTransformRequestBody kwargs(@javax.annotation.Nullable Map kwargs) { + this.kwargs = kwargs; + return this; + } + + public CreateTransformRequestBody putKwargsItem(String key, Object kwargsItem) { + if (this.kwargs == null) { + this.kwargs = new HashMap<>(); + } + this.kwargs.put(key, kwargsItem); + return this; + } + + /** + * Get kwargs + * @return kwargs + */ + @javax.annotation.Nullable + public Map getKwargs() { + return kwargs; + } + + public void setKwargs(@javax.annotation.Nullable Map kwargs) { + this.kwargs = kwargs; + } + + @Override public boolean equals(Object o) { @@ -137,12 +172,24 @@ public boolean equals(Object o) { CreateTransformRequestBody createTransformRequestBody = (CreateTransformRequestBody) o; return Objects.equals(this.key, createTransformRequestBody.key) && Objects.equals(this.type, createTransformRequestBody.type) && - Objects.equals(this.sourceCode, createTransformRequestBody.sourceCode); + Objects.equals(this.sourceCode, createTransformRequestBody.sourceCode) && + Objects.equals(this.kwargs, createTransformRequestBody.kwargs); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); } @Override public int hashCode() { - return Objects.hash(key, type, sourceCode); + return Objects.hash(key, type, sourceCode, kwargs); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; } @Override @@ -152,6 +199,7 @@ public String toString() { sb.append(" key: ").append(toIndentedString(key)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" sourceCode: ").append(toIndentedString(sourceCode)).append("\n"); + sb.append(" kwargs: ").append(toIndentedString(kwargs)).append("\n"); sb.append("}"); return sb.toString(); } @@ -177,6 +225,7 @@ private String toIndentedString(Object o) { openapiFields.add("key"); openapiFields.add("type"); openapiFields.add("source_code"); + openapiFields.add("kwargs"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/src/main/java/ai/lamin/lamin_api_client/model/DbUrlRequest.java b/src/main/java/ai/lamin/lamin_api_client/model/DbUrlRequest.java index 72eb72b..260ee1e 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/DbUrlRequest.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/DbUrlRequest.java @@ -48,7 +48,7 @@ /** * DbUrlRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class DbUrlRequest { public static final String SERIALIZED_NAME_DB_URL = "db_url"; @SerializedName(SERIALIZED_NAME_DB_URL) 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 90601cc..3e8a213 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Dimension { public static final String SERIALIZED_NAME_FIELD_NAME = "field_name"; @SerializedName(SERIALIZED_NAME_FIELD_NAME) 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 0b5dea1..0015251 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class GetRecordRequestBody { public static final String SERIALIZED_NAME_SELECT = "select"; @SerializedName(SERIALIZED_NAME_SELECT) 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 3d8d35f..0ff5ac5 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class GetRecordsRequestBody { public static final String SERIALIZED_NAME_SELECT = "select"; @SerializedName(SERIALIZED_NAME_SELECT) 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 30a77e7..e683817 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class GetValuesRequestBody { public static final String SERIALIZED_NAME_FILTER = "filter"; @SerializedName(SERIALIZED_NAME_FILTER) 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 6d6a107..6322d35 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class GroupByRequestBody { public static final String SERIALIZED_NAME_DIMENSIONS = "dimensions"; @SerializedName(SERIALIZED_NAME_DIMENSIONS) 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 efe0a03..4c889b8 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class HTTPValidationError { public static final String SERIALIZED_NAME_DETAIL = "detail"; @SerializedName(SERIALIZED_NAME_DETAIL) 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 432f09d..8e5a50d 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Measure { public static final String SERIALIZED_NAME_FIELD_NAME = "field_name"; @SerializedName(SERIALIZED_NAME_FIELD_NAME) 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 0bf2e0f..71f330e 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class OrderByColumn { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) 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 fbd8826..dd58c13 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 @@ -48,7 +48,7 @@ /** * RegisterDbServerBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class RegisterDbServerBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) 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 d7ae0bf..345f6c0 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class RegisterFormRequest { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) 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 index db1decf..02e2b99 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/Role.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/Role.java @@ -50,7 +50,7 @@ import ai.lamin.lamin_api_client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Role extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(Role.class.getName()); 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 index f85684d..b683267 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/Role1.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/Role1.java @@ -50,7 +50,7 @@ import ai.lamin.lamin_api_client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Role1 extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(Role1.class.getName()); 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 0523ff3..9136e3d 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 @@ -48,7 +48,7 @@ /** * S3PermissionsRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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) 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 7c0a9d8..2373f77 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class UpdateCollaboratorRequestBody { /** * Gets or Sets role 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 37a8c19..5ebedda 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class UpdateOrganizationMemberRequestBody { /** * Gets or Sets 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 dd19736..bc756b5 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class UpdateSpaceCollaboratorRequestBody { public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) 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 6b32b9c..c5d57e0 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class UpdateSpaceRequestBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) 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 7d0fefb..0fb5c79 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 @@ -49,7 +49,7 @@ /** * UpdateTeamMemberRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class UpdateTeamMemberRequestBody { public static final String SERIALIZED_NAME_ROLE = "role"; @SerializedName(SERIALIZED_NAME_ROLE) 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 30c07fd..35670e2 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class UpdateTeamRequestBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) 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 41bb795..260f8f3 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class ValidationError { public static final String SERIALIZED_NAME_LOC = "loc"; @SerializedName(SERIALIZED_NAME_LOC) 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 a07c9c4..0f9edc9 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 = "2025-06-04T12:31:22.348899534+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class ValidationErrorLocInner extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(ValidationErrorLocInner.class.getName()); From 7da72fc96be79dfe62cb7c4b11d6a2beffba1139 Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Wed, 11 Jun 2025 11:25:24 +0200 Subject: [PATCH 7/8] also update version in pom.xml --- generate.sh | 4 ++++ pom.xml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/generate.sh b/generate.sh index ff3b63c..b6df64a 100755 --- a/generate.sh +++ b/generate.sh @@ -19,3 +19,7 @@ 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 + +# update pom.xml with artifact version +VERSION=$(yq -r '.artifactVersion' config.yaml) +sed -i "s/^ [^<]*<\/version>$/ $VERSION<\/version>/" pom.xml diff --git a/pom.xml b/pom.xml index 7e945b7..3f485e6 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ lamin-api-client jar lamin-api-client - 0.0.3-rc2 + 0.0.3-rc3 https://github.com/laminlabs/lamin-api-client-java Java client for the Lamin API From ae4012484daa8a154ca98f1c3e01c543825be867 Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Tue, 17 Jun 2025 15:02:20 +0200 Subject: [PATCH 8/8] switch to production environment --- README.md | 22 +- api/openapi.yaml | 12 +- config.yaml | 2 +- docs/DefaultApi.md | 208 +++++++++--------- generate.sh | 4 +- pom.xml | 2 +- .../ai/lamin/lamin_api_client/ApiClient.java | 8 +- .../lamin/lamin_api_client/ApiException.java | 2 +- .../lamin/lamin_api_client/Configuration.java | 4 +- .../java/ai/lamin/lamin_api_client/Pair.java | 2 +- .../lamin_api_client/ServerConfiguration.java | 2 +- .../lamin_api_client/ServerVariable.java | 2 +- .../ai/lamin/lamin_api_client/StringUtil.java | 2 +- .../lamin_api_client/api/DefaultApi.java | 110 ++++----- .../lamin_api_client/auth/ApiKeyAuth.java | 2 +- .../lamin_api_client/auth/HttpBearerAuth.java | 2 +- .../model/AbstractOpenApiSchema.java | 2 +- .../model/AddCollaboratorRequestBody.java | 2 +- .../AddOrganizationMemberRequestBody.java | 2 +- .../AddSpaceCollaboratorRequestBody.java | 2 +- .../model/AddTeamMemberRequestBody.java | 2 +- .../model/AttachSpaceToRecordRequestBody.java | 2 +- .../model/CreateArtifactRequestBody.java | 2 +- .../model/CreateSpaceRequestBody.java | 2 +- .../model/CreateTeamRequestBody.java | 2 +- .../model/CreateTransformRequestBody.java | 2 +- .../lamin_api_client/model/DbUrlRequest.java | 2 +- .../lamin_api_client/model/Dimension.java | 2 +- .../model/GetRecordRequestBody.java | 2 +- .../model/GetRecordsRequestBody.java | 2 +- .../model/GetValuesRequestBody.java | 2 +- .../model/GroupByRequestBody.java | 2 +- .../model/HTTPValidationError.java | 2 +- .../lamin/lamin_api_client/model/Measure.java | 2 +- .../lamin_api_client/model/OrderByColumn.java | 2 +- .../model/RegisterDbServerBody.java | 2 +- .../model/RegisterFormRequest.java | 2 +- .../ai/lamin/lamin_api_client/model/Role.java | 2 +- .../lamin/lamin_api_client/model/Role1.java | 2 +- .../model/S3PermissionsRequest.java | 2 +- .../model/UpdateCollaboratorRequestBody.java | 2 +- .../UpdateOrganizationMemberRequestBody.java | 2 +- .../UpdateSpaceCollaboratorRequestBody.java | 2 +- .../model/UpdateSpaceRequestBody.java | 2 +- .../model/UpdateTeamMemberRequestBody.java | 2 +- .../model/UpdateTeamRequestBody.java | 2 +- .../model/ValidationError.java | 2 +- .../model/ValidationErrorLocInner.java | 2 +- 48 files changed, 225 insertions(+), 225 deletions(-) diff --git a/README.md b/README.md index e066552..5a284fe 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Lamin API - API version: 0.1.0 - - Build date: 2025-06-11T10:23:42.127510575+02:00[Europe/Brussels] + - Build date: 2025-06-17T13:08:14.011869776+02:00[Europe/Brussels] - Generator version: 7.12.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.3-rc3 + 0.0.3 compile ``` @@ -60,7 +60,7 @@ Add this dependency to your project's build file: } dependencies { - implementation "ai.lamin:lamin-api-client:0.0.3-rc3" + implementation "ai.lamin:lamin-api-client:0.0.3" } ``` @@ -74,7 +74,7 @@ mvn clean package Then manually install the following JARs: -* `target/lamin-api-client-0.0.3-rc3.jar` +* `target/lamin-api-client-0.0.3.jar` * `target/lib/*.jar` ## Getting Started @@ -93,7 +93,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -116,7 +116,7 @@ public class Example { ## Documentation for API Endpoints -All URIs are relative to *https://staging.laminhub.com/api* +All URIs are relative to *https://aws.us-east-1.lamin.ai/api* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- @@ -171,11 +171,11 @@ Class | Method | HTTP request | Description *DefaultApi* | [**listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet**](docs/DefaultApi.md#listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet) | **GET** /access_v2/spaces/{space_id}/collaborators | List Space Collaborators *DefaultApi* | [**listTeamMembersAccessV2TeamsTeamIdMembersGet**](docs/DefaultApi.md#listTeamMembersAccessV2TeamsTeamIdMembersGet) | **GET** /access_v2/teams/{team_id}/members | List Team Members *DefaultApi* | [**moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut**](docs/DefaultApi.md#moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut) | **PUT** /access_v2/spaces/{space_id}/record-attachments | Move Record To Space -*DefaultApi* | [**proxyS3S3PathPut**](docs/DefaultApi.md#proxyS3S3PathPut) | **GET** /s3/{path} | Proxy S3 -*DefaultApi* | [**proxyS3S3PathPut_0**](docs/DefaultApi.md#proxyS3S3PathPut_0) | **HEAD** /s3/{path} | Proxy S3 -*DefaultApi* | [**proxyS3S3PathPut_1**](docs/DefaultApi.md#proxyS3S3PathPut_1) | **PUT** /s3/{path} | Proxy S3 -*DefaultApi* | [**proxyS3S3PathPut_2**](docs/DefaultApi.md#proxyS3S3PathPut_2) | **POST** /s3/{path} | Proxy S3 -*DefaultApi* | [**proxyS3S3PathPut_3**](docs/DefaultApi.md#proxyS3S3PathPut_3) | **DELETE** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathGet**](docs/DefaultApi.md#proxyS3S3PathGet) | **GET** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathGet_0**](docs/DefaultApi.md#proxyS3S3PathGet_0) | **HEAD** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathGet_1**](docs/DefaultApi.md#proxyS3S3PathGet_1) | **PUT** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathGet_2**](docs/DefaultApi.md#proxyS3S3PathGet_2) | **POST** /s3/{path} | Proxy S3 +*DefaultApi* | [**proxyS3S3PathGet_3**](docs/DefaultApi.md#proxyS3S3PathGet_3) | **DELETE** /s3/{path} | Proxy S3 *DefaultApi* | [**registerDbServerDbServerRegisterPost**](docs/DefaultApi.md#registerDbServerDbServerRegisterPost) | **POST** /db/server/register | Register Db Server *DefaultApi* | [**registerFormInstancesInstanceIdFormsPost**](docs/DefaultApi.md#registerFormInstancesInstanceIdFormsPost) | **POST** /instances/{instance_id}/forms | Register Form *DefaultApi* | [**removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete**](docs/DefaultApi.md#removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete) | **DELETE** /access_v2/instances/{instance_id}/collaborators | Remove Collaborator diff --git a/api/openapi.yaml b/api/openapi.yaml index 9642acf..7621552 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -3,7 +3,7 @@ info: title: FastAPI version: 0.1.0 servers: -- url: https://staging.laminhub.com/api +- url: https://aws.us-east-1.lamin.ai/api paths: /instances: put: @@ -1607,7 +1607,7 @@ paths: - application/json /s3/{path}: delete: - operationId: proxy_s3_s3__path__put + operationId: proxy_s3_s3__path__get parameters: - explode: false in: path @@ -1633,7 +1633,7 @@ paths: x-accepts: - application/json get: - operationId: proxy_s3_s3__path__put + operationId: proxy_s3_s3__path__get parameters: - explode: false in: path @@ -1659,7 +1659,7 @@ paths: x-accepts: - application/json head: - operationId: proxy_s3_s3__path__put + operationId: proxy_s3_s3__path__get parameters: - explode: false in: path @@ -1685,7 +1685,7 @@ paths: x-accepts: - application/json post: - operationId: proxy_s3_s3__path__put + operationId: proxy_s3_s3__path__get parameters: - explode: false in: path @@ -1711,7 +1711,7 @@ paths: x-accepts: - application/json put: - operationId: proxy_s3_s3__path__put + operationId: proxy_s3_s3__path__get parameters: - explode: false in: path diff --git a/config.yaml b/config.yaml index eaea540..70476c8 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.3-rc3 +artifactVersion: 0.0.3 # Description: artifact URL in generated pom.xml artifactUrl: https://github.com/laminlabs/lamin-api-client-java diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index 8c3bb9b..eaec2e7 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -1,6 +1,6 @@ # DefaultApi -All URIs are relative to *https://staging.laminhub.com/api* +All URIs are relative to *https://aws.us-east-1.lamin.ai/api* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -55,11 +55,11 @@ All URIs are relative to *https://staging.laminhub.com/api* | [**listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet**](DefaultApi.md#listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet) | **GET** /access_v2/spaces/{space_id}/collaborators | List Space Collaborators | | [**listTeamMembersAccessV2TeamsTeamIdMembersGet**](DefaultApi.md#listTeamMembersAccessV2TeamsTeamIdMembersGet) | **GET** /access_v2/teams/{team_id}/members | List Team Members | | [**moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut**](DefaultApi.md#moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut) | **PUT** /access_v2/spaces/{space_id}/record-attachments | Move Record To Space | -| [**proxyS3S3PathPut**](DefaultApi.md#proxyS3S3PathPut) | **GET** /s3/{path} | Proxy S3 | -| [**proxyS3S3PathPut_0**](DefaultApi.md#proxyS3S3PathPut_0) | **HEAD** /s3/{path} | Proxy S3 | -| [**proxyS3S3PathPut_1**](DefaultApi.md#proxyS3S3PathPut_1) | **PUT** /s3/{path} | Proxy S3 | -| [**proxyS3S3PathPut_2**](DefaultApi.md#proxyS3S3PathPut_2) | **POST** /s3/{path} | Proxy S3 | -| [**proxyS3S3PathPut_3**](DefaultApi.md#proxyS3S3PathPut_3) | **DELETE** /s3/{path} | Proxy S3 | +| [**proxyS3S3PathGet**](DefaultApi.md#proxyS3S3PathGet) | **GET** /s3/{path} | Proxy S3 | +| [**proxyS3S3PathGet_0**](DefaultApi.md#proxyS3S3PathGet_0) | **HEAD** /s3/{path} | Proxy S3 | +| [**proxyS3S3PathGet_1**](DefaultApi.md#proxyS3S3PathGet_1) | **PUT** /s3/{path} | Proxy S3 | +| [**proxyS3S3PathGet_2**](DefaultApi.md#proxyS3S3PathGet_2) | **POST** /s3/{path} | Proxy S3 | +| [**proxyS3S3PathGet_3**](DefaultApi.md#proxyS3S3PathGet_3) | **DELETE** /s3/{path} | Proxy S3 | | [**registerDbServerDbServerRegisterPost**](DefaultApi.md#registerDbServerDbServerRegisterPost) | **POST** /db/server/register | Register Db Server | | [**registerFormInstancesInstanceIdFormsPost**](DefaultApi.md#registerFormInstancesInstanceIdFormsPost) | **POST** /instances/{instance_id}/forms | Register Form | | [**removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete**](DefaultApi.md#removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete) | **DELETE** /access_v2/instances/{instance_id}/collaborators | Remove Collaborator | @@ -99,7 +99,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -164,7 +164,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -235,7 +235,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID organizationId = UUID.randomUUID(); // UUID | @@ -304,7 +304,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -371,7 +371,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID teamId = UUID.randomUUID(); // UUID | @@ -438,7 +438,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -515,7 +515,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -580,7 +580,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); try { @@ -636,7 +636,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); DbUrlRequest dbUrlRequest = new DbUrlRequest(); // DbUrlRequest | @@ -697,7 +697,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String name = "name_example"; // String | @@ -760,7 +760,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); try { @@ -816,7 +816,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -881,7 +881,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String name = "name_example"; // String | @@ -952,7 +952,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -1025,7 +1025,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); CreateSpaceRequestBody createSpaceRequestBody = new CreateSpaceRequestBody(); // CreateSpaceRequestBody | @@ -1090,7 +1090,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); CreateTeamRequestBody createTeamRequestBody = new CreateTeamRequestBody(); // CreateTeamRequestBody | @@ -1153,7 +1153,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -1218,7 +1218,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -1283,7 +1283,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -1348,7 +1348,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -1421,7 +1421,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -1486,7 +1486,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID teamId = UUID.randomUUID(); // UUID | @@ -1549,7 +1549,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -1626,7 +1626,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -1691,7 +1691,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String authorization = "authorization_example"; // String | @@ -1754,7 +1754,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -1817,7 +1817,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -1884,7 +1884,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); try { @@ -1940,7 +1940,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -2007,7 +2007,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID organizationId = UUID.randomUUID(); // UUID | @@ -2070,7 +2070,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -2147,7 +2147,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -2226,7 +2226,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -2297,7 +2297,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -2364,7 +2364,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -2429,7 +2429,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -2494,7 +2494,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID teamId = UUID.randomUUID(); // UUID | @@ -2557,7 +2557,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -2624,7 +2624,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -2701,7 +2701,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String bucketName = "bucketName_example"; // String | @@ -2770,7 +2770,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -2843,7 +2843,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -2906,7 +2906,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String entityType = "artifact"; // String | @@ -2977,7 +2977,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -3042,7 +3042,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -3107,7 +3107,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID organizationId = UUID.randomUUID(); // UUID | @@ -3172,7 +3172,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID organizationId = UUID.randomUUID(); // UUID | @@ -3237,7 +3237,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID organizationId = UUID.randomUUID(); // UUID | @@ -3302,7 +3302,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -3367,7 +3367,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID teamId = UUID.randomUUID(); // UUID | @@ -3432,7 +3432,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); Integer instanceDbSpaceId = 56; // Integer | @@ -3483,9 +3483,9 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | - -# **proxyS3S3PathPut** -> Object proxyS3S3PathPut(path) + +# **proxyS3S3PathGet** +> Object proxyS3S3PathGet(path) Proxy S3 @@ -3501,15 +3501,15 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String path = "path_example"; // String | try { - Object result = apiInstance.proxyS3S3PathPut(path); + Object result = apiInstance.proxyS3S3PathGet(path); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#proxyS3S3PathPut"); + System.err.println("Exception when calling DefaultApi#proxyS3S3PathGet"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3544,9 +3544,9 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | - -# **proxyS3S3PathPut_0** -> Object proxyS3S3PathPut_0(path) + +# **proxyS3S3PathGet_0** +> Object proxyS3S3PathGet_0(path) Proxy S3 @@ -3562,15 +3562,15 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String path = "path_example"; // String | try { - Object result = apiInstance.proxyS3S3PathPut_0(path); + Object result = apiInstance.proxyS3S3PathGet_0(path); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#proxyS3S3PathPut_0"); + System.err.println("Exception when calling DefaultApi#proxyS3S3PathGet_0"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3605,9 +3605,9 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | - -# **proxyS3S3PathPut_1** -> Object proxyS3S3PathPut_1(path) + +# **proxyS3S3PathGet_1** +> Object proxyS3S3PathGet_1(path) Proxy S3 @@ -3623,15 +3623,15 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String path = "path_example"; // String | try { - Object result = apiInstance.proxyS3S3PathPut_1(path); + Object result = apiInstance.proxyS3S3PathGet_1(path); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#proxyS3S3PathPut_1"); + System.err.println("Exception when calling DefaultApi#proxyS3S3PathGet_1"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3666,9 +3666,9 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | - -# **proxyS3S3PathPut_2** -> Object proxyS3S3PathPut_2(path) + +# **proxyS3S3PathGet_2** +> Object proxyS3S3PathGet_2(path) Proxy S3 @@ -3684,15 +3684,15 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String path = "path_example"; // String | try { - Object result = apiInstance.proxyS3S3PathPut_2(path); + Object result = apiInstance.proxyS3S3PathGet_2(path); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#proxyS3S3PathPut_2"); + System.err.println("Exception when calling DefaultApi#proxyS3S3PathGet_2"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3727,9 +3727,9 @@ No authorization required | **200** | Successful Response | - | | **422** | Validation Error | - | - -# **proxyS3S3PathPut_3** -> Object proxyS3S3PathPut_3(path) + +# **proxyS3S3PathGet_3** +> Object proxyS3S3PathGet_3(path) Proxy S3 @@ -3745,15 +3745,15 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String path = "path_example"; // String | try { - Object result = apiInstance.proxyS3S3PathPut_3(path); + Object result = apiInstance.proxyS3S3PathGet_3(path); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DefaultApi#proxyS3S3PathPut_3"); + System.err.println("Exception when calling DefaultApi#proxyS3S3PathGet_3"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3806,7 +3806,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); RegisterDbServerBody registerDbServerBody = new RegisterDbServerBody(); // RegisterDbServerBody | @@ -3871,7 +3871,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -3938,7 +3938,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -4007,7 +4007,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID organizationId = UUID.randomUUID(); // UUID | @@ -4074,7 +4074,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -4143,7 +4143,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID teamId = UUID.randomUUID(); // UUID | @@ -4208,7 +4208,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String handle = "handle_example"; // String | @@ -4277,7 +4277,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -4342,7 +4342,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -4411,7 +4411,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID organizationId = UUID.randomUUID(); // UUID | @@ -4478,7 +4478,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | @@ -4553,7 +4553,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -4620,7 +4620,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID spaceId = UUID.randomUUID(); // UUID | @@ -4687,7 +4687,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID teamId = UUID.randomUUID(); // UUID | @@ -4754,7 +4754,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID teamId = UUID.randomUUID(); // UUID | @@ -4821,7 +4821,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); UUID instanceId = UUID.randomUUID(); // UUID | @@ -4888,7 +4888,7 @@ import ai.lamin.lamin_api_client.api.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://staging.laminhub.com/api"); + defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api"); DefaultApi apiInstance = new DefaultApi(defaultClient); String moduleName = "moduleName_example"; // String | diff --git a/generate.sh b/generate.sh index b6df64a..305faf5 100755 --- a/generate.sh +++ b/generate.sh @@ -2,8 +2,8 @@ # See https://openapi-generator.tech/docs/installation to install openapi-generator-cli -# INPUT_SPEC="https://aws.us-east-1.lamin.ai/api/openapi.json" -INPUT_SPEC="https://staging.laminhub.com/api/openapi.json" +INPUT_SPEC="https://aws.us-east-1.lamin.ai/api/openapi.json" +# INPUT_SPEC="https://staging.laminhub.com/api/openapi.json" npx @openapitools/openapi-generator-cli generate \ --generator-name java \ diff --git a/pom.xml b/pom.xml index 3f485e6..346d770 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ lamin-api-client jar lamin-api-client - 0.0.3-rc3 + 0.0.3 https://github.com/laminlabs/lamin-api-client-java Java client for the Lamin API 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 a85ca4b..83d7ad7 100644 --- a/src/main/java/ai/lamin/lamin_api_client/ApiClient.java +++ b/src/main/java/ai/lamin/lamin_api_client/ApiClient.java @@ -61,10 +61,10 @@ */ public class ApiClient { - private String basePath = "https://staging.laminhub.com/api"; + private String basePath = "https://aws.us-east-1.lamin.ai/api"; protected List servers = new ArrayList(Arrays.asList( new ServerConfiguration( - "https://staging.laminhub.com/api", + "https://aws.us-east-1.lamin.ai/api", "No description provided", new HashMap() ) @@ -139,7 +139,7 @@ private void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/0.0.3-rc3/java"); + setUserAgent("OpenAPI-Generator/0.0.3/java"); authentications = new HashMap(); } @@ -156,7 +156,7 @@ public String getBasePath() { /** * Set base path * - * @param basePath Base path of the URL (e.g https://staging.laminhub.com/api + * @param basePath Base path of the URL (e.g https://aws.us-east-1.lamin.ai/api * @return An instance of OkHttpClient */ public ApiClient setBasePath(String basePath) { 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 09ed9bb..e8d66ee 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class ApiException extends Exception { private static final long serialVersionUID = 1L; 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 babf7c4..fe9b5d2 100644 --- a/src/main/java/ai/lamin/lamin_api_client/Configuration.java +++ b/src/main/java/ai/lamin/lamin_api_client/Configuration.java @@ -13,9 +13,9 @@ package ai.lamin.lamin_api_client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Configuration { - public static final String VERSION = "0.0.3-rc3"; + public static final String VERSION = "0.0.3"; private static volatile ApiClient defaultApiClient = new ApiClient(); 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 307e51f..bd15b78 100644 --- a/src/main/java/ai/lamin/lamin_api_client/Pair.java +++ b/src/main/java/ai/lamin/lamin_api_client/Pair.java @@ -13,7 +13,7 @@ package ai.lamin.lamin_api_client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Pair { private String name = ""; private String value = ""; 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 bda00af..cbcec02 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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 9161d53..fe22e42 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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 74cce92..e0bc34b 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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/DefaultApi.java b/src/main/java/ai/lamin/lamin_api_client/api/DefaultApi.java index 1976ee6..dcd8ad6 100644 --- a/src/main/java/ai/lamin/lamin_api_client/api/DefaultApi.java +++ b/src/main/java/ai/lamin/lamin_api_client/api/DefaultApi.java @@ -7939,7 +7939,7 @@ public okhttp3.Call moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPutAs return localVarCall; } /** - * Build call for proxyS3S3PathPut + * Build call for proxyS3S3PathGet * @param path (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -7952,7 +7952,7 @@ public okhttp3.Call moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPutAs 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathPutCall(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathGetCall(String path, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -7998,13 +7998,13 @@ public okhttp3.Call proxyS3S3PathPutCall(String path, final ApiCallback _callbac } @SuppressWarnings("rawtypes") - private okhttp3.Call proxyS3S3PathPutValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { + private okhttp3.Call proxyS3S3PathGetValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { // verify the required parameter 'path' is set if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathPut(Async)"); + throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathGet(Async)"); } - return proxyS3S3PathPutCall(path, _callback); + return proxyS3S3PathGetCall(path, _callback); } @@ -8022,8 +8022,8 @@ private okhttp3.Call proxyS3S3PathPutValidateBeforeCall(String path, final ApiCa 422 Validation Error - */ - public Object proxyS3S3PathPut(String path) throws ApiException { - ApiResponse localVarResp = proxyS3S3PathPutWithHttpInfo(path); + public Object proxyS3S3PathGet(String path) throws ApiException { + ApiResponse localVarResp = proxyS3S3PathGetWithHttpInfo(path); return localVarResp.getData(); } @@ -8041,8 +8041,8 @@ public Object proxyS3S3PathPut(String path) throws ApiException { 422 Validation Error - */ - public ApiResponse proxyS3S3PathPutWithHttpInfo(String path) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathPutValidateBeforeCall(path, null); + public ApiResponse proxyS3S3PathGetWithHttpInfo(String path) throws ApiException { + okhttp3.Call localVarCall = proxyS3S3PathGetValidateBeforeCall(path, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -8062,15 +8062,15 @@ public ApiResponse proxyS3S3PathPutWithHttpInfo(String path) throws ApiE 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathPutAsync(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathGetAsync(String path, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathPutValidateBeforeCall(path, _callback); + okhttp3.Call localVarCall = proxyS3S3PathGetValidateBeforeCall(path, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for proxyS3S3PathPut_0 + * Build call for proxyS3S3PathGet_0 * @param path (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -8083,7 +8083,7 @@ public okhttp3.Call proxyS3S3PathPutAsync(String path, final ApiCallback 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathPut_0Call(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathGet_0Call(String path, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -8129,13 +8129,13 @@ public okhttp3.Call proxyS3S3PathPut_0Call(String path, final ApiCallback _callb } @SuppressWarnings("rawtypes") - private okhttp3.Call proxyS3S3PathPut_0ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { + private okhttp3.Call proxyS3S3PathGet_0ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { // verify the required parameter 'path' is set if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathPut_0(Async)"); + throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathGet_0(Async)"); } - return proxyS3S3PathPut_0Call(path, _callback); + return proxyS3S3PathGet_0Call(path, _callback); } @@ -8153,8 +8153,8 @@ private okhttp3.Call proxyS3S3PathPut_0ValidateBeforeCall(String path, final Api 422 Validation Error - */ - public Object proxyS3S3PathPut_0(String path) throws ApiException { - ApiResponse localVarResp = proxyS3S3PathPut_0WithHttpInfo(path); + public Object proxyS3S3PathGet_0(String path) throws ApiException { + ApiResponse localVarResp = proxyS3S3PathGet_0WithHttpInfo(path); return localVarResp.getData(); } @@ -8172,8 +8172,8 @@ public Object proxyS3S3PathPut_0(String path) throws ApiException { 422 Validation Error - */ - public ApiResponse proxyS3S3PathPut_0WithHttpInfo(String path) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathPut_0ValidateBeforeCall(path, null); + public ApiResponse proxyS3S3PathGet_0WithHttpInfo(String path) throws ApiException { + okhttp3.Call localVarCall = proxyS3S3PathGet_0ValidateBeforeCall(path, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -8193,15 +8193,15 @@ public ApiResponse proxyS3S3PathPut_0WithHttpInfo(String path) throws Ap 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathPut_0Async(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathGet_0Async(String path, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathPut_0ValidateBeforeCall(path, _callback); + okhttp3.Call localVarCall = proxyS3S3PathGet_0ValidateBeforeCall(path, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for proxyS3S3PathPut_1 + * Build call for proxyS3S3PathGet_1 * @param path (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -8214,7 +8214,7 @@ public okhttp3.Call proxyS3S3PathPut_0Async(String path, final ApiCallback 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathPut_1Call(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathGet_1Call(String path, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -8260,13 +8260,13 @@ public okhttp3.Call proxyS3S3PathPut_1Call(String path, final ApiCallback _callb } @SuppressWarnings("rawtypes") - private okhttp3.Call proxyS3S3PathPut_1ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { + private okhttp3.Call proxyS3S3PathGet_1ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { // verify the required parameter 'path' is set if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathPut_1(Async)"); + throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathGet_1(Async)"); } - return proxyS3S3PathPut_1Call(path, _callback); + return proxyS3S3PathGet_1Call(path, _callback); } @@ -8284,8 +8284,8 @@ private okhttp3.Call proxyS3S3PathPut_1ValidateBeforeCall(String path, final Api 422 Validation Error - */ - public Object proxyS3S3PathPut_1(String path) throws ApiException { - ApiResponse localVarResp = proxyS3S3PathPut_1WithHttpInfo(path); + public Object proxyS3S3PathGet_1(String path) throws ApiException { + ApiResponse localVarResp = proxyS3S3PathGet_1WithHttpInfo(path); return localVarResp.getData(); } @@ -8303,8 +8303,8 @@ public Object proxyS3S3PathPut_1(String path) throws ApiException { 422 Validation Error - */ - public ApiResponse proxyS3S3PathPut_1WithHttpInfo(String path) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathPut_1ValidateBeforeCall(path, null); + public ApiResponse proxyS3S3PathGet_1WithHttpInfo(String path) throws ApiException { + okhttp3.Call localVarCall = proxyS3S3PathGet_1ValidateBeforeCall(path, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -8324,15 +8324,15 @@ public ApiResponse proxyS3S3PathPut_1WithHttpInfo(String path) throws Ap 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathPut_1Async(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathGet_1Async(String path, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathPut_1ValidateBeforeCall(path, _callback); + okhttp3.Call localVarCall = proxyS3S3PathGet_1ValidateBeforeCall(path, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for proxyS3S3PathPut_2 + * Build call for proxyS3S3PathGet_2 * @param path (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -8345,7 +8345,7 @@ public okhttp3.Call proxyS3S3PathPut_1Async(String path, final ApiCallback 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathPut_2Call(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathGet_2Call(String path, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -8391,13 +8391,13 @@ public okhttp3.Call proxyS3S3PathPut_2Call(String path, final ApiCallback _callb } @SuppressWarnings("rawtypes") - private okhttp3.Call proxyS3S3PathPut_2ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { + private okhttp3.Call proxyS3S3PathGet_2ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { // verify the required parameter 'path' is set if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathPut_2(Async)"); + throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathGet_2(Async)"); } - return proxyS3S3PathPut_2Call(path, _callback); + return proxyS3S3PathGet_2Call(path, _callback); } @@ -8415,8 +8415,8 @@ private okhttp3.Call proxyS3S3PathPut_2ValidateBeforeCall(String path, final Api 422 Validation Error - */ - public Object proxyS3S3PathPut_2(String path) throws ApiException { - ApiResponse localVarResp = proxyS3S3PathPut_2WithHttpInfo(path); + public Object proxyS3S3PathGet_2(String path) throws ApiException { + ApiResponse localVarResp = proxyS3S3PathGet_2WithHttpInfo(path); return localVarResp.getData(); } @@ -8434,8 +8434,8 @@ public Object proxyS3S3PathPut_2(String path) throws ApiException { 422 Validation Error - */ - public ApiResponse proxyS3S3PathPut_2WithHttpInfo(String path) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathPut_2ValidateBeforeCall(path, null); + public ApiResponse proxyS3S3PathGet_2WithHttpInfo(String path) throws ApiException { + okhttp3.Call localVarCall = proxyS3S3PathGet_2ValidateBeforeCall(path, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -8455,15 +8455,15 @@ public ApiResponse proxyS3S3PathPut_2WithHttpInfo(String path) throws Ap 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathPut_2Async(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathGet_2Async(String path, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathPut_2ValidateBeforeCall(path, _callback); + okhttp3.Call localVarCall = proxyS3S3PathGet_2ValidateBeforeCall(path, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for proxyS3S3PathPut_3 + * Build call for proxyS3S3PathGet_3 * @param path (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -8476,7 +8476,7 @@ public okhttp3.Call proxyS3S3PathPut_2Async(String path, final ApiCallback 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathPut_3Call(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathGet_3Call(String path, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -8522,13 +8522,13 @@ public okhttp3.Call proxyS3S3PathPut_3Call(String path, final ApiCallback _callb } @SuppressWarnings("rawtypes") - private okhttp3.Call proxyS3S3PathPut_3ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { + private okhttp3.Call proxyS3S3PathGet_3ValidateBeforeCall(String path, final ApiCallback _callback) throws ApiException { // verify the required parameter 'path' is set if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathPut_3(Async)"); + throw new ApiException("Missing the required parameter 'path' when calling proxyS3S3PathGet_3(Async)"); } - return proxyS3S3PathPut_3Call(path, _callback); + return proxyS3S3PathGet_3Call(path, _callback); } @@ -8546,8 +8546,8 @@ private okhttp3.Call proxyS3S3PathPut_3ValidateBeforeCall(String path, final Api 422 Validation Error - */ - public Object proxyS3S3PathPut_3(String path) throws ApiException { - ApiResponse localVarResp = proxyS3S3PathPut_3WithHttpInfo(path); + public Object proxyS3S3PathGet_3(String path) throws ApiException { + ApiResponse localVarResp = proxyS3S3PathGet_3WithHttpInfo(path); return localVarResp.getData(); } @@ -8565,8 +8565,8 @@ public Object proxyS3S3PathPut_3(String path) throws ApiException { 422 Validation Error - */ - public ApiResponse proxyS3S3PathPut_3WithHttpInfo(String path) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathPut_3ValidateBeforeCall(path, null); + public ApiResponse proxyS3S3PathGet_3WithHttpInfo(String path) throws ApiException { + okhttp3.Call localVarCall = proxyS3S3PathGet_3ValidateBeforeCall(path, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -8586,9 +8586,9 @@ public ApiResponse proxyS3S3PathPut_3WithHttpInfo(String path) throws Ap 422 Validation Error - */ - public okhttp3.Call proxyS3S3PathPut_3Async(String path, final ApiCallback _callback) throws ApiException { + public okhttp3.Call proxyS3S3PathGet_3Async(String path, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = proxyS3S3PathPut_3ValidateBeforeCall(path, _callback); + okhttp3.Call localVarCall = proxyS3S3PathGet_3ValidateBeforeCall(path, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; 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 278ad4a..1f4af3f 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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/HttpBearerAuth.java b/src/main/java/ai/lamin/lamin_api_client/auth/HttpBearerAuth.java index 8c1157c..7088e02 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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 f5de2ac..16788a0 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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 a3d3c0c..a6aaf94 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class AddCollaboratorRequestBody { public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) 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 09b6267..9aca7da 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class AddOrganizationMemberRequestBody { /** * Gets or Sets role 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 854dec1..e02f3e8 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class AddSpaceCollaboratorRequestBody { public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) 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 74aafac..90e9b63 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 @@ -49,7 +49,7 @@ /** * AddTeamMemberRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class AddTeamMemberRequestBody { public static final String SERIALIZED_NAME_ROLE = "role"; @SerializedName(SERIALIZED_NAME_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 e713b20..1580612 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class AttachSpaceToRecordRequestBody { public static final String SERIALIZED_NAME_MODULE_NAME = "module_name"; @SerializedName(SERIALIZED_NAME_MODULE_NAME) 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 1efa43f..bb29897 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class CreateArtifactRequestBody { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) 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 a1d1788..6eb98fa 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class CreateSpaceRequestBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) 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 5d69a92..63822d7 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class CreateTeamRequestBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) 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 fee106e..2891c19 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class CreateTransformRequestBody { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) diff --git a/src/main/java/ai/lamin/lamin_api_client/model/DbUrlRequest.java b/src/main/java/ai/lamin/lamin_api_client/model/DbUrlRequest.java index 260ee1e..aac6765 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/DbUrlRequest.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/DbUrlRequest.java @@ -48,7 +48,7 @@ /** * DbUrlRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class DbUrlRequest { public static final String SERIALIZED_NAME_DB_URL = "db_url"; @SerializedName(SERIALIZED_NAME_DB_URL) 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 3e8a213..ecc82d2 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Dimension { public static final String SERIALIZED_NAME_FIELD_NAME = "field_name"; @SerializedName(SERIALIZED_NAME_FIELD_NAME) 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 0015251..61170ad 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class GetRecordRequestBody { public static final String SERIALIZED_NAME_SELECT = "select"; @SerializedName(SERIALIZED_NAME_SELECT) 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 0ff5ac5..471c10b 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class GetRecordsRequestBody { public static final String SERIALIZED_NAME_SELECT = "select"; @SerializedName(SERIALIZED_NAME_SELECT) 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 e683817..1f96414 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class GetValuesRequestBody { public static final String SERIALIZED_NAME_FILTER = "filter"; @SerializedName(SERIALIZED_NAME_FILTER) 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 6322d35..702ae89 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class GroupByRequestBody { public static final String SERIALIZED_NAME_DIMENSIONS = "dimensions"; @SerializedName(SERIALIZED_NAME_DIMENSIONS) 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 4c889b8..6d1524c 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class HTTPValidationError { public static final String SERIALIZED_NAME_DETAIL = "detail"; @SerializedName(SERIALIZED_NAME_DETAIL) 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 8e5a50d..e810c20 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Measure { public static final String SERIALIZED_NAME_FIELD_NAME = "field_name"; @SerializedName(SERIALIZED_NAME_FIELD_NAME) 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 71f330e..10c5e6e 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class OrderByColumn { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) 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 dd58c13..f7207b0 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 @@ -48,7 +48,7 @@ /** * RegisterDbServerBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class RegisterDbServerBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) 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 345f6c0..b1b7ec6 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class RegisterFormRequest { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) 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 index 02e2b99..4ea0bab 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/Role.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/Role.java @@ -50,7 +50,7 @@ import ai.lamin.lamin_api_client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Role extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(Role.class.getName()); 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 index b683267..4d75ca9 100644 --- a/src/main/java/ai/lamin/lamin_api_client/model/Role1.java +++ b/src/main/java/ai/lamin/lamin_api_client/model/Role1.java @@ -50,7 +50,7 @@ import ai.lamin.lamin_api_client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class Role1 extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(Role1.class.getName()); 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 9136e3d..aaf8930 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 @@ -48,7 +48,7 @@ /** * S3PermissionsRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.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) 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 2373f77..69414bf 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class UpdateCollaboratorRequestBody { /** * Gets or Sets role 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 5ebedda..6f09895 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class UpdateOrganizationMemberRequestBody { /** * Gets or Sets 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 bc756b5..2126542 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class UpdateSpaceCollaboratorRequestBody { public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) 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 c5d57e0..673c321 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class UpdateSpaceRequestBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) 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 0fb5c79..81e9e2d 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 @@ -49,7 +49,7 @@ /** * UpdateTeamMemberRequestBody */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class UpdateTeamMemberRequestBody { public static final String SERIALIZED_NAME_ROLE = "role"; @SerializedName(SERIALIZED_NAME_ROLE) 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 35670e2..327476a 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class UpdateTeamRequestBody { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) 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 260f8f3..5ca6ce0 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class ValidationError { public static final String SERIALIZED_NAME_LOC = "loc"; @SerializedName(SERIALIZED_NAME_LOC) 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 0f9edc9..dd1b1b3 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 = "2025-06-11T10:23:42.127510575+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]", comments = "Generator version: 7.12.0") public class ValidationErrorLocInner extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(ValidationErrorLocInner.class.getName());