diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES
index 7e929d04..bc567717 100644
--- a/.openapi-generator/FILES
+++ b/.openapi-generator/FILES
@@ -22,6 +22,7 @@ src/main/java/com/vertexvis/api/ApplicationsApi.java
src/main/java/com/vertexvis/api/BatchesApi.java
src/main/java/com/vertexvis/api/ExportsApi.java
src/main/java/com/vertexvis/api/FileCollectionsApi.java
+src/main/java/com/vertexvis/api/FileJobsApi.java
src/main/java/com/vertexvis/api/FilesApi.java
src/main/java/com/vertexvis/api/GeometrySetsApi.java
src/main/java/com/vertexvis/api/HitsApi.java
@@ -31,6 +32,7 @@ src/main/java/com/vertexvis/api/PartRenditionsApi.java
src/main/java/com/vertexvis/api/PartRevisionInstancesApi.java
src/main/java/com/vertexvis/api/PartRevisionsApi.java
src/main/java/com/vertexvis/api/PartsApi.java
+src/main/java/com/vertexvis/api/PermissionGrantsApi.java
src/main/java/com/vertexvis/api/PmiApi.java
src/main/java/com/vertexvis/api/PropertyEntriesApi.java
src/main/java/com/vertexvis/api/SceneAlterationsApi.java
@@ -41,6 +43,7 @@ src/main/java/com/vertexvis/api/SceneSynchronizationsApi.java
src/main/java/com/vertexvis/api/SceneViewStatesApi.java
src/main/java/com/vertexvis/api/SceneViewsApi.java
src/main/java/com/vertexvis/api/ScenesApi.java
+src/main/java/com/vertexvis/api/SearchSessionsApi.java
src/main/java/com/vertexvis/api/StreamKeysApi.java
src/main/java/com/vertexvis/api/TranslationInspectionsApi.java
src/main/java/com/vertexvis/api/WebhookSubscriptionsApi.java
@@ -55,6 +58,8 @@ src/main/java/com/vertexvis/auth/RetryingOAuth.java
src/main/java/com/vertexvis/model/Account.java
src/main/java/com/vertexvis/model/AccountData.java
src/main/java/com/vertexvis/model/AccountDataAttributes.java
+src/main/java/com/vertexvis/model/AccountRelationship.java
+src/main/java/com/vertexvis/model/AccountRelationshipData.java
src/main/java/com/vertexvis/model/AdminConsentAcceptRequest.java
src/main/java/com/vertexvis/model/AdminConsentAcceptRequestData.java
src/main/java/com/vertexvis/model/AdminConsentAcceptRequestDataAttributes.java
@@ -71,6 +76,7 @@ src/main/java/com/vertexvis/model/Application.java
src/main/java/com/vertexvis/model/ApplicationData.java
src/main/java/com/vertexvis/model/ApplicationDataAttributes.java
src/main/java/com/vertexvis/model/ApplicationList.java
+src/main/java/com/vertexvis/model/ArchiveManifestEntry.java
src/main/java/com/vertexvis/model/Batch.java
src/main/java/com/vertexvis/model/BatchOperation.java
src/main/java/com/vertexvis/model/BatchOperationRef.java
@@ -102,6 +108,9 @@ src/main/java/com/vertexvis/model/CreateExportRequestDataRelationships.java
src/main/java/com/vertexvis/model/CreateFileCollectionRequest.java
src/main/java/com/vertexvis/model/CreateFileCollectionRequestData.java
src/main/java/com/vertexvis/model/CreateFileCollectionRequestDataAttributes.java
+src/main/java/com/vertexvis/model/CreateFileJobRequest.java
+src/main/java/com/vertexvis/model/CreateFileJobRequestData.java
+src/main/java/com/vertexvis/model/CreateFileJobRequestDataAttributes.java
src/main/java/com/vertexvis/model/CreateFileRequest.java
src/main/java/com/vertexvis/model/CreateFileRequestData.java
src/main/java/com/vertexvis/model/CreateFileRequestDataAttributes.java
@@ -118,6 +127,9 @@ src/main/java/com/vertexvis/model/CreatePartRequest.java
src/main/java/com/vertexvis/model/CreatePartRequestData.java
src/main/java/com/vertexvis/model/CreatePartRequestDataAttributes.java
src/main/java/com/vertexvis/model/CreatePartRequestDataRelationships.java
+src/main/java/com/vertexvis/model/CreatePermissionGrant.java
+src/main/java/com/vertexvis/model/CreatePermissionGrantData.java
+src/main/java/com/vertexvis/model/CreatePermissionGrantDataAttributes.java
src/main/java/com/vertexvis/model/CreateSceneAlterationRequest.java
src/main/java/com/vertexvis/model/CreateSceneAlterationRequestData.java
src/main/java/com/vertexvis/model/CreateSceneAlterationRequestDataAttributes.java
@@ -127,6 +139,9 @@ src/main/java/com/vertexvis/model/CreateSceneAnnotationRequestDataAttributes.jav
src/main/java/com/vertexvis/model/CreateSceneAnnotationSetRequest.java
src/main/java/com/vertexvis/model/CreateSceneAnnotationSetRequestData.java
src/main/java/com/vertexvis/model/CreateSceneAnnotationSetRequestDataAttributes.java
+src/main/java/com/vertexvis/model/CreateSceneExpressionAlterationRequest.java
+src/main/java/com/vertexvis/model/CreateSceneExpressionAlterationRequestData.java
+src/main/java/com/vertexvis/model/CreateSceneExpressionAlterationRequestDataAttributes.java
src/main/java/com/vertexvis/model/CreateSceneItemOverrideRequest.java
src/main/java/com/vertexvis/model/CreateSceneItemOverrideRequestData.java
src/main/java/com/vertexvis/model/CreateSceneItemOverrideRequestDataAttributes.java
@@ -148,6 +163,10 @@ src/main/java/com/vertexvis/model/CreateSceneViewStateRequest.java
src/main/java/com/vertexvis/model/CreateSceneViewStateRequestData.java
src/main/java/com/vertexvis/model/CreateSceneViewStateRequestDataAttributes.java
src/main/java/com/vertexvis/model/CreateSceneViewStateRequestDataRelationships.java
+src/main/java/com/vertexvis/model/CreateSearchSessionRequest.java
+src/main/java/com/vertexvis/model/CreateSearchSessionRequestData.java
+src/main/java/com/vertexvis/model/CreateSearchSessionRequestDataAttributes.java
+src/main/java/com/vertexvis/model/CreateSearchSessionRequestDataRelationships.java
src/main/java/com/vertexvis/model/CreateStreamKeyRequest.java
src/main/java/com/vertexvis/model/CreateStreamKeyRequestData.java
src/main/java/com/vertexvis/model/CreateStreamKeyRequestDataAttributes.java
@@ -180,6 +199,7 @@ src/main/java/com/vertexvis/model/FileCollectionMetadata.java
src/main/java/com/vertexvis/model/FileCollectionMetadataData.java
src/main/java/com/vertexvis/model/FileCollectionMetadataDataAttributes.java
src/main/java/com/vertexvis/model/FileIdList.java
+src/main/java/com/vertexvis/model/FileJobArchiveOperation.java
src/main/java/com/vertexvis/model/FileList.java
src/main/java/com/vertexvis/model/FileMetadata.java
src/main/java/com/vertexvis/model/FileMetadataData.java
@@ -192,6 +212,7 @@ src/main/java/com/vertexvis/model/GeometrySetData.java
src/main/java/com/vertexvis/model/GeometrySetList.java
src/main/java/com/vertexvis/model/GeometrySetRelationship.java
src/main/java/com/vertexvis/model/GeometrySetRelationshipData.java
+src/main/java/com/vertexvis/model/GranteeAccount.java
src/main/java/com/vertexvis/model/Hit.java
src/main/java/com/vertexvis/model/HitData.java
src/main/java/com/vertexvis/model/HitDataAttributes.java
@@ -246,6 +267,12 @@ src/main/java/com/vertexvis/model/PartRevisionInstanceList.java
src/main/java/com/vertexvis/model/PartRevisionList.java
src/main/java/com/vertexvis/model/PartRevisionRelationship.java
src/main/java/com/vertexvis/model/PartRevisionSuppliedId.java
+src/main/java/com/vertexvis/model/PartsDomainSubject.java
+src/main/java/com/vertexvis/model/PermissionGrant.java
+src/main/java/com/vertexvis/model/PermissionGrantData.java
+src/main/java/com/vertexvis/model/PermissionGrantList.java
+src/main/java/com/vertexvis/model/PermissionGrantee.java
+src/main/java/com/vertexvis/model/PermissionSubject.java
src/main/java/com/vertexvis/model/PerspectiveCamera.java
src/main/java/com/vertexvis/model/PmiAnnotationData.java
src/main/java/com/vertexvis/model/PmiAnnotationList.java
@@ -257,6 +284,7 @@ src/main/java/com/vertexvis/model/PropertyEntryDataAttributes.java
src/main/java/com/vertexvis/model/PropertyEntryList.java
src/main/java/com/vertexvis/model/PropertyKeyType.java
src/main/java/com/vertexvis/model/PropertyLongType.java
+src/main/java/com/vertexvis/model/PropertySetDomainSubject.java
src/main/java/com/vertexvis/model/PropertySetRelationship.java
src/main/java/com/vertexvis/model/PropertySetRelationshipData.java
src/main/java/com/vertexvis/model/PropertyStringType.java
@@ -270,6 +298,10 @@ src/main/java/com/vertexvis/model/QueryByIdDataAttributes.java
src/main/java/com/vertexvis/model/QueryByMetadata.java
src/main/java/com/vertexvis/model/QueryByMetadataData.java
src/main/java/com/vertexvis/model/QueryByMetadataDataAttributes.java
+src/main/java/com/vertexvis/model/QueryByRoot.java
+src/main/java/com/vertexvis/model/QueryBySceneItemId.java
+src/main/java/com/vertexvis/model/QueryBySceneItemIds.java
+src/main/java/com/vertexvis/model/QueryBySceneItemMetadata.java
src/main/java/com/vertexvis/model/QueuedJob.java
src/main/java/com/vertexvis/model/QueuedJobData.java
src/main/java/com/vertexvis/model/QueuedJobDataAttributes.java
@@ -300,15 +332,19 @@ src/main/java/com/vertexvis/model/SceneAnnotationSetList.java
src/main/java/com/vertexvis/model/SceneData.java
src/main/java/com/vertexvis/model/SceneDataAttributes.java
src/main/java/com/vertexvis/model/SceneItem.java
+src/main/java/com/vertexvis/model/SceneItemAndExpression.java
src/main/java/com/vertexvis/model/SceneItemData.java
src/main/java/com/vertexvis/model/SceneItemDataAttributes.java
src/main/java/com/vertexvis/model/SceneItemDataRelationships.java
+src/main/java/com/vertexvis/model/SceneItemExpressionOperation.java
src/main/java/com/vertexvis/model/SceneItemList.java
+src/main/java/com/vertexvis/model/SceneItemOrExpression.java
src/main/java/com/vertexvis/model/SceneItemOverride.java
src/main/java/com/vertexvis/model/SceneItemOverrideData.java
src/main/java/com/vertexvis/model/SceneItemOverrideDataAttributes.java
src/main/java/com/vertexvis/model/SceneItemOverrideDataRelationships.java
src/main/java/com/vertexvis/model/SceneItemOverrideList.java
+src/main/java/com/vertexvis/model/SceneItemQueryOperand.java
src/main/java/com/vertexvis/model/SceneItemRelationship.java
src/main/java/com/vertexvis/model/SceneItemRelationshipData.java
src/main/java/com/vertexvis/model/SceneList.java
@@ -336,7 +372,12 @@ src/main/java/com/vertexvis/model/SceneViewStateDataAttributes.java
src/main/java/com/vertexvis/model/SceneViewStateList.java
src/main/java/com/vertexvis/model/SceneViewStateRelationship.java
src/main/java/com/vertexvis/model/SceneViewStateRelationshipData.java
+src/main/java/com/vertexvis/model/SearchSession.java
+src/main/java/com/vertexvis/model/SearchSessionData.java
+src/main/java/com/vertexvis/model/SearchSessionDataAttributes.java
src/main/java/com/vertexvis/model/SectionPlane.java
+src/main/java/com/vertexvis/model/SelectFileById.java
+src/main/java/com/vertexvis/model/SelectFileBySuppliedId.java
src/main/java/com/vertexvis/model/SelectOp.java
src/main/java/com/vertexvis/model/StreamKey.java
src/main/java/com/vertexvis/model/StreamKeyData.java
diff --git a/README.md b/README.md
index 2b30f356..d173e16b 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ The client can be used with Java 1.8+ and pulled into Maven or Gradle projects.
com.vertexvis
api-client-java
- 0.10.0
+ 0.11.0
compile
```
@@ -25,13 +25,13 @@ The client can be used with Java 1.8+ and pulled into Maven or Gradle projects.
### Gradle
```groovy
-compile "com.vertexvis:api-client-java:0.10.0"
+compile "com.vertexvis:api-client-java:0.11.0"
```
### Sbt
```sbt
-libraryDependencies += "com.vertexvis" % "api-client-java" % "0.10.0"
+libraryDependencies += "com.vertexvis" % "api-client-java" % "0.11.0"
```
### Others
@@ -44,7 +44,7 @@ mvn clean package
Then manually install the following JARs.
-- `target/api-client-java-0.10.0.jar`
+- `target/api-client-java-0.11.0.jar`
- `target/lib/*.jar`
## Usage
diff --git a/api/openapi.yaml b/api/openapi.yaml
index bb9acc44..b4f7e193 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -32,6 +32,7 @@ tags:
- name: exports
- name: files
- name: file-collections
+- name: file-jobs
- name: geometry-sets
- name: hits
- name: model-views
@@ -50,6 +51,7 @@ tags:
- name: scene-views
- name: scenes
- name: scene-view-states
+- name: search-sessions
- name: stream-keys
- name: translation-inspections
- name: webhook-subscriptions
@@ -1799,6 +1801,111 @@ paths:
- file-collections
x-contentType: application/vnd.api+json
x-accepts: application/vnd.api+json
+ /file-jobs:
+ post:
+ description: Create a `file-job`.
+ operationId: createFileJob
+ requestBody:
+ content:
+ application/vnd.api+json:
+ schema:
+ $ref: '#/components/schemas/CreateFileJobRequest'
+ required: true
+ responses:
+ "201":
+ content:
+ application/vnd.api+json:
+ schema:
+ $ref: '#/components/schemas/QueuedJob'
+ description: OK
+ "401":
+ content:
+ application/vnd.api+json:
+ example:
+ errors:
+ - status: "401"
+ code: Unauthorized
+ title: Invalid or missing credentials.
+ schema:
+ $ref: '#/components/schemas/Failure'
+ description: Unauthorized
+ "415":
+ content:
+ application/vnd.api+json:
+ example:
+ errors:
+ - status: "415"
+ code: UnsupportedMediaType
+ title: The provided media type is not supported. Update the Content-Type
+ header to application/vnd.api+json and try again.
+ schema:
+ $ref: '#/components/schemas/Failure'
+ description: Unsupported Media Type
+ security:
+ - OAuth2: []
+ tags:
+ - file-jobs
+ x-contentType: application/vnd.api+json
+ x-accepts: application/vnd.api+json
+ /file-jobs/{id}:
+ get:
+ description: Get the status and result of a `file-job`.
+ operationId: getFileJob
+ parameters:
+ - description: The ID of a file job.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ $ref: '#/components/schemas/Uuid'
+ style: simple
+ responses:
+ "200":
+ content:
+ application/vnd.api+json:
+ schema:
+ $ref: '#/components/schemas/QueuedJob'
+ description: OK
+ "401":
+ content:
+ application/vnd.api+json:
+ example:
+ errors:
+ - status: "401"
+ code: Unauthorized
+ title: Invalid or missing credentials.
+ schema:
+ $ref: '#/components/schemas/Failure'
+ description: Unauthorized
+ "404":
+ content:
+ application/vnd.api+json:
+ example:
+ errors:
+ - status: "404"
+ code: NotFound
+ title: The requested resource was not found.
+ schema:
+ $ref: '#/components/schemas/Failure'
+ description: Not Found
+ "415":
+ content:
+ application/vnd.api+json:
+ example:
+ errors:
+ - status: "415"
+ code: UnsupportedMediaType
+ title: The provided media type is not supported. Update the Content-Type
+ header to application/vnd.api+json and try again.
+ schema:
+ $ref: '#/components/schemas/Failure'
+ description: Unsupported Media Type
+ security:
+ - OAuth2: []
+ tags:
+ - file-jobs
+ x-accepts: application/vnd.api+json
/geometry-sets:
get:
description: Get `geometry-sets`.
@@ -2971,7 +3078,7 @@ paths:
/part-revision-instances:
get:
description: |
- Gets a page of 'part-revision' instances. An instance is an occurence of a revision that is a child of a parent revision. The returned data will have the ordinal used for ordering and the transform matrix for each occurrence.
+ Gets a page of 'part-revision' instances. An instance is an occurrence of a revision that is a child of a parent revision. The returned data will have the ordinal used for ordering and the transform matrix for each occurrence.
operationId: getPartRevisionInstanceList
parameters:
- description: Parent ID to filter on.
@@ -3190,6 +3297,17 @@ paths:
maxLength: 1024
type: string
style: form
+ - description: Owner ID to filter on.
+ explode: true
+ in: query
+ name: filter[ownerId]
+ required: false
+ schema:
+ example: 7cd2a284-a854-4152-8fcc-05444cdf4f0d
+ format: uuid
+ maxLength: 36
+ type: string
+ style: form
responses:
"200":
content:
@@ -3877,8 +3995,8 @@ paths:
x-accepts: application/vnd.api+json
/property-entries:
get:
- description: "Get `property-entries` by a resource ID \n**Preview:** This is\
- \ a preview API and is subject to change.\n"
+ description: |
+ Get `property-entries` by a resource ID
operationId: getPropertyEntries
parameters:
- description: The cursor for the next page of items.
@@ -3961,7 +4079,6 @@ paths:
patch:
description: |
Upsert property-entries for a provided resource.
- **Preview:** This is a preview API and is subject to change.
operationId: upsertPropertyEntries
requestBody:
content:
@@ -4145,7 +4262,9 @@ paths:
content:
application/vnd.api+json:
schema:
- $ref: '#/components/schemas/CreateSceneAlterationRequest'
+ oneOf:
+ - $ref: '#/components/schemas/CreateSceneAlterationRequest'
+ - $ref: '#/components/schemas/CreateSceneExpressionAlterationRequest'
required: true
responses:
"202":
@@ -7918,6 +8037,114 @@ paths:
tags:
- exports
x-accepts: application/vnd.api+json
+ /search-sessions/{id}:
+ get:
+ description: Get a `search-session`.
+ operationId: getSearchSession
+ parameters:
+ - description: The `search-session` ID.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ $ref: '#/components/schemas/Uuid'
+ style: simple
+ responses:
+ "200":
+ content:
+ application/vnd.api+json:
+ schema:
+ $ref: '#/components/schemas/SearchSession'
+ description: OK
+ "401":
+ content:
+ application/vnd.api+json:
+ example:
+ errors:
+ - status: "401"
+ code: Unauthorized
+ title: Invalid or missing credentials.
+ schema:
+ $ref: '#/components/schemas/Failure'
+ description: Unauthorized
+ "404":
+ content:
+ application/vnd.api+json:
+ example:
+ errors:
+ - status: "404"
+ code: NotFound
+ title: The requested resource was not found.
+ schema:
+ $ref: '#/components/schemas/Failure'
+ description: Not Found
+ "415":
+ content:
+ application/vnd.api+json:
+ example:
+ errors:
+ - status: "415"
+ code: UnsupportedMediaType
+ title: The provided media type is not supported. Update the Content-Type
+ header to application/vnd.api+json and try again.
+ schema:
+ $ref: '#/components/schemas/Failure'
+ description: Unsupported Media Type
+ security:
+ - OAuth2: []
+ tags:
+ - search-sessions
+ x-accepts: application/vnd.api+json
+ /search-sessions:
+ post:
+ description: Create a `search-session`.
+ operationId: createSearchSession
+ requestBody:
+ content:
+ application/vnd.api+json:
+ schema:
+ $ref: '#/components/schemas/CreateSearchSessionRequest'
+ required: true
+ responses:
+ "201":
+ content:
+ application/vnd.api+json:
+ schema:
+ $ref: '#/components/schemas/SearchSession'
+ description: Created
+ headers:
+ location:
+ $ref: '#/components/headers/Location'
+ "401":
+ content:
+ application/vnd.api+json:
+ example:
+ errors:
+ - status: "401"
+ code: Unauthorized
+ title: Invalid or missing credentials.
+ schema:
+ $ref: '#/components/schemas/Failure'
+ description: Unauthorized
+ "415":
+ content:
+ application/vnd.api+json:
+ example:
+ errors:
+ - status: "415"
+ code: UnsupportedMediaType
+ title: The provided media type is not supported. Update the Content-Type
+ header to application/vnd.api+json and try again.
+ schema:
+ $ref: '#/components/schemas/Failure'
+ description: Unsupported Media Type
+ security:
+ - OAuth2: []
+ tags:
+ - search-sessions
+ x-contentType: application/vnd.api+json
+ x-accepts: application/vnd.api+json
/webhook-subscriptions:
get:
description: Get `webhook-subscription`s.
@@ -8295,61 +8522,258 @@ paths:
- webhook-subscriptions
x-contentType: application/vnd.api+json
x-accepts: application/vnd.api+json
-components:
- headers:
- Location:
- explode: false
- schema:
- example: /some-resource/d98d621a-23da-49fe-af96-6be709abb718
- maxLength: 128
- type: string
- style: simple
- ContentLocation:
- explode: false
- schema:
- example: /some-resource/d98d621a-23da-49fe-af96-6be709abb718
- maxLength: 128
- type: string
- style: simple
- parameters:
- AccountId:
- description: The `account` ID.
- explode: false
- in: path
- name: id
- required: true
- schema:
- $ref: '#/components/schemas/Uuid'
- style: simple
- ApplicationId:
- description: The `application` ID.
- explode: false
- in: path
- name: id
- required: true
- schema:
- $ref: '#/components/schemas/Uuid'
- style: simple
- PerspectiveCamera:
- description: A perspective camera that mimics the way the human eye sees.
- explode: true
- in: query
- name: camera[perspective]
- required: false
- schema:
- $ref: '#/components/schemas/PerspectiveCamera'
- style: deepObject
- PerspectiveCameraPosition:
- description: The perspective camera position.
- explode: true
- in: query
- name: camera[perspective][position]
- required: false
- schema:
- $ref: '#/components/schemas/Vector3'
- style: deepObject
- PerspectiveCameraLookAt:
- description: The perspective camera look at position.
+ /permission-grants:
+ get:
+ description: List all permission grants
+ operationId: listPermissionGrants
+ parameters:
+ - description: The cursor for the next page of items.
+ explode: true
+ in: query
+ name: page[cursor]
+ required: false
+ schema:
+ example: cHJkMDVFR2RLag==
+ type: string
+ style: form
+ - description: The number of items to return.
+ explode: true
+ in: query
+ name: page[size]
+ required: false
+ schema:
+ example: 10
+ format: int32
+ maximum: 200
+ minimum: 1
+ type: integer
+ style: form
+ responses:
+ "200":
+ content:
+ application/vnd.api+json:
+ schema:
+ $ref: '#/components/schemas/PermissionGrantList'
+ description: OK
+ "401":
+ content:
+ application/vnd.api+json:
+ example:
+ errors:
+ - status: "401"
+ code: Unauthorized
+ title: Invalid or missing credentials.
+ schema:
+ $ref: '#/components/schemas/Failure'
+ description: Unauthorized
+ security:
+ - OAuth2: []
+ summary: List all permission grants
+ tags:
+ - permission-grants
+ x-accepts: application/vnd.api+json
+ post:
+ description: Create a permission grant for a grantee to a subject resource
+ operationId: createPermissionGrant
+ requestBody:
+ content:
+ application/vnd.api+json:
+ schema:
+ $ref: '#/components/schemas/CreatePermissionGrant'
+ required: true
+ responses:
+ "201":
+ content:
+ application/vnd.api+json:
+ schema:
+ $ref: '#/components/schemas/PermissionGrant'
+ description: OK
+ "400":
+ content:
+ application/vnd.api+json:
+ example:
+ errors:
+ - status: "400"
+ code: BadRequest
+ title: Invalid, missing, or out-of-range request parameters.
+ schema:
+ $ref: '#/components/schemas/Failure'
+ description: Bad Request
+ "401":
+ content:
+ application/vnd.api+json:
+ example:
+ errors:
+ - status: "401"
+ code: Unauthorized
+ title: Invalid or missing credentials.
+ schema:
+ $ref: '#/components/schemas/Failure'
+ description: Unauthorized
+ "409":
+ content:
+ application/vnd.api+json:
+ example:
+ errors:
+ - status: "409"
+ code: Conflict
+ title: The state of the resource does not permit this operation.
+ schema:
+ $ref: '#/components/schemas/Failure'
+ description: Conflict
+ security:
+ - OAuth2: []
+ summary: Create a permission grant for a grantee to a subject resource
+ tags:
+ - permission-grants
+ x-contentType: application/vnd.api+json
+ x-accepts: application/vnd.api+json
+ /permission-grants/{id}:
+ delete:
+ description: Remove a permission grant by ID
+ operationId: removePermissionGrant
+ parameters:
+ - description: The permission grant ID.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ $ref: '#/components/schemas/Uuid'
+ style: simple
+ responses:
+ "204":
+ description: No Content
+ "400":
+ content:
+ application/vnd.api+json:
+ example:
+ errors:
+ - status: "400"
+ code: BadRequest
+ title: Invalid, missing, or out-of-range request parameters.
+ schema:
+ $ref: '#/components/schemas/Failure'
+ description: Bad Request
+ "401":
+ content:
+ application/vnd.api+json:
+ example:
+ errors:
+ - status: "401"
+ code: Unauthorized
+ title: Invalid or missing credentials.
+ schema:
+ $ref: '#/components/schemas/Failure'
+ description: Unauthorized
+ security:
+ - OAuth2: []
+ summary: Remove a permission grant by ID
+ tags:
+ - permission-grants
+ x-accepts: application/vnd.api+json
+ get:
+ description: Get a permission grant by ID
+ operationId: getPermissionGrant
+ parameters:
+ - description: The permission grant ID.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ $ref: '#/components/schemas/Uuid'
+ style: simple
+ responses:
+ "200":
+ content:
+ application/vnd.api+json:
+ schema:
+ $ref: '#/components/schemas/PermissionGrant'
+ description: OK
+ "400":
+ content:
+ application/vnd.api+json:
+ example:
+ errors:
+ - status: "400"
+ code: BadRequest
+ title: Invalid, missing, or out-of-range request parameters.
+ schema:
+ $ref: '#/components/schemas/Failure'
+ description: Bad Request
+ "401":
+ content:
+ application/vnd.api+json:
+ example:
+ errors:
+ - status: "401"
+ code: Unauthorized
+ title: Invalid or missing credentials.
+ schema:
+ $ref: '#/components/schemas/Failure'
+ description: Unauthorized
+ security:
+ - OAuth2: []
+ summary: Get a permission grant by ID
+ tags:
+ - permission-grants
+ x-accepts: application/vnd.api+json
+components:
+ headers:
+ Location:
+ explode: false
+ schema:
+ example: /some-resource/d98d621a-23da-49fe-af96-6be709abb718
+ maxLength: 128
+ type: string
+ style: simple
+ ContentLocation:
+ explode: false
+ schema:
+ example: /some-resource/d98d621a-23da-49fe-af96-6be709abb718
+ maxLength: 128
+ type: string
+ style: simple
+ parameters:
+ AccountId:
+ description: The `account` ID.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ $ref: '#/components/schemas/Uuid'
+ style: simple
+ ApplicationId:
+ description: The `application` ID.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ $ref: '#/components/schemas/Uuid'
+ style: simple
+ PerspectiveCamera:
+ description: A perspective camera that mimics the way the human eye sees.
+ explode: true
+ in: query
+ name: camera[perspective]
+ required: false
+ schema:
+ $ref: '#/components/schemas/PerspectiveCamera'
+ style: deepObject
+ PerspectiveCameraPosition:
+ description: The perspective camera position.
+ explode: true
+ in: query
+ name: camera[perspective][position]
+ required: false
+ schema:
+ $ref: '#/components/schemas/Vector3'
+ style: deepObject
+ PerspectiveCameraLookAt:
+ description: The perspective camera look at position.
explode: true
in: query
name: camera[perspective][lookAt]
@@ -8690,6 +9114,18 @@ components:
example: filter[metadata][key1]=test
type: object
style: form
+ OwnerIdFilter:
+ description: Owner ID to filter on.
+ explode: true
+ in: query
+ name: filter[ownerId]
+ required: false
+ schema:
+ example: 7cd2a284-a854-4152-8fcc-05444cdf4f0d
+ format: uuid
+ maxLength: 36
+ type: string
+ style: form
QueuedSceneSyncId:
description: The `queued-scene-sync` ID.
explode: false
@@ -9304,6 +9740,14 @@ components:
required:
- data
type: object
+ CreateFileJobRequest:
+ additionalProperties: false
+ properties:
+ data:
+ $ref: '#/components/schemas/CreateFileJobRequest_data'
+ required:
+ - data
+ type: object
GeometrySetList:
additionalProperties: false
properties:
@@ -9701,12 +10145,64 @@ components:
type: object
CreateSceneAlterationRequest:
additionalProperties: false
+ deprecated: true
properties:
data:
$ref: '#/components/schemas/CreateSceneAlterationRequest_data'
required:
- data
type: object
+ CreateSceneExpressionAlterationRequest:
+ additionalProperties: false
+ description: "Support a query expression for a scene alteration. \nTo perform\
+ \ a standard item alteration: ```json {\n \"data\" : {\n \"type\" : \"\
+ scene-alteration-expression\",\n \"attributes\" : {\n \"operations\"\
+ \ : [\n {\n \"expression\" : {\n \"type\" : \"\
+ query-operand\",\n \"query\" : {\n \"type\" : \"query-by-id\"\
+ ,\n \"value\" : \"{SCENE_ITEM_ID}\"\n }\n \
+ \ },\n \"changes\" : [\n {\n \"type\" :\
+ \ \"change-visibility\",\n \"visible\" : false\n }\n\
+ \ ]\n }\n ]\n }\n }\n} ```\nTo perform a join of\
+ \ two metadata queries, i.e, an \"and\" query: ```json {\n \"data\" : {\n\
+ \ \"type\" : \"scene-alteration-expression\",\n \"attributes\" : {\n\
+ \ \"operations\" : [\n {\n \"expression\" : {\n \
+ \ \"type\" : \"and\",\n \"left\" : {\n \"type\"\
+ \ : \"query-operand\",\n \"query\" : {\n \"type\"\
+ \ : \"query-by-metadata\",\n \"filter\" : \"vdXUKl2pQr\",\n\
+ \ \"keys\" : [\n \"jxIuahIdXS\",\n \
+ \ \"9tegKF6acH\"\n ]\n }\n \
+ \ },\n \"right\" : {\n \"type\" : \"query-operand\"\
+ ,\n \"query\" : {\n \"type\" : \"query-by-metadata\"\
+ ,\n \"filter\" : \"IE8P9JRPXC\",\n \"keys\"\
+ \ : [\n \"5ggPOzw4bT\",\n \"7xQrQE5Q67\"\
+ \n ]\n }\n }\n },\n \
+ \ \"changes\" : [\n {\n \"type\" : \"change-visibility\"\
+ ,\n \"visible\" : false\n }\n ]\n \
+ \ }\n ]\n }\n }\n} ```\nTo provide more complex queries, the left/right\
+ \ also accept or/and expressions. Here's an example of a nested `or` item\
+ \ based query: ```json {\n \"data\" : {\n \"type\" : \"scene-alteration-expression\"\
+ ,\n \"attributes\" : {\n \"operations\" : [\n {\n \
+ \ \"expression\" : {\n \"type\" : \"or\",\n \"left\"\
+ \ : {\n \"type\" : \"or\",\n \"left\" : {\n \
+ \ \"type\" : \"query-operand\",\n \"query\" : {\n\
+ \ \"type\" : \"query-by-id\",\n \"value\"\
+ \ : \"{SCENE_ITEM_ID_1}\"\n }\n },\n \
+ \ \"right\" : {\n \"type\" : \"query-operand\",\n \
+ \ \"query\" : {\n \"type\" : \"query-by-id\",\n\
+ \ \"value\" : \"{SCENE_ITEM_ID_2}\"\n }\n\
+ \ }\n },\n \"right\" : {\n \
+ \ \"type\" : \"query-operand\",\n \"query\" : {\n \
+ \ \"type\" : \"query-by-id\",\n \"value\" : \"{SCENE_ITEM_ID_3}\"\
+ \n }\n }\n },\n \"changes\" : [\n\
+ \ {\n \"type\" : \"change-visibility\",\n \
+ \ \"visible\" : false\n }\n ]\n }\n ]\n\
+ \ }\n }\n} ```\n"
+ properties:
+ data:
+ $ref: '#/components/schemas/CreateSceneExpressionAlterationRequest_data'
+ required:
+ - data
+ type: object
UpdateSceneItemOverrideRequest:
additionalProperties: false
properties:
@@ -10124,6 +10620,9 @@ components:
lte:
description: A value of a filter.
type: string
+ contains:
+ description: A value of a filter.
+ type: string
type: object
QueuedJobList:
additionalProperties: false
@@ -10179,6 +10678,26 @@ components:
required:
- data
type: object
+ SearchSession:
+ additionalProperties: false
+ properties:
+ data:
+ $ref: '#/components/schemas/SearchSessionData'
+ links:
+ additionalProperties:
+ $ref: '#/components/schemas/Link'
+ type: object
+ required:
+ - data
+ type: object
+ CreateSearchSessionRequest:
+ additionalProperties: false
+ properties:
+ data:
+ $ref: '#/components/schemas/CreateSearchSessionRequest_data'
+ required:
+ - data
+ type: object
WebhookSubscriptionList:
additionalProperties: false
properties:
@@ -10278,6 +10797,42 @@ components:
required:
- data
type: object
+ PermissionGrantList:
+ additionalProperties: false
+ description: A list of permission grants
+ properties:
+ data:
+ items:
+ $ref: '#/components/schemas/PermissionGrant'
+ type: array
+ links:
+ additionalProperties:
+ $ref: '#/components/schemas/Link'
+ type: object
+ required:
+ - data
+ - links
+ type: object
+ CreatePermissionGrant:
+ additionalProperties: false
+ properties:
+ data:
+ $ref: '#/components/schemas/CreatePermissionGrant_data'
+ required:
+ - data
+ type: object
+ PermissionGrant:
+ additionalProperties: false
+ properties:
+ data:
+ $ref: '#/components/schemas/PermissionGrantData'
+ links:
+ additionalProperties:
+ $ref: '#/components/schemas/Link'
+ type: object
+ required:
+ - data
+ type: object
PerspectiveCamera:
description: A camera type that mimics the way the human eye sees.
example:
@@ -10532,6 +11087,29 @@ components:
format: int32
minimum: 1
type: integer
+ FileJobArchiveOperation:
+ additionalProperties: false
+ description: The operation for a file archival job.
+ properties:
+ type:
+ enum:
+ - file-archive-operation
+ type: string
+ fileId:
+ description: ID of the resource.
+ example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3
+ format: uuid
+ maxLength: 36
+ type: string
+ manifest:
+ items:
+ $ref: '#/components/schemas/ArchiveManifestEntry'
+ type: array
+ required:
+ - fileId
+ - manifest
+ - type
+ type: object
GeometrySetData:
additionalProperties: false
properties:
@@ -11070,6 +11648,39 @@ components:
- operations
- query
type: object
+ SceneItemExpressionOperation:
+ additionalProperties: false
+ properties:
+ expression:
+ oneOf:
+ - $ref: '#/components/schemas/SceneItemQueryOperand'
+ - $ref: '#/components/schemas/SceneItemAndExpression'
+ - $ref: '#/components/schemas/SceneItemOrExpression'
+ changes:
+ description: List of changes to perform on `scene-items` matching the query
+ for the operation
+ items:
+ oneOf:
+ - $ref: '#/components/schemas/ChangeVisibilityOp'
+ - $ref: '#/components/schemas/ChangeMaterialOp'
+ - $ref: '#/components/schemas/ClearMaterialOp'
+ - $ref: '#/components/schemas/ChangeTransformOp'
+ - $ref: '#/components/schemas/ClearTransformOp'
+ - $ref: '#/components/schemas/SelectOp'
+ - $ref: '#/components/schemas/DeselectOperation'
+ - $ref: '#/components/schemas/ClearRenOp'
+ - $ref: '#/components/schemas/ViewDefaultRenOp'
+ - $ref: '#/components/schemas/ViewRenByIdOp'
+ - $ref: '#/components/schemas/ViewRenBySuppliedIdOp'
+ - $ref: '#/components/schemas/ViewRepByIdOp'
+ - $ref: '#/components/schemas/ViewRepByPredefinedIdOp'
+ - $ref: '#/components/schemas/ClearRepOp'
+ maxItems: 1024
+ type: array
+ required:
+ - changes
+ - expression
+ type: object
Matrix4Nullable:
additionalProperties: false
description: 4x4 affine transformation matrix, see [Matrix transformations](https://developer.vertexvis.com/docs/guides/matrix-transformations)
@@ -11734,6 +12345,33 @@ components:
- id
- type
type: object
+ SearchSessionData:
+ additionalProperties: false
+ properties:
+ type:
+ example: some-string
+ maxLength: 1024
+ minLength: 1
+ type: string
+ id:
+ description: ID of the resource.
+ example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3
+ format: uuid
+ maxLength: 36
+ type: string
+ attributes:
+ $ref: '#/components/schemas/SearchSessionData_attributes'
+ relationships:
+ $ref: '#/components/schemas/SceneViewData_relationships'
+ links:
+ additionalProperties:
+ $ref: '#/components/schemas/Link'
+ type: object
+ required:
+ - attributes
+ - id
+ - type
+ type: object
WebhookSubscriptionData:
additionalProperties: false
properties:
@@ -11854,6 +12492,42 @@ components:
- links
- type
type: object
+ PermissionGrantee:
+ description: The grantee portion of a permission grant tuple
+ discriminator:
+ propertyName: type
+ oneOf:
+ - $ref: '#/components/schemas/GranteeAccount'
+ type: object
+ PermissionSubject:
+ description: A resource category subject to a permission grant
+ discriminator:
+ propertyName: domain
+ oneOf:
+ - $ref: '#/components/schemas/PartsDomainSubject'
+ - $ref: '#/components/schemas/PropertySetDomainSubject'
+ type: object
+ PermissionGrantData:
+ additionalProperties: false
+ description: A permission grant tuple
+ properties:
+ type:
+ enum:
+ - permission-grant
+ type: string
+ id:
+ description: ID of the resource.
+ example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3
+ format: uuid
+ maxLength: 36
+ type: string
+ attributes:
+ $ref: '#/components/schemas/CreatePermissionGrant_data_attributes'
+ required:
+ - attributes
+ - id
+ - type
+ type: object
Link:
additionalProperties: false
example:
@@ -11865,6 +12539,27 @@ components:
required:
- href
type: object
+ ArchiveManifestEntry:
+ additionalProperties: false
+ description: Represents a file and directory within an archive.
+ properties:
+ selector:
+ description: Represents a query to select a file.
+ discriminator:
+ mapping:
+ file-by-id: '#/components/schemas/SelectFileById'
+ file-by-supplied-id: '#/components/schemas/SelectFileBySuppliedId'
+ propertyName: type
+ oneOf:
+ - $ref: '#/components/schemas/SelectFileById'
+ - $ref: '#/components/schemas/SelectFileBySuppliedId'
+ directory:
+ description: The directory in the archive where the file will be placed.
+ maxLength: 4096
+ type: string
+ required:
+ - selector
+ type: object
BoundingBox:
additionalProperties: false
description: 3D bounding-box
@@ -11926,6 +12621,15 @@ components:
- id
- type
type: object
+ AccountRelationship:
+ additionalProperties: false
+ description: Relationship to an `account`.
+ properties:
+ data:
+ $ref: '#/components/schemas/AccountRelationship_data'
+ required:
+ - data
+ type: object
PartRevisionInstance:
additionalProperties: false
description: A reference to an existing PartRevision. Specify one and only one
@@ -12176,42 +12880,115 @@ components:
maxLength: 36
type: string
required:
- - id
+ - id
+ - type
+ type: object
+ ViewRepByPredefinedIdOp:
+ additionalProperties: false
+ properties:
+ type:
+ description: Resource object type.
+ enum:
+ - view-representation-by-predefined-id
+ example: view-representation-by-predefined-id
+ maxLength: 64
+ type: string
+ id:
+ description: A predefined representation identifier, such as `entire-part`.
+ enum:
+ - empty
+ - entire-part
+ example: entire-part
+ maxLength: 32
+ type: string
+ required:
+ - id
+ - type
+ type: object
+ ClearRepOp:
+ additionalProperties: false
+ properties:
+ type:
+ description: Resource object type.
+ enum:
+ - clear-representation
+ example: clear-representation
+ maxLength: 32
+ type: string
+ required:
- type
type: object
- ViewRepByPredefinedIdOp:
+ SceneItemQueryOperand:
additionalProperties: false
properties:
type:
- description: Resource object type.
+ description: The type of the expression denoting it as an operand
enum:
- - view-representation-by-predefined-id
- example: view-representation-by-predefined-id
- maxLength: 64
+ - query-operand
+ example: query-operand
+ maxLength: 32
type: string
- id:
- description: A predefined representation identifier, such as `entire-part`.
+ query:
+ description: Query Operand for searching `scene-items`.
+ oneOf:
+ - $ref: '#/components/schemas/QueryBySceneItemId'
+ - $ref: '#/components/schemas/QueryBySceneItemIds'
+ - $ref: '#/components/schemas/QueryByRoot'
+ - $ref: '#/components/schemas/QueryBySceneItemMetadata'
+ required:
+ - query
+ - type
+ type: object
+ SceneItemAndExpression:
+ additionalProperties: false
+ description: The union of the items of the provided queries
+ properties:
+ type:
+ description: The type of the expression
enum:
- - empty
- - entire-part
- example: entire-part
+ - and
+ example: and
maxLength: 32
type: string
+ left:
+ oneOf:
+ - $ref: '#/components/schemas/SceneItemQueryOperand'
+ - $ref: '#/components/schemas/SceneItemAndExpression'
+ - $ref: '#/components/schemas/SceneItemOrExpression'
+ right:
+ oneOf:
+ - $ref: '#/components/schemas/SceneItemQueryOperand'
+ - $ref: '#/components/schemas/SceneItemAndExpression'
+ - $ref: '#/components/schemas/SceneItemOrExpression'
required:
- - id
+ - left
+ - right
- type
type: object
- ClearRepOp:
+ SceneItemOrExpression:
additionalProperties: false
+ description: The join of the items of the provided queries
properties:
type:
- description: Resource object type.
+ description: The type of the expression
enum:
- - clear-representation
- example: clear-representation
+ - or
+ example: or
maxLength: 32
type: string
+ left:
+ oneOf:
+ - $ref: '#/components/schemas/SceneItemQueryOperand'
+ - $ref: '#/components/schemas/SceneItemAndExpression'
+ - $ref: '#/components/schemas/SceneItemOrExpression'
+ right:
+ oneOf:
+ - $ref: '#/components/schemas/SceneItemQueryOperand'
+ - $ref: '#/components/schemas/SceneItemAndExpression'
+ - $ref: '#/components/schemas/SceneItemOrExpression'
required:
+ - left
+ - right
- type
type: object
Vector4:
@@ -12496,6 +13273,159 @@ components:
minLength: 1
type: string
type: object
+ GranteeAccount:
+ additionalProperties: false
+ description: A reference to an account receiving a permission grant
+ properties:
+ type:
+ enum:
+ - account
+ type: string
+ id:
+ description: ID of the resource.
+ example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3
+ format: uuid
+ maxLength: 36
+ type: string
+ required:
+ - id
+ - type
+ type: object
+ PartsDomainSubject:
+ additionalProperties: false
+ description: A subject domain encompassing all part resources
+ properties:
+ domain:
+ enum:
+ - parts
+ type: string
+ required:
+ - domain
+ type: object
+ PropertySetDomainSubject:
+ additionalProperties: false
+ description: A subject domain encompassing all property set resources
+ properties:
+ domain:
+ enum:
+ - property-sets
+ type: string
+ required:
+ - domain
+ type: object
+ SelectFileById:
+ additionalProperties: false
+ description: Queries a file by its unique ID.
+ properties:
+ type:
+ enum:
+ - file-by-id
+ type: string
+ id:
+ description: ID of the resource.
+ example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3
+ format: uuid
+ maxLength: 36
+ type: string
+ required:
+ - id
+ - type
+ type: object
+ SelectFileBySuppliedId:
+ additionalProperties: false
+ description: Queries a file by its supplied ID.
+ properties:
+ type:
+ enum:
+ - file-by-supplied-id
+ type: string
+ id:
+ maxLength: 255
+ type: string
+ required:
+ - id
+ - type
+ type: object
+ QueryBySceneItemId:
+ additionalProperties: false
+ properties:
+ type:
+ description: Resource object type.
+ enum:
+ - query-by-id
+ - query-by-supplied-id
+ example: query-by-supplied-id
+ maxLength: 32
+ type: string
+ value:
+ description: ID of the resource.
+ maxLength: 1024
+ type: string
+ required:
+ - type
+ - value
+ type: object
+ QueryBySceneItemIds:
+ additionalProperties: false
+ properties:
+ type:
+ description: Resource object type.
+ enum:
+ - query-by-collection
+ example: query-by-collection
+ maxLength: 32
+ type: string
+ values:
+ description: Query `scene-items`.
+ items:
+ $ref: '#/components/schemas/QueryBySceneItemId'
+ maxItems: 1024
+ type: array
+ required:
+ - type
+ - values
+ type: object
+ QueryByRoot:
+ additionalProperties: false
+ description: Query the root items of a scene
+ properties:
+ type:
+ description: Resource object type.
+ enum:
+ - query-by-root
+ example: query-by-root
+ maxLength: 32
+ type: string
+ required:
+ - type
+ type: object
+ QueryBySceneItemMetadata:
+ additionalProperties: false
+ properties:
+ type:
+ description: Resource object type.
+ enum:
+ - query-by-metadata
+ example: query-by-metadata
+ maxLength: 32
+ type: string
+ exactMatch:
+ type: boolean
+ filter:
+ example: some-string
+ maxLength: 1024
+ minLength: 1
+ type: string
+ keys:
+ description: Query `metadata`.
+ items:
+ type: string
+ type: array
+ required:
+ - filter
+ - keys
+ - type
+ type: object
Color:
description: Color value from 0 to 255.
example: 255
@@ -12882,6 +13812,32 @@ components:
- attributes
- type
type: object
+ CreateFileJobRequest_data_attributes:
+ properties:
+ operation:
+ description: An object that describes the operation a file job will perform.
+ discriminator:
+ mapping:
+ file-archive-operation: '#/components/schemas/FileJobArchiveOperation'
+ propertyName: type
+ oneOf:
+ - $ref: '#/components/schemas/FileJobArchiveOperation'
+ required:
+ - operation
+ type: object
+ CreateFileJobRequest_data:
+ properties:
+ type:
+ description: Resource object type.
+ enum:
+ - file-job
+ type: string
+ attributes:
+ $ref: '#/components/schemas/CreateFileJobRequest_data_attributes'
+ required:
+ - attributes
+ - type
+ type: object
CreateGeometrySetRequest_data_relationships:
properties:
source:
@@ -13036,8 +13992,10 @@ components:
- $ref: '#/components/schemas/MetadataDateType'
- $ref: '#/components/schemas/MetadataStringType'
- $ref: '#/components/schemas/MetadataNullType'
+ deprecated: true
description: |
Metadata about the `part` and/or `part-revision`. This metadata will take precedence over any metadata that belongs to the part file if `indexMetadata` is specified.
+ This has been deprecated and replaced by the PATCH endpoint /property-entries
type: object
indexMetadata:
description: |
@@ -13185,8 +14143,10 @@ components:
- $ref: '#/components/schemas/MetadataDateType'
- $ref: '#/components/schemas/MetadataStringType'
- $ref: '#/components/schemas/MetadataNullType'
+ deprecated: true
description: |
Additional metadata about the `part` and/or `part-revision`. This metadata will take precedence over any metadata that belongs to the part file if `indexMetadata` is specified.
+ This has been deprecated and replaced by the PATCH endpoint /property-entries
type: object
name:
description: Name to be used for the root part.
@@ -13310,6 +14270,31 @@ components:
- attributes
- type
type: object
+ CreateSceneExpressionAlterationRequest_data_attributes:
+ properties:
+ operations:
+ description: List of operations to apply for the alteration request
+ items:
+ $ref: '#/components/schemas/SceneItemExpressionOperation'
+ maxItems: 1024
+ type: array
+ required:
+ - operations
+ type: object
+ CreateSceneExpressionAlterationRequest_data:
+ properties:
+ type:
+ description: Resource object type.
+ enum:
+ - scene-alteration-expression
+ example: scene-alteration-expression
+ type: string
+ attributes:
+ $ref: '#/components/schemas/CreateSceneExpressionAlterationRequest_data_attributes'
+ required:
+ - attributes
+ - type
+ type: object
UpdateSceneItemOverrideRequest_data_attributes:
properties:
visible:
@@ -13717,7 +14702,7 @@ components:
type: string
withSearchSession:
description: Optionally enables or disables the creation of a search session
- for the view.
+ for the view. The default creates a session for the scene-view
example: true
type: boolean
type: object
@@ -13914,6 +14899,34 @@ components:
- relationships
- type
type: object
+ CreateSearchSessionRequest_data_attributes:
+ properties:
+ expiry:
+ description: Number of seconds before the search session is deleted.
+ format: int32
+ type: integer
+ type: object
+ CreateSearchSessionRequest_data_relationships:
+ properties:
+ scene:
+ $ref: '#/components/schemas/SceneRelationship'
+ type: object
+ CreateSearchSessionRequest_data:
+ properties:
+ type:
+ description: Resource object type.
+ enum:
+ - search-session
+ type: string
+ attributes:
+ $ref: '#/components/schemas/CreateSearchSessionRequest_data_attributes'
+ relationships:
+ $ref: '#/components/schemas/CreateSearchSessionRequest_data_relationships'
+ required:
+ - attributes
+ - relationships
+ - type
+ type: object
CreateWebhookSubscriptionRequest_data_attributes:
properties:
url:
@@ -13974,6 +14987,33 @@ components:
- attributes
- type
type: object
+ CreatePermissionGrant_data_attributes:
+ properties:
+ grantee:
+ $ref: '#/components/schemas/PermissionGrantee'
+ subject:
+ $ref: '#/components/schemas/PermissionSubject'
+ capability:
+ enum:
+ - read
+ type: string
+ required:
+ - capability
+ - grantee
+ - subject
+ type: object
+ CreatePermissionGrant_data:
+ properties:
+ type:
+ enum:
+ - permission-grant
+ type: string
+ attributes:
+ $ref: '#/components/schemas/CreatePermissionGrant_data_attributes'
+ required:
+ - attributes
+ - type
+ type: object
ApiError_source:
properties:
pointer:
@@ -14182,6 +15222,8 @@ components:
- $ref: '#/components/schemas/MetadataDateType'
- $ref: '#/components/schemas/MetadataStringType'
- $ref: '#/components/schemas/MetadataNullType'
+ deprecated: true
+ description: This has been deprecated and replaced by the GET endpoint /property-entries
type: object
name:
example: some-string
@@ -14230,6 +15272,8 @@ components:
- $ref: '#/components/schemas/MetadataDateType'
- $ref: '#/components/schemas/MetadataStringType'
- $ref: '#/components/schemas/MetadataNullType'
+ deprecated: true
+ description: This has been deprecated and replaced by the GET endpoint /property-entries
type: object
suppliedId:
example: some-string
@@ -14363,6 +15407,8 @@ components:
items:
$ref: '#/components/schemas/PartData_relationships_partRevisions'
type: array
+ owner:
+ $ref: '#/components/schemas/AccountRelationship'
required:
- partRevisions
type: object
@@ -14380,8 +15426,10 @@ components:
- $ref: '#/components/schemas/MetadataDateType'
- $ref: '#/components/schemas/MetadataStringType'
- $ref: '#/components/schemas/MetadataNullType'
+ deprecated: true
description: |
Additional metadata about the `part` and/or `part-revision`.
+ This has been deprecated and replaced by the PATCH endpoint /property-entries
type: object
required:
- children
@@ -14574,8 +15622,10 @@ components:
- $ref: '#/components/schemas/MetadataDateType'
- $ref: '#/components/schemas/MetadataStringType'
- $ref: '#/components/schemas/MetadataNullType'
+ deprecated: true
description: |
Additional metadata for the scene-item. This metadata will take precedence over any metadata that belongs to the part file.
+ This has been deprecated and replaced by the PATCH endpoint /property-entries.
type: object
experimentalSourceMetadataKeys:
description: |
@@ -14932,6 +15982,13 @@ components:
- created
- downloadUrl
type: object
+ SearchSessionData_attributes:
+ properties:
+ status:
+ type: string
+ required:
+ - status
+ type: object
WebhookSubscriptionData_attributes:
properties:
url:
@@ -14960,6 +16017,24 @@ components:
- topics
- url
type: object
+ AccountRelationship_data:
+ properties:
+ type:
+ description: Resource object type.
+ enum:
+ - account
+ example: account
+ type: string
+ id:
+ description: ID of the resource.
+ example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3
+ format: uuid
+ maxLength: 36
+ type: string
+ required:
+ - id
+ - type
+ type: object
QueryById_data_attributes:
properties:
type:
diff --git a/build.gradle b/build.gradle
index 426d8637..98ce7ff8 100644
--- a/build.gradle
+++ b/build.gradle
@@ -7,7 +7,7 @@ plugins {
}
group = 'com.vertexvis'
-version = '0.10.0'
+version = '0.11.0'
repositories {
mavenCentral()
diff --git a/scripts/generate.sh b/scripts/generate.sh
index 6462d05f..2e71e464 100755
--- a/scripts/generate.sh
+++ b/scripts/generate.sh
@@ -29,7 +29,13 @@ main() {
AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship.java \
OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType.java \
AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject.java \
- AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType.java )
+ AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType.java \
+ OneOfFileJobArchiveOperation.java \
+ OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression.java \
+ OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp.java \
+ OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata.java \
+ OneOfSelectFileByIdSelectFileBySuppliedId.java \
+ OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequest.java )
mv "src/test" . || true
for f in "${root[@]}"; do mv "src/main/java/com/vertexvis/$f" . || true; done
for f in "${auth[@]}"; do mv "src/main/java/com/vertexvis/auth/$f" . || true; done
@@ -50,7 +56,7 @@ main() {
local version
version=$(_get_version)
- sed -i "s|OpenAPI-Generator/1.0/java|vertex-api-client-java/$version|" src/main/java/com/vertexvis/ApiClient.java
+ sed -i "" "s|OpenAPI-Generator/1.0/java|vertex-api-client-java/$version|" src/main/java/com/vertexvis/ApiClient.java
}
main "$@"
diff --git a/src/main/java/com/vertexvis/ApiClient.java b/src/main/java/com/vertexvis/ApiClient.java
index 24037135..84e02b82 100644
--- a/src/main/java/com/vertexvis/ApiClient.java
+++ b/src/main/java/com/vertexvis/ApiClient.java
@@ -207,7 +207,7 @@ private void init() {
json = new JSON();
// Set default User-Agent.
- setUserAgent("vertex-api-client-java/0.10.0");
+ setUserAgent("vertex-api-client-java/0.11.0");
authentications = new HashMap();
}
diff --git a/src/main/java/com/vertexvis/JSON.java b/src/main/java/com/vertexvis/JSON.java
index d0e6546b..23fe9829 100644
--- a/src/main/java/com/vertexvis/JSON.java
+++ b/src/main/java/com/vertexvis/JSON.java
@@ -141,6 +141,26 @@ public JSON() {
AnyOfGeometrySetDataPartRevisionDataPartRenditionData.class,
new AnyOfGeometrySetDataPartRevisionDataPartRenditionDataTypeAdapter(() -> gson)
)
+ .registerTypeAdapter(
+ OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequest.class,
+ new OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequestTypeAdapter(() -> gson)
+ )
+ .registerTypeAdapter(
+ OneOfSelectFileByIdSelectFileBySuppliedId.class,
+ new OneOfSelectFileByIdSelectFileBySuppliedIdTypeAdapter(() -> gson)
+ )
+ .registerTypeAdapter(
+ OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata.class,
+ new OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadataTypeAdapter(() -> gson)
+ )
+ .registerTypeAdapter(
+ OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression.class,
+ new OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpressionTypeAdapter(() -> gson)
+ )
+ .registerTypeAdapter(
+ OneOfFileJobArchiveOperation.class,
+ new OneOfFileJobArchiveOperationTypeAdapter(() -> gson)
+ )
.create();
}
diff --git a/src/main/java/com/vertexvis/api/FileJobsApi.java b/src/main/java/com/vertexvis/api/FileJobsApi.java
new file mode 100644
index 00000000..3bc967df
--- /dev/null
+++ b/src/main/java/com/vertexvis/api/FileJobsApi.java
@@ -0,0 +1,353 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.api;
+
+import com.vertexvis.ApiCallback;
+import com.vertexvis.ApiClient;
+import com.vertexvis.ApiException;
+import com.vertexvis.ApiResponse;
+import com.vertexvis.Configuration;
+import com.vertexvis.Pair;
+import com.vertexvis.ProgressRequestBody;
+import com.vertexvis.ProgressResponseBody;
+
+import com.google.gson.reflect.TypeToken;
+
+import java.io.IOException;
+
+
+import com.vertexvis.model.CreateFileJobRequest;
+import com.vertexvis.model.Failure;
+import com.vertexvis.model.QueuedJob;
+import java.util.UUID;
+
+import java.lang.reflect.Type;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+public class FileJobsApi {
+ private ApiClient localVarApiClient;
+ private int localHostIndex;
+ private String localCustomBaseUrl;
+
+ public FileJobsApi() {
+ this(Configuration.getDefaultApiClient());
+ }
+
+ public FileJobsApi(ApiClient apiClient) {
+ this.localVarApiClient = apiClient;
+ }
+
+ public ApiClient getApiClient() {
+ return localVarApiClient;
+ }
+
+ public void setApiClient(ApiClient apiClient) {
+ this.localVarApiClient = apiClient;
+ }
+
+ public int getHostIndex() {
+ return localHostIndex;
+ }
+
+ public void setHostIndex(int hostIndex) {
+ this.localHostIndex = hostIndex;
+ }
+
+ public String getCustomBaseUrl() {
+ return localCustomBaseUrl;
+ }
+
+ public void setCustomBaseUrl(String customBaseUrl) {
+ this.localCustomBaseUrl = customBaseUrl;
+ }
+
+ /**
+ * Build call for createFileJob
+ * @param createFileJobRequest (required)
+ * @param _callback Callback for upload/download progress
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 201 | OK | - |
+ | 401 | Unauthorized | - |
+ | 415 | Unsupported Media Type | - |
+
+ */
+ public okhttp3.Call createFileJobCall(CreateFileJobRequest createFileJobRequest, 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 = createFileJobRequest;
+
+ // create path and map variables
+ String localVarPath = "/file-jobs";
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+ Map localVarHeaderParams = new HashMap();
+ Map localVarCookieParams = new HashMap();
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/vnd.api+json"
+ };
+ final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) {
+ localVarHeaderParams.put("Accept", localVarAccept);
+ }
+
+ final String[] localVarContentTypes = {
+ "application/vnd.api+json"
+ };
+ final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
+ if (localVarContentType != null) {
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+ }
+
+ String[] localVarAuthNames = new String[] { "OAuth2" };
+ return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private okhttp3.Call createFileJobValidateBeforeCall(CreateFileJobRequest createFileJobRequest, final ApiCallback _callback) throws ApiException {
+
+ // verify the required parameter 'createFileJobRequest' is set
+ if (createFileJobRequest == null) {
+ throw new ApiException("Missing the required parameter 'createFileJobRequest' when calling createFileJob(Async)");
+ }
+
+
+ okhttp3.Call localVarCall = createFileJobCall(createFileJobRequest, _callback);
+ return localVarCall;
+
+ }
+
+ /**
+ *
+ * Create a `file-job`.
+ * @param createFileJobRequest (required)
+ * @return QueuedJob
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 201 | OK | - |
+ | 401 | Unauthorized | - |
+ | 415 | Unsupported Media Type | - |
+
+ */
+ public QueuedJob createFileJob(CreateFileJobRequest createFileJobRequest) throws ApiException {
+ ApiResponse localVarResp = createFileJobWithHttpInfo(createFileJobRequest);
+ return localVarResp.getData();
+ }
+
+ /**
+ *
+ * Create a `file-job`.
+ * @param createFileJobRequest (required)
+ * @return ApiResponse<QueuedJob>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 201 | OK | - |
+ | 401 | Unauthorized | - |
+ | 415 | Unsupported Media Type | - |
+
+ */
+ public ApiResponse createFileJobWithHttpInfo(CreateFileJobRequest createFileJobRequest) throws ApiException {
+ okhttp3.Call localVarCall = createFileJobValidateBeforeCall(createFileJobRequest, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return localVarApiClient.execute(localVarCall, localVarReturnType);
+ }
+
+ /**
+ * (asynchronously)
+ * Create a `file-job`.
+ * @param createFileJobRequest (required)
+ * @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
+
+ | Status Code | Description | Response Headers |
+ | 201 | OK | - |
+ | 401 | Unauthorized | - |
+ | 415 | Unsupported Media Type | - |
+
+ */
+ public okhttp3.Call createFileJobAsync(CreateFileJobRequest createFileJobRequest, final ApiCallback _callback) throws ApiException {
+
+ okhttp3.Call localVarCall = createFileJobValidateBeforeCall(createFileJobRequest, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
+ return localVarCall;
+ }
+ /**
+ * Build call for getFileJob
+ * @param id The ID of a file job. (required)
+ * @param _callback Callback for upload/download progress
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 401 | Unauthorized | - |
+ | 404 | Not Found | - |
+ | 415 | Unsupported Media Type | - |
+
+ */
+ public okhttp3.Call getFileJobCall(UUID id, 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 = "/file-jobs/{id}"
+ .replaceAll("\\{" + "id" + "\\}", localVarApiClient.escapeString(id.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/vnd.api+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[] { "OAuth2" };
+ return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private okhttp3.Call getFileJobValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException {
+
+ // verify the required parameter 'id' is set
+ if (id == null) {
+ throw new ApiException("Missing the required parameter 'id' when calling getFileJob(Async)");
+ }
+
+
+ okhttp3.Call localVarCall = getFileJobCall(id, _callback);
+ return localVarCall;
+
+ }
+
+ /**
+ *
+ * Get the status and result of a `file-job`.
+ * @param id The ID of a file job. (required)
+ * @return QueuedJob
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 401 | Unauthorized | - |
+ | 404 | Not Found | - |
+ | 415 | Unsupported Media Type | - |
+
+ */
+ public QueuedJob getFileJob(UUID id) throws ApiException {
+ ApiResponse localVarResp = getFileJobWithHttpInfo(id);
+ return localVarResp.getData();
+ }
+
+ /**
+ *
+ * Get the status and result of a `file-job`.
+ * @param id The ID of a file job. (required)
+ * @return ApiResponse<QueuedJob>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 401 | Unauthorized | - |
+ | 404 | Not Found | - |
+ | 415 | Unsupported Media Type | - |
+
+ */
+ public ApiResponse getFileJobWithHttpInfo(UUID id) throws ApiException {
+ okhttp3.Call localVarCall = getFileJobValidateBeforeCall(id, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return localVarApiClient.execute(localVarCall, localVarReturnType);
+ }
+
+ /**
+ * (asynchronously)
+ * Get the status and result of a `file-job`.
+ * @param id The ID of a file job. (required)
+ * @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
+
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 401 | Unauthorized | - |
+ | 404 | Not Found | - |
+ | 415 | Unsupported Media Type | - |
+
+ */
+ public okhttp3.Call getFileJobAsync(UUID id, final ApiCallback _callback) throws ApiException {
+
+ okhttp3.Call localVarCall = getFileJobValidateBeforeCall(id, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
+ return localVarCall;
+ }
+}
diff --git a/src/main/java/com/vertexvis/api/PartRevisionInstancesApi.java b/src/main/java/com/vertexvis/api/PartRevisionInstancesApi.java
index be1da4d3..00595296 100644
--- a/src/main/java/com/vertexvis/api/PartRevisionInstancesApi.java
+++ b/src/main/java/com/vertexvis/api/PartRevisionInstancesApi.java
@@ -161,7 +161,7 @@ private okhttp3.Call getPartRevisionInstanceListValidateBeforeCall(UUID filterPa
/**
*
- * Gets a page of 'part-revision' instances. An instance is an occurence of a revision that is a child of a parent revision. The returned data will have the ordinal used for ordering and the transform matrix for each occurrence.
+ * Gets a page of 'part-revision' instances. An instance is an occurrence of a revision that is a child of a parent revision. The returned data will have the ordinal used for ordering and the transform matrix for each occurrence.
* @param filterParent Parent ID to filter on. (optional)
* @param pageCursor The cursor for the next page of items. (optional)
* @param pageSize The number of items to return. (optional)
@@ -184,7 +184,7 @@ public PartRevisionInstanceList getPartRevisionInstanceList(UUID filterParent, S
/**
*
- * Gets a page of 'part-revision' instances. An instance is an occurence of a revision that is a child of a parent revision. The returned data will have the ordinal used for ordering and the transform matrix for each occurrence.
+ * Gets a page of 'part-revision' instances. An instance is an occurrence of a revision that is a child of a parent revision. The returned data will have the ordinal used for ordering and the transform matrix for each occurrence.
* @param filterParent Parent ID to filter on. (optional)
* @param pageCursor The cursor for the next page of items. (optional)
* @param pageSize The number of items to return. (optional)
@@ -208,7 +208,7 @@ public ApiResponse getPartRevisionInstanceListWithHttp
/**
* (asynchronously)
- * Gets a page of 'part-revision' instances. An instance is an occurence of a revision that is a child of a parent revision. The returned data will have the ordinal used for ordering and the transform matrix for each occurrence.
+ * Gets a page of 'part-revision' instances. An instance is an occurrence of a revision that is a child of a parent revision. The returned data will have the ordinal used for ordering and the transform matrix for each occurrence.
* @param filterParent Parent ID to filter on. (optional)
* @param pageCursor The cursor for the next page of items. (optional)
* @param pageSize The number of items to return. (optional)
diff --git a/src/main/java/com/vertexvis/api/PartsApi.java b/src/main/java/com/vertexvis/api/PartsApi.java
index 2f3f814c..30f6e87c 100644
--- a/src/main/java/com/vertexvis/api/PartsApi.java
+++ b/src/main/java/com/vertexvis/api/PartsApi.java
@@ -513,6 +513,7 @@ public okhttp3.Call getPartAsync(UUID id, String include, final ApiCallback 415 | Unsupported Media Type | - |
*/
- public okhttp3.Call getPartsCall(String pageCursor, Integer pageSize, String filterSuppliedId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getPartsCall(String pageCursor, Integer pageSize, String filterSuppliedId, UUID filterOwnerId, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
@@ -562,6 +563,10 @@ public okhttp3.Call getPartsCall(String pageCursor, Integer pageSize, String fil
localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[suppliedId]", filterSuppliedId));
}
+ if (filterOwnerId != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[ownerId]", filterOwnerId));
+ }
+
final String[] localVarAccepts = {
"application/vnd.api+json"
};
@@ -583,10 +588,10 @@ public okhttp3.Call getPartsCall(String pageCursor, Integer pageSize, String fil
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getPartsValidateBeforeCall(String pageCursor, Integer pageSize, String filterSuppliedId, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getPartsValidateBeforeCall(String pageCursor, Integer pageSize, String filterSuppliedId, UUID filterOwnerId, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = getPartsCall(pageCursor, pageSize, filterSuppliedId, _callback);
+ okhttp3.Call localVarCall = getPartsCall(pageCursor, pageSize, filterSuppliedId, filterOwnerId, _callback);
return localVarCall;
}
@@ -597,6 +602,7 @@ private okhttp3.Call getPartsValidateBeforeCall(String pageCursor, Integer pageS
* @param pageCursor The cursor for the next page of items. (optional)
* @param pageSize The number of items to return. (optional)
* @param filterSuppliedId Comma-separated list of supplied IDs to filter on. (optional)
+ * @param filterOwnerId Owner ID to filter on. (optional)
* @return PartList
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -607,8 +613,8 @@ private okhttp3.Call getPartsValidateBeforeCall(String pageCursor, Integer pageS
| 415 | Unsupported Media Type | - |
*/
- public PartList getParts(String pageCursor, Integer pageSize, String filterSuppliedId) throws ApiException {
- ApiResponse localVarResp = getPartsWithHttpInfo(pageCursor, pageSize, filterSuppliedId);
+ public PartList getParts(String pageCursor, Integer pageSize, String filterSuppliedId, UUID filterOwnerId) throws ApiException {
+ ApiResponse localVarResp = getPartsWithHttpInfo(pageCursor, pageSize, filterSuppliedId, filterOwnerId);
return localVarResp.getData();
}
@@ -618,6 +624,7 @@ public PartList getParts(String pageCursor, Integer pageSize, String filterSuppl
* @param pageCursor The cursor for the next page of items. (optional)
* @param pageSize The number of items to return. (optional)
* @param filterSuppliedId Comma-separated list of supplied IDs to filter on. (optional)
+ * @param filterOwnerId Owner ID to filter on. (optional)
* @return ApiResponse<PartList>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -628,8 +635,8 @@ public PartList getParts(String pageCursor, Integer pageSize, String filterSuppl
| 415 | Unsupported Media Type | - |
*/
- public ApiResponse getPartsWithHttpInfo(String pageCursor, Integer pageSize, String filterSuppliedId) throws ApiException {
- okhttp3.Call localVarCall = getPartsValidateBeforeCall(pageCursor, pageSize, filterSuppliedId, null);
+ public ApiResponse getPartsWithHttpInfo(String pageCursor, Integer pageSize, String filterSuppliedId, UUID filterOwnerId) throws ApiException {
+ okhttp3.Call localVarCall = getPartsValidateBeforeCall(pageCursor, pageSize, filterSuppliedId, filterOwnerId, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
@@ -640,6 +647,7 @@ public ApiResponse getPartsWithHttpInfo(String pageCursor, Integer pag
* @param pageCursor The cursor for the next page of items. (optional)
* @param pageSize The number of items to return. (optional)
* @param filterSuppliedId Comma-separated list of supplied IDs to filter on. (optional)
+ * @param filterOwnerId Owner ID to filter on. (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
@@ -651,9 +659,9 @@ public ApiResponse getPartsWithHttpInfo(String pageCursor, Integer pag
| 415 | Unsupported Media Type | - |
*/
- public okhttp3.Call getPartsAsync(String pageCursor, Integer pageSize, String filterSuppliedId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getPartsAsync(String pageCursor, Integer pageSize, String filterSuppliedId, UUID filterOwnerId, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = getPartsValidateBeforeCall(pageCursor, pageSize, filterSuppliedId, _callback);
+ okhttp3.Call localVarCall = getPartsValidateBeforeCall(pageCursor, pageSize, filterSuppliedId, filterOwnerId, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
diff --git a/src/main/java/com/vertexvis/api/PermissionGrantsApi.java b/src/main/java/com/vertexvis/api/PermissionGrantsApi.java
new file mode 100644
index 00000000..db40449a
--- /dev/null
+++ b/src/main/java/com/vertexvis/api/PermissionGrantsApi.java
@@ -0,0 +1,624 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.api;
+
+import com.vertexvis.ApiCallback;
+import com.vertexvis.ApiClient;
+import com.vertexvis.ApiException;
+import com.vertexvis.ApiResponse;
+import com.vertexvis.Configuration;
+import com.vertexvis.Pair;
+import com.vertexvis.ProgressRequestBody;
+import com.vertexvis.ProgressResponseBody;
+
+import com.google.gson.reflect.TypeToken;
+
+import java.io.IOException;
+
+
+import com.vertexvis.model.CreatePermissionGrant;
+import com.vertexvis.model.Failure;
+import com.vertexvis.model.PermissionGrant;
+import com.vertexvis.model.PermissionGrantList;
+import java.util.UUID;
+
+import java.lang.reflect.Type;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+public class PermissionGrantsApi {
+ private ApiClient localVarApiClient;
+ private int localHostIndex;
+ private String localCustomBaseUrl;
+
+ public PermissionGrantsApi() {
+ this(Configuration.getDefaultApiClient());
+ }
+
+ public PermissionGrantsApi(ApiClient apiClient) {
+ this.localVarApiClient = apiClient;
+ }
+
+ public ApiClient getApiClient() {
+ return localVarApiClient;
+ }
+
+ public void setApiClient(ApiClient apiClient) {
+ this.localVarApiClient = apiClient;
+ }
+
+ public int getHostIndex() {
+ return localHostIndex;
+ }
+
+ public void setHostIndex(int hostIndex) {
+ this.localHostIndex = hostIndex;
+ }
+
+ public String getCustomBaseUrl() {
+ return localCustomBaseUrl;
+ }
+
+ public void setCustomBaseUrl(String customBaseUrl) {
+ this.localCustomBaseUrl = customBaseUrl;
+ }
+
+ /**
+ * Build call for createPermissionGrant
+ * @param createPermissionGrant (required)
+ * @param _callback Callback for upload/download progress
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 201 | OK | - |
+ | 400 | Bad Request | - |
+ | 401 | Unauthorized | - |
+ | 409 | Conflict | - |
+
+ */
+ public okhttp3.Call createPermissionGrantCall(CreatePermissionGrant createPermissionGrant, 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 = createPermissionGrant;
+
+ // create path and map variables
+ String localVarPath = "/permission-grants";
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+ Map localVarHeaderParams = new HashMap();
+ Map localVarCookieParams = new HashMap();
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/vnd.api+json"
+ };
+ final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) {
+ localVarHeaderParams.put("Accept", localVarAccept);
+ }
+
+ final String[] localVarContentTypes = {
+ "application/vnd.api+json"
+ };
+ final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
+ if (localVarContentType != null) {
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+ }
+
+ String[] localVarAuthNames = new String[] { "OAuth2" };
+ return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private okhttp3.Call createPermissionGrantValidateBeforeCall(CreatePermissionGrant createPermissionGrant, final ApiCallback _callback) throws ApiException {
+
+ // verify the required parameter 'createPermissionGrant' is set
+ if (createPermissionGrant == null) {
+ throw new ApiException("Missing the required parameter 'createPermissionGrant' when calling createPermissionGrant(Async)");
+ }
+
+
+ okhttp3.Call localVarCall = createPermissionGrantCall(createPermissionGrant, _callback);
+ return localVarCall;
+
+ }
+
+ /**
+ * Create a permission grant for a grantee to a subject resource
+ * Create a permission grant for a grantee to a subject resource
+ * @param createPermissionGrant (required)
+ * @return PermissionGrant
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 201 | OK | - |
+ | 400 | Bad Request | - |
+ | 401 | Unauthorized | - |
+ | 409 | Conflict | - |
+
+ */
+ public PermissionGrant createPermissionGrant(CreatePermissionGrant createPermissionGrant) throws ApiException {
+ ApiResponse localVarResp = createPermissionGrantWithHttpInfo(createPermissionGrant);
+ return localVarResp.getData();
+ }
+
+ /**
+ * Create a permission grant for a grantee to a subject resource
+ * Create a permission grant for a grantee to a subject resource
+ * @param createPermissionGrant (required)
+ * @return ApiResponse<PermissionGrant>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 201 | OK | - |
+ | 400 | Bad Request | - |
+ | 401 | Unauthorized | - |
+ | 409 | Conflict | - |
+
+ */
+ public ApiResponse createPermissionGrantWithHttpInfo(CreatePermissionGrant createPermissionGrant) throws ApiException {
+ okhttp3.Call localVarCall = createPermissionGrantValidateBeforeCall(createPermissionGrant, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return localVarApiClient.execute(localVarCall, localVarReturnType);
+ }
+
+ /**
+ * Create a permission grant for a grantee to a subject resource (asynchronously)
+ * Create a permission grant for a grantee to a subject resource
+ * @param createPermissionGrant (required)
+ * @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
+
+ | Status Code | Description | Response Headers |
+ | 201 | OK | - |
+ | 400 | Bad Request | - |
+ | 401 | Unauthorized | - |
+ | 409 | Conflict | - |
+
+ */
+ public okhttp3.Call createPermissionGrantAsync(CreatePermissionGrant createPermissionGrant, final ApiCallback _callback) throws ApiException {
+
+ okhttp3.Call localVarCall = createPermissionGrantValidateBeforeCall(createPermissionGrant, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
+ return localVarCall;
+ }
+ /**
+ * Build call for getPermissionGrant
+ * @param id The permission grant ID. (required)
+ * @param _callback Callback for upload/download progress
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 400 | Bad Request | - |
+ | 401 | Unauthorized | - |
+
+ */
+ public okhttp3.Call getPermissionGrantCall(UUID id, 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 = "/permission-grants/{id}"
+ .replaceAll("\\{" + "id" + "\\}", localVarApiClient.escapeString(id.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/vnd.api+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[] { "OAuth2" };
+ return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private okhttp3.Call getPermissionGrantValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException {
+
+ // verify the required parameter 'id' is set
+ if (id == null) {
+ throw new ApiException("Missing the required parameter 'id' when calling getPermissionGrant(Async)");
+ }
+
+
+ okhttp3.Call localVarCall = getPermissionGrantCall(id, _callback);
+ return localVarCall;
+
+ }
+
+ /**
+ * Get a permission grant by ID
+ * Get a permission grant by ID
+ * @param id The permission grant ID. (required)
+ * @return PermissionGrant
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 400 | Bad Request | - |
+ | 401 | Unauthorized | - |
+
+ */
+ public PermissionGrant getPermissionGrant(UUID id) throws ApiException {
+ ApiResponse localVarResp = getPermissionGrantWithHttpInfo(id);
+ return localVarResp.getData();
+ }
+
+ /**
+ * Get a permission grant by ID
+ * Get a permission grant by ID
+ * @param id The permission grant ID. (required)
+ * @return ApiResponse<PermissionGrant>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 400 | Bad Request | - |
+ | 401 | Unauthorized | - |
+
+ */
+ public ApiResponse getPermissionGrantWithHttpInfo(UUID id) throws ApiException {
+ okhttp3.Call localVarCall = getPermissionGrantValidateBeforeCall(id, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return localVarApiClient.execute(localVarCall, localVarReturnType);
+ }
+
+ /**
+ * Get a permission grant by ID (asynchronously)
+ * Get a permission grant by ID
+ * @param id The permission grant ID. (required)
+ * @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
+
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 400 | Bad Request | - |
+ | 401 | Unauthorized | - |
+
+ */
+ public okhttp3.Call getPermissionGrantAsync(UUID id, final ApiCallback _callback) throws ApiException {
+
+ okhttp3.Call localVarCall = getPermissionGrantValidateBeforeCall(id, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
+ return localVarCall;
+ }
+ /**
+ * Build call for listPermissionGrants
+ * @param pageCursor The cursor for the next page of items. (optional)
+ * @param pageSize The number of items to return. (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
+
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 401 | Unauthorized | - |
+
+ */
+ public okhttp3.Call listPermissionGrantsCall(String pageCursor, Integer pageSize, 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 = "/permission-grants";
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+ Map localVarHeaderParams = new HashMap();
+ Map localVarCookieParams = new HashMap();
+ Map localVarFormParams = new HashMap();
+
+ if (pageCursor != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("page[cursor]", pageCursor));
+ }
+
+ if (pageSize != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("page[size]", pageSize));
+ }
+
+ final String[] localVarAccepts = {
+ "application/vnd.api+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[] { "OAuth2" };
+ return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private okhttp3.Call listPermissionGrantsValidateBeforeCall(String pageCursor, Integer pageSize, final ApiCallback _callback) throws ApiException {
+
+
+ okhttp3.Call localVarCall = listPermissionGrantsCall(pageCursor, pageSize, _callback);
+ return localVarCall;
+
+ }
+
+ /**
+ * List all permission grants
+ * List all permission grants
+ * @param pageCursor The cursor for the next page of items. (optional)
+ * @param pageSize The number of items to return. (optional)
+ * @return PermissionGrantList
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 401 | Unauthorized | - |
+
+ */
+ public PermissionGrantList listPermissionGrants(String pageCursor, Integer pageSize) throws ApiException {
+ ApiResponse localVarResp = listPermissionGrantsWithHttpInfo(pageCursor, pageSize);
+ return localVarResp.getData();
+ }
+
+ /**
+ * List all permission grants
+ * List all permission grants
+ * @param pageCursor The cursor for the next page of items. (optional)
+ * @param pageSize The number of items to return. (optional)
+ * @return ApiResponse<PermissionGrantList>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 401 | Unauthorized | - |
+
+ */
+ public ApiResponse listPermissionGrantsWithHttpInfo(String pageCursor, Integer pageSize) throws ApiException {
+ okhttp3.Call localVarCall = listPermissionGrantsValidateBeforeCall(pageCursor, pageSize, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return localVarApiClient.execute(localVarCall, localVarReturnType);
+ }
+
+ /**
+ * List all permission grants (asynchronously)
+ * List all permission grants
+ * @param pageCursor The cursor for the next page of items. (optional)
+ * @param pageSize The number of items to return. (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
+
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 401 | Unauthorized | - |
+
+ */
+ public okhttp3.Call listPermissionGrantsAsync(String pageCursor, Integer pageSize, final ApiCallback _callback) throws ApiException {
+
+ okhttp3.Call localVarCall = listPermissionGrantsValidateBeforeCall(pageCursor, pageSize, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
+ return localVarCall;
+ }
+ /**
+ * Build call for removePermissionGrant
+ * @param id The permission grant ID. (required)
+ * @param _callback Callback for upload/download progress
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 204 | No Content | - |
+ | 400 | Bad Request | - |
+ | 401 | Unauthorized | - |
+
+ */
+ public okhttp3.Call removePermissionGrantCall(UUID id, 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 = "/permission-grants/{id}"
+ .replaceAll("\\{" + "id" + "\\}", localVarApiClient.escapeString(id.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/vnd.api+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[] { "OAuth2" };
+ return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private okhttp3.Call removePermissionGrantValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException {
+
+ // verify the required parameter 'id' is set
+ if (id == null) {
+ throw new ApiException("Missing the required parameter 'id' when calling removePermissionGrant(Async)");
+ }
+
+
+ okhttp3.Call localVarCall = removePermissionGrantCall(id, _callback);
+ return localVarCall;
+
+ }
+
+ /**
+ * Remove a permission grant by ID
+ * Remove a permission grant by ID
+ * @param id The permission grant ID. (required)
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 204 | No Content | - |
+ | 400 | Bad Request | - |
+ | 401 | Unauthorized | - |
+
+ */
+ public void removePermissionGrant(UUID id) throws ApiException {
+ removePermissionGrantWithHttpInfo(id);
+ }
+
+ /**
+ * Remove a permission grant by ID
+ * Remove a permission grant by ID
+ * @param id The permission grant ID. (required)
+ * @return ApiResponse<Void>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 204 | No Content | - |
+ | 400 | Bad Request | - |
+ | 401 | Unauthorized | - |
+
+ */
+ public ApiResponse removePermissionGrantWithHttpInfo(UUID id) throws ApiException {
+ okhttp3.Call localVarCall = removePermissionGrantValidateBeforeCall(id, null);
+ return localVarApiClient.execute(localVarCall);
+ }
+
+ /**
+ * Remove a permission grant by ID (asynchronously)
+ * Remove a permission grant by ID
+ * @param id The permission grant ID. (required)
+ * @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
+
+ | Status Code | Description | Response Headers |
+ | 204 | No Content | - |
+ | 400 | Bad Request | - |
+ | 401 | Unauthorized | - |
+
+ */
+ public okhttp3.Call removePermissionGrantAsync(UUID id, final ApiCallback _callback) throws ApiException {
+
+ okhttp3.Call localVarCall = removePermissionGrantValidateBeforeCall(id, _callback);
+ localVarApiClient.executeAsync(localVarCall, _callback);
+ return localVarCall;
+ }
+}
diff --git a/src/main/java/com/vertexvis/api/PropertyEntriesApi.java b/src/main/java/com/vertexvis/api/PropertyEntriesApi.java
index fa6abbaa..8acfc926 100644
--- a/src/main/java/com/vertexvis/api/PropertyEntriesApi.java
+++ b/src/main/java/com/vertexvis/api/PropertyEntriesApi.java
@@ -165,7 +165,7 @@ private okhttp3.Call getPropertyEntriesValidateBeforeCall(String pageCursor, Int
/**
*
- * Get `property-entries` by a resource ID **Preview:** This is a preview API and is subject to change.
+ * Get `property-entries` by a resource ID
* @param pageCursor The cursor for the next page of items. (optional)
* @param pageSize The number of items to return. (optional)
* @param filterResourceId A resource ID to filter on (optional)
@@ -187,7 +187,7 @@ public PropertyEntryList getPropertyEntries(String pageCursor, Integer pageSize,
/**
*
- * Get `property-entries` by a resource ID **Preview:** This is a preview API and is subject to change.
+ * Get `property-entries` by a resource ID
* @param pageCursor The cursor for the next page of items. (optional)
* @param pageSize The number of items to return. (optional)
* @param filterResourceId A resource ID to filter on (optional)
@@ -210,7 +210,7 @@ public ApiResponse getPropertyEntriesWithHttpInfo(String page
/**
* (asynchronously)
- * Get `property-entries` by a resource ID **Preview:** This is a preview API and is subject to change.
+ * Get `property-entries` by a resource ID
* @param pageCursor The cursor for the next page of items. (optional)
* @param pageSize The number of items to return. (optional)
* @param filterResourceId A resource ID to filter on (optional)
@@ -310,7 +310,7 @@ private okhttp3.Call upsertPropertyEntriesValidateBeforeCall(UpsertPropertyEntri
/**
*
- * Upsert property-entries for a provided resource. **Preview:** This is a preview API and is subject to change.
+ * Upsert property-entries for a provided resource.
* @param upsertPropertyEntriesRequest (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -328,7 +328,7 @@ public void upsertPropertyEntries(UpsertPropertyEntriesRequest upsertPropertyEnt
/**
*
- * Upsert property-entries for a provided resource. **Preview:** This is a preview API and is subject to change.
+ * Upsert property-entries for a provided resource.
* @param upsertPropertyEntriesRequest (required)
* @return ApiResponse<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -348,7 +348,7 @@ public ApiResponse upsertPropertyEntriesWithHttpInfo(UpsertPropertyEntries
/**
* (asynchronously)
- * Upsert property-entries for a provided resource. **Preview:** This is a preview API and is subject to change.
+ * Upsert property-entries for a provided resource.
* @param upsertPropertyEntriesRequest (required)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
diff --git a/src/main/java/com/vertexvis/api/SceneAlterationsApi.java b/src/main/java/com/vertexvis/api/SceneAlterationsApi.java
index d53fd100..ebfaf2f7 100644
--- a/src/main/java/com/vertexvis/api/SceneAlterationsApi.java
+++ b/src/main/java/com/vertexvis/api/SceneAlterationsApi.java
@@ -28,10 +28,13 @@
import com.vertexvis.model.CreateSceneAlterationRequest;
+import com.vertexvis.model.CreateSceneExpressionAlterationRequest;
import com.vertexvis.model.Failure;
+import com.vertexvis.model.OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequest;
import com.vertexvis.model.QueuedJob;
import com.vertexvis.model.SceneAlteration;
import com.vertexvis.model.SceneAlterationList;
+import com.vertexvis.model.UNKNOWN_BASE_TYPE;
import java.util.UUID;
import java.lang.reflect.Type;
@@ -80,7 +83,7 @@ public void setCustomBaseUrl(String customBaseUrl) {
/**
* Build call for createSceneAlteration
* @param id The `scene-view` ID. (required)
- * @param createSceneAlterationRequest (required)
+ * @param UNKNOWN_BASE_TYPE (required)
* @param _callback Callback for upload/download progress
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
@@ -94,7 +97,7 @@ public void setCustomBaseUrl(String customBaseUrl) {
| 415 | Unsupported Media Type | - |
*/
- public okhttp3.Call createSceneAlterationCall(UUID id, CreateSceneAlterationRequest createSceneAlterationRequest, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call createSceneAlterationCall(UUID id, UNKNOWN_BASE_TYPE UNKNOWN_BASE_TYPE, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
@@ -109,7 +112,7 @@ public okhttp3.Call createSceneAlterationCall(UUID id, CreateSceneAlterationRequ
basePath = null;
}
- Object localVarPostBody = createSceneAlterationRequest;
+ Object localVarPostBody = UNKNOWN_BASE_TYPE;
// create path and map variables
String localVarPath = "/scene-views/{id}/scene-alterations"
@@ -142,20 +145,20 @@ public okhttp3.Call createSceneAlterationCall(UUID id, CreateSceneAlterationRequ
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call createSceneAlterationValidateBeforeCall(UUID id, CreateSceneAlterationRequest createSceneAlterationRequest, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createSceneAlterationValidateBeforeCall(UUID id, UNKNOWN_BASE_TYPE UNKNOWN_BASE_TYPE, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'id' is set
if (id == null) {
throw new ApiException("Missing the required parameter 'id' when calling createSceneAlteration(Async)");
}
- // verify the required parameter 'createSceneAlterationRequest' is set
- if (createSceneAlterationRequest == null) {
- throw new ApiException("Missing the required parameter 'createSceneAlterationRequest' when calling createSceneAlteration(Async)");
+ // verify the required parameter 'UNKNOWN_BASE_TYPE' is set
+ if (UNKNOWN_BASE_TYPE == null) {
+ throw new ApiException("Missing the required parameter 'UNKNOWN_BASE_TYPE' when calling createSceneAlteration(Async)");
}
- okhttp3.Call localVarCall = createSceneAlterationCall(id, createSceneAlterationRequest, _callback);
+ okhttp3.Call localVarCall = createSceneAlterationCall(id, UNKNOWN_BASE_TYPE, _callback);
return localVarCall;
}
@@ -164,7 +167,7 @@ private okhttp3.Call createSceneAlterationValidateBeforeCall(UUID id, CreateScen
*
* Create a `scene-alteration` for a `scene-view`.
* @param id The `scene-view` ID. (required)
- * @param createSceneAlterationRequest (required)
+ * @param UNKNOWN_BASE_TYPE (required)
* @return QueuedJob
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -177,8 +180,8 @@ private okhttp3.Call createSceneAlterationValidateBeforeCall(UUID id, CreateScen
| 415 | Unsupported Media Type | - |
*/
- public QueuedJob createSceneAlteration(UUID id, CreateSceneAlterationRequest createSceneAlterationRequest) throws ApiException {
- ApiResponse localVarResp = createSceneAlterationWithHttpInfo(id, createSceneAlterationRequest);
+ public QueuedJob createSceneAlteration(UUID id, UNKNOWN_BASE_TYPE UNKNOWN_BASE_TYPE) throws ApiException {
+ ApiResponse localVarResp = createSceneAlterationWithHttpInfo(id, UNKNOWN_BASE_TYPE);
return localVarResp.getData();
}
@@ -186,7 +189,7 @@ public QueuedJob createSceneAlteration(UUID id, CreateSceneAlterationRequest cre
*
* Create a `scene-alteration` for a `scene-view`.
* @param id The `scene-view` ID. (required)
- * @param createSceneAlterationRequest (required)
+ * @param UNKNOWN_BASE_TYPE (required)
* @return ApiResponse<QueuedJob>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -199,8 +202,8 @@ public QueuedJob createSceneAlteration(UUID id, CreateSceneAlterationRequest cre
| 415 | Unsupported Media Type | - |
*/
- public ApiResponse createSceneAlterationWithHttpInfo(UUID id, CreateSceneAlterationRequest createSceneAlterationRequest) throws ApiException {
- okhttp3.Call localVarCall = createSceneAlterationValidateBeforeCall(id, createSceneAlterationRequest, null);
+ public ApiResponse createSceneAlterationWithHttpInfo(UUID id, UNKNOWN_BASE_TYPE UNKNOWN_BASE_TYPE) throws ApiException {
+ okhttp3.Call localVarCall = createSceneAlterationValidateBeforeCall(id, UNKNOWN_BASE_TYPE, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
@@ -209,7 +212,7 @@ public ApiResponse createSceneAlterationWithHttpInfo(UUID id, CreateS
* (asynchronously)
* Create a `scene-alteration` for a `scene-view`.
* @param id The `scene-view` ID. (required)
- * @param createSceneAlterationRequest (required)
+ * @param UNKNOWN_BASE_TYPE (required)
* @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
@@ -223,9 +226,9 @@ public ApiResponse createSceneAlterationWithHttpInfo(UUID id, CreateS
| 415 | Unsupported Media Type | - |
*/
- public okhttp3.Call createSceneAlterationAsync(UUID id, CreateSceneAlterationRequest createSceneAlterationRequest, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call createSceneAlterationAsync(UUID id, UNKNOWN_BASE_TYPE UNKNOWN_BASE_TYPE, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = createSceneAlterationValidateBeforeCall(id, createSceneAlterationRequest, _callback);
+ okhttp3.Call localVarCall = createSceneAlterationValidateBeforeCall(id, UNKNOWN_BASE_TYPE, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
diff --git a/src/main/java/com/vertexvis/api/SearchSessionsApi.java b/src/main/java/com/vertexvis/api/SearchSessionsApi.java
new file mode 100644
index 00000000..70c71d65
--- /dev/null
+++ b/src/main/java/com/vertexvis/api/SearchSessionsApi.java
@@ -0,0 +1,353 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.api;
+
+import com.vertexvis.ApiCallback;
+import com.vertexvis.ApiClient;
+import com.vertexvis.ApiException;
+import com.vertexvis.ApiResponse;
+import com.vertexvis.Configuration;
+import com.vertexvis.Pair;
+import com.vertexvis.ProgressRequestBody;
+import com.vertexvis.ProgressResponseBody;
+
+import com.google.gson.reflect.TypeToken;
+
+import java.io.IOException;
+
+
+import com.vertexvis.model.CreateSearchSessionRequest;
+import com.vertexvis.model.Failure;
+import com.vertexvis.model.SearchSession;
+import java.util.UUID;
+
+import java.lang.reflect.Type;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+public class SearchSessionsApi {
+ private ApiClient localVarApiClient;
+ private int localHostIndex;
+ private String localCustomBaseUrl;
+
+ public SearchSessionsApi() {
+ this(Configuration.getDefaultApiClient());
+ }
+
+ public SearchSessionsApi(ApiClient apiClient) {
+ this.localVarApiClient = apiClient;
+ }
+
+ public ApiClient getApiClient() {
+ return localVarApiClient;
+ }
+
+ public void setApiClient(ApiClient apiClient) {
+ this.localVarApiClient = apiClient;
+ }
+
+ public int getHostIndex() {
+ return localHostIndex;
+ }
+
+ public void setHostIndex(int hostIndex) {
+ this.localHostIndex = hostIndex;
+ }
+
+ public String getCustomBaseUrl() {
+ return localCustomBaseUrl;
+ }
+
+ public void setCustomBaseUrl(String customBaseUrl) {
+ this.localCustomBaseUrl = customBaseUrl;
+ }
+
+ /**
+ * Build call for createSearchSession
+ * @param createSearchSessionRequest (required)
+ * @param _callback Callback for upload/download progress
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 201 | Created | * location - |
+ | 401 | Unauthorized | - |
+ | 415 | Unsupported Media Type | - |
+
+ */
+ public okhttp3.Call createSearchSessionCall(CreateSearchSessionRequest createSearchSessionRequest, 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 = createSearchSessionRequest;
+
+ // create path and map variables
+ String localVarPath = "/search-sessions";
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+ Map localVarHeaderParams = new HashMap();
+ Map localVarCookieParams = new HashMap();
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/vnd.api+json"
+ };
+ final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) {
+ localVarHeaderParams.put("Accept", localVarAccept);
+ }
+
+ final String[] localVarContentTypes = {
+ "application/vnd.api+json"
+ };
+ final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
+ if (localVarContentType != null) {
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+ }
+
+ String[] localVarAuthNames = new String[] { "OAuth2" };
+ return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private okhttp3.Call createSearchSessionValidateBeforeCall(CreateSearchSessionRequest createSearchSessionRequest, final ApiCallback _callback) throws ApiException {
+
+ // verify the required parameter 'createSearchSessionRequest' is set
+ if (createSearchSessionRequest == null) {
+ throw new ApiException("Missing the required parameter 'createSearchSessionRequest' when calling createSearchSession(Async)");
+ }
+
+
+ okhttp3.Call localVarCall = createSearchSessionCall(createSearchSessionRequest, _callback);
+ return localVarCall;
+
+ }
+
+ /**
+ *
+ * Create a `search-session`.
+ * @param createSearchSessionRequest (required)
+ * @return SearchSession
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 201 | Created | * location - |
+ | 401 | Unauthorized | - |
+ | 415 | Unsupported Media Type | - |
+
+ */
+ public SearchSession createSearchSession(CreateSearchSessionRequest createSearchSessionRequest) throws ApiException {
+ ApiResponse localVarResp = createSearchSessionWithHttpInfo(createSearchSessionRequest);
+ return localVarResp.getData();
+ }
+
+ /**
+ *
+ * Create a `search-session`.
+ * @param createSearchSessionRequest (required)
+ * @return ApiResponse<SearchSession>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 201 | Created | * location - |
+ | 401 | Unauthorized | - |
+ | 415 | Unsupported Media Type | - |
+
+ */
+ public ApiResponse createSearchSessionWithHttpInfo(CreateSearchSessionRequest createSearchSessionRequest) throws ApiException {
+ okhttp3.Call localVarCall = createSearchSessionValidateBeforeCall(createSearchSessionRequest, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return localVarApiClient.execute(localVarCall, localVarReturnType);
+ }
+
+ /**
+ * (asynchronously)
+ * Create a `search-session`.
+ * @param createSearchSessionRequest (required)
+ * @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
+
+ | Status Code | Description | Response Headers |
+ | 201 | Created | * location - |
+ | 401 | Unauthorized | - |
+ | 415 | Unsupported Media Type | - |
+
+ */
+ public okhttp3.Call createSearchSessionAsync(CreateSearchSessionRequest createSearchSessionRequest, final ApiCallback _callback) throws ApiException {
+
+ okhttp3.Call localVarCall = createSearchSessionValidateBeforeCall(createSearchSessionRequest, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
+ return localVarCall;
+ }
+ /**
+ * Build call for getSearchSession
+ * @param id The `search-session` ID. (required)
+ * @param _callback Callback for upload/download progress
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 401 | Unauthorized | - |
+ | 404 | Not Found | - |
+ | 415 | Unsupported Media Type | - |
+
+ */
+ public okhttp3.Call getSearchSessionCall(UUID id, 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 = "/search-sessions/{id}"
+ .replaceAll("\\{" + "id" + "\\}", localVarApiClient.escapeString(id.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/vnd.api+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[] { "OAuth2" };
+ return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private okhttp3.Call getSearchSessionValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException {
+
+ // verify the required parameter 'id' is set
+ if (id == null) {
+ throw new ApiException("Missing the required parameter 'id' when calling getSearchSession(Async)");
+ }
+
+
+ okhttp3.Call localVarCall = getSearchSessionCall(id, _callback);
+ return localVarCall;
+
+ }
+
+ /**
+ *
+ * Get a `search-session`.
+ * @param id The `search-session` ID. (required)
+ * @return SearchSession
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 401 | Unauthorized | - |
+ | 404 | Not Found | - |
+ | 415 | Unsupported Media Type | - |
+
+ */
+ public SearchSession getSearchSession(UUID id) throws ApiException {
+ ApiResponse localVarResp = getSearchSessionWithHttpInfo(id);
+ return localVarResp.getData();
+ }
+
+ /**
+ *
+ * Get a `search-session`.
+ * @param id The `search-session` ID. (required)
+ * @return ApiResponse<SearchSession>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 401 | Unauthorized | - |
+ | 404 | Not Found | - |
+ | 415 | Unsupported Media Type | - |
+
+ */
+ public ApiResponse getSearchSessionWithHttpInfo(UUID id) throws ApiException {
+ okhttp3.Call localVarCall = getSearchSessionValidateBeforeCall(id, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return localVarApiClient.execute(localVarCall, localVarReturnType);
+ }
+
+ /**
+ * (asynchronously)
+ * Get a `search-session`.
+ * @param id The `search-session` ID. (required)
+ * @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
+
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 401 | Unauthorized | - |
+ | 404 | Not Found | - |
+ | 415 | Unsupported Media Type | - |
+
+ */
+ public okhttp3.Call getSearchSessionAsync(UUID id, final ApiCallback _callback) throws ApiException {
+
+ okhttp3.Call localVarCall = getSearchSessionValidateBeforeCall(id, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
+ return localVarCall;
+ }
+}
diff --git a/src/main/java/com/vertexvis/model/AccountRelationship.java b/src/main/java/com/vertexvis/model/AccountRelationship.java
new file mode 100644
index 00000000..dbf853d8
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/AccountRelationship.java
@@ -0,0 +1,102 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.AccountRelationshipData;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * Relationship to an `account`.
+ */
+@ApiModel(description = "Relationship to an `account`.")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class AccountRelationship {
+ public static final String SERIALIZED_NAME_DATA = "data";
+ @SerializedName(SERIALIZED_NAME_DATA)
+ private AccountRelationshipData data;
+
+ public AccountRelationship() {
+ }
+
+ public AccountRelationship data(AccountRelationshipData data) {
+
+ this.data = data;
+ return this;
+ }
+
+ /**
+ * Get data
+ * @return data
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public AccountRelationshipData getData() {
+ return data;
+ }
+
+
+ public void setData(AccountRelationshipData data) {
+ this.data = data;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ AccountRelationship accountRelationship = (AccountRelationship) o;
+ return Objects.equals(this.data, accountRelationship.data);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(data);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class AccountRelationship {\n");
+ sb.append(" data: ").append(toIndentedString(data)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/AccountRelationshipData.java b/src/main/java/com/vertexvis/model/AccountRelationshipData.java
new file mode 100644
index 00000000..85c4c7a3
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/AccountRelationshipData.java
@@ -0,0 +1,175 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.UUID;
+
+/**
+ * AccountRelationshipData
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class AccountRelationshipData {
+ /**
+ * Resource object type.
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ ACCOUNT("account");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.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 TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private TypeEnum type;
+
+ public static final String SERIALIZED_NAME_ID = "id";
+ @SerializedName(SERIALIZED_NAME_ID)
+ private UUID id;
+
+ public AccountRelationshipData() {
+ }
+
+ public AccountRelationshipData type(TypeEnum type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Resource object type.
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "account", required = true, value = "Resource object type.")
+
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+ public void setType(TypeEnum type) {
+ this.type = type;
+ }
+
+
+ public AccountRelationshipData id(UUID id) {
+
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * ID of the resource.
+ * @return id
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "f79d4760-0b71-44e4-ad0b-22743fdd4ca3", required = true, value = "ID of the resource.")
+
+ public UUID getId() {
+ return id;
+ }
+
+
+ public void setId(UUID id) {
+ this.id = id;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ AccountRelationshipData accountRelationshipData = (AccountRelationshipData) o;
+ return Objects.equals(this.type, accountRelationshipData.type) &&
+ Objects.equals(this.id, accountRelationshipData.id);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, id);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class AccountRelationshipData {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/ArchiveManifestEntry.java b/src/main/java/com/vertexvis/model/ArchiveManifestEntry.java
new file mode 100644
index 00000000..c42c694f
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/ArchiveManifestEntry.java
@@ -0,0 +1,132 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.SelectFileById;
+import com.vertexvis.model.SelectFileBySuppliedId;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * Represents a file and directory within an archive.
+ */
+@ApiModel(description = "Represents a file and directory within an archive.")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class ArchiveManifestEntry {
+ public static final String SERIALIZED_NAME_SELECTOR = "selector";
+ @SerializedName(SERIALIZED_NAME_SELECTOR)
+ private OneOfSelectFileByIdSelectFileBySuppliedId selector;
+
+ public static final String SERIALIZED_NAME_DIRECTORY = "directory";
+ @SerializedName(SERIALIZED_NAME_DIRECTORY)
+ private String directory;
+
+ public ArchiveManifestEntry() {
+ }
+
+ public ArchiveManifestEntry selector(OneOfSelectFileByIdSelectFileBySuppliedId selector) {
+
+ this.selector = selector;
+ return this;
+ }
+
+ /**
+ * Represents a query to select a file.
+ * @return selector
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(required = true, value = "Represents a query to select a file.")
+
+ public OneOfSelectFileByIdSelectFileBySuppliedId getSelector() {
+ return selector;
+ }
+
+
+ public void setSelector(OneOfSelectFileByIdSelectFileBySuppliedId selector) {
+ this.selector = selector;
+ }
+
+
+ public ArchiveManifestEntry directory(String directory) {
+
+ this.directory = directory;
+ return this;
+ }
+
+ /**
+ * The directory in the archive where the file will be placed.
+ * @return directory
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "The directory in the archive where the file will be placed.")
+
+ public String getDirectory() {
+ return directory;
+ }
+
+
+ public void setDirectory(String directory) {
+ this.directory = directory;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ArchiveManifestEntry archiveManifestEntry = (ArchiveManifestEntry) o;
+ return Objects.equals(this.selector, archiveManifestEntry.selector) &&
+ Objects.equals(this.directory, archiveManifestEntry.directory);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(selector, directory);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ArchiveManifestEntry {\n");
+ sb.append(" selector: ").append(toIndentedString(selector)).append("\n");
+ sb.append(" directory: ").append(toIndentedString(directory)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/CreateFileJobRequest.java b/src/main/java/com/vertexvis/model/CreateFileJobRequest.java
new file mode 100644
index 00000000..db9f7e7e
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/CreateFileJobRequest.java
@@ -0,0 +1,101 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.CreateFileJobRequestData;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * CreateFileJobRequest
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class CreateFileJobRequest {
+ public static final String SERIALIZED_NAME_DATA = "data";
+ @SerializedName(SERIALIZED_NAME_DATA)
+ private CreateFileJobRequestData data;
+
+ public CreateFileJobRequest() {
+ }
+
+ public CreateFileJobRequest data(CreateFileJobRequestData data) {
+
+ this.data = data;
+ return this;
+ }
+
+ /**
+ * Get data
+ * @return data
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public CreateFileJobRequestData getData() {
+ return data;
+ }
+
+
+ public void setData(CreateFileJobRequestData data) {
+ this.data = data;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CreateFileJobRequest createFileJobRequest = (CreateFileJobRequest) o;
+ return Objects.equals(this.data, createFileJobRequest.data);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(data);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CreateFileJobRequest {\n");
+ sb.append(" data: ").append(toIndentedString(data)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/CreateFileJobRequestData.java b/src/main/java/com/vertexvis/model/CreateFileJobRequestData.java
new file mode 100644
index 00000000..21be6486
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/CreateFileJobRequestData.java
@@ -0,0 +1,175 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.CreateFileJobRequestDataAttributes;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * CreateFileJobRequestData
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class CreateFileJobRequestData {
+ /**
+ * Resource object type.
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ FILE_JOB("file-job");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.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 TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private TypeEnum type;
+
+ public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
+ @SerializedName(SERIALIZED_NAME_ATTRIBUTES)
+ private CreateFileJobRequestDataAttributes attributes;
+
+ public CreateFileJobRequestData() {
+ }
+
+ public CreateFileJobRequestData type(TypeEnum type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Resource object type.
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Resource object type.")
+
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+ public void setType(TypeEnum type) {
+ this.type = type;
+ }
+
+
+ public CreateFileJobRequestData attributes(CreateFileJobRequestDataAttributes attributes) {
+
+ this.attributes = attributes;
+ return this;
+ }
+
+ /**
+ * Get attributes
+ * @return attributes
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public CreateFileJobRequestDataAttributes getAttributes() {
+ return attributes;
+ }
+
+
+ public void setAttributes(CreateFileJobRequestDataAttributes attributes) {
+ this.attributes = attributes;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CreateFileJobRequestData createFileJobRequestData = (CreateFileJobRequestData) o;
+ return Objects.equals(this.type, createFileJobRequestData.type) &&
+ Objects.equals(this.attributes, createFileJobRequestData.attributes);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, attributes);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CreateFileJobRequestData {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/CreateFileJobRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateFileJobRequestDataAttributes.java
new file mode 100644
index 00000000..42484fa6
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/CreateFileJobRequestDataAttributes.java
@@ -0,0 +1,101 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.FileJobArchiveOperation;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * CreateFileJobRequestDataAttributes
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class CreateFileJobRequestDataAttributes {
+ public static final String SERIALIZED_NAME_OPERATION = "operation";
+ @SerializedName(SERIALIZED_NAME_OPERATION)
+ private OneOfFileJobArchiveOperation operation;
+
+ public CreateFileJobRequestDataAttributes() {
+ }
+
+ public CreateFileJobRequestDataAttributes operation(OneOfFileJobArchiveOperation operation) {
+
+ this.operation = operation;
+ return this;
+ }
+
+ /**
+ * An object that describes the operation a file job will perform.
+ * @return operation
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(required = true, value = "An object that describes the operation a file job will perform.")
+
+ public OneOfFileJobArchiveOperation getOperation() {
+ return operation;
+ }
+
+
+ public void setOperation(OneOfFileJobArchiveOperation operation) {
+ this.operation = operation;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CreateFileJobRequestDataAttributes createFileJobRequestDataAttributes = (CreateFileJobRequestDataAttributes) o;
+ return Objects.equals(this.operation, createFileJobRequestDataAttributes.operation);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(operation);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CreateFileJobRequestDataAttributes {\n");
+ sb.append(" operation: ").append(toIndentedString(operation)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/CreatePartRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreatePartRequestDataAttributes.java
index 010e3ba7..c3efc137 100644
--- a/src/main/java/com/vertexvis/model/CreatePartRequestDataAttributes.java
+++ b/src/main/java/com/vertexvis/model/CreatePartRequestDataAttributes.java
@@ -183,11 +183,13 @@ public CreatePartRequestDataAttributes putMetadataItem(String key, AnyOfMetadata
}
/**
- * Additional metadata about the `part` and/or `part-revision`. This metadata will take precedence over any metadata that belongs to the part file if `indexMetadata` is specified.
+ * Additional metadata about the `part` and/or `part-revision`. This metadata will take precedence over any metadata that belongs to the part file if `indexMetadata` is specified. This has been deprecated and replaced by the PATCH endpoint /property-entries
* @return metadata
+ * @deprecated
**/
+ @Deprecated
@javax.annotation.Nullable
- @ApiModelProperty(value = "Additional metadata about the `part` and/or `part-revision`. This metadata will take precedence over any metadata that belongs to the part file if `indexMetadata` is specified. ")
+ @ApiModelProperty(value = "Additional metadata about the `part` and/or `part-revision`. This metadata will take precedence over any metadata that belongs to the part file if `indexMetadata` is specified. This has been deprecated and replaced by the PATCH endpoint /property-entries ")
public Map getMetadata() {
return metadata;
diff --git a/src/main/java/com/vertexvis/model/CreatePermissionGrant.java b/src/main/java/com/vertexvis/model/CreatePermissionGrant.java
new file mode 100644
index 00000000..86ab598d
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/CreatePermissionGrant.java
@@ -0,0 +1,101 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.CreatePermissionGrantData;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * CreatePermissionGrant
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class CreatePermissionGrant {
+ public static final String SERIALIZED_NAME_DATA = "data";
+ @SerializedName(SERIALIZED_NAME_DATA)
+ private CreatePermissionGrantData data;
+
+ public CreatePermissionGrant() {
+ }
+
+ public CreatePermissionGrant data(CreatePermissionGrantData data) {
+
+ this.data = data;
+ return this;
+ }
+
+ /**
+ * Get data
+ * @return data
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public CreatePermissionGrantData getData() {
+ return data;
+ }
+
+
+ public void setData(CreatePermissionGrantData data) {
+ this.data = data;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CreatePermissionGrant createPermissionGrant = (CreatePermissionGrant) o;
+ return Objects.equals(this.data, createPermissionGrant.data);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(data);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CreatePermissionGrant {\n");
+ sb.append(" data: ").append(toIndentedString(data)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/CreatePermissionGrantData.java b/src/main/java/com/vertexvis/model/CreatePermissionGrantData.java
new file mode 100644
index 00000000..5f710a4e
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/CreatePermissionGrantData.java
@@ -0,0 +1,175 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.CreatePermissionGrantDataAttributes;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * CreatePermissionGrantData
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class CreatePermissionGrantData {
+ /**
+ * Gets or Sets type
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ PERMISSION_GRANT("permission-grant");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.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 TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private TypeEnum type;
+
+ public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
+ @SerializedName(SERIALIZED_NAME_ATTRIBUTES)
+ private CreatePermissionGrantDataAttributes attributes;
+
+ public CreatePermissionGrantData() {
+ }
+
+ public CreatePermissionGrantData type(TypeEnum type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+ public void setType(TypeEnum type) {
+ this.type = type;
+ }
+
+
+ public CreatePermissionGrantData attributes(CreatePermissionGrantDataAttributes attributes) {
+
+ this.attributes = attributes;
+ return this;
+ }
+
+ /**
+ * Get attributes
+ * @return attributes
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public CreatePermissionGrantDataAttributes getAttributes() {
+ return attributes;
+ }
+
+
+ public void setAttributes(CreatePermissionGrantDataAttributes attributes) {
+ this.attributes = attributes;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CreatePermissionGrantData createPermissionGrantData = (CreatePermissionGrantData) o;
+ return Objects.equals(this.type, createPermissionGrantData.type) &&
+ Objects.equals(this.attributes, createPermissionGrantData.attributes);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, attributes);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CreatePermissionGrantData {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/CreatePermissionGrantDataAttributes.java b/src/main/java/com/vertexvis/model/CreatePermissionGrantDataAttributes.java
new file mode 100644
index 00000000..26b9dd67
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/CreatePermissionGrantDataAttributes.java
@@ -0,0 +1,205 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.PermissionGrantee;
+import com.vertexvis.model.PermissionSubject;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * CreatePermissionGrantDataAttributes
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class CreatePermissionGrantDataAttributes {
+ public static final String SERIALIZED_NAME_GRANTEE = "grantee";
+ @SerializedName(SERIALIZED_NAME_GRANTEE)
+ private PermissionGrantee grantee;
+
+ public static final String SERIALIZED_NAME_SUBJECT = "subject";
+ @SerializedName(SERIALIZED_NAME_SUBJECT)
+ private PermissionSubject subject;
+
+ /**
+ * Gets or Sets capability
+ */
+ @JsonAdapter(CapabilityEnum.Adapter.class)
+ public enum CapabilityEnum {
+ READ("read");
+
+ private String value;
+
+ CapabilityEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static CapabilityEnum fromValue(String value) {
+ for (CapabilityEnum b : CapabilityEnum.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 CapabilityEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public CapabilityEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return CapabilityEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_CAPABILITY = "capability";
+ @SerializedName(SERIALIZED_NAME_CAPABILITY)
+ private CapabilityEnum capability;
+
+ public CreatePermissionGrantDataAttributes() {
+ }
+
+ public CreatePermissionGrantDataAttributes grantee(PermissionGrantee grantee) {
+
+ this.grantee = grantee;
+ return this;
+ }
+
+ /**
+ * Get grantee
+ * @return grantee
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public PermissionGrantee getGrantee() {
+ return grantee;
+ }
+
+
+ public void setGrantee(PermissionGrantee grantee) {
+ this.grantee = grantee;
+ }
+
+
+ public CreatePermissionGrantDataAttributes subject(PermissionSubject subject) {
+
+ this.subject = subject;
+ return this;
+ }
+
+ /**
+ * Get subject
+ * @return subject
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public PermissionSubject getSubject() {
+ return subject;
+ }
+
+
+ public void setSubject(PermissionSubject subject) {
+ this.subject = subject;
+ }
+
+
+ public CreatePermissionGrantDataAttributes capability(CapabilityEnum capability) {
+
+ this.capability = capability;
+ return this;
+ }
+
+ /**
+ * Get capability
+ * @return capability
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public CapabilityEnum getCapability() {
+ return capability;
+ }
+
+
+ public void setCapability(CapabilityEnum capability) {
+ this.capability = capability;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CreatePermissionGrantDataAttributes createPermissionGrantDataAttributes = (CreatePermissionGrantDataAttributes) o;
+ return Objects.equals(this.grantee, createPermissionGrantDataAttributes.grantee) &&
+ Objects.equals(this.subject, createPermissionGrantDataAttributes.subject) &&
+ Objects.equals(this.capability, createPermissionGrantDataAttributes.capability);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(grantee, subject, capability);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CreatePermissionGrantDataAttributes {\n");
+ sb.append(" grantee: ").append(toIndentedString(grantee)).append("\n");
+ sb.append(" subject: ").append(toIndentedString(subject)).append("\n");
+ sb.append(" capability: ").append(toIndentedString(capability)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/CreateSceneAlterationRequest.java b/src/main/java/com/vertexvis/model/CreateSceneAlterationRequest.java
index 7142fe88..60824958 100644
--- a/src/main/java/com/vertexvis/model/CreateSceneAlterationRequest.java
+++ b/src/main/java/com/vertexvis/model/CreateSceneAlterationRequest.java
@@ -27,7 +27,9 @@
/**
* CreateSceneAlterationRequest
+ * @deprecated
*/
+@Deprecated
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class CreateSceneAlterationRequest {
public static final String SERIALIZED_NAME_DATA = "data";
diff --git a/src/main/java/com/vertexvis/model/CreateSceneExpressionAlterationRequest.java b/src/main/java/com/vertexvis/model/CreateSceneExpressionAlterationRequest.java
new file mode 100644
index 00000000..a2dca589
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/CreateSceneExpressionAlterationRequest.java
@@ -0,0 +1,102 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.CreateSceneExpressionAlterationRequestData;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * Support a query expression for a scene alteration. To perform a standard item alteration: ```json { \"data\" : { \"type\" : \"scene-alteration-expression\", \"attributes\" : { \"operations\" : [ { \"expression\" : { \"type\" : \"query-operand\", \"query\" : { \"type\" : \"query-by-id\", \"value\" : \"{SCENE_ITEM_ID}\" } }, \"changes\" : [ { \"type\" : \"change-visibility\", \"visible\" : false } ] } ] } } } ``` To perform a join of two metadata queries, i.e, an \"and\" query: ```json { \"data\" : { \"type\" : \"scene-alteration-expression\", \"attributes\" : { \"operations\" : [ { \"expression\" : { \"type\" : \"and\", \"left\" : { \"type\" : \"query-operand\", \"query\" : { \"type\" : \"query-by-metadata\", \"filter\" : \"vdXUKl2pQr\", \"keys\" : [ \"jxIuahIdXS\", \"9tegKF6acH\" ] } }, \"right\" : { \"type\" : \"query-operand\", \"query\" : { \"type\" : \"query-by-metadata\", \"filter\" : \"IE8P9JRPXC\", \"keys\" : [ \"5ggPOzw4bT\", \"7xQrQE5Q67\" ] } } }, \"changes\" : [ { \"type\" : \"change-visibility\", \"visible\" : false } ] } ] } } } ``` To provide more complex queries, the left/right also accept or/and expressions. Here's an example of a nested `or` item based query: ```json { \"data\" : { \"type\" : \"scene-alteration-expression\", \"attributes\" : { \"operations\" : [ { \"expression\" : { \"type\" : \"or\", \"left\" : { \"type\" : \"or\", \"left\" : { \"type\" : \"query-operand\", \"query\" : { \"type\" : \"query-by-id\", \"value\" : \"{SCENE_ITEM_ID_1}\" } }, \"right\" : { \"type\" : \"query-operand\", \"query\" : { \"type\" : \"query-by-id\", \"value\" : \"{SCENE_ITEM_ID_2}\" } } }, \"right\" : { \"type\" : \"query-operand\", \"query\" : { \"type\" : \"query-by-id\", \"value\" : \"{SCENE_ITEM_ID_3}\" } } }, \"changes\" : [ { \"type\" : \"change-visibility\", \"visible\" : false } ] } ] } } } ```
+ */
+@ApiModel(description = "Support a query expression for a scene alteration. To perform a standard item alteration: ```json { \"data\" : { \"type\" : \"scene-alteration-expression\", \"attributes\" : { \"operations\" : [ { \"expression\" : { \"type\" : \"query-operand\", \"query\" : { \"type\" : \"query-by-id\", \"value\" : \"{SCENE_ITEM_ID}\" } }, \"changes\" : [ { \"type\" : \"change-visibility\", \"visible\" : false } ] } ] } } } ``` To perform a join of two metadata queries, i.e, an \"and\" query: ```json { \"data\" : { \"type\" : \"scene-alteration-expression\", \"attributes\" : { \"operations\" : [ { \"expression\" : { \"type\" : \"and\", \"left\" : { \"type\" : \"query-operand\", \"query\" : { \"type\" : \"query-by-metadata\", \"filter\" : \"vdXUKl2pQr\", \"keys\" : [ \"jxIuahIdXS\", \"9tegKF6acH\" ] } }, \"right\" : { \"type\" : \"query-operand\", \"query\" : { \"type\" : \"query-by-metadata\", \"filter\" : \"IE8P9JRPXC\", \"keys\" : [ \"5ggPOzw4bT\", \"7xQrQE5Q67\" ] } } }, \"changes\" : [ { \"type\" : \"change-visibility\", \"visible\" : false } ] } ] } } } ``` To provide more complex queries, the left/right also accept or/and expressions. Here's an example of a nested `or` item based query: ```json { \"data\" : { \"type\" : \"scene-alteration-expression\", \"attributes\" : { \"operations\" : [ { \"expression\" : { \"type\" : \"or\", \"left\" : { \"type\" : \"or\", \"left\" : { \"type\" : \"query-operand\", \"query\" : { \"type\" : \"query-by-id\", \"value\" : \"{SCENE_ITEM_ID_1}\" } }, \"right\" : { \"type\" : \"query-operand\", \"query\" : { \"type\" : \"query-by-id\", \"value\" : \"{SCENE_ITEM_ID_2}\" } } }, \"right\" : { \"type\" : \"query-operand\", \"query\" : { \"type\" : \"query-by-id\", \"value\" : \"{SCENE_ITEM_ID_3}\" } } }, \"changes\" : [ { \"type\" : \"change-visibility\", \"visible\" : false } ] } ] } } } ``` ")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class CreateSceneExpressionAlterationRequest {
+ public static final String SERIALIZED_NAME_DATA = "data";
+ @SerializedName(SERIALIZED_NAME_DATA)
+ private CreateSceneExpressionAlterationRequestData data;
+
+ public CreateSceneExpressionAlterationRequest() {
+ }
+
+ public CreateSceneExpressionAlterationRequest data(CreateSceneExpressionAlterationRequestData data) {
+
+ this.data = data;
+ return this;
+ }
+
+ /**
+ * Get data
+ * @return data
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public CreateSceneExpressionAlterationRequestData getData() {
+ return data;
+ }
+
+
+ public void setData(CreateSceneExpressionAlterationRequestData data) {
+ this.data = data;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CreateSceneExpressionAlterationRequest createSceneExpressionAlterationRequest = (CreateSceneExpressionAlterationRequest) o;
+ return Objects.equals(this.data, createSceneExpressionAlterationRequest.data);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(data);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CreateSceneExpressionAlterationRequest {\n");
+ sb.append(" data: ").append(toIndentedString(data)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/CreateSceneExpressionAlterationRequestData.java b/src/main/java/com/vertexvis/model/CreateSceneExpressionAlterationRequestData.java
new file mode 100644
index 00000000..0cf4f5ad
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/CreateSceneExpressionAlterationRequestData.java
@@ -0,0 +1,175 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.CreateSceneExpressionAlterationRequestDataAttributes;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * CreateSceneExpressionAlterationRequestData
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class CreateSceneExpressionAlterationRequestData {
+ /**
+ * Resource object type.
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ SCENE_ALTERATION_EXPRESSION("scene-alteration-expression");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.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 TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private TypeEnum type;
+
+ public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
+ @SerializedName(SERIALIZED_NAME_ATTRIBUTES)
+ private CreateSceneExpressionAlterationRequestDataAttributes attributes;
+
+ public CreateSceneExpressionAlterationRequestData() {
+ }
+
+ public CreateSceneExpressionAlterationRequestData type(TypeEnum type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Resource object type.
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "scene-alteration-expression", required = true, value = "Resource object type.")
+
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+ public void setType(TypeEnum type) {
+ this.type = type;
+ }
+
+
+ public CreateSceneExpressionAlterationRequestData attributes(CreateSceneExpressionAlterationRequestDataAttributes attributes) {
+
+ this.attributes = attributes;
+ return this;
+ }
+
+ /**
+ * Get attributes
+ * @return attributes
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public CreateSceneExpressionAlterationRequestDataAttributes getAttributes() {
+ return attributes;
+ }
+
+
+ public void setAttributes(CreateSceneExpressionAlterationRequestDataAttributes attributes) {
+ this.attributes = attributes;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CreateSceneExpressionAlterationRequestData createSceneExpressionAlterationRequestData = (CreateSceneExpressionAlterationRequestData) o;
+ return Objects.equals(this.type, createSceneExpressionAlterationRequestData.type) &&
+ Objects.equals(this.attributes, createSceneExpressionAlterationRequestData.attributes);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, attributes);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CreateSceneExpressionAlterationRequestData {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/CreateSceneExpressionAlterationRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateSceneExpressionAlterationRequestDataAttributes.java
new file mode 100644
index 00000000..9b7080a3
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/CreateSceneExpressionAlterationRequestDataAttributes.java
@@ -0,0 +1,108 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.SceneItemExpressionOperation;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * CreateSceneExpressionAlterationRequestDataAttributes
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class CreateSceneExpressionAlterationRequestDataAttributes {
+ public static final String SERIALIZED_NAME_OPERATIONS = "operations";
+ @SerializedName(SERIALIZED_NAME_OPERATIONS)
+ private List operations = new ArrayList<>();
+
+ public CreateSceneExpressionAlterationRequestDataAttributes() {
+ }
+
+ public CreateSceneExpressionAlterationRequestDataAttributes operations(List operations) {
+
+ this.operations = operations;
+ return this;
+ }
+
+ public CreateSceneExpressionAlterationRequestDataAttributes addOperationsItem(SceneItemExpressionOperation operationsItem) {
+ this.operations.add(operationsItem);
+ return this;
+ }
+
+ /**
+ * List of operations to apply for the alteration request
+ * @return operations
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "List of operations to apply for the alteration request")
+
+ public List getOperations() {
+ return operations;
+ }
+
+
+ public void setOperations(List operations) {
+ this.operations = operations;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CreateSceneExpressionAlterationRequestDataAttributes createSceneExpressionAlterationRequestDataAttributes = (CreateSceneExpressionAlterationRequestDataAttributes) o;
+ return Objects.equals(this.operations, createSceneExpressionAlterationRequestDataAttributes.operations);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(operations);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CreateSceneExpressionAlterationRequestDataAttributes {\n");
+ sb.append(" operations: ").append(toIndentedString(operations)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/CreateSceneItemRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateSceneItemRequestDataAttributes.java
index 1cbc77c3..f7ba32c8 100644
--- a/src/main/java/com/vertexvis/model/CreateSceneItemRequestDataAttributes.java
+++ b/src/main/java/com/vertexvis/model/CreateSceneItemRequestDataAttributes.java
@@ -436,11 +436,13 @@ public CreateSceneItemRequestDataAttributes putMetadataItem(String key, AnyOfMet
}
/**
- * Additional metadata for the scene-item. This metadata will take precedence over any metadata that belongs to the part file.
+ * Additional metadata for the scene-item. This metadata will take precedence over any metadata that belongs to the part file. This has been deprecated and replaced by the PATCH endpoint /property-entries.
* @return metadata
+ * @deprecated
**/
+ @Deprecated
@javax.annotation.Nullable
- @ApiModelProperty(value = "Additional metadata for the scene-item. This metadata will take precedence over any metadata that belongs to the part file. ")
+ @ApiModelProperty(value = "Additional metadata for the scene-item. This metadata will take precedence over any metadata that belongs to the part file. This has been deprecated and replaced by the PATCH endpoint /property-entries. ")
public Map getMetadata() {
return metadata;
diff --git a/src/main/java/com/vertexvis/model/CreateSearchSessionRequest.java b/src/main/java/com/vertexvis/model/CreateSearchSessionRequest.java
new file mode 100644
index 00000000..9d4fd4b3
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/CreateSearchSessionRequest.java
@@ -0,0 +1,101 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.CreateSearchSessionRequestData;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * CreateSearchSessionRequest
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class CreateSearchSessionRequest {
+ public static final String SERIALIZED_NAME_DATA = "data";
+ @SerializedName(SERIALIZED_NAME_DATA)
+ private CreateSearchSessionRequestData data;
+
+ public CreateSearchSessionRequest() {
+ }
+
+ public CreateSearchSessionRequest data(CreateSearchSessionRequestData data) {
+
+ this.data = data;
+ return this;
+ }
+
+ /**
+ * Get data
+ * @return data
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public CreateSearchSessionRequestData getData() {
+ return data;
+ }
+
+
+ public void setData(CreateSearchSessionRequestData data) {
+ this.data = data;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CreateSearchSessionRequest createSearchSessionRequest = (CreateSearchSessionRequest) o;
+ return Objects.equals(this.data, createSearchSessionRequest.data);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(data);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CreateSearchSessionRequest {\n");
+ sb.append(" data: ").append(toIndentedString(data)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/CreateSearchSessionRequestData.java b/src/main/java/com/vertexvis/model/CreateSearchSessionRequestData.java
new file mode 100644
index 00000000..e6eb9d1c
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/CreateSearchSessionRequestData.java
@@ -0,0 +1,205 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.CreateSearchSessionRequestDataAttributes;
+import com.vertexvis.model.CreateSearchSessionRequestDataRelationships;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * CreateSearchSessionRequestData
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class CreateSearchSessionRequestData {
+ /**
+ * Resource object type.
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ SEARCH_SESSION("search-session");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.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 TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private TypeEnum type;
+
+ public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
+ @SerializedName(SERIALIZED_NAME_ATTRIBUTES)
+ private CreateSearchSessionRequestDataAttributes attributes;
+
+ public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships";
+ @SerializedName(SERIALIZED_NAME_RELATIONSHIPS)
+ private CreateSearchSessionRequestDataRelationships relationships;
+
+ public CreateSearchSessionRequestData() {
+ }
+
+ public CreateSearchSessionRequestData type(TypeEnum type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Resource object type.
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Resource object type.")
+
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+ public void setType(TypeEnum type) {
+ this.type = type;
+ }
+
+
+ public CreateSearchSessionRequestData attributes(CreateSearchSessionRequestDataAttributes attributes) {
+
+ this.attributes = attributes;
+ return this;
+ }
+
+ /**
+ * Get attributes
+ * @return attributes
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public CreateSearchSessionRequestDataAttributes getAttributes() {
+ return attributes;
+ }
+
+
+ public void setAttributes(CreateSearchSessionRequestDataAttributes attributes) {
+ this.attributes = attributes;
+ }
+
+
+ public CreateSearchSessionRequestData relationships(CreateSearchSessionRequestDataRelationships relationships) {
+
+ this.relationships = relationships;
+ return this;
+ }
+
+ /**
+ * Get relationships
+ * @return relationships
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public CreateSearchSessionRequestDataRelationships getRelationships() {
+ return relationships;
+ }
+
+
+ public void setRelationships(CreateSearchSessionRequestDataRelationships relationships) {
+ this.relationships = relationships;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CreateSearchSessionRequestData createSearchSessionRequestData = (CreateSearchSessionRequestData) o;
+ return Objects.equals(this.type, createSearchSessionRequestData.type) &&
+ Objects.equals(this.attributes, createSearchSessionRequestData.attributes) &&
+ Objects.equals(this.relationships, createSearchSessionRequestData.relationships);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, attributes, relationships);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CreateSearchSessionRequestData {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n");
+ sb.append(" relationships: ").append(toIndentedString(relationships)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/CreateSearchSessionRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateSearchSessionRequestDataAttributes.java
new file mode 100644
index 00000000..dec75b33
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/CreateSearchSessionRequestDataAttributes.java
@@ -0,0 +1,100 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * CreateSearchSessionRequestDataAttributes
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class CreateSearchSessionRequestDataAttributes {
+ public static final String SERIALIZED_NAME_EXPIRY = "expiry";
+ @SerializedName(SERIALIZED_NAME_EXPIRY)
+ private Integer expiry;
+
+ public CreateSearchSessionRequestDataAttributes() {
+ }
+
+ public CreateSearchSessionRequestDataAttributes expiry(Integer expiry) {
+
+ this.expiry = expiry;
+ return this;
+ }
+
+ /**
+ * Number of seconds before the search session is deleted.
+ * @return expiry
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "Number of seconds before the search session is deleted.")
+
+ public Integer getExpiry() {
+ return expiry;
+ }
+
+
+ public void setExpiry(Integer expiry) {
+ this.expiry = expiry;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CreateSearchSessionRequestDataAttributes createSearchSessionRequestDataAttributes = (CreateSearchSessionRequestDataAttributes) o;
+ return Objects.equals(this.expiry, createSearchSessionRequestDataAttributes.expiry);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(expiry);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CreateSearchSessionRequestDataAttributes {\n");
+ sb.append(" expiry: ").append(toIndentedString(expiry)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/CreateSearchSessionRequestDataRelationships.java b/src/main/java/com/vertexvis/model/CreateSearchSessionRequestDataRelationships.java
new file mode 100644
index 00000000..bebab4ec
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/CreateSearchSessionRequestDataRelationships.java
@@ -0,0 +1,101 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.SceneRelationship;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * CreateSearchSessionRequestDataRelationships
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class CreateSearchSessionRequestDataRelationships {
+ public static final String SERIALIZED_NAME_SCENE = "scene";
+ @SerializedName(SERIALIZED_NAME_SCENE)
+ private SceneRelationship scene;
+
+ public CreateSearchSessionRequestDataRelationships() {
+ }
+
+ public CreateSearchSessionRequestDataRelationships scene(SceneRelationship scene) {
+
+ this.scene = scene;
+ return this;
+ }
+
+ /**
+ * Get scene
+ * @return scene
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "")
+
+ public SceneRelationship getScene() {
+ return scene;
+ }
+
+
+ public void setScene(SceneRelationship scene) {
+ this.scene = scene;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CreateSearchSessionRequestDataRelationships createSearchSessionRequestDataRelationships = (CreateSearchSessionRequestDataRelationships) o;
+ return Objects.equals(this.scene, createSearchSessionRequestDataRelationships.scene);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(scene);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CreateSearchSessionRequestDataRelationships {\n");
+ sb.append(" scene: ").append(toIndentedString(scene)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/CreateStreamKeyRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateStreamKeyRequestDataAttributes.java
index edb4618c..a9ce96c5 100644
--- a/src/main/java/com/vertexvis/model/CreateStreamKeyRequestDataAttributes.java
+++ b/src/main/java/com/vertexvis/model/CreateStreamKeyRequestDataAttributes.java
@@ -154,11 +154,11 @@ public CreateStreamKeyRequestDataAttributes withSearchSession(Boolean withSearch
}
/**
- * Optionally enables or disables the creation of a search session for the view.
+ * Optionally enables or disables the creation of a search session for the view. The default creates a session for the scene-view
* @return withSearchSession
**/
@javax.annotation.Nullable
- @ApiModelProperty(example = "true", value = "Optionally enables or disables the creation of a search session for the view.")
+ @ApiModelProperty(example = "true", value = "Optionally enables or disables the creation of a search session for the view. The default creates a session for the scene-view")
public Boolean getWithSearchSession() {
return withSearchSession;
diff --git a/src/main/java/com/vertexvis/model/FileJobArchiveOperation.java b/src/main/java/com/vertexvis/model/FileJobArchiveOperation.java
new file mode 100644
index 00000000..dbbf1566
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/FileJobArchiveOperation.java
@@ -0,0 +1,213 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.ArchiveManifestEntry;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.UUID;
+
+/**
+ * The operation for a file archival job.
+ */
+@ApiModel(description = "The operation for a file archival job.")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class FileJobArchiveOperation {
+ /**
+ * Gets or Sets type
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ FILE_ARCHIVE_OPERATION("file-archive-operation");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.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 TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private TypeEnum type;
+
+ public static final String SERIALIZED_NAME_FILE_ID = "fileId";
+ @SerializedName(SERIALIZED_NAME_FILE_ID)
+ private UUID fileId;
+
+ public static final String SERIALIZED_NAME_MANIFEST = "manifest";
+ @SerializedName(SERIALIZED_NAME_MANIFEST)
+ private List manifest = new ArrayList<>();
+
+ public FileJobArchiveOperation() {
+ }
+
+ public FileJobArchiveOperation type(TypeEnum type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+ public void setType(TypeEnum type) {
+ this.type = type;
+ }
+
+
+ public FileJobArchiveOperation fileId(UUID fileId) {
+
+ this.fileId = fileId;
+ return this;
+ }
+
+ /**
+ * ID of the resource.
+ * @return fileId
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "f79d4760-0b71-44e4-ad0b-22743fdd4ca3", required = true, value = "ID of the resource.")
+
+ public UUID getFileId() {
+ return fileId;
+ }
+
+
+ public void setFileId(UUID fileId) {
+ this.fileId = fileId;
+ }
+
+
+ public FileJobArchiveOperation manifest(List manifest) {
+
+ this.manifest = manifest;
+ return this;
+ }
+
+ public FileJobArchiveOperation addManifestItem(ArchiveManifestEntry manifestItem) {
+ this.manifest.add(manifestItem);
+ return this;
+ }
+
+ /**
+ * Get manifest
+ * @return manifest
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public List getManifest() {
+ return manifest;
+ }
+
+
+ public void setManifest(List manifest) {
+ this.manifest = manifest;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ FileJobArchiveOperation fileJobArchiveOperation = (FileJobArchiveOperation) o;
+ return Objects.equals(this.type, fileJobArchiveOperation.type) &&
+ Objects.equals(this.fileId, fileJobArchiveOperation.fileId) &&
+ Objects.equals(this.manifest, fileJobArchiveOperation.manifest);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, fileId, manifest);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class FileJobArchiveOperation {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" fileId: ").append(toIndentedString(fileId)).append("\n");
+ sb.append(" manifest: ").append(toIndentedString(manifest)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/FilterExpression.java b/src/main/java/com/vertexvis/model/FilterExpression.java
index 0d0ed539..830260e3 100644
--- a/src/main/java/com/vertexvis/model/FilterExpression.java
+++ b/src/main/java/com/vertexvis/model/FilterExpression.java
@@ -54,6 +54,10 @@ public class FilterExpression {
@SerializedName(SERIALIZED_NAME_LTE)
private String lte;
+ public static final String SERIALIZED_NAME_CONTAINS = "contains";
+ @SerializedName(SERIALIZED_NAME_CONTAINS)
+ private String contains;
+
public FilterExpression() {
}
@@ -195,6 +199,29 @@ public void setLte(String lte) {
}
+ public FilterExpression contains(String contains) {
+
+ this.contains = contains;
+ return this;
+ }
+
+ /**
+ * A value of a filter.
+ * @return contains
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "A value of a filter.")
+
+ public String getContains() {
+ return contains;
+ }
+
+
+ public void setContains(String contains) {
+ this.contains = contains;
+ }
+
+
@Override
public boolean equals(Object o) {
if (this == o) {
@@ -209,12 +236,13 @@ public boolean equals(Object o) {
Objects.equals(this.gt, filterExpression.gt) &&
Objects.equals(this.gte, filterExpression.gte) &&
Objects.equals(this.lt, filterExpression.lt) &&
- Objects.equals(this.lte, filterExpression.lte);
+ Objects.equals(this.lte, filterExpression.lte) &&
+ Objects.equals(this.contains, filterExpression.contains);
}
@Override
public int hashCode() {
- return Objects.hash(eq, neq, gt, gte, lt, lte);
+ return Objects.hash(eq, neq, gt, gte, lt, lte, contains);
}
@Override
@@ -227,6 +255,7 @@ public String toString() {
sb.append(" gte: ").append(toIndentedString(gte)).append("\n");
sb.append(" lt: ").append(toIndentedString(lt)).append("\n");
sb.append(" lte: ").append(toIndentedString(lte)).append("\n");
+ sb.append(" contains: ").append(toIndentedString(contains)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/src/main/java/com/vertexvis/model/GranteeAccount.java b/src/main/java/com/vertexvis/model/GranteeAccount.java
new file mode 100644
index 00000000..2c2c94b9
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/GranteeAccount.java
@@ -0,0 +1,176 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.UUID;
+
+/**
+ * A reference to an account receiving a permission grant
+ */
+@ApiModel(description = "A reference to an account receiving a permission grant")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class GranteeAccount {
+ /**
+ * Gets or Sets type
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ ACCOUNT("account");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.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 TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private TypeEnum type;
+
+ public static final String SERIALIZED_NAME_ID = "id";
+ @SerializedName(SERIALIZED_NAME_ID)
+ private UUID id;
+
+ public GranteeAccount() {
+ }
+
+ public GranteeAccount type(TypeEnum type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+ public void setType(TypeEnum type) {
+ this.type = type;
+ }
+
+
+ public GranteeAccount id(UUID id) {
+
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * ID of the resource.
+ * @return id
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "f79d4760-0b71-44e4-ad0b-22743fdd4ca3", required = true, value = "ID of the resource.")
+
+ public UUID getId() {
+ return id;
+ }
+
+
+ public void setId(UUID id) {
+ this.id = id;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ GranteeAccount granteeAccount = (GranteeAccount) o;
+ return Objects.equals(this.type, granteeAccount.type) &&
+ Objects.equals(this.id, granteeAccount.id);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, id);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class GranteeAccount {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp.java b/src/main/java/com/vertexvis/model/OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp.java
new file mode 100644
index 00000000..c6c3dabe
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp.java
@@ -0,0 +1,164 @@
+package com.vertexvis.model;
+
+import javax.annotation.Nullable;
+
+public class OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp {
+ private ChangeVisibilityOp changeVisibilityOp;
+ private ChangeMaterialOp changeMaterialOp;
+ private ClearMaterialOp clearMaterialOp;
+ private ChangeTransformOp changeTransformOp;
+ private ClearTransformOp clearTransformOp;
+ private SelectOp selectOp;
+ private DeselectOperation deselectOperation;
+ private ClearRenOp clearRenOp;
+ private ViewDefaultRenOp viewDefaultRenOp;
+ private ViewRenByIdOp viewRenByIdOp;
+ private ViewRenBySuppliedIdOp viewRenBySuppliedIdOp;
+ private ViewRepByIdOp viewRepByIdOp;
+ private ViewRepByPredefinedIdOp viewRepByPredefinedIdOp;
+ private ClearRepOp clearRepOp;
+
+ public OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp(ChangeVisibilityOp changeVisibilityOp) {
+ this.changeVisibilityOp = changeVisibilityOp;
+ }
+
+ public OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp(ChangeMaterialOp changeMaterialOp) {
+ this.changeMaterialOp = changeMaterialOp;
+ }
+
+ public OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp(ClearMaterialOp clearMaterialOp) {
+ this.clearMaterialOp = clearMaterialOp;
+ }
+
+ public OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp(ChangeTransformOp changeTransformOp) {
+ this.changeTransformOp = changeTransformOp;
+ }
+
+ public OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp(ClearTransformOp clearTransformOp) {
+ this.clearTransformOp = clearTransformOp;
+ }
+
+ public OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp(SelectOp selectOp) {
+ this.selectOp = selectOp;
+ }
+
+ public OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp(DeselectOperation deselectOperation) {
+ this.deselectOperation = deselectOperation;
+ }
+
+ public OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp(ClearRenOp clearRenOp) {
+ this.clearRenOp = clearRenOp;
+ }
+
+ public OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp(ViewDefaultRenOp viewDefaultRenOp) {
+ this.viewDefaultRenOp = viewDefaultRenOp;
+ }
+
+ public OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp(ViewRenByIdOp viewRenByIdOp) {
+ this.viewRenByIdOp = viewRenByIdOp;
+ }
+
+ public OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp(ViewRenBySuppliedIdOp viewRenBySuppliedIdOp) {
+ this.viewRenBySuppliedIdOp = viewRenBySuppliedIdOp;
+ }
+
+ public OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp(ViewRepByIdOp viewRepByIdOp) {
+ this.viewRepByIdOp = viewRepByIdOp;
+ }
+
+ public OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp(ViewRepByPredefinedIdOp viewRepByPredefinedIdOp) {
+ this.viewRepByPredefinedIdOp = viewRepByPredefinedIdOp;
+ }
+
+ public OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp(ClearRepOp clearRepOp) {
+ this.clearRepOp = clearRepOp;
+ }
+
+ public Object getData() {
+ if (this.changeVisibilityOp != null) return this.changeVisibilityOp;
+ if (this.changeMaterialOp != null) return this.changeMaterialOp;
+ if (this.clearMaterialOp != null) return this.clearMaterialOp;
+ if (this.changeTransformOp != null) return this.changeTransformOp;
+ if (this.clearTransformOp != null) return this.clearTransformOp;
+ if (this.selectOp != null) return this.selectOp;
+ if (this.deselectOperation != null) return this.deselectOperation;
+ if (this.clearRenOp != null) return this.clearRenOp;
+ if (this.viewDefaultRenOp != null) return this.viewDefaultRenOp;
+ if (this.viewRenByIdOp != null) return this.viewRenByIdOp;
+ if (this.viewRenBySuppliedIdOp != null) return this.viewRenBySuppliedIdOp;
+ if (this.viewRepByIdOp != null) return this.viewRepByIdOp;
+ if (this.viewRepByPredefinedIdOp != null) return this.viewRepByPredefinedIdOp;
+ if (this.clearRepOp != null) return this.clearRepOp;
+ return null;
+ }
+
+ @Nullable
+ public ChangeVisibilityOp getChangeVisibilityOp() {
+ return this.changeVisibilityOp;
+ }
+
+ @Nullable
+ public ChangeMaterialOp getChangeMaterialOp() {
+ return this.changeMaterialOp;
+ }
+
+ @Nullable
+ public ClearMaterialOp getClearMaterialOp() {
+ return this.clearMaterialOp;
+ }
+
+ @Nullable
+ public ChangeTransformOp getChangeTransformOp() {
+ return this.changeTransformOp;
+ }
+
+ @Nullable
+ public ClearTransformOp getClearTransformOp() {
+ return this.clearTransformOp;
+ }
+
+ @Nullable
+ public SelectOp getSelectOp() {
+ return this.selectOp;
+ }
+
+ @Nullable
+ public DeselectOperation getDeselectOperation() {
+ return this.deselectOperation;
+ }
+
+ @Nullable
+ public ClearRenOp getClearRenOp() {
+ return this.clearRenOp;
+ }
+
+ @Nullable
+ public ViewDefaultRenOp getViewDefaultRenOp() {
+ return this.viewDefaultRenOp;
+ }
+
+ @Nullable
+ public ViewRenByIdOp getViewRenByIdOp() {
+ return this.viewRenByIdOp;
+ }
+
+ @Nullable
+ public ViewRenBySuppliedIdOp getViewRenBySuppliedIdOp() {
+ return this.viewRenBySuppliedIdOp;
+ }
+
+ @Nullable
+ public ViewRepByIdOp getViewRepByIdOp() {
+ return this.viewRepByIdOp;
+ }
+
+ @Nullable
+ public ViewRepByPredefinedIdOp getViewRepByPredefinedIdOp() {
+ return this.viewRepByPredefinedIdOp;
+ }
+
+ @Nullable
+ public ClearRepOp getClearRepOp() {
+ return this.clearRepOp;
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/com/vertexvis/model/OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequest.java b/src/main/java/com/vertexvis/model/OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequest.java
new file mode 100644
index 00000000..789ef4fe
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequest.java
@@ -0,0 +1,36 @@
+package com.vertexvis.model;
+
+import javax.annotation.Nullable;
+
+public class OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequest {
+ private CreateSceneAlterationRequest createSceneAlterationRequest;
+ private CreateSceneExpressionAlterationRequest createSceneExpressionAlterationRequest;
+
+ public OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequest(CreateSceneAlterationRequest createSceneAlterationRequest) {
+ this.createSceneAlterationRequest = createSceneAlterationRequest;
+ }
+
+ public OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequest(CreateSceneExpressionAlterationRequest createSceneExpressionAlterationRequest) {
+ this.createSceneExpressionAlterationRequest = createSceneExpressionAlterationRequest;
+ }
+
+ public Object getData() {
+ if (this.createSceneAlterationRequest != null) {
+ return this.createSceneAlterationRequest;
+ }
+ if (this.createSceneExpressionAlterationRequest != null) {
+ return this.createSceneExpressionAlterationRequest;
+ }
+ return null;
+ }
+
+ @Nullable
+ public CreateSceneAlterationRequest getCreateSceneAlterationRequest() {
+ return this.createSceneAlterationRequest;
+ }
+
+ @Nullable
+ public CreateSceneExpressionAlterationRequest getCreateSceneExpressionAlterationRequest() {
+ return this.createSceneExpressionAlterationRequest;
+ }
+}
diff --git a/src/main/java/com/vertexvis/model/OneOfFileJobArchiveOperation.java b/src/main/java/com/vertexvis/model/OneOfFileJobArchiveOperation.java
new file mode 100644
index 00000000..417b9ccd
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/OneOfFileJobArchiveOperation.java
@@ -0,0 +1,25 @@
+package com.vertexvis.model;
+
+import javax.annotation.Nullable;
+
+public class OneOfFileJobArchiveOperation {
+ private FileJobArchiveOperation fileJobArchiveOperation;
+
+ public OneOfFileJobArchiveOperation(FileJobArchiveOperation fileJobArchiveOperation) {
+ this.fileJobArchiveOperation = fileJobArchiveOperation;
+ }
+
+ public Object getData() {
+ if (this.fileJobArchiveOperation != null) {
+ return this.fileJobArchiveOperation;
+ }
+
+ return null;
+ }
+
+
+ @Nullable
+ public FileJobArchiveOperation getFileJobArchiveOperation() {
+ return this.fileJobArchiveOperation;
+ }
+}
diff --git a/src/main/java/com/vertexvis/model/OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata.java b/src/main/java/com/vertexvis/model/OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata.java
new file mode 100644
index 00000000..eecb61c9
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata.java
@@ -0,0 +1,62 @@
+package com.vertexvis.model;
+
+import javax.annotation.Nullable;
+
+public class OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata {
+ private QueryBySceneItemId queryBySceneItemId;
+ private QueryBySceneItemIds queryBySceneItemIds;
+ private QueryByRoot queryByRoot;
+ private QueryBySceneItemMetadata queryBySceneItemMetadata;
+
+ public OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata(QueryBySceneItemId queryBySceneItemId) {
+ this.queryBySceneItemId = queryBySceneItemId;
+ }
+
+ public OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata(QueryBySceneItemIds queryBySceneItemIds) {
+ this.queryBySceneItemIds = queryBySceneItemIds;
+ }
+
+ public OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata(QueryByRoot queryByRoot) {
+ this.queryByRoot = queryByRoot;
+ }
+
+ public OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata(QueryBySceneItemMetadata queryBySceneItemMetadata) {
+ this.queryBySceneItemMetadata = queryBySceneItemMetadata;
+ }
+
+ public Object getData() {
+ if (this.queryBySceneItemId != null) {
+ return this.queryBySceneItemId;
+ }
+ if (this.queryBySceneItemIds != null) {
+ return this.queryBySceneItemIds;
+ }
+ if (this.queryByRoot != null) {
+ return this.queryByRoot;
+ }
+ if (this.queryBySceneItemMetadata != null) {
+ return this.queryBySceneItemMetadata;
+ }
+ return null;
+ }
+
+ @Nullable
+ public QueryBySceneItemId getQueryBySceneItemId() {
+ return this.queryBySceneItemId;
+ }
+
+ @Nullable
+ public QueryBySceneItemIds getQueryBySceneItemIds() {
+ return this.queryBySceneItemIds;
+ }
+
+ @Nullable
+ public QueryByRoot getQueryByRoot() {
+ return this.queryByRoot;
+ }
+
+ @Nullable
+ public QueryBySceneItemMetadata getQueryBySceneItemMetadata() {
+ return this.queryBySceneItemMetadata;
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/com/vertexvis/model/OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression.java b/src/main/java/com/vertexvis/model/OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression.java
new file mode 100644
index 00000000..4bd82ec8
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression.java
@@ -0,0 +1,36 @@
+package com.vertexvis.model;
+
+import javax.annotation.Nullable;
+
+public class OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression {
+ private SceneItemAndExpression sceneItemAndExpression;
+ private SceneItemOrExpression sceneItemOrExpression;
+
+ public OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression(SceneItemAndExpression sceneItemAndExpression) {
+ this.sceneItemAndExpression = sceneItemAndExpression;
+ }
+
+ public OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression(SceneItemOrExpression sceneItemOrExpression) {
+ this.sceneItemOrExpression = sceneItemOrExpression;
+ }
+
+ public Object getData() {
+ if (this.sceneItemAndExpression != null) {
+ return this.sceneItemAndExpression;
+ }
+ if (this.sceneItemOrExpression != null) {
+ return this.sceneItemOrExpression;
+ }
+ return null;
+ }
+
+ @Nullable
+ public SceneItemAndExpression getSceneItemAndExpression() {
+ return this.sceneItemAndExpression;
+ }
+
+ @Nullable
+ public SceneItemOrExpression getSceneItemOrExpression() {
+ return this.sceneItemOrExpression;
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/com/vertexvis/model/OneOfSelectFileByIdSelectFileBySuppliedId.java b/src/main/java/com/vertexvis/model/OneOfSelectFileByIdSelectFileBySuppliedId.java
new file mode 100644
index 00000000..8a3ac31e
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/OneOfSelectFileByIdSelectFileBySuppliedId.java
@@ -0,0 +1,36 @@
+package com.vertexvis.model;
+
+import javax.annotation.Nullable;
+
+public class OneOfSelectFileByIdSelectFileBySuppliedId {
+ private SelectFileById selectFileById;
+ private SelectFileBySuppliedId selectFileBySuppliedId;
+
+ public OneOfSelectFileByIdSelectFileBySuppliedId(SelectFileById selectFileById) {
+ this.selectFileById = selectFileById;
+ }
+
+ public OneOfSelectFileByIdSelectFileBySuppliedId(SelectFileBySuppliedId selectFileBySuppliedId) {
+ this.selectFileBySuppliedId = selectFileBySuppliedId;
+ }
+
+ public Object getData() {
+ if (this.selectFileById != null) {
+ return this.selectFileById;
+ }
+ if (this.selectFileBySuppliedId != null) {
+ return this.selectFileBySuppliedId;
+ }
+ return null;
+ }
+
+ @Nullable
+ public SelectFileById getSelectFileById() {
+ return this.selectFileById;
+ }
+
+ @Nullable
+ public SelectFileBySuppliedId getSelectFileBySuppliedId() {
+ return this.selectFileBySuppliedId;
+ }
+}
diff --git a/src/main/java/com/vertexvis/model/PartAssemblyRelationshipData.java b/src/main/java/com/vertexvis/model/PartAssemblyRelationshipData.java
index 48b0afec..963aa774 100644
--- a/src/main/java/com/vertexvis/model/PartAssemblyRelationshipData.java
+++ b/src/main/java/com/vertexvis/model/PartAssemblyRelationshipData.java
@@ -89,11 +89,13 @@ public PartAssemblyRelationshipData putMetadataItem(String key, AnyOfMetadataLon
}
/**
- * Additional metadata about the `part` and/or `part-revision`.
+ * Additional metadata about the `part` and/or `part-revision`. This has been deprecated and replaced by the PATCH endpoint /property-entries
* @return metadata
+ * @deprecated
**/
+ @Deprecated
@javax.annotation.Nullable
- @ApiModelProperty(value = "Additional metadata about the `part` and/or `part-revision`. ")
+ @ApiModelProperty(value = "Additional metadata about the `part` and/or `part-revision`. This has been deprecated and replaced by the PATCH endpoint /property-entries ")
public Map getMetadata() {
return metadata;
diff --git a/src/main/java/com/vertexvis/model/PartDataRelationships.java b/src/main/java/com/vertexvis/model/PartDataRelationships.java
index 342b2cfa..edb50737 100644
--- a/src/main/java/com/vertexvis/model/PartDataRelationships.java
+++ b/src/main/java/com/vertexvis/model/PartDataRelationships.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import com.vertexvis.model.AccountRelationship;
import com.vertexvis.model.PartDataRelationshipsPartRevisions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@@ -36,6 +37,10 @@ public class PartDataRelationships {
@SerializedName(SERIALIZED_NAME_PART_REVISIONS)
private List partRevisions = new ArrayList<>();
+ public static final String SERIALIZED_NAME_OWNER = "owner";
+ @SerializedName(SERIALIZED_NAME_OWNER)
+ private AccountRelationship owner;
+
public PartDataRelationships() {
}
@@ -67,6 +72,29 @@ public void setPartRevisions(List partRevisi
}
+ public PartDataRelationships owner(AccountRelationship owner) {
+
+ this.owner = owner;
+ return this;
+ }
+
+ /**
+ * Get owner
+ * @return owner
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "")
+
+ public AccountRelationship getOwner() {
+ return owner;
+ }
+
+
+ public void setOwner(AccountRelationship owner) {
+ this.owner = owner;
+ }
+
+
@Override
public boolean equals(Object o) {
if (this == o) {
@@ -76,12 +104,13 @@ public boolean equals(Object o) {
return false;
}
PartDataRelationships partDataRelationships = (PartDataRelationships) o;
- return Objects.equals(this.partRevisions, partDataRelationships.partRevisions);
+ return Objects.equals(this.partRevisions, partDataRelationships.partRevisions) &&
+ Objects.equals(this.owner, partDataRelationships.owner);
}
@Override
public int hashCode() {
- return Objects.hash(partRevisions);
+ return Objects.hash(partRevisions, owner);
}
@Override
@@ -89,6 +118,7 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PartDataRelationships {\n");
sb.append(" partRevisions: ").append(toIndentedString(partRevisions)).append("\n");
+ sb.append(" owner: ").append(toIndentedString(owner)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/src/main/java/com/vertexvis/model/PartRevisionDataAttributes.java b/src/main/java/com/vertexvis/model/PartRevisionDataAttributes.java
index 53a4a1d9..a874104d 100644
--- a/src/main/java/com/vertexvis/model/PartRevisionDataAttributes.java
+++ b/src/main/java/com/vertexvis/model/PartRevisionDataAttributes.java
@@ -95,11 +95,13 @@ public PartRevisionDataAttributes putMetadataItem(String key, AnyOfMetadataLongT
}
/**
- * Get metadata
+ * This has been deprecated and replaced by the GET endpoint /property-entries
* @return metadata
+ * @deprecated
**/
+ @Deprecated
@javax.annotation.Nullable
- @ApiModelProperty(value = "")
+ @ApiModelProperty(value = "This has been deprecated and replaced by the GET endpoint /property-entries")
public Map getMetadata() {
return metadata;
diff --git a/src/main/java/com/vertexvis/model/PartsDomainSubject.java b/src/main/java/com/vertexvis/model/PartsDomainSubject.java
new file mode 100644
index 00000000..db3e4b88
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/PartsDomainSubject.java
@@ -0,0 +1,146 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * A subject domain encompassing all part resources
+ */
+@ApiModel(description = "A subject domain encompassing all part resources")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class PartsDomainSubject {
+ /**
+ * Gets or Sets domain
+ */
+ @JsonAdapter(DomainEnum.Adapter.class)
+ public enum DomainEnum {
+ PARTS("parts");
+
+ private String value;
+
+ DomainEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static DomainEnum fromValue(String value) {
+ for (DomainEnum b : DomainEnum.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 DomainEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public DomainEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return DomainEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_DOMAIN = "domain";
+ @SerializedName(SERIALIZED_NAME_DOMAIN)
+ private DomainEnum domain;
+
+ public PartsDomainSubject() {
+ }
+
+ public PartsDomainSubject domain(DomainEnum domain) {
+
+ this.domain = domain;
+ return this;
+ }
+
+ /**
+ * Get domain
+ * @return domain
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public DomainEnum getDomain() {
+ return domain;
+ }
+
+
+ public void setDomain(DomainEnum domain) {
+ this.domain = domain;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ PartsDomainSubject partsDomainSubject = (PartsDomainSubject) o;
+ return Objects.equals(this.domain, partsDomainSubject.domain);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(domain);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class PartsDomainSubject {\n");
+ sb.append(" domain: ").append(toIndentedString(domain)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/PermissionGrant.java b/src/main/java/com/vertexvis/model/PermissionGrant.java
new file mode 100644
index 00000000..d70d7326
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/PermissionGrant.java
@@ -0,0 +1,142 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.Link;
+import com.vertexvis.model.PermissionGrantData;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * PermissionGrant
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class PermissionGrant {
+ public static final String SERIALIZED_NAME_DATA = "data";
+ @SerializedName(SERIALIZED_NAME_DATA)
+ private PermissionGrantData data;
+
+ public static final String SERIALIZED_NAME_LINKS = "links";
+ @SerializedName(SERIALIZED_NAME_LINKS)
+ private Map links = null;
+
+ public PermissionGrant() {
+ }
+
+ public PermissionGrant data(PermissionGrantData data) {
+
+ this.data = data;
+ return this;
+ }
+
+ /**
+ * Get data
+ * @return data
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public PermissionGrantData getData() {
+ return data;
+ }
+
+
+ public void setData(PermissionGrantData data) {
+ this.data = data;
+ }
+
+
+ public PermissionGrant links(Map links) {
+
+ this.links = links;
+ return this;
+ }
+
+ public PermissionGrant putLinksItem(String key, Link linksItem) {
+ if (this.links == null) {
+ this.links = new HashMap<>();
+ }
+ this.links.put(key, linksItem);
+ return this;
+ }
+
+ /**
+ * Get links
+ * @return links
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "")
+
+ public Map getLinks() {
+ return links;
+ }
+
+
+ public void setLinks(Map links) {
+ this.links = links;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ PermissionGrant permissionGrant = (PermissionGrant) o;
+ return Objects.equals(this.data, permissionGrant.data) &&
+ Objects.equals(this.links, permissionGrant.links);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(data, links);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class PermissionGrant {\n");
+ sb.append(" data: ").append(toIndentedString(data)).append("\n");
+ sb.append(" links: ").append(toIndentedString(links)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/PermissionGrantData.java b/src/main/java/com/vertexvis/model/PermissionGrantData.java
new file mode 100644
index 00000000..40c84295
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/PermissionGrantData.java
@@ -0,0 +1,206 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.CreatePermissionGrantDataAttributes;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.UUID;
+
+/**
+ * A permission grant tuple
+ */
+@ApiModel(description = "A permission grant tuple")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class PermissionGrantData {
+ /**
+ * Gets or Sets type
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ PERMISSION_GRANT("permission-grant");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.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 TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private TypeEnum type;
+
+ public static final String SERIALIZED_NAME_ID = "id";
+ @SerializedName(SERIALIZED_NAME_ID)
+ private UUID id;
+
+ public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
+ @SerializedName(SERIALIZED_NAME_ATTRIBUTES)
+ private CreatePermissionGrantDataAttributes attributes;
+
+ public PermissionGrantData() {
+ }
+
+ public PermissionGrantData type(TypeEnum type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+ public void setType(TypeEnum type) {
+ this.type = type;
+ }
+
+
+ public PermissionGrantData id(UUID id) {
+
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * ID of the resource.
+ * @return id
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "f79d4760-0b71-44e4-ad0b-22743fdd4ca3", required = true, value = "ID of the resource.")
+
+ public UUID getId() {
+ return id;
+ }
+
+
+ public void setId(UUID id) {
+ this.id = id;
+ }
+
+
+ public PermissionGrantData attributes(CreatePermissionGrantDataAttributes attributes) {
+
+ this.attributes = attributes;
+ return this;
+ }
+
+ /**
+ * Get attributes
+ * @return attributes
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public CreatePermissionGrantDataAttributes getAttributes() {
+ return attributes;
+ }
+
+
+ public void setAttributes(CreatePermissionGrantDataAttributes attributes) {
+ this.attributes = attributes;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ PermissionGrantData permissionGrantData = (PermissionGrantData) o;
+ return Objects.equals(this.type, permissionGrantData.type) &&
+ Objects.equals(this.id, permissionGrantData.id) &&
+ Objects.equals(this.attributes, permissionGrantData.attributes);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, id, attributes);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class PermissionGrantData {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/PermissionGrantList.java b/src/main/java/com/vertexvis/model/PermissionGrantList.java
new file mode 100644
index 00000000..1f319dd2
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/PermissionGrantList.java
@@ -0,0 +1,146 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.Link;
+import com.vertexvis.model.PermissionGrant;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * A list of permission grants
+ */
+@ApiModel(description = "A list of permission grants")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class PermissionGrantList {
+ public static final String SERIALIZED_NAME_DATA = "data";
+ @SerializedName(SERIALIZED_NAME_DATA)
+ private List data = new ArrayList<>();
+
+ public static final String SERIALIZED_NAME_LINKS = "links";
+ @SerializedName(SERIALIZED_NAME_LINKS)
+ private Map links = new HashMap<>();
+
+ public PermissionGrantList() {
+ }
+
+ public PermissionGrantList data(List data) {
+
+ this.data = data;
+ return this;
+ }
+
+ public PermissionGrantList addDataItem(PermissionGrant dataItem) {
+ this.data.add(dataItem);
+ return this;
+ }
+
+ /**
+ * Get data
+ * @return data
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public List getData() {
+ return data;
+ }
+
+
+ public void setData(List data) {
+ this.data = data;
+ }
+
+
+ public PermissionGrantList links(Map links) {
+
+ this.links = links;
+ return this;
+ }
+
+ public PermissionGrantList putLinksItem(String key, Link linksItem) {
+ this.links.put(key, linksItem);
+ return this;
+ }
+
+ /**
+ * Get links
+ * @return links
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public Map getLinks() {
+ return links;
+ }
+
+
+ public void setLinks(Map links) {
+ this.links = links;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ PermissionGrantList permissionGrantList = (PermissionGrantList) o;
+ return Objects.equals(this.data, permissionGrantList.data) &&
+ Objects.equals(this.links, permissionGrantList.links);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(data, links);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class PermissionGrantList {\n");
+ sb.append(" data: ").append(toIndentedString(data)).append("\n");
+ sb.append(" links: ").append(toIndentedString(links)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/PermissionGrantee.java b/src/main/java/com/vertexvis/model/PermissionGrantee.java
new file mode 100644
index 00000000..b6313008
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/PermissionGrantee.java
@@ -0,0 +1,178 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.GranteeAccount;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.UUID;
+
+/**
+ * The grantee portion of a permission grant tuple
+ */
+@ApiModel(description = "The grantee portion of a permission grant tuple")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class PermissionGrantee {
+ /**
+ * Gets or Sets type
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ ACCOUNT("account");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.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 TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ protected TypeEnum type;
+
+ public static final String SERIALIZED_NAME_ID = "id";
+ @SerializedName(SERIALIZED_NAME_ID)
+ private UUID id;
+
+ public PermissionGrantee() {
+ this.type = this.getClass().getSimpleName();
+ }
+
+ public PermissionGrantee type(TypeEnum type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+ public void setType(TypeEnum type) {
+ this.type = type;
+ }
+
+
+ public PermissionGrantee id(UUID id) {
+
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * ID of the resource.
+ * @return id
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "f79d4760-0b71-44e4-ad0b-22743fdd4ca3", required = true, value = "ID of the resource.")
+
+ public UUID getId() {
+ return id;
+ }
+
+
+ public void setId(UUID id) {
+ this.id = id;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ PermissionGrantee permissionGrantee = (PermissionGrantee) o;
+ return Objects.equals(this.type, permissionGrantee.type) &&
+ Objects.equals(this.id, permissionGrantee.id);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, id);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class PermissionGrantee {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/PermissionSubject.java b/src/main/java/com/vertexvis/model/PermissionSubject.java
new file mode 100644
index 00000000..eeec0862
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/PermissionSubject.java
@@ -0,0 +1,149 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.PartsDomainSubject;
+import com.vertexvis.model.PropertySetDomainSubject;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * A resource category subject to a permission grant
+ */
+@ApiModel(description = "A resource category subject to a permission grant")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class PermissionSubject {
+ /**
+ * Gets or Sets domain
+ */
+ @JsonAdapter(DomainEnum.Adapter.class)
+ public enum DomainEnum {
+ PROPERTY_SETS("property-sets");
+
+ private String value;
+
+ DomainEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static DomainEnum fromValue(String value) {
+ for (DomainEnum b : DomainEnum.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 DomainEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public DomainEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return DomainEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_DOMAIN = "domain";
+ @SerializedName(SERIALIZED_NAME_DOMAIN)
+ protected DomainEnum domain;
+
+ public PermissionSubject() {
+ this.domain = this.getClass().getSimpleName();
+ }
+
+ public PermissionSubject domain(DomainEnum domain) {
+
+ this.domain = domain;
+ return this;
+ }
+
+ /**
+ * Get domain
+ * @return domain
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public DomainEnum getDomain() {
+ return domain;
+ }
+
+
+ public void setDomain(DomainEnum domain) {
+ this.domain = domain;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ PermissionSubject permissionSubject = (PermissionSubject) o;
+ return Objects.equals(this.domain, permissionSubject.domain);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(domain);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class PermissionSubject {\n");
+ sb.append(" domain: ").append(toIndentedString(domain)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/PropertySetDomainSubject.java b/src/main/java/com/vertexvis/model/PropertySetDomainSubject.java
new file mode 100644
index 00000000..3e1d094c
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/PropertySetDomainSubject.java
@@ -0,0 +1,146 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * A subject domain encompassing all property set resources
+ */
+@ApiModel(description = "A subject domain encompassing all property set resources")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class PropertySetDomainSubject {
+ /**
+ * Gets or Sets domain
+ */
+ @JsonAdapter(DomainEnum.Adapter.class)
+ public enum DomainEnum {
+ PROPERTY_SETS("property-sets");
+
+ private String value;
+
+ DomainEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static DomainEnum fromValue(String value) {
+ for (DomainEnum b : DomainEnum.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 DomainEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public DomainEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return DomainEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_DOMAIN = "domain";
+ @SerializedName(SERIALIZED_NAME_DOMAIN)
+ private DomainEnum domain;
+
+ public PropertySetDomainSubject() {
+ }
+
+ public PropertySetDomainSubject domain(DomainEnum domain) {
+
+ this.domain = domain;
+ return this;
+ }
+
+ /**
+ * Get domain
+ * @return domain
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public DomainEnum getDomain() {
+ return domain;
+ }
+
+
+ public void setDomain(DomainEnum domain) {
+ this.domain = domain;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ PropertySetDomainSubject propertySetDomainSubject = (PropertySetDomainSubject) o;
+ return Objects.equals(this.domain, propertySetDomainSubject.domain);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(domain);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class PropertySetDomainSubject {\n");
+ sb.append(" domain: ").append(toIndentedString(domain)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/QueryByRoot.java b/src/main/java/com/vertexvis/model/QueryByRoot.java
new file mode 100644
index 00000000..04f7e8b5
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/QueryByRoot.java
@@ -0,0 +1,146 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * Query the root items of a scene
+ */
+@ApiModel(description = "Query the root items of a scene")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class QueryByRoot {
+ /**
+ * Resource object type.
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ QUERY_BY_ROOT("query-by-root");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.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 TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private TypeEnum type;
+
+ public QueryByRoot() {
+ }
+
+ public QueryByRoot type(TypeEnum type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Resource object type.
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "query-by-root", required = true, value = "Resource object type.")
+
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+ public void setType(TypeEnum type) {
+ this.type = type;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ QueryByRoot queryByRoot = (QueryByRoot) o;
+ return Objects.equals(this.type, queryByRoot.type);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class QueryByRoot {\n");
+ sb.append(" type: ").append(toIndentedString(type)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/QueryBySceneItemId.java b/src/main/java/com/vertexvis/model/QueryBySceneItemId.java
new file mode 100644
index 00000000..4639caf3
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/QueryBySceneItemId.java
@@ -0,0 +1,176 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * QueryBySceneItemId
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class QueryBySceneItemId {
+ /**
+ * Resource object type.
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ ID("query-by-id"),
+
+ SUPPLIED_ID("query-by-supplied-id");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.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 TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private TypeEnum type;
+
+ public static final String SERIALIZED_NAME_VALUE = "value";
+ @SerializedName(SERIALIZED_NAME_VALUE)
+ private String value;
+
+ public QueryBySceneItemId() {
+ }
+
+ public QueryBySceneItemId type(TypeEnum type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Resource object type.
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "query-by-supplied-id", required = true, value = "Resource object type.")
+
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+ public void setType(TypeEnum type) {
+ this.type = type;
+ }
+
+
+ public QueryBySceneItemId value(String value) {
+
+ this.value = value;
+ return this;
+ }
+
+ /**
+ * ID of the resource.
+ * @return value
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "ID of the resource.")
+
+ public String getValue() {
+ return value;
+ }
+
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ QueryBySceneItemId queryBySceneItemId = (QueryBySceneItemId) o;
+ return Objects.equals(this.type, queryBySceneItemId.type) &&
+ Objects.equals(this.value, queryBySceneItemId.value);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, value);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class QueryBySceneItemId {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" value: ").append(toIndentedString(value)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/QueryBySceneItemIds.java b/src/main/java/com/vertexvis/model/QueryBySceneItemIds.java
new file mode 100644
index 00000000..97bd7ea2
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/QueryBySceneItemIds.java
@@ -0,0 +1,182 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.QueryBySceneItemId;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * QueryBySceneItemIds
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class QueryBySceneItemIds {
+ /**
+ * Resource object type.
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ QUERY_BY_COLLECTION("query-by-collection");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.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 TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private TypeEnum type;
+
+ public static final String SERIALIZED_NAME_VALUES = "values";
+ @SerializedName(SERIALIZED_NAME_VALUES)
+ private List values = new ArrayList<>();
+
+ public QueryBySceneItemIds() {
+ }
+
+ public QueryBySceneItemIds type(TypeEnum type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Resource object type.
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "query-by-collection", required = true, value = "Resource object type.")
+
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+ public void setType(TypeEnum type) {
+ this.type = type;
+ }
+
+
+ public QueryBySceneItemIds values(List values) {
+
+ this.values = values;
+ return this;
+ }
+
+ public QueryBySceneItemIds addValuesItem(QueryBySceneItemId valuesItem) {
+ this.values.add(valuesItem);
+ return this;
+ }
+
+ /**
+ * Query `scene-items`.
+ * @return values
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Query `scene-items`.")
+
+ public List getValues() {
+ return values;
+ }
+
+
+ public void setValues(List values) {
+ this.values = values;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ QueryBySceneItemIds queryBySceneItemIds = (QueryBySceneItemIds) o;
+ return Objects.equals(this.type, queryBySceneItemIds.type) &&
+ Objects.equals(this.values, queryBySceneItemIds.values);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, values);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class QueryBySceneItemIds {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" values: ").append(toIndentedString(values)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/QueryBySceneItemMetadata.java b/src/main/java/com/vertexvis/model/QueryBySceneItemMetadata.java
new file mode 100644
index 00000000..e57c9956
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/QueryBySceneItemMetadata.java
@@ -0,0 +1,239 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * QueryBySceneItemMetadata
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class QueryBySceneItemMetadata {
+ /**
+ * Resource object type.
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ QUERY_BY_METADATA("query-by-metadata");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.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 TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private TypeEnum type;
+
+ public static final String SERIALIZED_NAME_EXACT_MATCH = "exactMatch";
+ @SerializedName(SERIALIZED_NAME_EXACT_MATCH)
+ private Boolean exactMatch;
+
+ public static final String SERIALIZED_NAME_FILTER = "filter";
+ @SerializedName(SERIALIZED_NAME_FILTER)
+ private String filter;
+
+ public static final String SERIALIZED_NAME_KEYS = "keys";
+ @SerializedName(SERIALIZED_NAME_KEYS)
+ private List keys = new ArrayList<>();
+
+ public QueryBySceneItemMetadata() {
+ }
+
+ public QueryBySceneItemMetadata type(TypeEnum type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Resource object type.
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "query-by-metadata", required = true, value = "Resource object type.")
+
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+ public void setType(TypeEnum type) {
+ this.type = type;
+ }
+
+
+ public QueryBySceneItemMetadata exactMatch(Boolean exactMatch) {
+
+ this.exactMatch = exactMatch;
+ return this;
+ }
+
+ /**
+ * Get exactMatch
+ * @return exactMatch
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "")
+
+ public Boolean getExactMatch() {
+ return exactMatch;
+ }
+
+
+ public void setExactMatch(Boolean exactMatch) {
+ this.exactMatch = exactMatch;
+ }
+
+
+ public QueryBySceneItemMetadata filter(String filter) {
+
+ this.filter = filter;
+ return this;
+ }
+
+ /**
+ * Get filter
+ * @return filter
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "some-string", required = true, value = "")
+
+ public String getFilter() {
+ return filter;
+ }
+
+
+ public void setFilter(String filter) {
+ this.filter = filter;
+ }
+
+
+ public QueryBySceneItemMetadata keys(List keys) {
+
+ this.keys = keys;
+ return this;
+ }
+
+ public QueryBySceneItemMetadata addKeysItem(String keysItem) {
+ this.keys.add(keysItem);
+ return this;
+ }
+
+ /**
+ * Query `metadata`.
+ * @return keys
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Query `metadata`.")
+
+ public List getKeys() {
+ return keys;
+ }
+
+
+ public void setKeys(List keys) {
+ this.keys = keys;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ QueryBySceneItemMetadata queryBySceneItemMetadata = (QueryBySceneItemMetadata) o;
+ return Objects.equals(this.type, queryBySceneItemMetadata.type) &&
+ Objects.equals(this.exactMatch, queryBySceneItemMetadata.exactMatch) &&
+ Objects.equals(this.filter, queryBySceneItemMetadata.filter) &&
+ Objects.equals(this.keys, queryBySceneItemMetadata.keys);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, exactMatch, filter, keys);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class QueryBySceneItemMetadata {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" exactMatch: ").append(toIndentedString(exactMatch)).append("\n");
+ sb.append(" filter: ").append(toIndentedString(filter)).append("\n");
+ sb.append(" keys: ").append(toIndentedString(keys)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/SceneItemAndExpression.java b/src/main/java/com/vertexvis/model/SceneItemAndExpression.java
new file mode 100644
index 00000000..0849ad22
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/SceneItemAndExpression.java
@@ -0,0 +1,207 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.SceneItemAndExpression;
+import com.vertexvis.model.SceneItemOrExpression;
+import com.vertexvis.model.SceneItemQueryOperand;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * The union of the items of the provided queries
+ */
+@ApiModel(description = "The union of the items of the provided queries")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class SceneItemAndExpression {
+ /**
+ * The type of the expression
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ AND("and");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.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 TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private TypeEnum type;
+
+ public static final String SERIALIZED_NAME_LEFT = "left";
+ @SerializedName(SERIALIZED_NAME_LEFT)
+ private OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression left;
+
+ public static final String SERIALIZED_NAME_RIGHT = "right";
+ @SerializedName(SERIALIZED_NAME_RIGHT)
+ private OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression right;
+
+ public SceneItemAndExpression() {
+ }
+
+ public SceneItemAndExpression type(TypeEnum type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * The type of the expression
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "and", required = true, value = "The type of the expression")
+
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+ public void setType(TypeEnum type) {
+ this.type = type;
+ }
+
+
+ public SceneItemAndExpression left(OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression left) {
+
+ this.left = left;
+ return this;
+ }
+
+ /**
+ * Get left
+ * @return left
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(required = true, value = "")
+
+ public OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression getLeft() {
+ return left;
+ }
+
+
+ public void setLeft(OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression left) {
+ this.left = left;
+ }
+
+
+ public SceneItemAndExpression right(OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression right) {
+
+ this.right = right;
+ return this;
+ }
+
+ /**
+ * Get right
+ * @return right
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(required = true, value = "")
+
+ public OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression getRight() {
+ return right;
+ }
+
+
+ public void setRight(OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression right) {
+ this.right = right;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SceneItemAndExpression sceneItemAndExpression = (SceneItemAndExpression) o;
+ return Objects.equals(this.type, sceneItemAndExpression.type) &&
+ Objects.equals(this.left, sceneItemAndExpression.left) &&
+ Objects.equals(this.right, sceneItemAndExpression.right);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, left, right);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class SceneItemAndExpression {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" left: ").append(toIndentedString(left)).append("\n");
+ sb.append(" right: ").append(toIndentedString(right)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/SceneItemDataAttributes.java b/src/main/java/com/vertexvis/model/SceneItemDataAttributes.java
index 99b2c090..3e9426c2 100644
--- a/src/main/java/com/vertexvis/model/SceneItemDataAttributes.java
+++ b/src/main/java/com/vertexvis/model/SceneItemDataAttributes.java
@@ -191,11 +191,13 @@ public SceneItemDataAttributes putMetadataItem(String key, AnyOfMetadataLongType
}
/**
- * Get metadata
+ * This has been deprecated and replaced by the GET endpoint /property-entries
* @return metadata
+ * @deprecated
**/
+ @Deprecated
@javax.annotation.Nullable
- @ApiModelProperty(value = "")
+ @ApiModelProperty(value = "This has been deprecated and replaced by the GET endpoint /property-entries")
public Map getMetadata() {
return metadata;
diff --git a/src/main/java/com/vertexvis/model/SceneItemExpressionOperation.java b/src/main/java/com/vertexvis/model/SceneItemExpressionOperation.java
new file mode 100644
index 00000000..86762114
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/SceneItemExpressionOperation.java
@@ -0,0 +1,154 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.ChangeMaterialOp;
+import com.vertexvis.model.ChangeTransformOp;
+import com.vertexvis.model.ChangeVisibilityOp;
+import com.vertexvis.model.ClearMaterialOp;
+import com.vertexvis.model.ClearRenOp;
+import com.vertexvis.model.ClearRepOp;
+import com.vertexvis.model.ClearTransformOp;
+import com.vertexvis.model.DeselectOperation;
+import com.vertexvis.model.OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp;
+import com.vertexvis.model.SceneItemAndExpression;
+import com.vertexvis.model.SceneItemOrExpression;
+import com.vertexvis.model.SceneItemQueryOperand;
+import com.vertexvis.model.SelectOp;
+import com.vertexvis.model.ViewDefaultRenOp;
+import com.vertexvis.model.ViewRenByIdOp;
+import com.vertexvis.model.ViewRenBySuppliedIdOp;
+import com.vertexvis.model.ViewRepByIdOp;
+import com.vertexvis.model.ViewRepByPredefinedIdOp;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * SceneItemExpressionOperation
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class SceneItemExpressionOperation {
+ public static final String SERIALIZED_NAME_EXPRESSION = "expression";
+ @SerializedName(SERIALIZED_NAME_EXPRESSION)
+ private OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression expression;
+
+ public static final String SERIALIZED_NAME_CHANGES = "changes";
+ @SerializedName(SERIALIZED_NAME_CHANGES)
+ private List changes = new ArrayList<>();
+
+ public SceneItemExpressionOperation() {
+ }
+
+ public SceneItemExpressionOperation expression(OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression expression) {
+
+ this.expression = expression;
+ return this;
+ }
+
+ /**
+ * Get expression
+ * @return expression
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(required = true, value = "")
+
+ public OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression getExpression() {
+ return expression;
+ }
+
+
+ public void setExpression(OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression expression) {
+ this.expression = expression;
+ }
+
+
+ public SceneItemExpressionOperation changes(List changes) {
+
+ this.changes = changes;
+ return this;
+ }
+
+ public SceneItemExpressionOperation addChangesItem(OneOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp changesItem) {
+ this.changes.add(changesItem);
+ return this;
+ }
+
+ /**
+ * List of changes to perform on `scene-items` matching the query for the operation
+ * @return changes
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "List of changes to perform on `scene-items` matching the query for the operation")
+
+ public List getChanges() {
+ return changes;
+ }
+
+
+ public void setChanges(List changes) {
+ this.changes = changes;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SceneItemExpressionOperation sceneItemExpressionOperation = (SceneItemExpressionOperation) o;
+ return Objects.equals(this.expression, sceneItemExpressionOperation.expression) &&
+ Objects.equals(this.changes, sceneItemExpressionOperation.changes);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(expression, changes);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class SceneItemExpressionOperation {\n");
+ sb.append(" expression: ").append(toIndentedString(expression)).append("\n");
+ sb.append(" changes: ").append(toIndentedString(changes)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/SceneItemOrExpression.java b/src/main/java/com/vertexvis/model/SceneItemOrExpression.java
new file mode 100644
index 00000000..ca09d9ee
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/SceneItemOrExpression.java
@@ -0,0 +1,207 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.SceneItemAndExpression;
+import com.vertexvis.model.SceneItemOrExpression;
+import com.vertexvis.model.SceneItemQueryOperand;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * The join of the items of the provided queries
+ */
+@ApiModel(description = "The join of the items of the provided queries")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class SceneItemOrExpression {
+ /**
+ * The type of the expression
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ OR("or");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.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 TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private TypeEnum type;
+
+ public static final String SERIALIZED_NAME_LEFT = "left";
+ @SerializedName(SERIALIZED_NAME_LEFT)
+ private OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression left;
+
+ public static final String SERIALIZED_NAME_RIGHT = "right";
+ @SerializedName(SERIALIZED_NAME_RIGHT)
+ private OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression right;
+
+ public SceneItemOrExpression() {
+ }
+
+ public SceneItemOrExpression type(TypeEnum type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * The type of the expression
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "or", required = true, value = "The type of the expression")
+
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+ public void setType(TypeEnum type) {
+ this.type = type;
+ }
+
+
+ public SceneItemOrExpression left(OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression left) {
+
+ this.left = left;
+ return this;
+ }
+
+ /**
+ * Get left
+ * @return left
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(required = true, value = "")
+
+ public OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression getLeft() {
+ return left;
+ }
+
+
+ public void setLeft(OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression left) {
+ this.left = left;
+ }
+
+
+ public SceneItemOrExpression right(OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression right) {
+
+ this.right = right;
+ return this;
+ }
+
+ /**
+ * Get right
+ * @return right
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(required = true, value = "")
+
+ public OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression getRight() {
+ return right;
+ }
+
+
+ public void setRight(OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression right) {
+ this.right = right;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SceneItemOrExpression sceneItemOrExpression = (SceneItemOrExpression) o;
+ return Objects.equals(this.type, sceneItemOrExpression.type) &&
+ Objects.equals(this.left, sceneItemOrExpression.left) &&
+ Objects.equals(this.right, sceneItemOrExpression.right);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, left, right);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class SceneItemOrExpression {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" left: ").append(toIndentedString(left)).append("\n");
+ sb.append(" right: ").append(toIndentedString(right)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/SceneItemQueryOperand.java b/src/main/java/com/vertexvis/model/SceneItemQueryOperand.java
new file mode 100644
index 00000000..f75f0c21
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/SceneItemQueryOperand.java
@@ -0,0 +1,178 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.QueryByRoot;
+import com.vertexvis.model.QueryBySceneItemId;
+import com.vertexvis.model.QueryBySceneItemIds;
+import com.vertexvis.model.QueryBySceneItemMetadata;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * SceneItemQueryOperand
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class SceneItemQueryOperand {
+ /**
+ * The type of the expression denoting it as an operand
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ QUERY_OPERAND("query-operand");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.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 TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private TypeEnum type;
+
+ public static final String SERIALIZED_NAME_QUERY = "query";
+ @SerializedName(SERIALIZED_NAME_QUERY)
+ private OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata query;
+
+ public SceneItemQueryOperand() {
+ }
+
+ public SceneItemQueryOperand type(TypeEnum type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * The type of the expression denoting it as an operand
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "query-operand", required = true, value = "The type of the expression denoting it as an operand")
+
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+ public void setType(TypeEnum type) {
+ this.type = type;
+ }
+
+
+ public SceneItemQueryOperand query(OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata query) {
+
+ this.query = query;
+ return this;
+ }
+
+ /**
+ * Query Operand for searching `scene-items`.
+ * @return query
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(required = true, value = "Query Operand for searching `scene-items`.")
+
+ public OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata getQuery() {
+ return query;
+ }
+
+
+ public void setQuery(OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata query) {
+ this.query = query;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SceneItemQueryOperand sceneItemQueryOperand = (SceneItemQueryOperand) o;
+ return Objects.equals(this.type, sceneItemQueryOperand.type) &&
+ Objects.equals(this.query, sceneItemQueryOperand.query);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, query);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class SceneItemQueryOperand {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" query: ").append(toIndentedString(query)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/SearchSession.java b/src/main/java/com/vertexvis/model/SearchSession.java
new file mode 100644
index 00000000..91d5c714
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/SearchSession.java
@@ -0,0 +1,142 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.Link;
+import com.vertexvis.model.SearchSessionData;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * SearchSession
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class SearchSession {
+ public static final String SERIALIZED_NAME_DATA = "data";
+ @SerializedName(SERIALIZED_NAME_DATA)
+ private SearchSessionData data;
+
+ public static final String SERIALIZED_NAME_LINKS = "links";
+ @SerializedName(SERIALIZED_NAME_LINKS)
+ private Map links = null;
+
+ public SearchSession() {
+ }
+
+ public SearchSession data(SearchSessionData data) {
+
+ this.data = data;
+ return this;
+ }
+
+ /**
+ * Get data
+ * @return data
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public SearchSessionData getData() {
+ return data;
+ }
+
+
+ public void setData(SearchSessionData data) {
+ this.data = data;
+ }
+
+
+ public SearchSession links(Map links) {
+
+ this.links = links;
+ return this;
+ }
+
+ public SearchSession putLinksItem(String key, Link linksItem) {
+ if (this.links == null) {
+ this.links = new HashMap<>();
+ }
+ this.links.put(key, linksItem);
+ return this;
+ }
+
+ /**
+ * Get links
+ * @return links
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "")
+
+ public Map getLinks() {
+ return links;
+ }
+
+
+ public void setLinks(Map links) {
+ this.links = links;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SearchSession searchSession = (SearchSession) o;
+ return Objects.equals(this.data, searchSession.data) &&
+ Objects.equals(this.links, searchSession.links);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(data, links);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class SearchSession {\n");
+ sb.append(" data: ").append(toIndentedString(data)).append("\n");
+ sb.append(" links: ").append(toIndentedString(links)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/SearchSessionData.java b/src/main/java/com/vertexvis/model/SearchSessionData.java
new file mode 100644
index 00000000..c2092c85
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/SearchSessionData.java
@@ -0,0 +1,231 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 com.vertexvis.model.Link;
+import com.vertexvis.model.SceneViewDataRelationships;
+import com.vertexvis.model.SearchSessionDataAttributes;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.UUID;
+
+/**
+ * SearchSessionData
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class SearchSessionData {
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private String type;
+
+ public static final String SERIALIZED_NAME_ID = "id";
+ @SerializedName(SERIALIZED_NAME_ID)
+ private UUID id;
+
+ public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
+ @SerializedName(SERIALIZED_NAME_ATTRIBUTES)
+ private SearchSessionDataAttributes attributes;
+
+ public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships";
+ @SerializedName(SERIALIZED_NAME_RELATIONSHIPS)
+ private SceneViewDataRelationships relationships;
+
+ public static final String SERIALIZED_NAME_LINKS = "links";
+ @SerializedName(SERIALIZED_NAME_LINKS)
+ private Map links = null;
+
+ public SearchSessionData() {
+ }
+
+ public SearchSessionData type(String type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "some-string", required = true, value = "")
+
+ public String getType() {
+ return type;
+ }
+
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+
+ public SearchSessionData id(UUID id) {
+
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * ID of the resource.
+ * @return id
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "f79d4760-0b71-44e4-ad0b-22743fdd4ca3", required = true, value = "ID of the resource.")
+
+ public UUID getId() {
+ return id;
+ }
+
+
+ public void setId(UUID id) {
+ this.id = id;
+ }
+
+
+ public SearchSessionData attributes(SearchSessionDataAttributes attributes) {
+
+ this.attributes = attributes;
+ return this;
+ }
+
+ /**
+ * Get attributes
+ * @return attributes
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public SearchSessionDataAttributes getAttributes() {
+ return attributes;
+ }
+
+
+ public void setAttributes(SearchSessionDataAttributes attributes) {
+ this.attributes = attributes;
+ }
+
+
+ public SearchSessionData relationships(SceneViewDataRelationships relationships) {
+
+ this.relationships = relationships;
+ return this;
+ }
+
+ /**
+ * Get relationships
+ * @return relationships
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "")
+
+ public SceneViewDataRelationships getRelationships() {
+ return relationships;
+ }
+
+
+ public void setRelationships(SceneViewDataRelationships relationships) {
+ this.relationships = relationships;
+ }
+
+
+ public SearchSessionData links(Map links) {
+
+ this.links = links;
+ return this;
+ }
+
+ public SearchSessionData putLinksItem(String key, Link linksItem) {
+ if (this.links == null) {
+ this.links = new HashMap<>();
+ }
+ this.links.put(key, linksItem);
+ return this;
+ }
+
+ /**
+ * Get links
+ * @return links
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "")
+
+ public Map getLinks() {
+ return links;
+ }
+
+
+ public void setLinks(Map links) {
+ this.links = links;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SearchSessionData searchSessionData = (SearchSessionData) o;
+ return Objects.equals(this.type, searchSessionData.type) &&
+ Objects.equals(this.id, searchSessionData.id) &&
+ Objects.equals(this.attributes, searchSessionData.attributes) &&
+ Objects.equals(this.relationships, searchSessionData.relationships) &&
+ Objects.equals(this.links, searchSessionData.links);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, id, attributes, relationships, links);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class SearchSessionData {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n");
+ sb.append(" relationships: ").append(toIndentedString(relationships)).append("\n");
+ sb.append(" links: ").append(toIndentedString(links)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/SearchSessionDataAttributes.java b/src/main/java/com/vertexvis/model/SearchSessionDataAttributes.java
new file mode 100644
index 00000000..b6baee30
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/SearchSessionDataAttributes.java
@@ -0,0 +1,100 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * SearchSessionDataAttributes
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class SearchSessionDataAttributes {
+ public static final String SERIALIZED_NAME_STATUS = "status";
+ @SerializedName(SERIALIZED_NAME_STATUS)
+ private String status;
+
+ public SearchSessionDataAttributes() {
+ }
+
+ public SearchSessionDataAttributes status(String status) {
+
+ this.status = status;
+ return this;
+ }
+
+ /**
+ * Get status
+ * @return status
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public String getStatus() {
+ return status;
+ }
+
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SearchSessionDataAttributes searchSessionDataAttributes = (SearchSessionDataAttributes) o;
+ return Objects.equals(this.status, searchSessionDataAttributes.status);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(status);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class SearchSessionDataAttributes {\n");
+ sb.append(" status: ").append(toIndentedString(status)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/SelectFileById.java b/src/main/java/com/vertexvis/model/SelectFileById.java
new file mode 100644
index 00000000..7d888002
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/SelectFileById.java
@@ -0,0 +1,176 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.UUID;
+
+/**
+ * Queries a file by its unique ID.
+ */
+@ApiModel(description = "Queries a file by its unique ID.")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class SelectFileById {
+ /**
+ * Gets or Sets type
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ FILE_BY_ID("file-by-id");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.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 TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private TypeEnum type;
+
+ public static final String SERIALIZED_NAME_ID = "id";
+ @SerializedName(SERIALIZED_NAME_ID)
+ private UUID id;
+
+ public SelectFileById() {
+ }
+
+ public SelectFileById type(TypeEnum type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+ public void setType(TypeEnum type) {
+ this.type = type;
+ }
+
+
+ public SelectFileById id(UUID id) {
+
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * ID of the resource.
+ * @return id
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "f79d4760-0b71-44e4-ad0b-22743fdd4ca3", required = true, value = "ID of the resource.")
+
+ public UUID getId() {
+ return id;
+ }
+
+
+ public void setId(UUID id) {
+ this.id = id;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SelectFileById selectFileById = (SelectFileById) o;
+ return Objects.equals(this.type, selectFileById.type) &&
+ Objects.equals(this.id, selectFileById.id);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, id);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class SelectFileById {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/SelectFileBySuppliedId.java b/src/main/java/com/vertexvis/model/SelectFileBySuppliedId.java
new file mode 100644
index 00000000..a88fbfe7
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/SelectFileBySuppliedId.java
@@ -0,0 +1,175 @@
+/*
+ * Vertex Platform API
+ * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
+ *
+ * The version of the OpenAPI document: 1.0
+ * Contact: support@vertexvis.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.vertexvis.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+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 io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * Queries a file by its supplied ID.
+ */
+@ApiModel(description = "Queries a file by its supplied ID.")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class SelectFileBySuppliedId {
+ /**
+ * Gets or Sets type
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ FILE_BY_SUPPLIED_ID("file-by-supplied-id");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.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 TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private TypeEnum type;
+
+ public static final String SERIALIZED_NAME_ID = "id";
+ @SerializedName(SERIALIZED_NAME_ID)
+ private String id;
+
+ public SelectFileBySuppliedId() {
+ }
+
+ public SelectFileBySuppliedId type(TypeEnum type) {
+
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ * @return type
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+ public void setType(TypeEnum type) {
+ this.type = type;
+ }
+
+
+ public SelectFileBySuppliedId id(String id) {
+
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * Get id
+ * @return id
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+
+ public String getId() {
+ return id;
+ }
+
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SelectFileBySuppliedId selectFileBySuppliedId = (SelectFileBySuppliedId) o;
+ return Objects.equals(this.type, selectFileBySuppliedId.type) &&
+ Objects.equals(this.id, selectFileBySuppliedId.id);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, id);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class SelectFileBySuppliedId {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).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 ");
+ }
+
+}
+
diff --git a/src/main/java/com/vertexvis/model/UpdatePartRevisionRequestDataAttributes.java b/src/main/java/com/vertexvis/model/UpdatePartRevisionRequestDataAttributes.java
index 9b8b5e82..43e7b6e3 100644
--- a/src/main/java/com/vertexvis/model/UpdatePartRevisionRequestDataAttributes.java
+++ b/src/main/java/com/vertexvis/model/UpdatePartRevisionRequestDataAttributes.java
@@ -75,11 +75,13 @@ public UpdatePartRevisionRequestDataAttributes putMetadataItem(String key, AnyOf
}
/**
- * Metadata about the `part` and/or `part-revision`. This metadata will take precedence over any metadata that belongs to the part file if `indexMetadata` is specified.
+ * Metadata about the `part` and/or `part-revision`. This metadata will take precedence over any metadata that belongs to the part file if `indexMetadata` is specified. This has been deprecated and replaced by the PATCH endpoint /property-entries
* @return metadata
+ * @deprecated
**/
+ @Deprecated
@javax.annotation.Nullable
- @ApiModelProperty(value = "Metadata about the `part` and/or `part-revision`. This metadata will take precedence over any metadata that belongs to the part file if `indexMetadata` is specified. ")
+ @ApiModelProperty(value = "Metadata about the `part` and/or `part-revision`. This metadata will take precedence over any metadata that belongs to the part file if `indexMetadata` is specified. This has been deprecated and replaced by the PATCH endpoint /property-entries ")
public Map getMetadata() {
return metadata;
diff --git a/src/main/java/com/vertexvis/model/serialization/OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequestTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequestTypeAdapter.java
new file mode 100644
index 00000000..5d1450b5
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/serialization/OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequestTypeAdapter.java
@@ -0,0 +1,57 @@
+package com.vertexvis.model.serialization;
+
+import com.google.gson.Gson;
+import com.google.gson.TypeAdapter;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import com.vertexvis.model.CreateSceneAlterationRequest;
+import com.vertexvis.model.CreateSceneExpressionAlterationRequest;
+import com.vertexvis.model.OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequest;
+
+import java.io.IOException;
+import java.util.function.Supplier;
+
+public class OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequestTypeAdapter extends TypeAdapter {
+
+ private final Supplier gsonSupplier;
+
+ public OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequestTypeAdapter(Supplier gsonSupplier) {
+ this.gsonSupplier = gsonSupplier;
+ }
+
+ @Override
+ public void write(JsonWriter out, OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequest value) throws IOException {
+ if (value.getCreateSceneAlterationRequest() != null) {
+ out.jsonValue(gsonSupplier.get().toJson(value.getCreateSceneAlterationRequest()));
+ } else if (value.getCreateSceneExpressionAlterationRequest() != null) {
+ out.jsonValue(gsonSupplier.get().toJson(value.getCreateSceneExpressionAlterationRequest()));
+ }
+ }
+
+ @Override
+ public OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequest read(JsonReader in) throws IOException {
+ String type = null;
+ in.beginObject();
+ while (in.hasNext()) {
+ String name = in.nextName();
+ if ("type".equals(name)) {
+ type = in.nextString();
+ break;
+ } else {
+ in.skipValue();
+ }
+ }
+ in.endObject();
+
+ if (type != null) {
+ if (type.equals("scene-alteration")) {
+ CreateSceneAlterationRequest request = gsonSupplier.get().fromJson(in, CreateSceneAlterationRequest.class);
+ return new OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequest(request);
+ } else if (type.equals("scene-expression-alteration")) {
+ CreateSceneExpressionAlterationRequest request = gsonSupplier.get().fromJson(in, CreateSceneExpressionAlterationRequest.class);
+ return new OneOfCreateSceneAlterationRequestCreateSceneExpressionAlterationRequest(request);
+ }
+ }
+ return null;
+ }
+}
diff --git a/src/main/java/com/vertexvis/model/serialization/OneOfFileJobArchiveOperationTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/OneOfFileJobArchiveOperationTypeAdapter.java
new file mode 100644
index 00000000..9f6212e6
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/serialization/OneOfFileJobArchiveOperationTypeAdapter.java
@@ -0,0 +1,52 @@
+package com.vertexvis.model.serialization;
+
+import com.google.gson.Gson;
+import com.google.gson.TypeAdapter;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import com.vertexvis.model.FileJobOperation;
+import com.vertexvis.model.FileJobArchiveOperation;
+import com.vertexvis.model.OneOfFileJobArchiveOperation;
+
+import java.io.IOException;
+import java.util.function.Supplier;
+
+public class OneOfFileJobArchiveOperationTypeAdapter extends TypeAdapter {
+
+ private final Supplier gsonSupplier;
+
+ public OneOfFileJobArchiveOperationTypeAdapter(Supplier gsonSupplier) {
+ this.gsonSupplier = gsonSupplier;
+ }
+
+ @Override
+ public void write(JsonWriter out, OneOfFileJobArchiveOperation value) throws IOException {
+ if (value.getFileJobArchiveOperation() != null) {
+ out.jsonValue(gsonSupplier.get().toJson(value.getFileJobArchiveOperation()));
+ }
+ }
+
+ @Override
+ public OneOfFileJobArchiveOperation read(JsonReader in) throws IOException {
+ String type = null;
+ in.beginObject();
+ while (in.hasNext()) {
+ String name = in.nextName();
+ if ("type".equals(name)) {
+ type = in.nextString();
+ break;
+ } else {
+ in.skipValue();
+ }
+ }
+ in.endObject();
+
+ if (type != null) {
+ if (type.equals("file-job-archive")) {
+ FileJobArchiveOperation operation = gsonSupplier.get().fromJson(in, FileJobArchiveOperation.class);
+ return new OneOfFileJobArchiveOperation(operation);
+ }
+ }
+ return null;
+ }
+}
diff --git a/src/main/java/com/vertexvis/model/serialization/OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadataTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadataTypeAdapter.java
new file mode 100644
index 00000000..e40b7549
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/serialization/OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadataTypeAdapter.java
@@ -0,0 +1,70 @@
+package com.vertexvis.model.serialization;
+
+import com.google.gson.Gson;
+import com.google.gson.TypeAdapter;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import com.vertexvis.model.QueryBySceneItemId;
+import com.vertexvis.model.QueryBySceneItemIds;
+import com.vertexvis.model.QueryByRoot;
+import com.vertexvis.model.QueryBySceneItemMetadata;
+import com.vertexvis.model.OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata;
+
+import java.io.IOException;
+import java.util.function.Supplier;
+
+public class OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadataTypeAdapter extends TypeAdapter {
+
+ private final Supplier gsonSupplier;
+
+ public OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadataTypeAdapter(Supplier gsonSupplier) {
+ this.gsonSupplier = gsonSupplier;
+ }
+
+ @Override
+ public void write(JsonWriter out, OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata value) throws IOException {
+ if (value.getQueryBySceneItemId() != null) {
+ out.jsonValue(gsonSupplier.get().toJson(value.getQueryBySceneItemId()));
+ } else if (value.getQueryBySceneItemIds() != null) {
+ out.jsonValue(gsonSupplier.get().toJson(value.getQueryBySceneItemIds()));
+ } else if (value.getQueryByRoot() != null) {
+ out.jsonValue(gsonSupplier.get().toJson(value.getQueryByRoot()));
+ } else if (value.getQueryBySceneItemMetadata() != null) {
+ out.jsonValue(gsonSupplier.get().toJson(value.getQueryBySceneItemMetadata()));
+ }
+ }
+
+ @Override
+ public OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata read(JsonReader in) throws IOException {
+ String type = null;
+ in.beginObject();
+ while (in.hasNext()) {
+ String name = in.nextName();
+ if ("type".equals(name)) {
+ type = in.nextString();
+ break;
+ } else {
+ in.skipValue();
+ }
+ }
+ in.endObject();
+
+ if (type != null) {
+ switch (type) {
+ case "scene-item-id":
+ QueryBySceneItemId request = gsonSupplier.get().fromJson(in, QueryBySceneItemId.class);
+ return new OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata(request);
+ case "scene-item-ids":
+ QueryBySceneItemIds request2 = gsonSupplier.get().fromJson(in, QueryBySceneItemIds.class);
+ return new OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata(request2);
+ case "root":
+ QueryByRoot request3 = gsonSupplier.get().fromJson(in, QueryByRoot.class);
+ return new OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata(request3);
+ case "scene-item-metadata":
+ QueryBySceneItemMetadata request4 = gsonSupplier.get().fromJson(in, QueryBySceneItemMetadata.class);
+ return new OneOfQueryBySceneItemIdQueryBySceneItemIdsQueryByRootQueryBySceneItemMetadata(request4);
+ }
+ }
+ return null;
+ }
+}
diff --git a/src/main/java/com/vertexvis/model/serialization/OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpressionTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpressionTypeAdapter.java
new file mode 100644
index 00000000..94aeedc0
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/serialization/OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpressionTypeAdapter.java
@@ -0,0 +1,57 @@
+package com.vertexvis.model.serialization;
+
+import com.google.gson.Gson;
+import com.google.gson.TypeAdapter;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import com.vertexvis.model.SceneItemAndExpression;
+import com.vertexvis.model.SceneItemOrExpression;
+import com.vertexvis.model.OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression;
+
+import java.io.IOException;
+import java.util.function.Supplier;
+
+public class OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpressionTypeAdapter extends TypeAdapter {
+
+ private final Supplier gsonSupplier;
+
+ public OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpressionTypeAdapter(Supplier gsonSupplier) {
+ this.gsonSupplier = gsonSupplier;
+ }
+
+ @Override
+ public void write(JsonWriter out, OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression value) throws IOException {
+ if (value.getSceneItemAndExpression() != null) {
+ out.jsonValue(gsonSupplier.get().toJson(value.getSceneItemAndExpression()));
+ } else if (value.getSceneItemOrExpression() != null) {
+ out.jsonValue(gsonSupplier.get().toJson(value.getSceneItemOrExpression()));
+ }
+ }
+
+ @Override
+ public OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression read(JsonReader in) throws IOException {
+ String type = null;
+ in.beginObject();
+ while (in.hasNext()) {
+ String name = in.nextName();
+ if ("type".equals(name)) {
+ type = in.nextString();
+ break;
+ } else {
+ in.skipValue();
+ }
+ }
+ in.endObject();
+
+ if (type != null) {
+ if (type.equals("and")) {
+ SceneItemAndExpression expression = gsonSupplier.get().fromJson(in, SceneItemAndExpression.class);
+ return new OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression(expression);
+ } else if (type.equals("or")) {
+ SceneItemOrExpression expression = gsonSupplier.get().fromJson(in, SceneItemOrExpression.class);
+ return new OneOfSceneItemQueryOperandSceneItemAndExpressionSceneItemOrExpression(expression);
+ }
+ }
+ return null;
+ }
+}
diff --git a/src/main/java/com/vertexvis/model/serialization/OneOfSelectFileByIdSelectFileBySuppliedIdTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/OneOfSelectFileByIdSelectFileBySuppliedIdTypeAdapter.java
new file mode 100644
index 00000000..e60efe67
--- /dev/null
+++ b/src/main/java/com/vertexvis/model/serialization/OneOfSelectFileByIdSelectFileBySuppliedIdTypeAdapter.java
@@ -0,0 +1,57 @@
+package com.vertexvis.model.serialization;
+
+import com.google.gson.Gson;
+import com.google.gson.TypeAdapter;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import com.vertexvis.model.SelectFileById;
+import com.vertexvis.model.SelectFileBySuppliedId;
+import com.vertexvis.model.OneOfSelectFileByIdSelectFileBySuppliedId;
+
+import java.io.IOException;
+import java.util.function.Supplier;
+
+public class OneOfSelectFileByIdSelectFileBySuppliedIdTypeAdapter extends TypeAdapter {
+
+ private final Supplier gsonSupplier;
+
+ public OneOfSelectFileByIdSelectFileBySuppliedIdTypeAdapter(Supplier gsonSupplier) {
+ this.gsonSupplier = gsonSupplier;
+ }
+
+ @Override
+ public void write(JsonWriter out, OneOfSelectFileByIdSelectFileBySuppliedId value) throws IOException {
+ if (value.getSelectFileById() != null) {
+ out.jsonValue(gsonSupplier.get().toJson(value.getSelectFileById()));
+ } else if (value.getSelectFileBySuppliedId() != null) {
+ out.jsonValue(gsonSupplier.get().toJson(value.getSelectFileBySuppliedId()));
+ }
+ }
+
+ @Override
+ public OneOfSelectFileByIdSelectFileBySuppliedId read(JsonReader in) throws IOException {
+ String type = null;
+ in.beginObject();
+ while (in.hasNext()) {
+ String name = in.nextName();
+ if ("type".equals(name)) {
+ type = in.nextString();
+ break;
+ } else {
+ in.skipValue();
+ }
+ }
+ in.endObject();
+
+ if (type != null) {
+ if (type.equals("file-id")) {
+ SelectFileById request = gsonSupplier.get().fromJson(in, SelectFileById.class);
+ return new OneOfSelectFileByIdSelectFileBySuppliedId(request);
+ } else if (type.equals("supplied-id")) {
+ SelectFileBySuppliedId request = gsonSupplier.get().fromJson(in, SelectFileBySuppliedId.class);
+ return new OneOfSelectFileByIdSelectFileBySuppliedId(request);
+ }
+ }
+ return null;
+ }
+}