diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b2290b3e..70a86f88 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,8 +6,13 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: { java-version: 17, distribution: temurin } - name: Build and Verify - run: ./gradlew build + run: | + # Build the plugin first and check its contents + ./gradlew :openapi-generator-plugin:build + + # Now run the full build + ./gradlew clean build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c108c43e..2f66e133 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,6 +1,10 @@ name: publish -on: { push: { branches: [main] } } +on: + push: + branches: [main] + workflow_dispatch: + jobs: detect-publish: @@ -8,7 +12,7 @@ jobs: outputs: publish: ${{ steps.detect-publish.outputs.publish }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - id: detect-publish run: | result=$(./scripts/detect-publish.sh) @@ -20,8 +24,8 @@ jobs: needs: [detect-publish] if: needs.detect-publish.outputs.publish == 1 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: { java-version: 17, distribution: temurin } - name: Publish env: @@ -33,6 +37,6 @@ jobs: -P signingPassword=${{ secrets.ORG_GRADLE_PROJECT_signingPassword }} \ -P ossrhUsername=${{ secrets.OSSRH_USERNAME }} \ -P ossrhPassword=${{ secrets.OSSRH_PASSWORD }} \ - publishToSonatype \ - closeAndReleaseSonatypeStagingRepository + :api-client-library:publishToSonatype \ + :api-client-library:closeAndReleaseSonatypeStagingRepository ./scripts/publish.sh diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES deleted file mode 100644 index 7e929d04..00000000 --- a/.openapi-generator/FILES +++ /dev/null @@ -1,413 +0,0 @@ -api/openapi.yaml -gradle/wrapper/gradle-wrapper.jar -gradle/wrapper/gradle-wrapper.properties -gradlew -gradlew.bat -settings.gradle -src/main/java/com/vertexvis/ApiCallback.java -src/main/java/com/vertexvis/ApiClient.java -src/main/java/com/vertexvis/ApiException.java -src/main/java/com/vertexvis/ApiResponse.java -src/main/java/com/vertexvis/Configuration.java -src/main/java/com/vertexvis/GzipRequestInterceptor.java -src/main/java/com/vertexvis/JSON.java -src/main/java/com/vertexvis/Pair.java -src/main/java/com/vertexvis/ProgressRequestBody.java -src/main/java/com/vertexvis/ProgressResponseBody.java -src/main/java/com/vertexvis/ServerConfiguration.java -src/main/java/com/vertexvis/ServerVariable.java -src/main/java/com/vertexvis/StringUtil.java -src/main/java/com/vertexvis/api/AccountsApi.java -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/FilesApi.java -src/main/java/com/vertexvis/api/GeometrySetsApi.java -src/main/java/com/vertexvis/api/HitsApi.java -src/main/java/com/vertexvis/api/ModelViewsApi.java -src/main/java/com/vertexvis/api/Oauth2Api.java -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/PmiApi.java -src/main/java/com/vertexvis/api/PropertyEntriesApi.java -src/main/java/com/vertexvis/api/SceneAlterationsApi.java -src/main/java/com/vertexvis/api/SceneAnnotationsApi.java -src/main/java/com/vertexvis/api/SceneItemOverridesApi.java -src/main/java/com/vertexvis/api/SceneItemsApi.java -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/StreamKeysApi.java -src/main/java/com/vertexvis/api/TranslationInspectionsApi.java -src/main/java/com/vertexvis/api/WebhookSubscriptionsApi.java -src/main/java/com/vertexvis/auth/ApiKeyAuth.java -src/main/java/com/vertexvis/auth/Authentication.java -src/main/java/com/vertexvis/auth/HttpBasicAuth.java -src/main/java/com/vertexvis/auth/HttpBearerAuth.java -src/main/java/com/vertexvis/auth/OAuth.java -src/main/java/com/vertexvis/auth/OAuthFlow.java -src/main/java/com/vertexvis/auth/OAuthOkHttpClient.java -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/AdminConsentAcceptRequest.java -src/main/java/com/vertexvis/model/AdminConsentAcceptRequestData.java -src/main/java/com/vertexvis/model/AdminConsentAcceptRequestDataAttributes.java -src/main/java/com/vertexvis/model/AdminCreateApplicationRequest.java -src/main/java/com/vertexvis/model/AdminCreateApplicationRequestData.java -src/main/java/com/vertexvis/model/AdminCreateApplicationRequestDataAttributes.java -src/main/java/com/vertexvis/model/AdminLoginAcceptRequest.java -src/main/java/com/vertexvis/model/AdminLoginAcceptRequestData.java -src/main/java/com/vertexvis/model/AdminLoginAcceptRequestDataAttributes.java -src/main/java/com/vertexvis/model/AdminRedirectTo.java -src/main/java/com/vertexvis/model/ApiError.java -src/main/java/com/vertexvis/model/ApiErrorSource.java -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/Batch.java -src/main/java/com/vertexvis/model/BatchOperation.java -src/main/java/com/vertexvis/model/BatchOperationRef.java -src/main/java/com/vertexvis/model/BoundingBox.java -src/main/java/com/vertexvis/model/CADExportConfig.java -src/main/java/com/vertexvis/model/CameraFit.java -src/main/java/com/vertexvis/model/ChangeMaterialOp.java -src/main/java/com/vertexvis/model/ChangeTransformOp.java -src/main/java/com/vertexvis/model/ChangeVisibilityOp.java -src/main/java/com/vertexvis/model/ClearMaterialOp.java -src/main/java/com/vertexvis/model/ClearRenOp.java -src/main/java/com/vertexvis/model/ClearRepOp.java -src/main/java/com/vertexvis/model/ClearTransformOp.java -src/main/java/com/vertexvis/model/Color3.java -src/main/java/com/vertexvis/model/ColorMaterial.java -src/main/java/com/vertexvis/model/ColorMaterialNullable.java -src/main/java/com/vertexvis/model/CreateAccountRequest.java -src/main/java/com/vertexvis/model/CreateAccountRequestData.java -src/main/java/com/vertexvis/model/CreateAccountRequestDataAttributes.java -src/main/java/com/vertexvis/model/CreateApplicationRequest.java -src/main/java/com/vertexvis/model/CreateBatchRequest.java -src/main/java/com/vertexvis/model/CreateDownloadRequest.java -src/main/java/com/vertexvis/model/CreateDownloadRequestData.java -src/main/java/com/vertexvis/model/CreateDownloadRequestDataAttributes.java -src/main/java/com/vertexvis/model/CreateExportRequest.java -src/main/java/com/vertexvis/model/CreateExportRequestData.java -src/main/java/com/vertexvis/model/CreateExportRequestDataAttributes.java -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/CreateFileRequest.java -src/main/java/com/vertexvis/model/CreateFileRequestData.java -src/main/java/com/vertexvis/model/CreateFileRequestDataAttributes.java -src/main/java/com/vertexvis/model/CreateGeometrySetRequest.java -src/main/java/com/vertexvis/model/CreateGeometrySetRequestData.java -src/main/java/com/vertexvis/model/CreateGeometrySetRequestDataRelationships.java -src/main/java/com/vertexvis/model/CreateHitRequest.java -src/main/java/com/vertexvis/model/CreateHitRequestData.java -src/main/java/com/vertexvis/model/CreateHitRequestDataAttributes.java -src/main/java/com/vertexvis/model/CreatePartRenditionRequest.java -src/main/java/com/vertexvis/model/CreatePartRenditionRequestData.java -src/main/java/com/vertexvis/model/CreatePartRenditionRequestDataAttributes.java -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/CreateSceneAlterationRequest.java -src/main/java/com/vertexvis/model/CreateSceneAlterationRequestData.java -src/main/java/com/vertexvis/model/CreateSceneAlterationRequestDataAttributes.java -src/main/java/com/vertexvis/model/CreateSceneAnnotationRequest.java -src/main/java/com/vertexvis/model/CreateSceneAnnotationRequestData.java -src/main/java/com/vertexvis/model/CreateSceneAnnotationRequestDataAttributes.java -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/CreateSceneItemOverrideRequest.java -src/main/java/com/vertexvis/model/CreateSceneItemOverrideRequestData.java -src/main/java/com/vertexvis/model/CreateSceneItemOverrideRequestDataAttributes.java -src/main/java/com/vertexvis/model/CreateSceneItemOverrideRequestDataRelationships.java -src/main/java/com/vertexvis/model/CreateSceneItemRequest.java -src/main/java/com/vertexvis/model/CreateSceneItemRequestData.java -src/main/java/com/vertexvis/model/CreateSceneItemRequestDataAttributes.java -src/main/java/com/vertexvis/model/CreateSceneItemRequestDataRelationships.java -src/main/java/com/vertexvis/model/CreateSceneRequest.java -src/main/java/com/vertexvis/model/CreateSceneRequestData.java -src/main/java/com/vertexvis/model/CreateSceneRequestDataAttributes.java -src/main/java/com/vertexvis/model/CreateSceneRequestDataRelationships.java -src/main/java/com/vertexvis/model/CreateSceneSyncRequest.java -src/main/java/com/vertexvis/model/CreateSceneViewRequest.java -src/main/java/com/vertexvis/model/CreateSceneViewRequestData.java -src/main/java/com/vertexvis/model/CreateSceneViewRequestDataAttributes.java -src/main/java/com/vertexvis/model/CreateSceneViewRequestDataRelationships.java -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/CreateStreamKeyRequest.java -src/main/java/com/vertexvis/model/CreateStreamKeyRequestData.java -src/main/java/com/vertexvis/model/CreateStreamKeyRequestDataAttributes.java -src/main/java/com/vertexvis/model/CreateTranslationInspectionRequest.java -src/main/java/com/vertexvis/model/CreateTranslationInspectionRequestData.java -src/main/java/com/vertexvis/model/CreateWebhookSubscriptionRequest.java -src/main/java/com/vertexvis/model/CreateWebhookSubscriptionRequestData.java -src/main/java/com/vertexvis/model/CreateWebhookSubscriptionRequestDataAttributes.java -src/main/java/com/vertexvis/model/CreatedApplication.java -src/main/java/com/vertexvis/model/CreatedApplicationData.java -src/main/java/com/vertexvis/model/CreatedApplicationDataAttributes.java -src/main/java/com/vertexvis/model/CrossSectioning.java -src/main/java/com/vertexvis/model/DeselectOperation.java -src/main/java/com/vertexvis/model/Dimensions.java -src/main/java/com/vertexvis/model/DownloadUrl.java -src/main/java/com/vertexvis/model/DownloadUrlData.java -src/main/java/com/vertexvis/model/DownloadUrlDataAttributes.java -src/main/java/com/vertexvis/model/Export.java -src/main/java/com/vertexvis/model/ExportConfig.java -src/main/java/com/vertexvis/model/ExportData.java -src/main/java/com/vertexvis/model/ExportDataAttributes.java -src/main/java/com/vertexvis/model/ExportRelationship.java -src/main/java/com/vertexvis/model/ExportRelationshipData.java -src/main/java/com/vertexvis/model/ExportStateRelationship.java -src/main/java/com/vertexvis/model/ExportStateRelationshipData.java -src/main/java/com/vertexvis/model/Failure.java -src/main/java/com/vertexvis/model/FeatureLines.java -src/main/java/com/vertexvis/model/FileCollectionList.java -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/FileList.java -src/main/java/com/vertexvis/model/FileMetadata.java -src/main/java/com/vertexvis/model/FileMetadataData.java -src/main/java/com/vertexvis/model/FileMetadataDataAttributes.java -src/main/java/com/vertexvis/model/FileRelationship.java -src/main/java/com/vertexvis/model/FileRelationshipData.java -src/main/java/com/vertexvis/model/FilterExpression.java -src/main/java/com/vertexvis/model/GeometrySet.java -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/Hit.java -src/main/java/com/vertexvis/model/HitData.java -src/main/java/com/vertexvis/model/HitDataAttributes.java -src/main/java/com/vertexvis/model/HitDataRelationships.java -src/main/java/com/vertexvis/model/HitResultData.java -src/main/java/com/vertexvis/model/HitResultDataAttributes.java -src/main/java/com/vertexvis/model/HitResultDataRelationships.java -src/main/java/com/vertexvis/model/Link.java -src/main/java/com/vertexvis/model/MaterialOverride.java -src/main/java/com/vertexvis/model/Matrix4.java -src/main/java/com/vertexvis/model/Matrix4Nullable.java -src/main/java/com/vertexvis/model/MetadataDateType.java -src/main/java/com/vertexvis/model/MetadataFloatType.java -src/main/java/com/vertexvis/model/MetadataLongType.java -src/main/java/com/vertexvis/model/MetadataNullType.java -src/main/java/com/vertexvis/model/MetadataStringType.java -src/main/java/com/vertexvis/model/ModelView.java -src/main/java/com/vertexvis/model/ModelViewData.java -src/main/java/com/vertexvis/model/ModelViewDataRelationships.java -src/main/java/com/vertexvis/model/ModelViewList.java -src/main/java/com/vertexvis/model/OAuth2BadRequest.java -src/main/java/com/vertexvis/model/OAuth2Token.java -src/main/java/com/vertexvis/model/Orientation.java -src/main/java/com/vertexvis/model/OrthographicCamera.java -src/main/java/com/vertexvis/model/Part.java -src/main/java/com/vertexvis/model/PartAssemblyRelationship.java -src/main/java/com/vertexvis/model/PartAssemblyRelationshipData.java -src/main/java/com/vertexvis/model/PartData.java -src/main/java/com/vertexvis/model/PartDataAttributes.java -src/main/java/com/vertexvis/model/PartDataRelationships.java -src/main/java/com/vertexvis/model/PartDataRelationshipsPartRevisions.java -src/main/java/com/vertexvis/model/PartInstanceRelationship.java -src/main/java/com/vertexvis/model/PartInstanceRelationshipData.java -src/main/java/com/vertexvis/model/PartList.java -src/main/java/com/vertexvis/model/PartRelationshipData.java -src/main/java/com/vertexvis/model/PartRendition.java -src/main/java/com/vertexvis/model/PartRenditionData.java -src/main/java/com/vertexvis/model/PartRenditionDataAttributes.java -src/main/java/com/vertexvis/model/PartRenditionDataRelationships.java -src/main/java/com/vertexvis/model/PartRenditionList.java -src/main/java/com/vertexvis/model/PartRenditionRelationship.java -src/main/java/com/vertexvis/model/PartRenditionRelationshipData.java -src/main/java/com/vertexvis/model/PartRevision.java -src/main/java/com/vertexvis/model/PartRevisionData.java -src/main/java/com/vertexvis/model/PartRevisionDataAttributes.java -src/main/java/com/vertexvis/model/PartRevisionDataRelationships.java -src/main/java/com/vertexvis/model/PartRevisionInstance.java -src/main/java/com/vertexvis/model/PartRevisionInstanceData.java -src/main/java/com/vertexvis/model/PartRevisionInstanceDataAttributes.java -src/main/java/com/vertexvis/model/PartRevisionInstanceDataRelationships.java -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/PerspectiveCamera.java -src/main/java/com/vertexvis/model/PmiAnnotationData.java -src/main/java/com/vertexvis/model/PmiAnnotationList.java -src/main/java/com/vertexvis/model/Point.java -src/main/java/com/vertexvis/model/PropertyDateType.java -src/main/java/com/vertexvis/model/PropertyDoubleType.java -src/main/java/com/vertexvis/model/PropertyEntryData.java -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/PropertySetRelationship.java -src/main/java/com/vertexvis/model/PropertySetRelationshipData.java -src/main/java/com/vertexvis/model/PropertyStringType.java -src/main/java/com/vertexvis/model/QueryAll.java -src/main/java/com/vertexvis/model/QueryByCollection.java -src/main/java/com/vertexvis/model/QueryByCollectionData.java -src/main/java/com/vertexvis/model/QueryByCollectionDataAttributes.java -src/main/java/com/vertexvis/model/QueryById.java -src/main/java/com/vertexvis/model/QueryByIdData.java -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/QueuedJob.java -src/main/java/com/vertexvis/model/QueuedJobData.java -src/main/java/com/vertexvis/model/QueuedJobDataAttributes.java -src/main/java/com/vertexvis/model/QueuedJobList.java -src/main/java/com/vertexvis/model/QueuedTranslationJob.java -src/main/java/com/vertexvis/model/QueuedTranslationJobData.java -src/main/java/com/vertexvis/model/QueuedTranslationJobDataAttributes.java -src/main/java/com/vertexvis/model/QueuedTranslationJobDataRelationships.java -src/main/java/com/vertexvis/model/RelationshipData.java -src/main/java/com/vertexvis/model/RelationshipLinks.java -src/main/java/com/vertexvis/model/RevokeOAuth2TokenRequest.java -src/main/java/com/vertexvis/model/RevokeOAuth2TokenRequestData.java -src/main/java/com/vertexvis/model/RevokeOAuth2TokenRequestDataAttributes.java -src/main/java/com/vertexvis/model/Scene.java -src/main/java/com/vertexvis/model/SceneAlteration.java -src/main/java/com/vertexvis/model/SceneAlterationData.java -src/main/java/com/vertexvis/model/SceneAlterationDataRelationships.java -src/main/java/com/vertexvis/model/SceneAlterationList.java -src/main/java/com/vertexvis/model/SceneAnnotation.java -src/main/java/com/vertexvis/model/SceneAnnotationCalloutDataType.java -src/main/java/com/vertexvis/model/SceneAnnotationCustomDataType.java -src/main/java/com/vertexvis/model/SceneAnnotationData.java -src/main/java/com/vertexvis/model/SceneAnnotationDataAttributes.java -src/main/java/com/vertexvis/model/SceneAnnotationSet.java -src/main/java/com/vertexvis/model/SceneAnnotationSetData.java -src/main/java/com/vertexvis/model/SceneAnnotationSetDataAttributes.java -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/SceneItemData.java -src/main/java/com/vertexvis/model/SceneItemDataAttributes.java -src/main/java/com/vertexvis/model/SceneItemDataRelationships.java -src/main/java/com/vertexvis/model/SceneItemList.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/SceneItemRelationship.java -src/main/java/com/vertexvis/model/SceneItemRelationshipData.java -src/main/java/com/vertexvis/model/SceneList.java -src/main/java/com/vertexvis/model/SceneOperation.java -src/main/java/com/vertexvis/model/SceneRelationship.java -src/main/java/com/vertexvis/model/SceneRelationshipData.java -src/main/java/com/vertexvis/model/SceneSync.java -src/main/java/com/vertexvis/model/SceneSyncData.java -src/main/java/com/vertexvis/model/SceneSyncDataAttributes.java -src/main/java/com/vertexvis/model/SceneSyncItemResultData.java -src/main/java/com/vertexvis/model/SceneSyncItemResultDataAttributes.java -src/main/java/com/vertexvis/model/SceneSyncItemResultDataRelationships.java -src/main/java/com/vertexvis/model/SceneSyncItemResultsList.java -src/main/java/com/vertexvis/model/SceneView.java -src/main/java/com/vertexvis/model/SceneViewData.java -src/main/java/com/vertexvis/model/SceneViewDataAttributes.java -src/main/java/com/vertexvis/model/SceneViewDataRelationships.java -src/main/java/com/vertexvis/model/SceneViewItem.java -src/main/java/com/vertexvis/model/SceneViewList.java -src/main/java/com/vertexvis/model/SceneViewRelationship.java -src/main/java/com/vertexvis/model/SceneViewRelationshipData.java -src/main/java/com/vertexvis/model/SceneViewState.java -src/main/java/com/vertexvis/model/SceneViewStateData.java -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/SectionPlane.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 -src/main/java/com/vertexvis/model/StreamKeyDataAttributes.java -src/main/java/com/vertexvis/model/StreamKeyList.java -src/main/java/com/vertexvis/model/ThumbnailData.java -src/main/java/com/vertexvis/model/TranslationInspectionJob.java -src/main/java/com/vertexvis/model/TranslationInspectionJobData.java -src/main/java/com/vertexvis/model/TranslationInspectionJobDataAttributes.java -src/main/java/com/vertexvis/model/UpdateAccountRequest.java -src/main/java/com/vertexvis/model/UpdateAccountRequestData.java -src/main/java/com/vertexvis/model/UpdateAccountRequestDataAttributes.java -src/main/java/com/vertexvis/model/UpdateApplicationRequest.java -src/main/java/com/vertexvis/model/UpdateApplicationRequestData.java -src/main/java/com/vertexvis/model/UpdateApplicationRequestDataAttributes.java -src/main/java/com/vertexvis/model/UpdateFileCollectionRequest.java -src/main/java/com/vertexvis/model/UpdateFileCollectionRequestData.java -src/main/java/com/vertexvis/model/UpdateFileCollectionRequestDataAttributes.java -src/main/java/com/vertexvis/model/UpdateFileRequest.java -src/main/java/com/vertexvis/model/UpdateFileRequestData.java -src/main/java/com/vertexvis/model/UpdateFileRequestDataAttributes.java -src/main/java/com/vertexvis/model/UpdateItemToDefaultRenditionOperation.java -src/main/java/com/vertexvis/model/UpdatePartRevisionRequest.java -src/main/java/com/vertexvis/model/UpdatePartRevisionRequestData.java -src/main/java/com/vertexvis/model/UpdatePartRevisionRequestDataAttributes.java -src/main/java/com/vertexvis/model/UpdatePartRevisionRequestDataRelationships.java -src/main/java/com/vertexvis/model/UpdateSceneAnnotationRequest.java -src/main/java/com/vertexvis/model/UpdateSceneAnnotationRequestData.java -src/main/java/com/vertexvis/model/UpdateSceneAnnotationRequestDataAttributes.java -src/main/java/com/vertexvis/model/UpdateSceneItemOverrideRequest.java -src/main/java/com/vertexvis/model/UpdateSceneItemOverrideRequestData.java -src/main/java/com/vertexvis/model/UpdateSceneItemOverrideRequestDataAttributes.java -src/main/java/com/vertexvis/model/UpdateSceneItemRequest.java -src/main/java/com/vertexvis/model/UpdateSceneItemRequestData.java -src/main/java/com/vertexvis/model/UpdateSceneItemRequestDataAttributes.java -src/main/java/com/vertexvis/model/UpdateSceneItemRequestDataRelationships.java -src/main/java/com/vertexvis/model/UpdateSceneRequest.java -src/main/java/com/vertexvis/model/UpdateSceneRequestData.java -src/main/java/com/vertexvis/model/UpdateSceneRequestDataAttributes.java -src/main/java/com/vertexvis/model/UpdateSceneViewRequest.java -src/main/java/com/vertexvis/model/UpdateSceneViewRequestData.java -src/main/java/com/vertexvis/model/UpdateSceneViewRequestDataAttributes.java -src/main/java/com/vertexvis/model/UpdateSceneViewStateRequest.java -src/main/java/com/vertexvis/model/UpdateSceneViewStateRequestData.java -src/main/java/com/vertexvis/model/UpdateWebhookSubscriptionRequest.java -src/main/java/com/vertexvis/model/UpdateWebhookSubscriptionRequestData.java -src/main/java/com/vertexvis/model/UpdateWebhookSubscriptionRequestDataAttributes.java -src/main/java/com/vertexvis/model/UpsertPropertyEntriesRequest.java -src/main/java/com/vertexvis/model/UpsertPropertyEntriesRequestData.java -src/main/java/com/vertexvis/model/UpsertPropertyEntriesRequestDataAttributes.java -src/main/java/com/vertexvis/model/UpsertPropertyEntriesRequestDataRelationships.java -src/main/java/com/vertexvis/model/Vector3.java -src/main/java/com/vertexvis/model/Vector4.java -src/main/java/com/vertexvis/model/ViewDefaultRenOp.java -src/main/java/com/vertexvis/model/ViewRenByIdOp.java -src/main/java/com/vertexvis/model/ViewRenBySuppliedIdOp.java -src/main/java/com/vertexvis/model/ViewRepByIdOp.java -src/main/java/com/vertexvis/model/ViewRepByPredefinedIdOp.java -src/main/java/com/vertexvis/model/WebhookEvent.java -src/main/java/com/vertexvis/model/WebhookEventData.java -src/main/java/com/vertexvis/model/WebhookEventDataAttributes.java -src/main/java/com/vertexvis/model/WebhookEventDataRelationships.java -src/main/java/com/vertexvis/model/WebhookEventDataRelationshipsOwner.java -src/main/java/com/vertexvis/model/WebhookEventDataRelationshipsOwnerData.java -src/main/java/com/vertexvis/model/WebhookEventDataRelationshipsResource.java -src/main/java/com/vertexvis/model/WebhookEventDataRelationshipsResourceData.java -src/main/java/com/vertexvis/model/WebhookEventPartRevisionIncludedAttributes.java -src/main/java/com/vertexvis/model/WebhookEventPartRevisionIncludedData.java -src/main/java/com/vertexvis/model/WebhookEventSceneIncludedAttributes.java -src/main/java/com/vertexvis/model/WebhookEventSceneIncludedData.java -src/main/java/com/vertexvis/model/WebhookSubscription.java -src/main/java/com/vertexvis/model/WebhookSubscriptionData.java -src/main/java/com/vertexvis/model/WebhookSubscriptionDataAttributes.java -src/main/java/com/vertexvis/model/WebhookSubscriptionList.java diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION deleted file mode 100644 index 1e20ec35..00000000 --- a/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -5.4.0 \ No newline at end of file diff --git a/MULTI_MODULE_README.md b/MULTI_MODULE_README.md new file mode 100644 index 00000000..8138fd60 --- /dev/null +++ b/MULTI_MODULE_README.md @@ -0,0 +1,106 @@ +# Vertex API Client Java - Multi-Module Project + +This project has been restructured as a multi-module Gradle project with the following modules: + +## Modules + +### 1. `openapi-generator-plugin` +Custom Gradle plugin for generating Vertex API client code using OpenAPI Generator. + +**Location**: `openapi-generator-plugin/` + +**Purpose**: +- Contains custom OpenAPI code generation logic +- Provides a reusable Gradle plugin for generating the API client +- Includes any custom templates or generators specific to Vertex API + +**Build**: +```bash +./gradlew :openapi-generator-plugin:build +./gradlew :openapi-generator-plugin:publishToMavenLocal +``` + +### 2. `api-client-library` +The main API client library generated from the OpenAPI specification. + +**Location**: `api-client-library/` + +**Purpose**: +- Contains the generated API client code +- Includes authentication utilities +- Provides the core SDK functionality + +**Build**: +```bash +./gradlew :api-client-library:build +``` + +**Generate API Client**: +```bash +./gradlew :api-client-library:openApiGenerate +``` + +### 3. `examples` +Example applications demonstrating how to use the API client library. + +**Location**: `examples/` + +**Purpose**: +- Contains example code showing API usage +- Includes command-line utilities for common operations +- Demonstrates best practices for using the API client + +**Run Examples**: +```bash +./gradlew :examples:run +./gradlew :examples:runCreateAssemblyExample +./gradlew :examples:listExamples +``` + +## Build Order + +The modules have dependencies on each other and should be built in this order: + +1. `openapi-generator-plugin` (standalone) +2. `api-client-library` (uses the plugin) +3. `examples` (depends on the library) + +## Building the Entire Project + +To build all modules: +```bash +./gradlew build +``` + +To clean and rebuild everything: +```bash +./gradlew clean build +``` + +## Publishing + +The library can be published to Maven repositories: +```bash +./gradlew :api-client-library:publishToMavenLocal +./gradlew publish +``` + +## Development Workflow + +1. Make changes to the OpenAPI generator plugin if needed +2. Build and publish the plugin locally: `./gradlew :openapi-generator-plugin:publishToMavenLocal` +3. Regenerate the API client: `./gradlew :api-client-library:openApiGenerate` +4. Build the library: `./gradlew :api-client-library:build` +5. Test with examples: `./gradlew :examples:run` + +## Migration Notes + +This project was converted from a single-module to a multi-module structure: + +- **Original structure**: All code in `src/main/java/com/vertexvis/` +- **New structure**: + - Code generation logic → `openapi-generator-plugin/` + - Core API client → `api-client-library/` + - Examples → `examples/` + +The functionality remains the same, but the code is now better organized and the generator can be reused across projects. diff --git a/README.md b/README.md index 2b30f356..45801d1d 100644 --- a/README.md +++ b/README.md @@ -63,10 +63,54 @@ Then, check out our [sample applications](./src/main/java/com/vertexvis/example) ## Local Development +This project uses a multi-module Gradle structure. For detailed information about the modules and their purposes, refer to the [Multi-Module README](./MULTI_MODULE_README.md). + +### Build Order + +1. Build the OpenAPI Generator Plugin: +```bash +./gradlew :openapi-generator-plugin:build +./gradlew :openapi-generator-plugin:publishToMavenLocal +``` + +2. Generate the API Client: +```bash +./gradlew :api-client-library:openApiGenerate +``` + +3. Build the API Client Library: +```bash +./gradlew :api-client-library:build +``` + +4. Run Example Applications: +```bash +./gradlew :examples:run +./gradlew :examples:listExamples +``` + +### Building the Entire Project + +To build all modules: +```bash +./gradlew build +``` + +### Versioning + +To bump the version of all modules: ```bash -# Version client ./scripts/bump-version.sh [patch|minor|major] +``` + +### Publishing + +To publish to Maven Local: +```bash +./gradlew :api-client-library:publishToMavenLocal +``` -# After bumping version, generate using latest OpenAPI spec -./scripts/generate.sh +To publish to Maven Central: +```bash +./gradlew publish ``` diff --git a/.openapi-generator-ignore b/api-client-library/.openapi-generator-ignore similarity index 83% rename from .openapi-generator-ignore rename to api-client-library/.openapi-generator-ignore index a6b014d2..d97337f2 100644 --- a/.openapi-generator-ignore +++ b/api-client-library/.openapi-generator-ignore @@ -11,3 +11,4 @@ docs/ src/main/AndroidManifest.xml src/test/ +**/auth/RetryingOAuth.java diff --git a/api-client-library/build.gradle b/api-client-library/build.gradle new file mode 100644 index 00000000..c2bbde60 --- /dev/null +++ b/api-client-library/build.gradle @@ -0,0 +1,151 @@ +buildscript{ + dependencies { + classpath files("$rootDir/openapi-generator-plugin/build/libs/openapi-generator-plugin-0.11.0.jar") + } +} +plugins { + id 'java-library' + id 'maven-publish' + id 'signing' + id 'org.openapi.generator' version '7.14.0' +} + +description = 'Vertex API Client Library for Java' + +dependencies { + implementation 'io.swagger:swagger-annotations:1.6.14' + implementation "com.google.code.findbugs:jsr305:3.0.2" + implementation 'com.squareup.okhttp3:okhttp:4.12.0' + implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0' + implementation 'com.google.code.gson:gson:2.13.1' + implementation 'io.gsonfire:gson-fire:1.9.0' + implementation 'org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.2' + implementation 'org.apache.commons:commons-lang3:3.15.0' + implementation 'javax.annotation:javax.annotation-api:1.3' + implementation 'org.openapitools:jackson-databind-nullable:0.2.6' + + testImplementation(platform('org.junit:junit-bom:5.10.3')) + testImplementation('org.junit.jupiter:junit-jupiter:5.10.3') + testImplementation("com.squareup.okhttp3:mockwebserver:4.12.0") +} + +openApiGenerate { + verbose = false + generatorName = 'vertex-java' // Use our custom generator + generateModelTests = false + generateApiTests = false + generateModelDocumentation = false + remoteInputSpec = 'https://platform.vertexvis.com/spec' + outputDir = "${buildDir}/generated/" + invokerPackage = 'com.vertexvis' + modelPackage = 'com.vertexvis.model' + apiPackage = 'com.vertexvis.api' + templateDir = "${project(':openapi-generator-plugin').projectDir}/src/main/resources/vertex-java" + configOptions = [ + openApiNullable: "false", + dateLibrary: "java8", + hideGenerationTimestamp: "true", + useRuntimeException: "true", + ] + additionalProperties = [ + skipValidationFor: "Part,PartData,PartDataAttributes,QueuedJobData,QueuedJob,QueuedJobDataAttributes" // Comma-separated list of models to skip validation for + ] + ignoreFileOverride = "${projectDir}/.openapi-generator-ignore" +} + +sourceSets { + main { + java { + srcDirs += [ + "${buildDir}/generated/src/main/java" + ] + } + } +} +tasks.named("openApiGenerate").configure { + dependsOn(":openapi-generator-plugin:build") +} + +compileJava.dependsOn tasks.openApiGenerate +compileTestJava.dependsOn tasks.openApiGenerate + +// Ensure our custom generator plugin is built before we generate +tasks.openApiGenerate.dependsOn ':openapi-generator-plugin:build' + +java { + withJavadocJar() + withSourcesJar() +} + +tasks.named('sourcesJar') { + dependsOn tasks.openApiGenerate + from sourceSets.main.allJava + duplicatesStrategy = DuplicatesStrategy.EXCLUDE +} + +jar { + from sourceSets.main.allSource + duplicatesStrategy = DuplicatesStrategy.EXCLUDE +} + +publishing { + publications { + maven(MavenPublication) { + artifactId = 'api-client-java' + from components.java + pom { + name = 'com.vertexvis:api-client-java' + description = 'The Vertex REST API client for Java.' + url = 'https://github.com/Vertexvis/vertex-api-client-java' + licenses { + license { + name = 'MIT' + url = 'https://github.com/Vertexvis/vertex-api-client-java/blob/main/LICENSE' + } + } + developers { + developer { + email = 'support@vertexvis.com' + name = 'Vertex Developers' + organizationUrl = 'https://developer.vertexvis.com/' + } + } + scm { + connection = 'scm:git:git@github.com:vertexvis/vertex-api-client-java.git' + developerConnection = 'scm:git:git@github.com:vertexvis/vertex-api-client-java.git' + url = 'https://github.com/Vertexvis/vertex-api-client-java' + } + } + } + } +} + +signing { + def hasSigningKey = project.hasProperty("signingKey") + def hasSigningPassword = project.hasProperty("signingPassword") + required { hasSigningKey && hasSigningPassword && !project.version.endsWith("-SNAPSHOT") } + if (hasSigningKey && hasSigningPassword) { + def base64Decode = { prop -> + return new String(Base64.getDecoder().decode(project.findProperty(prop).toString())).trim() + } + useInMemoryPgpKeys(base64Decode("signingKey"), base64Decode("signingPassword")) + } + sign publishing.publications.maven +} + +javadoc { + options.tags = ["http.response.details:a:Http Response Details"] + if(JavaVersion.current().isJava8Compatible()) { + options.addStringOption('Xdoclint:none', '-quiet') + } + dependsOn tasks.openApiGenerate +} + +tasks.withType(Sign) { + dependsOn tasks.withType(GenerateModuleMetadata) + dependsOn tasks.withType(Jar) +} + +tasks.withType(PublishToMavenLocal) { + dependsOn tasks.withType(Sign) +} diff --git a/src/main/java/com/vertexvis/auth/RetryingOAuth.java b/api-client-library/src/main/java/com/vertexvis/auth/RetryingOAuth.java similarity index 99% rename from src/main/java/com/vertexvis/auth/RetryingOAuth.java rename to api-client-library/src/main/java/com/vertexvis/auth/RetryingOAuth.java index 964303be..9078adcf 100644 --- a/src/main/java/com/vertexvis/auth/RetryingOAuth.java +++ b/api-client-library/src/main/java/com/vertexvis/auth/RetryingOAuth.java @@ -48,7 +48,7 @@ public RetryingOAuth( } public void setFlow(OAuthFlow flow) { - if (flow == OAuthFlow.application) { + if (flow == OAuthFlow.APPLICATION) { tokenRequestBuilder.setGrantType(GrantType.CLIENT_CREDENTIALS); } } @@ -165,4 +165,4 @@ public Response intercept(Chain chain) throws IOException { ); } } -} +} \ No newline at end of file diff --git a/api-client-library/src/test/java/com/vertexvis/auth/RetryingOAuthTest.java b/api-client-library/src/test/java/com/vertexvis/auth/RetryingOAuthTest.java new file mode 100644 index 00000000..201b4ce8 --- /dev/null +++ b/api-client-library/src/test/java/com/vertexvis/auth/RetryingOAuthTest.java @@ -0,0 +1,125 @@ +package com.vertexvis.auth; + +import com.vertexvis.ApiClient; +import com.vertexvis.ApiException; +import com.vertexvis.api.PartRevisionsApi; +import okhttp3.OkHttpClient; +import okhttp3.mockwebserver.Dispatcher; +import okhttp3.mockwebserver.MockResponse; +import okhttp3.mockwebserver.MockWebServer; +import okhttp3.mockwebserver.RecordedRequest; +import org.jetbrains.annotations.NotNull; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import java.io.IOException; +import java.net.HttpURLConnection; +import java.util.UUID; +import java.util.concurrent.atomic.AtomicInteger; + +public class RetryingOAuthTest { + final static int numThreads = 10; + private static void startServer(MockWebServer server) throws IOException { + server.setDispatcher(new Dispatcher() { + static final AtomicInteger numCalls = new AtomicInteger(); + static final AtomicInteger tokenVersion = new AtomicInteger(0); + static final AtomicInteger requestCount = new AtomicInteger(0); + + @NotNull + @Override + public MockResponse dispatch(@NotNull RecordedRequest recordedRequest) throws InterruptedException { + Thread.sleep(200); + int reqNum = requestCount.incrementAndGet(); + System.out.println("[" + reqNum + "] Request to: " + recordedRequest.getPath()); + + if (recordedRequest.getPath().equals("/oauth2/token")) { + if (numCalls.incrementAndGet() > (numThreads / 2)) { + int oldVersion = tokenVersion.get(); + tokenVersion.set(1); + if (oldVersion != 1) { + System.out.println("[" + reqNum + "] **** Token version changed from v" + oldVersion + " to v1 ****"); + } + } + String token = "token-v" + tokenVersion.get(); + System.out.println("[" + reqNum + "] Issuing new token: " + token); + return new MockResponse() + .addHeader("Content-Type", "application/json") + .setBody("{\"access_token\": \"" + token + "\", \"token_type\": \"bearer\"}"); + } + + // Check if it's a part revision delete request + if (recordedRequest.getPath().startsWith("/part-revisions/")) { + String path = recordedRequest.getPath(); + String authHeader = recordedRequest.getHeaders().get("Authorization"); + String expectedToken = "Bearer token-v" + tokenVersion.get(); + System.out.println("[" + reqNum + "] Path: " + path); + System.out.println("[" + reqNum + "] Auth header: " + authHeader); + System.out.println("[" + reqNum + "] Expected token: " + expectedToken); + + if (authHeader == null || !authHeader.equals(expectedToken)) { + System.out.println("[" + reqNum + "] Token mismatch - returning 401"); + return new MockResponse() + .setResponseCode(HttpURLConnection.HTTP_UNAUTHORIZED) + .setBody("{\"errors\":[{\"id\":\"" + UUID.randomUUID() + "\",\"status\":\"401\",\"code\":\"Unauthorized\",\"title\":\"Invalid or missing credentials.\"}]}"); + } + + System.out.println("[" + reqNum + "] Request successful"); + return new MockResponse() + .setBody("{\"data\": {\"id\": \"" + UUID.randomUUID() + "\", \"type\": \"queued-job\", \"attributes\": {\"status\": \"complete\", \"created\": \"2023-04-03T12:34:56Z\"}}}"); + } + + return new MockResponse() + .setResponseCode(HttpURLConnection.HTTP_NOT_FOUND) + .setBody("{\"errors\":[{\"status\":\"404\",\"code\":\"NotFound\",\"title\":\"Not found\"}]}"); + } + }); + server.start(); + } + + @Test + public void multithreading() throws ApiException, IOException { + final AtomicInteger numFails = new AtomicInteger(); + try (var server = new MockWebServer()) { + startServer(server); + + final String baseUrl = server.url("").toString().replaceAll("/$", ""); + var client = new ApiClient(); + client.setBasePath(baseUrl); + + // Set up RetryingOAuth + var auth = new RetryingOAuth( + baseUrl + "/oauth2/token", + "clientid", + OAuthFlow.APPLICATION, + "clientsecret", + null + ); + client.setHttpClient(new OkHttpClient.Builder() + .addInterceptor(auth) + .build()); + + var prs = new PartRevisionsApi(client); + Thread[] threads = new Thread[numThreads]; + + for (var i = 0; i < numThreads; i++) { + threads[i] = new Thread(() -> { + try { + prs.deletePartRevision(UUID.randomUUID()); + } catch (Exception e) { + e.printStackTrace(); + numFails.incrementAndGet(); + } + }); + threads[i].start(); + } + + for (var i = 0; i < numThreads; i++) { + threads[i].join(); + } + + Assertions.assertEquals(0, numFails.get()); + } catch (InterruptedException e) { + throw new RuntimeException(e); + } + } +} \ No newline at end of file diff --git a/api/openapi.yaml b/api/openapi.yaml deleted file mode 100644 index bb9acc44..00000000 --- a/api/openapi.yaml +++ /dev/null @@ -1,15157 +0,0 @@ -openapi: 3.0.3 -info: - contact: - email: support@vertexvis.com - name: Vertex API support - url: https://developer.vertexvis.com/docs/support - description: | - 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. - termsOfService: https://vertexvis.com/terms-of-use - title: Vertex Platform API - version: "1.0" - x-logo: - url: https://vertexvis.com/themes/custom/sparrow/img/vertex-logo.png - backgroundColor: '#ffffff' - altText: Vertex Software -externalDocs: - description: Getting started guides - url: https://developer.vertexvis.com/docs/guides/render-your-first-scene -servers: -- url: https://platform.vertexvis.com -- url: https://platform.platdev.vertexvis.io -tags: -- name: accounts -- name: applications -- name: batches -- name: exports -- name: files -- name: file-collections -- name: geometry-sets -- name: hits -- name: model-views -- name: oauth2 -- name: part-renditions -- name: part-revisions -- name: part-revision-instances -- name: parts -- name: pmi -- name: property-entries -- name: scene-alterations -- name: scene-annotations -- name: scene-item-overrides -- name: scene-items -- name: scene-synchronizations -- name: scene-views -- name: scenes -- name: scene-view-states -- name: stream-keys -- name: translation-inspections -- name: webhook-subscriptions -- name: permission-grants -paths: - /accounts: - post: - description: Create an `account`. - operationId: createAccount - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateAccountRequest' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/Account' - description: Created - headers: - location: - $ref: '#/components/headers/Location' - "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 - "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: - - OAuth2Internal: - - accounts.* - - accounts.write - tags: - - accounts - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /accounts/{id}: - delete: - description: Delete an `account`. - operationId: deleteAccount - parameters: - - description: The `account` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - responses: - "204": - description: No Content - "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: - - OAuth2Internal: - - accounts.* - - accounts.write - tags: - - accounts - x-accepts: application/vnd.api+json - get: - description: Get an `account`. - operationId: getAccount - parameters: - - description: The `account` 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/Account' - 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: - - OAuth2Internal: - - accounts.* - - accounts.read - tags: - - accounts - x-accepts: application/vnd.api+json - patch: - description: Update an `account`. - operationId: updateAccount - parameters: - - description: The `account` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/UpdateAccountRequest' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/Account' - 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 - "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: - - OAuth2Internal: - - accounts.* - - accounts.write - tags: - - accounts - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /accounts/{id}/applications: - post: - description: Create an `application` for an `account`. - operationId: createApplicationForAccount - parameters: - - description: The `account` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/AdminCreateApplicationRequest' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreatedApplication' - description: Created - headers: - location: - $ref: '#/components/headers/Location' - "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 - "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: - - OAuth2Internal: - - accounts.* - - accounts.write - tags: - - accounts - x-scala-package: accounts - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /applications: - get: - description: Get `applications`. - operationId: getApplications - 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 - - description: Comma-separated list of client IDs to filter on. - explode: true - in: query - name: filter[clientId] - required: false - schema: - example: ?filter[clientId]=some-id-1&filter[clientId]=some-id-2 - maxLength: 1024 - type: string - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/ApplicationList' - 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: - - applications - x-accepts: application/vnd.api+json - post: - description: Create an OAuth2 `application`. - operationId: createApplication - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateApplicationRequest' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreatedApplication' - description: Created - headers: - location: - $ref: '#/components/headers/Location' - "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 - "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: - - applications - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /applications/{id}: - delete: - description: Delete an `application`. - operationId: deleteApplication - parameters: - - description: The `application` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - responses: - "204": - description: No Content - "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: - - applications - x-accepts: application/vnd.api+json - get: - description: Get an `application`. - operationId: getApplication - parameters: - - description: The `application` 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/Application' - 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: - - applications - x-accepts: application/vnd.api+json - patch: - description: Update an `application`. - operationId: updateApplication - parameters: - - description: The `application` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/UpdateApplicationRequest' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/Application' - 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 - "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: - - applications - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /batches: - post: - description: Create a `batch`. This API is asynchronous, returning the location - of a `queued-batch`. Check the status via the getQueuedBatch API. - operationId: createBatch - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateBatchRequest' - required: true - responses: - "202": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/QueuedJob' - description: Accepted - headers: - content-location: - $ref: '#/components/headers/ContentLocation' - "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 - "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: - - batches - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /batches/{id}: - get: - description: Get a `batch` by ID. - operationId: getBatch - parameters: - - description: The `file` 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/Batch' - 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: - - batches - x-accepts: application/vnd.api+json - /queued-batches/{id}: - get: - description: Get a `queued-batch`. The response is either the status if `running` - or `error` or, upon completion, redirects to the created `batch`. - operationId: getQueuedBatch - parameters: - - description: The `queued-batch` 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/QueuedJob' - description: OK - "301": - description: Moved Permanently - "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: - - batches - x-accepts: application/vnd.api+json - /files: - get: - description: Get `files`. - operationId: getFiles - 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 - - description: Comma-separated list of supplied IDs to filter on. - explode: true - in: query - name: filter[suppliedId] - required: false - schema: - example: some-id-1,some-id-2 - maxLength: 1024 - type: string - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/FileList' - 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: - - files - x-accepts: application/vnd.api+json - post: - description: Create a `file`. Once created, upload file content via the uploadFile - API. For details including supported file formats, see our [Import data](https://developer.vertexvis.com/docs/guides/import-data-with-api) - guide. - operationId: createFile - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateFileRequest' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/FileMetadata' - description: Created - headers: - location: - $ref: '#/components/headers/Location' - "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 - "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: - - files - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /files/{id}: - delete: - description: Delete a `file`. - operationId: deleteFile - parameters: - - description: The `file` 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/FileMetadata' - 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: - - files - x-accepts: application/vnd.api+json - get: - description: Get a `file` by ID. - operationId: getFile - parameters: - - description: The `file` 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/FileMetadata' - 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: - - files - x-accepts: application/vnd.api+json - patch: - description: Update a `file`. - operationId: updateFile - parameters: - - description: The `file` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/UpdateFileRequest' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/FileMetadata' - 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 - "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: - - files - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - post: - description: Upload a `file`. Once uploaded, create either parts or geometry - sets via the createPart or createGeometrySet APIs. - operationId: uploadFile - parameters: - - description: The `file` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/octet-stream: - schema: - format: binary - type: string - required: true - 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 - "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: - - files - x-contentType: application/octet-stream - x-accepts: application/vnd.api+json - /files/{id}/download-url: - post: - description: Create a download uri for a `file` by ID. - operationId: createDownloadUrl - parameters: - - description: The `file` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateDownloadRequest' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/DownloadUrl' - description: Created - "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: - - files - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /file-collections: - get: - description: List `file-collection`s by supplied ID. - operationId: listFileCollections - 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 - - description: Comma-separated list of supplied IDs to filter on. - explode: true - in: query - name: filter[suppliedId] - required: false - schema: - example: some-id-1,some-id-2 - maxLength: 1024 - type: string - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/FileCollectionList' - 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: [] - tags: - - file-collections - x-accepts: application/vnd.api+json - post: - description: Create a `file-collection`. - operationId: createFileCollection - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateFileCollectionRequest' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/FileCollectionMetadata' - description: Created - headers: - location: - $ref: '#/components/headers/Location' - "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: [] - tags: - - file-collections - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /file-collections/{id}: - delete: - description: Delete a `file-collection`. - operationId: deleteFileCollection - parameters: - - description: The `file-collection` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - responses: - "204": - description: No Content - "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 - security: - - OAuth2: [] - tags: - - file-collections - x-accepts: application/vnd.api+json - get: - description: Get a `file-collection` by ID. - operationId: getFileCollection - parameters: - - description: The `file-collection` 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/FileCollectionMetadata' - 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 - security: - - OAuth2: [] - tags: - - file-collections - x-accepts: application/vnd.api+json - patch: - description: Update a `file-collection`. - operationId: updateFileCollection - parameters: - - description: The `file-collection` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/UpdateFileCollectionRequest' - required: true - 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 - "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 - security: - - OAuth2: [] - tags: - - file-collections - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /file-collections/{id}/files: - delete: - description: Remove a file from a `file-collection`. - operationId: removeFileCollectionFiles - parameters: - - description: The `file-collection` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - description: Comma-separated list of file-ids to filter on. - explode: true - in: query - name: filter[fileId] - required: false - schema: - example: some-id-1,some-id-2 - type: string - style: form - responses: - "204": - description: No Content - "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 - security: - - OAuth2: [] - tags: - - file-collections - x-accepts: application/vnd.api+json - get: - description: List the files in a `file-collection`. - operationId: listFileCollectionFiles - 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 - - description: The `file-collection` 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/FileList' - 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 - security: - - OAuth2: [] - tags: - - file-collections - x-accepts: application/vnd.api+json - post: - description: Add files to a `file-collection`. - operationId: addFileCollectionFiles - parameters: - - description: The `file-collection` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/FileIdList' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/FileCollectionMetadata' - 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 - "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 - security: - - OAuth2: [] - tags: - - file-collections - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /geometry-sets: - get: - description: Get `geometry-sets`. - operationId: getGeometrySets - 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/GeometrySetList' - 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: - - geometry-sets - x-accepts: application/vnd.api+json - post: - description: Create a `geometry-set`. Once created, create scenes via the createScene - API. For details, see our [Import data](https://developer.vertexvis.com/docs/guides/import-data-with-api) - guide. - operationId: createGeometrySet - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateGeometrySetRequest' - required: true - responses: - "202": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/QueuedJob' - description: Accepted - headers: - content-location: - $ref: '#/components/headers/ContentLocation' - "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 - "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: - - geometry-sets - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /geometry-sets/{id}: - get: - description: Get a `geometry-set` by ID. - operationId: getGeometrySet - parameters: - - description: The `geometry-set` 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/GeometrySet' - 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: - - geometry-sets - x-accepts: application/vnd.api+json - /scene-views/{id}/hits: - post: - description: Create a `hit` for a `scene-view`. - operationId: createSceneViewHit - parameters: - - description: Comma-separated list of relationships to include in response. - explode: true - in: query - name: include - required: false - schema: - example: results.sceneItem.source - maxLength: 32 - type: string - style: form - - description: The `scene-view` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - description: Comma-separated list of fields to return in response. An empty - value returns no fields. Due to its potential size, metadata is only returned - if explicitly requested. - explode: true - in: query - name: fields[part-revision] - required: false - schema: - example: created,suppliedId,metadata - maxLength: 32 - type: string - style: form - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateHitRequest' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/Hit' - description: Created - headers: - location: - $ref: '#/components/headers/Location' - "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 - "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: - - hits - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /scenes/{id}/hits: - post: - description: Create a `hit` for a `scene`. - operationId: createSceneHit - parameters: - - description: Comma-separated list of relationships to include in response. - explode: true - in: query - name: include - required: false - schema: - example: results.sceneItem.source - maxLength: 32 - type: string - style: form - - description: The `scene` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - description: Comma-separated list of fields to return in response. An empty - value returns no fields. Due to its potential size, metadata is only returned - if explicitly requested. - explode: true - in: query - name: fields[part-revision] - required: false - schema: - example: created,suppliedId,metadata - maxLength: 32 - type: string - style: form - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateHitRequest' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/Hit' - description: Created - headers: - location: - $ref: '#/components/headers/Location' - "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 - "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: - - hits - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /oauth2/token: - post: - description: Create an OAuth2 access token. For details, see our [Authentication](https://developer.vertexvis.com/docs/guides/authentication) - guide. - operationId: createToken - requestBody: - content: - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/CreateTokenRequest' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/OAuth2Token' - description: OK - "400": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/OAuth2BadRequest' - description: Invalid or missing request. - security: - - basicAuth: [] - tags: - - oauth2 - x-contentType: application/x-www-form-urlencoded - x-accepts: application/vnd.api+json - /oauth2/revoke: - post: - description: Revoke an OAuth2 access token. - operationId: revokeToken - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/RevokeOAuth2TokenRequest' - required: true - responses: - "204": - description: No Content - security: - - basicAuth: [] - tags: - - oauth2 - x-contentType: application/vnd.api+json - x-accepts: application/json - /oauth2/auth/requests/login/accept: - post: - description: Accept Login Challenge with subject & login challenge - operationId: adminAcceptLogin - parameters: - - description: Login Challenge ID from oauth2 flow - explode: true - in: query - name: login_challenge - required: true - schema: - type: string - style: form - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/AdminLoginAcceptRequest' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/AdminRedirectTo' - 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: - - OAuth2Internal: - - admin-login - tags: - - oauth2 - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /oauth2/auth/requests/consent/accept: - post: - description: Accept Consent Challenge to login. - operationId: adminAcceptConsent - parameters: - - description: Challenge ID from oauth2 flow - explode: true - in: query - name: challenge - required: true - schema: - type: string - style: form - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/AdminConsentAcceptRequest' - required: false - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/AdminRedirectTo' - 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: - - OAuth2Internal: - - admin-login - tags: - - oauth2 - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /part-renditions: - get: - description: Get `part-renditions` with an optional filter. - operationId: getPartRenditions - 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 - - description: Comma-separated list of supplied IDs to filter on. - explode: true - in: query - name: filter[suppliedId] - required: false - schema: - example: some-id-1,some-id-2 - maxLength: 1024 - type: string - style: form - - description: A revision ID to filter on. - explode: true - in: query - name: filter[revisionId] - required: false - schema: - $ref: '#/components/schemas/Uuid' - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PartRenditionList' - 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: - - part-renditions - x-accepts: application/vnd.api+json - /part-renditions/{id}: - get: - description: Get a `part-rendition` by ID. - operationId: getPartRendition - parameters: - - description: The `part-rendition` 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/PartRendition' - 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: - - part-renditions - x-accepts: application/vnd.api+json - /part-revisions/{id}: - delete: - description: Delete a `part-revision`. - operationId: deletePartRevision - parameters: - - description: The `part-revision` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - responses: - "202": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/QueuedJob' - description: Accepted - headers: - content-location: - $ref: '#/components/headers/ContentLocation' - "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: - - part-revisions - x-accepts: application/vnd.api+json - get: - description: Get a `part-revision` by ID. - operationId: getPartRevision - parameters: - - description: The `part-revision` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - description: Comma-separated list of fields to return in response. An empty - value returns no fields. Due to its potential size, metadata is only returned - if explicitly requested. - explode: true - in: query - name: fields[part-revision] - required: false - schema: - example: created,suppliedId,metadata - maxLength: 32 - type: string - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PartRevision' - 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: - - part-revisions - x-scala-package: translations - x-accepts: application/vnd.api+json - patch: - description: | - Update a `part-revision`. When given a `file` relationship as a payload, this will invoke a translation job, similar to the POST /parts endpoint. The response code will be a 202 and will respond with an async workflow, and return an Accepted[QueuedJob]. The geometry of the part and all of its children will be replaced with the geometry specified within the translated file given from this relationship. Some of the properties given here are only used for the translation of the file. Namely, `indexMetadata`, `name`, `suppliedIdKey`, `suppliedRevisionIdKey`, and `suppliedInstanceIdKey`. Note that geometry updates are eventually consistent and will not update existing scenes. - For updates to the revision when the file relationship is not present will respond with a standard 200 ok code when successful. Note that metadata updates are eventually consistent and will not update existing scenes. To view updated metadata within a scene, a new scene must be created or the updated part-revision must be removed and re-added to an existing scene. - operationId: updatePartRevision - parameters: - - description: The `part-revision` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/UpdatePartRevisionRequest' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PartRevision' - description: OK - "202": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/QueuedJob' - description: Accepted - headers: - content-location: - $ref: '#/components/headers/ContentLocation' - "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 - "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: - - part-revisions - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /part-revisions/{id}/part-renditions: - post: - description: Creates a part-rendition associated with a part-revision - operationId: createPartRendition - parameters: - - description: The `part-revision` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreatePartRenditionRequest' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PartRendition' - description: OK - "202": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/QueuedJob' - description: Accepted - headers: - content-location: - $ref: '#/components/headers/ContentLocation' - "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 - "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: - - part-renditions - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /part-revisions/{id}/image: - get: - description: Get a rendered image of a `part-revision`. - operationId: renderPartRevision - parameters: - - description: The `part-revision` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - description: The height of the image to render. - explode: true - in: query - name: height - required: false - schema: - example: 1000 - format: int32 - maximum: 2160 - minimum: 1 - type: integer - style: form - - description: The width of the image to render. - explode: true - in: query - name: width - required: false - schema: - example: 1000 - format: int32 - maximum: 3840 - minimum: 1 - type: integer - style: form - - description: The `camera` position vector. - explode: true - in: query - name: camera[position] - required: false - schema: - $ref: '#/components/schemas/Vector3' - style: deepObject - - description: The `camera` up vector. - explode: true - in: query - name: camera[up] - required: false - schema: - $ref: '#/components/schemas/Vector3' - style: deepObject - - description: The `camera` lookAt vector. - explode: true - in: query - name: camera[lookAt] - required: false - schema: - $ref: '#/components/schemas/Vector3' - style: deepObject - - description: The perspective camera position. - explode: true - in: query - name: camera[perspective][position] - required: false - schema: - $ref: '#/components/schemas/Vector3' - style: deepObject - - description: The perspective camera look at position. - explode: true - in: query - name: camera[perspective][lookAt] - required: false - schema: - $ref: '#/components/schemas/Vector3' - style: deepObject - - description: The perspective camera up vector. - explode: true - in: query - name: camera[perspective][up] - required: false - schema: - $ref: '#/components/schemas/Vector3' - style: deepObject - - description: The orthographic camera view vector. - explode: true - in: query - name: camera[orthographic][viewVector] - required: false - schema: - $ref: '#/components/schemas/Vector3' - style: deepObject - - description: The orthographic camera look at position. - explode: true - in: query - name: camera[orthographic][lookAt] - required: false - schema: - $ref: '#/components/schemas/Vector3' - style: deepObject - - description: The orthographic camera up vector. - explode: true - in: query - name: camera[orthographic][up] - required: false - schema: - $ref: '#/components/schemas/Vector3' - style: deepObject - - description: The orthographic field-of-view height. - explode: true - in: query - name: camera[orthographic][fovHeight] - required: false - schema: - exclusiveMinimum: true - minimum: 0 - type: number - style: form - responses: - "200": - content: - image/jpeg: - schema: - format: binary - type: string - image/png: - schema: - format: binary - type: string - 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 - "504": - content: - application/vnd.api+json: - example: - errors: - - status: "504" - code: GatewayTimeout - title: Request timed out. - schema: - $ref: '#/components/schemas/Failure' - description: GatewayTimeout - security: - - OAuth2: [] - tags: - - part-revisions - x-accepts: application/vnd.api+json,image/jpeg,image/png - /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. - operationId: getPartRevisionInstanceList - parameters: - - description: Parent ID to filter on. - explode: true - in: query - name: filter[parent] - required: false - schema: - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - style: form - - 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/PartRevisionInstanceList' - 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 - "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: - - part-revision-instances - x-scala-package: translations - x-accepts: application/vnd.api+json - /parts/{id}/part-revisions: - get: - description: Get `part-revisions` for a `part`. - operationId: getPartRevisions - parameters: - - description: The `part` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - 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 - - description: Comma-separated list of supplied IDs to filter on. - explode: true - in: query - name: filter[suppliedId] - required: false - schema: - example: some-id-1,some-id-2 - maxLength: 1024 - type: string - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PartRevisionList' - 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: - - part-revisions - x-accepts: application/vnd.api+json - /parts: - get: - description: Get `parts`. - operationId: getParts - 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 - - description: Comma-separated list of supplied IDs to filter on. - explode: true - in: query - name: filter[suppliedId] - required: false - schema: - example: some-id-1,some-id-2 - maxLength: 1024 - type: string - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PartList' - 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: - - parts - x-accepts: application/vnd.api+json - post: - description: | - Create a `part`. - - This endpoint includes multiple successful response codes: [`201`, `202`]. - - When not given a relationship, this endpoint will create a part with an empty part revision and return a `201` - status code of the part. - - When given a relationship to translate, this endpoint will return a `202` status code with the location of a - `queued-translation`. The status of the translation can be queried via `getQueuedTranslation`. After the - translation is complete, a `part` and `part-revision` that references the translated geometry. - - A unique suppliedId/suppliedRevisionId combination will create a new part and new part revision. For instance, sending - my-part-id/my-revision-id will create a new part and new revision with those corresponding supplied ids. To create a new revision for `my-part-id`, - likewise you can invoke this endpoint with a new revision id: `my-part-id/my-new-revision-id` and a new revision will be created for the - existing part. - - See our [Import Data](https://developer.vertexvis.com/docs/guides/import-data-with-api) guides for more - information. - operationId: createPart - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreatePartRequest' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/Part' - description: Created Part - "202": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/QueuedJob' - description: Accepted - headers: - content-location: - $ref: '#/components/headers/ContentLocation' - "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 - "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: - - parts - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /parts/{id}: - delete: - description: Delete a `part`. - operationId: deletePart - parameters: - - description: The `part` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - responses: - "202": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/QueuedJob' - description: Accepted - headers: - content-location: - $ref: '#/components/headers/ContentLocation' - "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: - - parts - x-accepts: application/vnd.api+json - get: - description: Get a `part` by ID. - operationId: getPart - parameters: - - description: Comma-separated list of relationships to include in response. - explode: true - in: query - name: include - required: false - schema: - example: partRevisions - maxLength: 32 - type: string - style: form - - description: The `part` 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/Part' - 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: - - parts - x-accepts: application/vnd.api+json - /queued-part-deletions/{id}: - get: - description: Get a `queued-part-deletion` by ID. - operationId: getQueuedPartDeletion - parameters: - - description: The `queued-part-deletion` 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/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: - - parts - x-accepts: application/vnd.api+json - /queued-part-revision-deletions/{id}: - get: - description: Get a `queued-part-revision-deletion` by ID. - operationId: getQueuedPartRevisionDeletion - parameters: - - description: The `queued-part-revision-deletion` 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/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: - - part-revisions - x-accepts: application/vnd.api+json - /model-views/{id}: - get: - description: Get the details of a `model-view`. - operationId: getModelView - parameters: - - description: The `model-view` 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/ModelView' - 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: - - model-views - x-accepts: application/vnd.api+json - /part-revisions/{id}/model-views: - get: - description: Get a paged list of `model-views` for a part revision. - operationId: getPartRevisionModelViews - parameters: - - description: The `part-revision` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - description: Filter model views that contain or do not contain annotations. - explode: true - in: query - name: filter[hasAnnotations] - required: false - schema: - example: true - maxLength: 1024 - type: boolean - style: form - - 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/ModelViewList' - 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: - - model-views - x-accepts: application/vnd.api+json - /scene-items/{id}/model-views: - get: - description: Get a paged list of `model-views` for a scene item. - operationId: getSceneItemModelViews - parameters: - - description: The `scene-item` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - description: Filter model views that contain or do not contain annotations. - explode: true - in: query - name: filter[hasAnnotations] - required: false - schema: - example: true - maxLength: 1024 - type: boolean - style: form - - 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/ModelViewList' - 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: - - model-views - x-accepts: application/vnd.api+json - /pmi-annotations: - get: - description: List `pmi-annotation`s. - operationId: getPmiAnnotations - parameters: - - description: Filter annotations belonging to a model view. - explode: true - in: query - name: filter[modelViewId] - required: false - schema: - $ref: '#/components/schemas/Uuid' - style: form - - 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/PmiAnnotationList' - 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: - - pmi - 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" - operationId: getPropertyEntries - 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 - - description: A resource ID to filter on - explode: true - in: query - name: filter[resourceId] - required: false - schema: - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - style: form - - description: The provided type for the resource ids - explode: true - in: query - name: filter[resourceType] - required: false - schema: - example: part-revision - maxLength: 36 - type: string - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PropertyEntryList' - 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: - - property-entries - x-accepts: application/vnd.api+json - patch: - description: | - Upsert property-entries for a provided resource. - **Preview:** This is a preview API and is subject to change. - operationId: upsertPropertyEntries - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/UpsertPropertyEntriesRequest' - required: true - 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 - "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 - security: - - OAuth2: [] - tags: - - property-entries - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /scene-alterations/{id}: - get: - description: Get a `scene-alteration` by ID. - operationId: getSceneAlteration - parameters: - - description: The `scene-alteration` 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/SceneAlteration' - 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: - - scene-alterations - x-accepts: application/vnd.api+json - /scene-views/{id}/scene-alterations: - get: - description: Get `scene-alterations` for a `scene-view`. - operationId: getSceneAlterations - parameters: - - description: The `scene-view` 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/SceneAlterationList' - 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: - - scene-alterations - x-accepts: application/vnd.api+json - post: - description: Create a `scene-alteration` for a `scene-view`. - operationId: createSceneAlteration - parameters: - - description: The `scene-view` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateSceneAlterationRequest' - required: true - responses: - "202": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/QueuedJob' - description: Accepted - headers: - content-location: - $ref: '#/components/headers/ContentLocation' - "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 - "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: - - scene-alterations - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /queued-scene-alterations/{id}: - get: - description: Get a `queued-scene-alteration` by ID. - operationId: getQueuedSceneAlteration - parameters: - - description: The `queued-scene-alteration` 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/QueuedJob' - description: OK - "301": - description: Moved Permanently - "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: - - scene-alterations - x-accepts: application/vnd.api+json - /scene-item-overrides/{id}: - delete: - description: Delete a `scene-item-override`. - operationId: deleteSceneItemOverride - parameters: - - description: The `scene-item-override` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - responses: - "204": - description: No Content - "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: - - scene-item-overrides - x-accepts: application/vnd.api+json - patch: - description: Update a `scene-item-override`. - operationId: updateSceneItemOverride - parameters: - - description: The `scene-item-override` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/UpdateSceneItemOverrideRequest' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/SceneItemOverride' - 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 - "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: - - scene-item-overrides - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /scene-views/{id}/scene-item-overrides: - get: - description: Get `scene-item-overrides` for a `scene-view`. - operationId: getSceneItemOverrides - parameters: - - description: The `scene-view` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - 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/SceneItemOverrideList' - 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: - - scene-item-overrides - x-accepts: application/vnd.api+json - post: - description: Create a `scene-item-override` for a `scene-view`. - operationId: createSceneItemOverride - parameters: - - description: The `scene-view` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateSceneItemOverrideRequest' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/SceneItemOverride' - description: Created - headers: - location: - $ref: '#/components/headers/Location' - "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 - "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: - - scene-item-overrides - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /scene-items/{id}: - delete: - description: Delete a `scene-item`. - operationId: deleteSceneItem - parameters: - - description: The `scene-item` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - responses: - "204": - description: No Content - "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: - - scene-items - x-accepts: application/vnd.api+json - get: - description: Get a `scene-item` by ID. - operationId: getSceneItem - parameters: - - description: The `scene-item` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - description: Comma-separated list of fields to return in response. An empty - value returns no fields. `boundingBox`, `worldTransform` and `metadata` - are only returned if explicitly requested. - explode: true - in: query - name: fields[scene-item] - required: false - schema: - example: created,suppliedId,visible,transform,worldTransform,materialOverride,boundingBox,metadata - type: string - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/SceneItem' - 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: - - scene-items - x-accepts: application/vnd.api+json - patch: - description: Update a `scene-item`. - operationId: updateSceneItem - parameters: - - description: The `scene-item` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/UpdateSceneItemRequest' - required: true - responses: - "202": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/QueuedJob' - description: Accepted - headers: - content-location: - $ref: '#/components/headers/ContentLocation' - "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 - "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: - - scene-items - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /scenes/{id}/scene-items: - get: - description: Get `scene-items` for a `scene`. - operationId: getSceneItems - parameters: - - description: The `scene` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - 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 - - allowEmptyValue: true - description: Source ID to filter on. - explode: true - in: query - name: filter[source] - required: false - schema: - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - maxLength: 1024 - nullable: true - type: string - style: form - - description: Comma-separated list of supplied IDs to filter on. - explode: true - in: query - name: filter[suppliedId] - required: false - schema: - example: some-id-1,some-id-2 - maxLength: 1024 - type: string - style: form - - description: Parent ID to filter on. - explode: true - in: query - name: filter[parent] - required: false - schema: - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/SceneItemList' - 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: - - scene-items - x-accepts: application/vnd.api+json - post: - description: |- - Create a `scene-item` for a `scene`. Provide the source geometry either via `part-revision` or `geometry-set` UUID using `relationship.source` or by supplied IDs using `attributes.source`. - Provide an existing `scene` using `relationship.source` to clone it. - Provide the hierarchical parent either via `scene-item` UUID using `relationship.source` or by supplied ID using `attributes.parent`. To reduce the time taken creating many hierarchical `scene-items`, make a best effort to create parents before children. One way to do this is by sorting the items by depth and starting at the root. - This API is asynchronous, returning the location of a `queued-scene-item`. Check the status via the getQueuedSceneItem API. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - operationId: createSceneItem - parameters: - - description: The `scene` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateSceneItemRequest' - required: true - responses: - "202": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/QueuedJob' - description: Accepted - headers: - content-location: - $ref: '#/components/headers/ContentLocation' - "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 - "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 - "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 - "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: - - scene-items - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /queued-scene-items/{id}: - get: - description: Get a `queued-scene-item`. The response is either the status if - `running` or `error` or, upon completion, redirects to the created `scene-item`. - Once created, commit the scene via the updateScene API. For details, see our - [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) - guide. - operationId: getQueuedSceneItem - parameters: - - description: The `queued-scene-item` 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/QueuedJob' - description: OK - "301": - description: Moved Permanently - "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: - - scene-items - x-accepts: application/vnd.api+json - /queued-scene-item-deletions/{id}: - get: - description: Get a `queued-scene-item-deletion` by ID. - operationId: getQueuedSceneItemDeletion - parameters: - - description: The `queued-scene-item-deletion` 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/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: - - scene-items - x-accepts: application/vnd.api+json - /scene-views/{id}: - delete: - description: Delete a `scene-view`. - operationId: deleteSceneView - parameters: - - description: The `scene-view` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - responses: - "204": - description: No Content - "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: - - scene-views - x-accepts: application/vnd.api+json - get: - description: Get a `scene-view` by ID. - operationId: getSceneView - parameters: - - description: The `scene-view` 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/SceneView' - 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: - - scene-views - x-accepts: application/vnd.api+json - patch: - description: Update a `scene-view`. - operationId: updateSceneView - parameters: - - description: The `scene-view` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/UpdateSceneViewRequest' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/SceneView' - 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 - "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: - - scene-views - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /scene-views/{id}/image: - get: - description: Get a rendered image of a `scene-view`. If a single pixel is returned, - ensure the `scene` is in the `commit` state and contains scene items. - operationId: renderSceneView - parameters: - - description: The `scene-view` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - description: The height of the image to render. - explode: true - in: query - name: height - required: false - schema: - example: 1000 - format: int32 - maximum: 2160 - minimum: 1 - type: integer - style: form - - description: The width of the image to render. - explode: true - in: query - name: width - required: false - schema: - example: 1000 - format: int32 - maximum: 3840 - minimum: 1 - type: integer - style: form - responses: - "200": - content: - image/jpeg: - schema: - format: binary - type: string - image/png: - schema: - format: binary - type: string - 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 - "504": - content: - application/vnd.api+json: - example: - errors: - - status: "504" - code: GatewayTimeout - title: Request timed out. - schema: - $ref: '#/components/schemas/Failure' - description: GatewayTimeout - security: - - OAuth2: [] - tags: - - scene-views - x-accepts: application/vnd.api+json,image/jpeg,image/png - /scene-views/{id}/scene-items/{itemId}: - get: - description: Get a `scene-item` within a view by ID. - operationId: getViewSceneItem - parameters: - - description: The `scene-view` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - description: The `scene-item` ID. - explode: false - in: path - name: itemId - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - description: Comma-separated list of fields to return in response. An empty - value returns no fields. `boundingBox`, `worldTransform` and `metadata` - are only returned if explicitly requested. - explode: true - in: query - name: fields[scene-item] - required: false - schema: - example: created,suppliedId,visible,transform,worldTransform,materialOverride,boundingBox,metadata - type: string - style: form - - description: Comma-separated list of relationships to include in response. - explode: true - in: query - name: include - required: false - schema: - example: sceneItemOverride - maxLength: 32 - type: string - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/SceneViewItem' - 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: - - scene-views - x-accepts: application/vnd.api+json - /scenes/{id}/scene-views: - get: - description: Get `scene-view`s for a `scene`. - operationId: getSceneViews - 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 - - description: The `scene` 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/SceneViewList' - 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: - - scene-views - x-accepts: application/vnd.api+json - post: - description: Create a `scene-view` of a `scene`. - operationId: createSceneView - parameters: - - description: The `scene` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateSceneViewRequest' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/SceneView' - description: Created - headers: - location: - $ref: '#/components/headers/Location' - "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 - "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: - - scene-views - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /scenes: - get: - description: Get `scenes`. - operationId: getScenes - 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 - - description: Comma-separated list of names to filter on. - explode: true - in: query - name: filter[name] - required: false - schema: - example: some-name-1,some-name-2 - maxLength: 1024 - type: string - style: form - - description: Comma-separated list of supplied IDs to filter on. - explode: true - in: query - name: filter[suppliedId] - required: false - schema: - example: some-id-1,some-id-2 - maxLength: 1024 - type: string - style: form - - description: Comma-separated list of fields to return in response. An empty - value returns no fields. `metadata` is only returned if explicitly requested. - explode: true - in: query - name: fields[scene] - required: false - schema: - example: camera,state,created,suppliedId,name,treeEnabled,modified,up,metadata - type: string - style: form - - description: | - Filter scenes that contain all the given metadata key-value pairs. Should be specified in query parameter map notation: `filter[metadata][key1]=value1&filter[metadata][key]=value2`. - explode: true - in: query - name: filter[metadata] - required: false - schema: - additionalProperties: - type: string - example: filter[metadata][key1]=test - type: object - style: form - - description: Comma-separated list of scene-item source part revision IDs to - filter on. - explode: true - in: query - name: filter[sceneItems.source.partRevision] - required: false - schema: - example: ?filter[sceneItems.source.partRevision]=f79d4760-0b71-44e4-ad0b-22743fdd4ca3,f79d4760-0b71-44e4-ad0b-22743fdd4ca2 - maxLength: 1024 - type: string - style: form - - description: Comma-separated list of scene-item source geometry set IDs to - filter on. - explode: true - in: query - name: filter[sceneItems.source.geometrySet] - required: false - schema: - example: ?filter[sceneItems.source.geometrySet]=f79d4760-0b71-44e4-ad0b-22743fdd4ca3,f79d4760-0b71-44e4-ad0b-22743fdd4ca2 - maxLength: 1024 - type: string - style: form - - description: Comma-separated list of scene-item source scene IDs to filter - on. - explode: true - in: query - name: filter[sceneItems.source.scene] - required: false - schema: - example: ?filter[sceneItems.source.scene]=f79d4760-0b71-44e4-ad0b-22743fdd4ca3,f79d4760-0b71-44e4-ad0b-22743fdd4ca2 - maxLength: 1024 - type: string - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/SceneList' - 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: - - scenes - x-accepts: application/vnd.api+json - post: - description: Create a `scene`. Once created, add scene items via the createSceneItem - API. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) - guide. - operationId: createScene - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateSceneRequest' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/Scene' - description: Created - headers: - location: - $ref: '#/components/headers/Location' - "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 - "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: - - scenes - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /scenes/{id}: - delete: - description: Delete a `scene`. - operationId: deleteScene - parameters: - - description: The `scene` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - responses: - "204": - description: No Content - "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: - - scenes - x-accepts: application/vnd.api+json - get: - description: Get a `scene` by ID. - operationId: getScene - parameters: - - description: The `scene` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - description: Comma-separated list of fields to return in response. An empty - value returns no fields. `sceneItemCount` and `metadata` are only returned - if explicitly requested. - explode: true - in: query - name: fields[scene] - required: false - schema: - example: camera,state,created,suppliedId,name,treeEnabled,modified,up,sceneItemCount,metadata - type: string - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/Scene' - 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: - - scenes - x-accepts: application/vnd.api+json - patch: - description: Update a `scene` camera and/or state. Once updated, view the scene - via the renderScene API or with the Viewer SDK. For details, see our [Render - static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) - guide. - operationId: updateScene - parameters: - - description: The `scene` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/UpdateSceneRequest' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/Scene' - 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 - "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: - - scenes - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /scenes/{id}/image: - get: - description: Get a rendered image of a `scene`. If only a single pixel is returned, - ensure the `scene` is in the `commit` state and contains scene items. - operationId: renderScene - parameters: - - description: The `scene` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - description: The height of the image to render. - explode: true - in: query - name: height - required: false - schema: - example: 1000 - format: int32 - maximum: 2160 - minimum: 1 - type: integer - style: form - - description: The width of the image to render. - explode: true - in: query - name: width - required: false - schema: - example: 1000 - format: int32 - maximum: 3840 - minimum: 1 - type: integer - style: form - responses: - "200": - content: - image/jpeg: - schema: - format: binary - type: string - image/png: - schema: - format: binary - type: string - 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 - "504": - content: - application/vnd.api+json: - example: - errors: - - status: "504" - code: GatewayTimeout - title: Request timed out. - schema: - $ref: '#/components/schemas/Failure' - description: GatewayTimeout - security: - - OAuth2: [] - tags: - - scenes - x-accepts: application/vnd.api+json,image/jpeg,image/png - /queued-scenes/{id}: - get: - description: Get a `queued-scene`. - operationId: getQueuedScene - parameters: - - description: The `scene` 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/QueuedJob' - description: OK - "301": - description: Moved Permanently - "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: - - scenes - x-accepts: application/vnd.api+json - /scenes/{id}/scene-view-states: - get: - description: Get `scene-view-states` for a `scene`. - operationId: getSceneViewStates - parameters: - - description: The `scene` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - 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 - - description: Comma-separated list of fields to return in response. An empty - value returns no fields. `thumbnails` is only returned if explicitly requested. - explode: true - in: query - name: fields[scene-view-state] - required: false - schema: - example: thumbnails - type: string - style: form - - description: Comma-separated list of IDs to filter on. - explode: true - in: query - name: filter[id] - required: false - schema: - example: some-id-1,some-id-2 - type: string - style: form - - description: Comma-separated list of supplied IDs to filter on. - explode: true - in: query - name: filter[suppliedId] - required: false - schema: - example: some-id-1,some-id-2 - maxLength: 1024 - type: string - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/SceneViewStateList' - 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: - - scene-view-states - x-accepts: application/vnd.api+json - post: - description: Create a `scene-view-state` for a `scene`. - operationId: createSceneViewState - parameters: - - description: The `scene` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateSceneViewStateRequest' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/SceneViewState' - description: Created - headers: - location: - $ref: '#/components/headers/Location' - "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 - "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: - - scene-view-states - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /scene-view-states/{id}: - delete: - description: Delete a `scene-view-state`. - operationId: deleteSceneViewState - parameters: - - description: The `scene-view-state` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - responses: - "204": - description: No Content - "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: - - scene-view-states - x-accepts: application/vnd.api+json - get: - description: Get a `scene-view-state` by ID. - operationId: getSceneViewState - parameters: - - description: The `scene-view-state` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - description: Comma-separated list of fields to return in response. An empty - value returns no fields. `thumbnails` is only returned if explicitly requested. - explode: true - in: query - name: fields[scene-view-state] - required: false - schema: - example: thumbnails - type: string - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/SceneViewState' - 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: - - scene-view-states - x-accepts: application/vnd.api+json - patch: - description: Update a `scene-view-state`. - operationId: updateSceneViewState - parameters: - - description: The `scene-view-state` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/UpdateSceneViewStateRequest' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/SceneViewState' - 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 - "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: - - scene-view-states - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /scenes/{id}/stream-keys: - post: - description: Create a `stream-key` for a `scene`. - operationId: createSceneStreamKey - parameters: - - description: The `scene` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateStreamKeyRequest' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/StreamKey' - 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 - "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: - - stream-keys - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /scenes/{id}/scene-annotation-sets: - get: - description: Get `scene-annotation-sets` for a `scene`. - operationId: getSceneAnnotationSets - parameters: - - description: The `scene` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - 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 - - description: Comma-separated list of IDs to filter on. - explode: true - in: query - name: filter[id] - required: false - schema: - example: some-id-1,some-id-2 - type: string - style: form - - description: Comma-separated list of supplied IDs to filter on. - explode: true - in: query - name: filter[suppliedId] - required: false - schema: - example: some-id-1,some-id-2 - maxLength: 1024 - type: string - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/SceneAnnotationSetList' - 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: - - scene-annotations - x-accepts: application/vnd.api+json - post: - description: | - Create an annotation set that is associated with a scene. - **Preview:** This is a preview API and is subject to change. - operationId: createSceneAnnotationSet - parameters: - - description: The `scene` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateSceneAnnotationSetRequest' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/SceneAnnotationSet' - description: Created - headers: - location: - $ref: '#/components/headers/Location' - "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 - security: - - OAuth2: [] - tags: - - scene-annotations - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /scene-annotation-sets/{id}/scene-annotations: - post: - description: | - Create an annotation belonging to an annotation set. - **Preview:** This is a preview API and is subject to change. - operationId: createSceneAnnotation - parameters: - - description: The `scene-annotation-set` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateSceneAnnotationRequest' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/SceneAnnotation' - description: Created - headers: - location: - $ref: '#/components/headers/Location' - "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 - security: - - OAuth2: [] - tags: - - scene-annotations - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /scene-annotations/{id}: - delete: - description: | - Delete a scene annotation. - **Preview:** This is a preview API and is subject to change. - operationId: deleteSceneAnnotation - parameters: - - description: The `scene-annotation` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - responses: - "204": - description: No Content - "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: - - scene-annotations - x-accepts: application/vnd.api+json - patch: - description: | - Update the attributes of an annotation. - **Preview:** This is a preview API and is subject to change. - operationId: updateSceneAnnotation - parameters: - - description: The `scene-annotation` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/UpdateSceneAnnotationRequest' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/SceneAnnotation' - description: OK - "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 - security: - - OAuth2: [] - tags: - - scene-annotations - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /scenes/{id}/scene-syncs: - post: - description: Create a scene item update job. - operationId: createSceneSync - parameters: - - description: The `scene` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateSceneSyncRequest' - required: true - responses: - "202": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/QueuedJob' - description: Accepted - headers: - content-location: - $ref: '#/components/headers/ContentLocation' - "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 - security: - - OAuth2: [] - tags: - - scene-synchronizations - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /queued-scene-syncs/{id}: - get: - description: Get a `queued-scene-sync-job`. - operationId: getQueuedSceneSync - parameters: - - description: The `queued-scene-sync` 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/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: - - scene-synchronizations - x-accepts: application/vnd.api+json - /scene-syncs/{id}: - get: - description: Get a `scene-sync`. - operationId: getSceneSync - parameters: - - description: The `scene-sync` 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/SceneSync' - 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: - - scene-synchronizations - x-accepts: application/vnd.api+json - /scene-syncs/{id}/item-results: - get: - description: Get the results of a scene synchronization. - operationId: getSceneSyncItemResults - parameters: - - description: The `scene-sync` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - - 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 - - description: List of scene item IDs to filter on. - explode: true - in: query - name: filter[sceneItemId] - required: false - schema: - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/SceneSyncItemResultsList' - 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: - - scene-synchronizations - x-accepts: application/vnd.api+json - /stream-keys: - get: - description: Get `stream-key`s. - operationId: getStreamKeys - 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 - - description: Stream key to filter on. - explode: true - in: query - name: filter[key] - required: false - schema: - example: i3MFRDOmg1pxD36dGCTONRwOujkgV8m9LQ - type: string - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/StreamKeyList' - 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: - - stream-keys - x-accepts: application/vnd.api+json - /stream-keys/{id}: - delete: - description: Delete a `stream-key`. - operationId: deleteStreamKey - parameters: - - description: The `stream-key` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - responses: - "204": - description: No Content - "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: - - stream-keys - x-accepts: application/vnd.api+json - /translation-inspections: - post: - description: Create a `translation-inspection`. - operationId: createTranslationInspection - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateTranslationInspectionRequest' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/TranslationInspectionJob' - description: Created - headers: - location: - $ref: '#/components/headers/Location' - "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 - "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: - - translation-inspections - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /translation-inspections/{id}: - get: - description: Get a `translation-inspection` by ID. - operationId: getInspectionJob - parameters: - - description: The `translation-inspection` 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/TranslationInspectionJob' - 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: - - translation-inspections - x-accepts: application/vnd.api+json - /queued-translation-jobs: - get: - description: Get all current translation jobs in progress. - operationId: getQueuedTranslationJobs - 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 - - description: A sort to apply to the collection. A "minus" prefixed before - the field name is used to specify descending sort order. - explode: true - in: query - name: sort - required: false - schema: - example: -age,name - type: string - style: form - - description: Status to filter on. - explode: true - in: query - name: filter[status] - required: false - schema: - example: running,complete - maxLength: 1024 - type: string - style: form - - description: The completion date and time to filter on. - explode: true - in: query - name: filter[completedAt] - required: false - schema: - $ref: '#/components/schemas/FilterExpression' - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/QueuedJobList' - 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: - - translation-inspections - x-accepts: application/vnd.api+json - /queued-translation-jobs/{id}: - get: - description: Get a `queued-translation-job`. The response is either the status - if `running` or `error` or, upon completion, the `part-revision` that was - created. Once created, create scenes via the createScene API. For details, - see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) - guide. - operationId: getQueuedTranslationJob - parameters: - - description: The `queued-translation` 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/QueuedTranslationJob' - description: OK - "301": - description: Moved Permanently - "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: - - translation-inspections - x-accepts: application/vnd.api+json - /queued-translations: - get: - deprecated: true - description: This has been deprecated and replaced by **queued-translation-jobs** - - Get `queued-translation`s. - operationId: getQueuedTranslations - 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 - - description: Status to filter on. - explode: true - in: query - name: filter[status] - required: false - schema: - example: running,complete - maxLength: 1024 - type: string - style: form - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/QueuedJobList' - description: OK - "301": - description: Moved Permanently - "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: - - translation-inspections - x-accepts: application/vnd.api+json - /queued-translations/{id}: - get: - deprecated: true - description: This has been deprecated and replaced by **queued-translation-jobs/{id}** - - Get a `queued-translation`. The response is either the status if `running` - or `error` or, upon completion, redirects to the created `part-revision`. - Once created, create scenes via the createScene API. For details, see our - [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) - guide. - operationId: getQueuedTranslation - parameters: - - description: The `queued-translation` 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/QueuedJob' - description: OK - "301": - description: Moved Permanently - "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: - - translation-inspections - x-accepts: application/vnd.api+json - /exports: - post: - description: Create an `export`. This API is asynchronous, returning the location - of a `queued-export`. Check the status via the getQueuedExport API. - operationId: createExport - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateExportRequest' - required: true - responses: - "202": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/QueuedJob' - description: Accepted - headers: - content-location: - $ref: '#/components/headers/ContentLocation' - "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 - "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: - - exports - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /exports/{id}: - get: - description: Get an `export` by ID. - operationId: getExport - parameters: - - description: The `export` 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/Export' - 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: - - exports - x-accepts: application/vnd.api+json - /queued-exports/{id}: - get: - description: Get a `queued-export`. The response is either the status if `running` - or `error` or, upon completion, redirects to the created `export`. - operationId: getQueuedExport - parameters: - - description: The `queued-export` 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/QueuedJob' - description: OK - "301": - description: Moved Permanently - "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: - - exports - x-accepts: application/vnd.api+json - /webhook-subscriptions: - get: - description: Get `webhook-subscription`s. - operationId: getWebhookSubscriptions - 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/WebhookSubscriptionList' - 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: - - webhook-subscriptions - x-accepts: application/vnd.api+json - post: - callbacks: - queued-export.completed: - '{$request.body#/data/attributes/url}': - post: - operationId: queued_export_completed_Post - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WebhookEvent' - responses: - "200": - description: OK - x-callback-request: true - queued-scene-item.completed: - '{$request.body#/data/attributes/url}': - post: - operationId: queued_scene_item_completed_Post - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WebhookEvent' - responses: - "200": - description: OK - x-callback-request: true - queued-translation.completed: - '{$request.body#/data/attributes/url}': - post: - operationId: queued_translation_completed_Post - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WebhookEvent' - responses: - "200": - description: OK - x-callback-request: true - scene.created: - '{$request.body#/data/attributes/url}': - post: - operationId: scene_created_Post - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WebhookEvent' - responses: - "200": - description: OK - x-callback-request: true - scene.deleted: - '{$request.body#/data/attributes/url}': - post: - operationId: scene_deleted_Post - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WebhookEvent' - responses: - "200": - description: OK - x-callback-request: true - scene.updated: - '{$request.body#/data/attributes/url}': - post: - operationId: scene_updated_Post - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WebhookEvent' - responses: - "200": - description: OK - x-callback-request: true - description: Create a `webhook-subscription` - operationId: createWebhookSubscription - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/CreateWebhookSubscriptionRequest' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/WebhookSubscription' - 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: - - webhook-subscriptions - x-contentType: application/vnd.api+json - x-accepts: application/vnd.api+json - /webhook-subscriptions/{id}: - delete: - description: Delete a `webhook-subscription`. - operationId: deleteWebhookSubscription - parameters: - - description: The `webhook-subscription` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - responses: - "204": - description: No Content - "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: - - webhook-subscriptions - x-accepts: application/vnd.api+json - get: - description: Get a `webhook-subscription`. - operationId: getWebhookSubscription - parameters: - - description: The `webhook-subscription` 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/WebhookSubscription' - 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: - - webhook-subscriptions - x-accepts: application/vnd.api+json - patch: - description: Update a `webhook-subscription`. - operationId: updateWebhookSubscription - parameters: - - description: The `webhook-subscription` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/UpdateWebhookSubscriptionRequest' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/WebhookSubscription' - 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 - "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: - - 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. - explode: true - in: query - name: camera[perspective][lookAt] - required: false - schema: - $ref: '#/components/schemas/Vector3' - style: deepObject - PerspectiveCameraUp: - description: The perspective camera up vector. - explode: true - in: query - name: camera[perspective][up] - required: false - schema: - $ref: '#/components/schemas/Vector3' - style: deepObject - OrthographicCameraViewVector: - description: The orthographic camera view vector. - explode: true - in: query - name: camera[orthographic][viewVector] - required: false - schema: - $ref: '#/components/schemas/Vector3' - style: deepObject - OrthographicCameraLookAt: - description: The orthographic camera look at position. - explode: true - in: query - name: camera[orthographic][lookAt] - required: false - schema: - $ref: '#/components/schemas/Vector3' - style: deepObject - OrthographicCameraUp: - description: The orthographic camera up vector. - explode: true - in: query - name: camera[orthographic][up] - required: false - schema: - $ref: '#/components/schemas/Vector3' - style: deepObject - OrthographicCameraFovHeight: - description: The orthographic field-of-view height. - explode: true - in: query - name: camera[orthographic][fovHeight] - required: false - schema: - exclusiveMinimum: true - minimum: 0 - type: number - style: form - CameraUp: - description: The `camera` up vector. - explode: true - in: query - name: camera[up] - required: false - schema: - $ref: '#/components/schemas/Vector3' - style: deepObject - CameraPosition: - description: The `camera` position vector. - explode: true - in: query - name: camera[position] - required: false - schema: - $ref: '#/components/schemas/Vector3' - style: deepObject - CameraLookAt: - description: The `camera` lookAt vector. - explode: true - in: query - name: camera[lookAt] - required: false - schema: - $ref: '#/components/schemas/Vector3' - style: deepObject - CompletedAtFilter: - description: The completion date and time to filter on. - explode: true - in: query - name: filter[completedAt] - required: false - schema: - $ref: '#/components/schemas/FilterExpression' - style: form - ExportId: - description: The `export` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - FileId: - description: The `file` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - FileIdFilter: - description: Comma-separated list of file-ids to filter on. - explode: true - in: query - name: filter[fileId] - required: false - schema: - example: some-id-1,some-id-2 - type: string - style: form - FileCollectionId: - description: The `file-collection` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - HasAnnotationsFilter: - description: Filter model views that contain or do not contain annotations. - explode: true - in: query - name: filter[hasAnnotations] - required: false - schema: - example: true - maxLength: 1024 - type: boolean - style: form - Height: - description: The height of the image to render. - explode: true - in: query - name: height - required: false - schema: - example: 1000 - format: int32 - maximum: 2160 - minimum: 1 - type: integer - style: form - IdFilter: - description: Comma-separated list of IDs to filter on. - explode: true - in: query - name: filter[id] - required: false - schema: - example: some-id-1,some-id-2 - type: string - style: form - IncludeSource: - description: Comma-separated list of relationships to include in response. - explode: true - in: query - name: include - required: false - schema: - example: results.sceneItem.source - maxLength: 32 - type: string - style: form - IncludePartRevisions: - description: Comma-separated list of relationships to include in response. - explode: true - in: query - name: include - required: false - schema: - example: partRevisions - maxLength: 32 - type: string - style: form - IncludeSceneItemOverride: - description: Comma-separated list of relationships to include in response. - explode: true - in: query - name: include - required: false - schema: - example: sceneItemOverride - maxLength: 32 - type: string - style: form - ModelViewIdFilter: - description: Filter annotations belonging to a model view. - explode: true - in: query - name: filter[modelViewId] - required: false - schema: - $ref: '#/components/schemas/Uuid' - style: form - NameFilter: - description: Comma-separated list of names to filter on. - explode: true - in: query - name: filter[name] - required: false - schema: - example: some-name-1,some-name-2 - maxLength: 1024 - type: string - style: form - PageCursor: - 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 - PageSize: - 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 - PartId: - description: The `part` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - PartRevisionFields: - description: Comma-separated list of fields to return in response. An empty - value returns no fields. Due to its potential size, metadata is only returned - if explicitly requested. - explode: true - in: query - name: fields[part-revision] - required: false - schema: - example: created,suppliedId,metadata - maxLength: 32 - type: string - style: form - PartRenditionId: - description: The `part-rendition` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - PartRevisionId: - description: The `part-revision` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - SceneId: - description: The `scene` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - SceneAnnotationSetId: - description: The `scene-annotation-set` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - SceneAnnotationId: - description: The `scene-annotation` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - SceneFields: - description: Comma-separated list of fields to return in response. An empty - value returns no fields. `sceneItemCount` and `metadata` are only returned - if explicitly requested. - explode: true - in: query - name: fields[scene] - required: false - schema: - example: camera,state,created,suppliedId,name,treeEnabled,modified,up,sceneItemCount,metadata - type: string - style: form - ListScenesFields: - description: Comma-separated list of fields to return in response. An empty - value returns no fields. `metadata` is only returned if explicitly requested. - explode: true - in: query - name: fields[scene] - required: false - schema: - example: camera,state,created,suppliedId,name,treeEnabled,modified,up,metadata - type: string - style: form - MetadataFilter: - description: | - Filter scenes that contain all the given metadata key-value pairs. Should be specified in query parameter map notation: `filter[metadata][key1]=value1&filter[metadata][key]=value2`. - explode: true - in: query - name: filter[metadata] - required: false - schema: - additionalProperties: - type: string - example: filter[metadata][key1]=test - type: object - style: form - QueuedSceneSyncId: - description: The `queued-scene-sync` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - RevisionIdFilter: - description: A revision ID to filter on. - explode: true - in: query - name: filter[revisionId] - required: false - schema: - $ref: '#/components/schemas/Uuid' - style: form - SceneViewStateFields: - description: Comma-separated list of fields to return in response. An empty - value returns no fields. `thumbnails` is only returned if explicitly requested. - explode: true - in: query - name: fields[scene-view-state] - required: false - schema: - example: thumbnails - type: string - style: form - SceneItemId: - description: The `scene-item` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - SceneItemFields: - description: Comma-separated list of fields to return in response. An empty - value returns no fields. `boundingBox`, `worldTransform` and `metadata` are - only returned if explicitly requested. - explode: true - in: query - name: fields[scene-item] - required: false - schema: - example: created,suppliedId,visible,transform,worldTransform,materialOverride,boundingBox,metadata - type: string - style: form - SceneItemOverrideId: - description: The `scene-item-override` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - SceneSyncId: - description: The `scene-sync` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - SceneViewId: - description: The `scene-view` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - SceneViewItemId: - description: The `scene-item` ID. - explode: false - in: path - name: itemId - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - SceneViewStateId: - description: The `scene-view-state` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - SourceFilter: - allowEmptyValue: true - description: Source ID to filter on. - explode: true - in: query - name: filter[source] - required: false - schema: - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - maxLength: 1024 - nullable: true - type: string - style: form - StatusFilter: - description: Status to filter on. - explode: true - in: query - name: filter[status] - required: false - schema: - example: running,complete - maxLength: 1024 - type: string - style: form - SceneItemIdFilter: - description: List of scene item IDs to filter on. - explode: true - in: query - name: filter[sceneItemId] - required: false - schema: - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - style: form - PropertyEntriesResourceIdFilter: - description: A resource ID to filter on - explode: true - in: query - name: filter[resourceId] - required: false - schema: - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - style: form - PropertyEntriesResourceTypeFilter: - description: The provided type for the resource ids - explode: true - in: query - name: filter[resourceType] - required: false - schema: - example: part-revision - maxLength: 36 - type: string - style: form - SuppliedIdFilter: - description: Comma-separated list of supplied IDs to filter on. - explode: true - in: query - name: filter[suppliedId] - required: false - schema: - example: some-id-1,some-id-2 - maxLength: 1024 - type: string - style: form - SceneItemsPartRevisionSourceFilter: - description: Comma-separated list of scene-item source part revision IDs to - filter on. - explode: true - in: query - name: filter[sceneItems.source.partRevision] - required: false - schema: - example: ?filter[sceneItems.source.partRevision]=f79d4760-0b71-44e4-ad0b-22743fdd4ca3,f79d4760-0b71-44e4-ad0b-22743fdd4ca2 - maxLength: 1024 - type: string - style: form - SceneItemsGeometrySetSourceFilter: - description: Comma-separated list of scene-item source geometry set IDs to filter - on. - explode: true - in: query - name: filter[sceneItems.source.geometrySet] - required: false - schema: - example: ?filter[sceneItems.source.geometrySet]=f79d4760-0b71-44e4-ad0b-22743fdd4ca3,f79d4760-0b71-44e4-ad0b-22743fdd4ca2 - maxLength: 1024 - type: string - style: form - SceneItemsSceneSourceFilter: - description: Comma-separated list of scene-item source scene IDs to filter on. - explode: true - in: query - name: filter[sceneItems.source.scene] - required: false - schema: - example: ?filter[sceneItems.source.scene]=f79d4760-0b71-44e4-ad0b-22743fdd4ca3,f79d4760-0b71-44e4-ad0b-22743fdd4ca2 - maxLength: 1024 - type: string - style: form - Sort: - description: A sort to apply to the collection. A "minus" prefixed before the - field name is used to specify descending sort order. - explode: true - in: query - name: sort - required: false - schema: - example: -age,name - type: string - style: form - ClientIdFilter: - description: Comma-separated list of client IDs to filter on. - explode: true - in: query - name: filter[clientId] - required: false - schema: - example: ?filter[clientId]=some-id-1&filter[clientId]=some-id-2 - maxLength: 1024 - type: string - style: form - ParentIdFilter: - description: Parent ID to filter on. - explode: true - in: query - name: filter[parent] - required: false - schema: - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - style: form - StreamKeyFilter: - description: Stream key to filter on. - explode: true - in: query - name: filter[key] - required: false - schema: - example: i3MFRDOmg1pxD36dGCTONRwOujkgV8m9LQ - type: string - style: form - Width: - description: The width of the image to render. - explode: true - in: query - name: width - required: false - schema: - example: 1000 - format: int32 - maximum: 3840 - minimum: 1 - type: integer - style: form - WebhookSubscriptionId: - description: The `webhook-subscription` ID. - explode: false - in: path - name: id - required: true - schema: - $ref: '#/components/schemas/Uuid' - style: simple - responses: - Accepted: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/QueuedJob' - description: Accepted - headers: - content-location: - $ref: '#/components/headers/ContentLocation' - NoContent: - description: No Content - MovedPermanently: - description: Moved Permanently - BadRequest: - 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 - Unauthorized: - content: - application/vnd.api+json: - example: - errors: - - status: "401" - code: Unauthorized - title: Invalid or missing credentials. - schema: - $ref: '#/components/schemas/Failure' - description: Unauthorized - NotFound: - 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 - Conflict: - 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 - UnsupportedMediaType: - 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 - GatewayTimeout: - content: - application/vnd.api+json: - example: - errors: - - status: "504" - code: GatewayTimeout - title: Request timed out. - schema: - $ref: '#/components/schemas/Failure' - description: GatewayTimeout - schemas: - CreateAccountRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateAccountRequest_data' - required: - - data - type: object - Account: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/Account_data' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - Failure: - additionalProperties: false - properties: - errors: - items: - $ref: '#/components/schemas/ApiError' - maxItems: 20 - type: array - uniqueItems: true - meta: - additionalProperties: - type: string - type: object - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - errors - type: object - Uuid: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - UpdateAccountRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/UpdateAccountRequest_data' - required: - - data - type: object - AdminCreateApplicationRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/AdminCreateApplicationRequest_data' - required: - - data - type: object - CreatedApplication: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreatedApplication_data' - required: - - data - type: object - ApplicationList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/ApplicationData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - CreateApplicationRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateAccountRequest_data' - required: - - data - type: object - Application: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/ApplicationData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - UpdateApplicationRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/UpdateApplicationRequest_data' - required: - - data - type: object - CreateBatchRequest: - additionalProperties: false - properties: - vertexvis/batch:operations: - description: List of operations to perform as a batch. - items: - $ref: '#/components/schemas/BatchOperation' - maxItems: 500 - type: array - required: - - vertexvis/batch:operations - type: object - QueuedJob: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/QueuedJobData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - Batch: - additionalProperties: false - properties: - vertexvis/batch:results: - description: List of operation results. - items: - anyOf: - - $ref: '#/components/schemas/RelationshipData' - - $ref: '#/components/schemas/ApiError' - type: array - required: - - vertexvis/batch:results - type: object - FileList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/FileMetadataData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - CreateFileRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateFileRequest_data' - required: - - data - type: object - FileMetadata: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/FileMetadataData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - UpdateFileRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/UpdateFileRequest_data' - required: - - data - type: object - CreateDownloadRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateDownloadRequest_data' - required: - - data - type: object - DownloadUrl: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/DownloadUrlData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - FileCollectionList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/FileCollectionMetadataData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - CreateFileCollectionRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateFileCollectionRequest_data' - required: - - data - type: object - FileCollectionMetadata: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/FileCollectionMetadataData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - UpdateFileCollectionRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/UpdateFileCollectionRequest_data' - required: - - data - type: object - FileIdList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/Uuid' - type: array - required: - - data - type: object - GeometrySetList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/GeometrySetData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - CreateGeometrySetRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateGeometrySetRequest_data' - required: - - data - type: object - GeometrySet: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/GeometrySetData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - CreateHitRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateHitRequest_data' - required: - - data - type: object - Hit: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/Hit_data' - included: - items: - oneOf: - - $ref: '#/components/schemas/HitResultData' - - $ref: '#/components/schemas/SceneItemData' - - $ref: '#/components/schemas/PartRevisionData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - included - type: object - CreateTokenRequest: - additionalProperties: false - properties: - scope: - maxLength: 1024 - type: string - code: - $ref: '#/components/schemas/NonEmptyString' - redirect_uri: - $ref: '#/components/schemas/NonEmptyString' - grant_type: - example: client_credentials - maxLength: 32 - type: string - refresh_token: - $ref: '#/components/schemas/NonEmptyString' - required: - - grant_type - type: object - OAuth2Token: - additionalProperties: false - properties: - access_token: - example: HnkQzHpk4iTaPfssu3zpI.PTbAxKdDIfrNcgrmsxQqg - type: string - token_type: - example: bearer - type: string - account_id: - example: 7b3f55e2-60f3-4bf3-82bc-f8afbce843b0 - type: string - expires_in: - example: 3600 - format: int32 - type: integer - scopes: - items: - $ref: '#/components/schemas/NonEmptyString' - type: array - refresh_token: - example: HnkQzHpk4iTaPfssu3zpI.PTbAxKdDIfrNcgrmsxQqg - type: string - required: - - access_token - - account_id - - expires_in - - scopes - - token_type - type: object - OAuth2BadRequest: - additionalProperties: false - properties: - error: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - required: - - error - type: object - RevokeOAuth2TokenRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/RevokeOAuth2TokenRequest_data' - required: - - data - type: object - AdminLoginAcceptRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/AdminLoginAcceptRequest_data' - required: - - data - type: object - AdminRedirectTo: - additionalProperties: false - properties: - redirectTo: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - required: - - redirectTo - type: object - AdminConsentAcceptRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/AdminConsentAcceptRequest_data' - required: - - data - type: object - PartRenditionList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/PartRenditionData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - PartRendition: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/PartRenditionData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - PartRevision: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/PartRevisionData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - UpdatePartRevisionRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/UpdatePartRevisionRequest_data' - required: - - data - type: object - CreatePartRenditionRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreatePartRenditionRequest_data' - required: - - data - type: object - Vector3: - additionalProperties: false - description: 3D vector. - properties: - x: - description: x-axis coordinate. - example: 1.0 - type: number - y: - description: y-axis coordinate. - example: 0.0 - type: number - z: - description: z-axis coordinate. - example: 0.0 - type: number - required: - - x - - "y" - - z - type: object - PartRevisionInstanceList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/PartRevisionInstanceData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - PartRevisionList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/PartRevisionData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - PartList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/PartData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - CreatePartRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreatePartRequest_data' - required: - - data - type: object - Part: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/PartData' - included: - items: - $ref: '#/components/schemas/PartRevisionData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - ModelView: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/ModelViewData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - ModelViewList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/ModelViewData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - PmiAnnotationList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/PmiAnnotationData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - PropertyEntryList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/PropertyEntryData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - UpsertPropertyEntriesRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/UpsertPropertyEntriesRequest_data' - required: - - data - type: object - SceneAlteration: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/SceneAlterationData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - SceneAlterationList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/SceneAlterationData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - CreateSceneAlterationRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateSceneAlterationRequest_data' - required: - - data - type: object - UpdateSceneItemOverrideRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/UpdateSceneItemOverrideRequest_data' - required: - - data - type: object - SceneItemOverride: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/SceneItemOverrideData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - SceneItemOverrideList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/SceneItemOverrideData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - CreateSceneItemOverrideRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateSceneItemOverrideRequest_data' - required: - - data - type: object - SceneItem: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/SceneItemData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - UpdateSceneItemRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/UpdateSceneItemRequest_data' - required: - - data - type: object - SceneItemList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/SceneItemData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - CreateSceneItemRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateSceneItemRequestData' - required: - - data - type: object - SceneView: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/SceneViewData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - UpdateSceneViewRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/UpdateSceneViewRequest_data' - required: - - data - type: object - SceneViewItem: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/SceneItemData' - included: - items: - $ref: '#/components/schemas/SceneItemOverrideData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - SceneViewList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/SceneViewData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - CreateSceneViewRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateSceneViewRequest_data' - required: - - data - type: object - SceneList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/SceneData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - CreateSceneRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateSceneRequest_data' - required: - - data - type: object - Scene: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/SceneData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - UpdateSceneRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/UpdateSceneRequest_data' - required: - - data - type: object - SceneViewStateList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/SceneViewStateData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - CreateSceneViewStateRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateSceneViewStateRequest_data' - required: - - data - type: object - SceneViewState: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/SceneViewStateData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - UpdateSceneViewStateRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/UpdateSceneViewStateRequest_data' - required: - - data - type: object - CreateStreamKeyRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateStreamKeyRequest_data' - required: - - data - type: object - StreamKey: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/StreamKeyData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - SceneAnnotationSetList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/SceneAnnotationSetData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - CreateSceneAnnotationSetRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateSceneAnnotationSetRequest_data' - required: - - data - type: object - SceneAnnotationSet: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/SceneAnnotationSetData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - CreateSceneAnnotationRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateSceneAnnotationRequest_data' - required: - - data - type: object - SceneAnnotation: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/SceneAnnotationData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - UpdateSceneAnnotationRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/UpdateSceneAnnotationRequest_data' - required: - - data - type: object - CreateSceneSyncRequest: - additionalProperties: false - description: An operation to perform on a Scene. - properties: - operation: - discriminator: - mapping: - update-to-default-rendition: '#/components/schemas/UpdateItemToDefaultRenditionOperation' - propertyName: type - oneOf: - - $ref: '#/components/schemas/UpdateItemToDefaultRenditionOperation' - required: - - operation - type: object - SceneSync: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/SceneSyncData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - SceneSyncItemResultsList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/SceneSyncItemResultData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - included: - items: - $ref: '#/components/schemas/SceneItemData' - type: array - required: - - data - - included - - links - type: object - StreamKeyList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/StreamKeyData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - CreateTranslationInspectionRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateTranslationInspectionRequest_data' - required: - - data - type: object - TranslationInspectionJob: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/TranslationInspectionJob_data' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - FilterExpression: - additionalProperties: false - description: Describes how an attribute should be filtered. - properties: - eq: - description: A value of a filter. - type: string - neq: - description: A value of a filter. - type: string - gt: - description: A value of a filter. - type: string - gte: - description: A value of a filter. - type: string - lt: - description: A value of a filter. - type: string - lte: - description: A value of a filter. - type: string - type: object - QueuedJobList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/QueuedJobData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - QueuedTranslationJob: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/QueuedTranslationJobData' - included: - items: - anyOf: - - $ref: '#/components/schemas/GeometrySetData' - - $ref: '#/components/schemas/PartRevisionData' - - $ref: '#/components/schemas/PartRenditionData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - CreateExportRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateExportRequest_data' - required: - - data - type: object - Export: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/ExportData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - WebhookSubscriptionList: - additionalProperties: false - properties: - data: - items: - $ref: '#/components/schemas/WebhookSubscriptionData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - links - type: object - CreateWebhookSubscriptionRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/CreateWebhookSubscriptionRequest_data' - required: - - data - type: object - WebhookSubscription: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/WebhookSubscriptionData' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - type: object - WebhookEvent: - additionalProperties: false - example: - data: - relationships: - owner: - data: - id: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - type: account - links: - related: /some-resource/d98d621a-23da-49fe-af96-6be709abb718 - resource: - data: - id: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - type: queued-scene-item - links: - related: /some-resource/d98d621a-23da-49fe-af96-6be709abb718 - attributes: - created: 2020-01-01T12:00:00Z - topic: some-string - changed: - - some-string - - some-string - links: - key: - href: /some-resource/d98d621a-23da-49fe-af96-6be709abb718 - id: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - type: webhook-event - links: - key: - href: /some-resource/d98d621a-23da-49fe-af96-6be709abb718 - included: - - "" - - "" - properties: - data: - $ref: '#/components/schemas/WebhookEventData' - included: - items: - discriminator: - mapping: - scene: '#/components/schemas/WebhookEventSceneIncludedData' - part-revision: '#/components/schemas/WebhookEventPartRevisionIncludedData' - propertyName: type - oneOf: - - $ref: '#/components/schemas/WebhookEventSceneIncludedData' - - $ref: '#/components/schemas/WebhookEventPartRevisionIncludedData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - data - - included - type: object - UpdateWebhookSubscriptionRequest: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/UpdateWebhookSubscriptionRequest_data' - required: - - data - type: object - PerspectiveCamera: - description: A camera type that mimics the way the human eye sees. - example: - type: perspective - position: - x: 0.0 - y: 0.0 - z: -100.0 - lookAt: - x: 0.0 - y: 0.0 - z: 0.0 - up: - x: 0.0 - y: 1.0 - z: 0.0 - fovY: 45.0 - properties: - type: - example: perspective - type: string - position: - $ref: '#/components/schemas/Vector3' - lookAt: - $ref: '#/components/schemas/Vector3' - up: - $ref: '#/components/schemas/Vector3' - fovY: - description: A numerical floating-point value representing the field of - view - maximum: 179 - minimum: 1 - type: number - required: - - lookAt - - position - - up - type: object - NonEmptyString: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - DateTime: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - Links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - ApiError: - additionalProperties: false - properties: - id: - example: 7c46d4c3-e065-4eae-87ec-08233cf8743b - type: string - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - status: - example: "400" - type: string - code: - example: ValidationError - type: string - title: - example: A validation error occurred. - type: string - detail: - example: '$.data.attributes.suppliedId: is missing but it is required' - type: string - source: - $ref: '#/components/schemas/ApiError_source' - meta: - additionalProperties: - type: string - type: object - type: object - Meta: - additionalProperties: - type: string - type: object - ApplicationData: - additionalProperties: false - properties: - type: - example: application - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/ApplicationData_attributes' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - type - type: object - BatchOperation: - additionalProperties: false - properties: - data: - anyOf: - - $ref: '#/components/schemas/CreateSceneItemRequestData' - description: Operation's primary data. - op: - description: Batch operation type type. - enum: - - add - example: add - maxLength: 32 - type: string - ref: - $ref: '#/components/schemas/BatchOperation_ref' - required: - - data - - op - - ref - type: object - QueuedJobData: - 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/QueuedJobData_attributes' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - type - type: object - RelationshipData: - additionalProperties: false - properties: - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - type: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - required: - - id - - type - type: object - FileMetadataData: - additionalProperties: false - properties: - type: - example: file - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/FileMetadataData_attributes' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - type - type: object - DownloadUrlData: - additionalProperties: false - properties: - type: - example: download-url - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/DownloadUrlData_attributes' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - type - type: object - FileCollectionMetadataData: - additionalProperties: false - properties: - type: - enum: - - file-collection - example: file-collection - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/FileCollectionMetadataData_attributes' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - type - type: object - SuppliedId: - description: ID provided for correlation with external systems, e.g. a PLM system. - example: GRP12345 - maxLength: 1024 - minLength: 1 - type: string - ExpirySeconds: - description: Number of seconds before expiration - example: 600 - format: int32 - minimum: 1 - type: integer - GeometrySetData: - additionalProperties: false - properties: - type: - example: geometry-set - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/Hit_data_attributes' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - type - type: object - FileRelationship: - additionalProperties: false - description: Relationship to a `file`. - properties: - data: - $ref: '#/components/schemas/FileRelationship_data' - required: - - data - type: object - Point: - additionalProperties: false - description: 2D point. - properties: - dx: - description: x-axis coordinate. - example: 0 - format: int32 - type: integer - dy: - description: y-axis coordinate. - example: 0 - format: int32 - type: integer - required: - - dx - - dy - type: object - Dimensions: - additionalProperties: false - description: An item's height and width. - properties: - height: - description: Item's height. - example: 10 - format: int32 - type: integer - width: - description: Item's width. - example: 10 - format: int32 - type: integer - required: - - height - - width - type: object - HitResultData: - additionalProperties: false - properties: - type: - example: hit - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/HitResultData_attributes' - relationships: - $ref: '#/components/schemas/HitResultData_relationships' - required: - - attributes - - id - - relationships - - type - type: object - SceneItemData: - additionalProperties: false - properties: - type: - example: scene-item - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/SceneItemData_attributes' - relationships: - $ref: '#/components/schemas/SceneItemData_relationships' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - relationships - - type - type: object - PartRevisionData: - additionalProperties: false - properties: - type: - example: part-revision - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/PartRevisionData_attributes' - relationships: - $ref: '#/components/schemas/PartRevisionData_relationships' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - relationships - - type - type: object - PartRenditionData: - additionalProperties: false - properties: - type: - example: part-rendition - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/PartRenditionData_attributes' - relationships: - $ref: '#/components/schemas/PartRenditionData_relationships' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - relationships - - type - type: object - MetadataLongType: - properties: - type: - description: Type of metadata value. - example: long - maxLength: 32 - type: string - value: - description: A numerical long value. - format: int64 - type: integer - required: - - type - - value - type: object - MetadataFloatType: - properties: - type: - description: Type of metadata value. - example: float - maxLength: 32 - type: string - value: - description: A numerical floating-point value. - format: float - type: number - required: - - type - - value - type: object - MetadataDateType: - properties: - type: - description: Type of metadata value. - example: date - maxLength: 32 - type: string - value: - description: A date value. - example: 2022-02-22T10:11:12Z - format: date-time - type: string - required: - - type - - value - type: object - MetadataStringType: - properties: - type: - description: Type of metadata value. - example: string - maxLength: 32 - type: string - value: - description: A string value. - example: Some value - type: string - required: - - type - - value - type: object - MetadataNullType: - properties: - type: - description: Type of metadata value. - example: "null" - maxLength: 32 - type: string - required: - - type - type: object - PartRenditionRelationship: - additionalProperties: false - description: Relationship to a `part-rendition`. - properties: - data: - $ref: '#/components/schemas/PartRenditionRelationship_data' - required: - - data - type: object - PartRevisionInstanceData: - additionalProperties: false - properties: - type: - example: part-revision-instance - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/PartRevisionInstanceData_attributes' - relationships: - $ref: '#/components/schemas/PartRevisionInstanceData_relationships' - required: - - attributes - - id - - relationships - - type - type: object - PartData: - additionalProperties: false - properties: - type: - example: part - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/PartData_attributes' - relationships: - $ref: '#/components/schemas/PartData_relationships' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - type - type: object - PartAssemblyRelationship: - additionalProperties: false - description: Create Part Assembly - properties: - data: - $ref: '#/components/schemas/PartAssemblyRelationship_data' - required: - - data - type: object - ModelViewData: - additionalProperties: false - properties: - type: - example: model-view - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/CreateAccountRequest_data_attributes' - relationships: - $ref: '#/components/schemas/ModelViewData_relationships' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - relationships - - type - type: object - PmiAnnotationData: - additionalProperties: false - properties: - type: - example: pmi-annotation - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/CreateAccountRequest_data_attributes' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - type - type: object - PropertyEntryData: - additionalProperties: false - properties: - type: - example: property-entry - type: string - id: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - attributes: - $ref: '#/components/schemas/PropertyEntryData_attributes' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - relationships - - type - type: object - PropertyStringType: - properties: - type: - description: Type of property-entry value. - enum: - - string - maxLength: 32 - type: string - value: - description: A string value. - example: Some value - type: string - required: - - type - - value - type: object - PropertyDoubleType: - properties: - type: - description: Type of property value. - enum: - - double - maxLength: 32 - type: string - value: - format: double - type: number - required: - - type - - value - type: object - PropertyLongType: - properties: - type: - description: Type of property-entry value. - enum: - - long - maxLength: 32 - type: string - value: - description: A numerical long value. - format: int64 - type: integer - required: - - type - - value - type: object - PropertyDateType: - properties: - type: - description: Type of property value. - enum: - - date - maxLength: 32 - type: string - value: - description: A date value. - example: 2025-02-22T10:11:12Z - format: date-time - type: string - required: - - type - - value - type: object - PropertySetRelationship: - additionalProperties: false - description: Relationship to a `property-set`. - properties: - data: - $ref: '#/components/schemas/PropertySetRelationship_data' - required: - - data - type: object - PartRevisionRelationship: - additionalProperties: false - description: Relationship to a `part-revision`. - properties: - data: - $ref: '#/components/schemas/PartData_relationships_partRevisions' - required: - - data - type: object - SceneItemRelationship: - additionalProperties: false - description: Relationship to a `scene-item`. - properties: - data: - $ref: '#/components/schemas/SceneItemRelationship_data' - required: - - data - type: object - PartInstanceRelationship: - additionalProperties: false - description: Relationship to a `part-instance`. - properties: - data: - $ref: '#/components/schemas/PartInstanceRelationship_data' - required: - - data - type: object - SceneAlterationData: - additionalProperties: false - properties: - type: - example: scene-alteration - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/Hit_data_attributes' - relationships: - $ref: '#/components/schemas/SceneAlterationData_relationships' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - relationships - - type - type: object - SceneOperation: - additionalProperties: false - properties: - query: - anyOf: - - $ref: '#/components/schemas/QueryById' - - $ref: '#/components/schemas/QueryByCollection' - - $ref: '#/components/schemas/QueryAll' - - $ref: '#/components/schemas/QueryByMetadata' - description: Query `scene-items`. Use `query-by-collection` to combine multiple - queries. - operations: - description: List of operations to perform on `scene-items` matching the - query. - items: - anyOf: - - $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: - - operations - - query - type: object - Matrix4Nullable: - additionalProperties: false - description: 4x4 affine transformation matrix, see [Matrix transformations](https://developer.vertexvis.com/docs/guides/matrix-transformations) - for details. - example: - r0: - x: 1.0 - y: 0.0 - z: 0.0 - w: 0.0 - r1: - x: 0.0 - y: 1.0 - z: 0.0 - w: 0.0 - r2: - x: 0.0 - y: 0.0 - z: 1.0 - w: 0.0 - r3: - x: 0.0 - y: 0.0 - z: 0.0 - w: 1.0 - nullable: true - properties: - r0: - $ref: '#/components/schemas/Vector4' - r1: - $ref: '#/components/schemas/Vector4' - r2: - $ref: '#/components/schemas/Vector4' - r3: - $ref: '#/components/schemas/Vector4' - required: - - r0 - - r1 - - r2 - - r3 - type: object - ColorMaterialNullable: - additionalProperties: false - description: Color properties describing how a material looks. - nullable: true - properties: - opacity: - description: An opacity value from 0 to 255. - example: 255 - format: int32 - maximum: 255 - minimum: 0 - type: integer - glossiness: - description: Glossiness from 0 to 128. - example: 0 - format: int32 - maximum: 128 - minimum: 0 - type: integer - ambient: - $ref: '#/components/schemas/Color3' - diffuse: - $ref: '#/components/schemas/Color3' - specular: - $ref: '#/components/schemas/Color3' - emissive: - $ref: '#/components/schemas/Color3' - required: - - ambient - - diffuse - - emissive - - glossiness - - opacity - - specular - type: object - SceneItemOverrideData: - additionalProperties: false - properties: - type: - example: scene-item-override - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/SceneItemOverrideData_attributes' - relationships: - $ref: '#/components/schemas/SceneItemOverrideData_relationships' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - relationships - - type - type: object - Matrix4: - additionalProperties: false - description: 4x4 affine transformation matrix, see [Matrix transformations](https://developer.vertexvis.com/docs/guides/matrix-transformations) - for details. - example: - r0: - x: 1.0 - y: 0.0 - z: 0.0 - w: 0.0 - r1: - x: 0.0 - y: 1.0 - z: 0.0 - w: 0.0 - r2: - x: 0.0 - y: 0.0 - z: 1.0 - w: 0.0 - r3: - x: 0.0 - y: 0.0 - z: 0.0 - w: 1.0 - properties: - r0: - $ref: '#/components/schemas/Vector4' - r1: - $ref: '#/components/schemas/Vector4' - r2: - $ref: '#/components/schemas/Vector4' - r3: - $ref: '#/components/schemas/Vector4' - required: - - r0 - - r1 - - r2 - - r3 - type: object - ColorMaterial: - additionalProperties: false - description: Color properties describing how a material looks. - properties: - opacity: - description: An opacity value from 0 to 255. - example: 255 - format: int32 - maximum: 255 - minimum: 0 - type: integer - glossiness: - description: Glossiness from 0 to 128. - example: 0 - format: int32 - maximum: 128 - minimum: 0 - type: integer - ambient: - $ref: '#/components/schemas/Color3' - diffuse: - $ref: '#/components/schemas/Color3' - specular: - $ref: '#/components/schemas/Color3' - emissive: - $ref: '#/components/schemas/Color3' - required: - - ambient - - diffuse - - emissive - - glossiness - - opacity - - specular - type: object - MaterialOverride: - additionalProperties: false - description: Color material override. - properties: - value: - $ref: '#/components/schemas/ColorMaterial' - type: object - GeometrySetRelationship: - additionalProperties: false - description: Relationship to a `geometry-set`. - properties: - data: - $ref: '#/components/schemas/GeometrySetRelationshipData' - required: - - data - type: object - CreateSceneItemRequestData: - additionalProperties: false - properties: - type: - description: Resource object type. - example: scene-item - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/CreateSceneItemRequestData_attributes' - relationships: - $ref: '#/components/schemas/CreateSceneItemRequestData_relationships' - required: - - attributes - - relationships - - type - type: object - SceneViewData: - additionalProperties: false - properties: - type: - example: scene-view - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/SceneViewData_attributes' - relationships: - $ref: '#/components/schemas/SceneViewData_relationships' - required: - - attributes - - id - - relationships - - type - type: object - OrthographicCamera: - description: A camera type where an object's size stays consistent regardless - of its distance to the camera. - example: - type: orthographic - viewVector: - x: 0.0 - y: 0.0 - z: 1.0 - lookAt: - x: 0.0 - y: 0.0 - z: 0.0 - up: - x: 0.0 - y: 1.0 - z: 0.0 - fovHeight: 1.0 - properties: - type: - example: orthographic - type: string - viewVector: - $ref: '#/components/schemas/Vector3' - lookAt: - $ref: '#/components/schemas/Vector3' - up: - $ref: '#/components/schemas/Vector3' - fovHeight: - type: number - required: - - fovHeight - - lookAt - - up - - viewVector - type: object - CameraFit: - additionalProperties: false - description: Fit camera in 3D space based on items in scene. - properties: - type: - description: Resource object type. - enum: - - fit-visible-scene-items - - reset - example: fit-visible-scene-items - maxLength: 32 - type: string - required: - - type - type: object - CrossSectioning: - additionalProperties: false - nullable: true - properties: - planes: - items: - $ref: '#/components/schemas/SectionPlane' - type: array - required: - - planes - type: object - SceneViewStateRelationship: - additionalProperties: false - description: Relationship to a `scene-view-state`. - properties: - data: - $ref: '#/components/schemas/SceneViewStateRelationship_data' - required: - - data - type: object - SceneData: - additionalProperties: false - properties: - type: - example: scene - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/SceneData_attributes' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - type - type: object - Orientation: - additionalProperties: false - description: Normals describing up & front directions - properties: - up: - $ref: '#/components/schemas/Vector3' - front: - $ref: '#/components/schemas/Vector3' - required: - - front - - up - type: object - UpdateSceneMetadata: - additionalProperties: - maxLength: 256 - nullable: true - type: string - description: | - User supplied key-value pairs for a scene. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. A null value will delete the entry in the map, all other key/value pairs provided here will be inserted or updated into the existing scene metadata. - type: object - SceneRelationship: - additionalProperties: false - description: Relationship to a `scene`. - properties: - data: - $ref: '#/components/schemas/SceneRelationship_data' - required: - - data - type: object - SceneViewStateData: - additionalProperties: false - properties: - type: - example: scene-view-state - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/SceneViewStateData_attributes' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - type - type: object - SceneViewRelationship: - additionalProperties: false - description: Relationship to a `scene-view`. - properties: - data: - $ref: '#/components/schemas/SceneViewRelationship_data' - required: - - data - type: object - StreamKeyData: - additionalProperties: false - properties: - type: - example: stream-key - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/StreamKeyData_attributes' - relationships: - $ref: '#/components/schemas/SceneViewData_relationships' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - relationships - - type - type: object - SceneAnnotationSetData: - additionalProperties: false - properties: - type: - example: scene-annotation-set - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/SceneAnnotationSetData_attributes' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - type - type: object - SceneAnnotationCalloutDataType: - description: A type that describes a callout annotation. - properties: - type: - description: The type of annotation. - example: callout - maxLength: 32 - type: string - position: - $ref: '#/components/schemas/Vector3' - icon: - description: | - An optional icon to display for this annotation. See [documentation](https://github.com/Vertexvis/vertex-web-sdk/tree/master/packages/viewer/src/components/viewer-icon#properties) for possible values. - example: comment-show - maxLength: 64 - type: string - primaryColor: - description: A hex color value. - example: '#FFFFFF' - maxLength: 7 - minLength: 7 - pattern: ^#[0-9a-fA-F]{6}$ - type: string - accentColor: - description: A hex color value. - example: '#FFFFFF' - maxLength: 7 - minLength: 7 - pattern: ^#[0-9a-fA-F]{6}$ - type: string - required: - - position - - type - type: object - SceneAnnotationCustomDataType: - additionalProperties: false - description: A type that describes a custom user provided annotation. - properties: - type: - description: The type of annotation. - example: custom - maxLength: 32 - type: string - jsonType: - description: The type of annotation. - example: my-annotation-type - maxLength: 32 - type: string - json: - description: An encoded JSON string associated with the custom annotation. - example: '{"label":"my annotation","anchor":{"x":0,"y":0,"z":0}}' - maxLength: 16384 - type: string - required: - - json - - jsonType - - type - type: object - SceneAnnotationData: - additionalProperties: false - properties: - type: - example: scene-annotation - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/SceneAnnotationData_attributes' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - type - type: object - UpdateItemToDefaultRenditionOperation: - additionalProperties: false - description: An operation that updates items with the specified revision to - the default rendition. - properties: - type: - enum: - - update-to-default-rendition - example: update-to-default-rendition - type: string - revisionId: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - required: - - revisionId - - type - type: object - SceneSyncData: - 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/SceneSyncData_attributes' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - type - type: object - SceneSyncItemResultData: - additionalProperties: false - properties: - type: - example: scene-sync-item-result - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/SceneSyncItemResultData_attributes' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - relationships: - $ref: '#/components/schemas/SceneSyncItemResultData_relationships' - required: - - attributes - - id - - relationships - - type - type: object - FilterLiteral: - description: A value of a filter. - type: string - QueuedTranslationJobData: - 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/QueuedTranslationJobData_attributes' - relationships: - $ref: '#/components/schemas/QueuedTranslationJobData_relationships' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - type - type: object - CADExportConfig: - allOf: - - $ref: '#/components/schemas/ExportConfig' - description: Describes the options for configuring a CAD file export. - example: - format: jt - ExportRelationship: - additionalProperties: false - description: Relationship to an `export`. - properties: - data: - $ref: '#/components/schemas/ExportRelationshipData' - required: - - data - type: object - ExportStateRelationship: - additionalProperties: false - description: Relationship to an `export`. - properties: - data: - $ref: '#/components/schemas/ExportStateRelationshipData' - required: - - data - type: object - ExportData: - additionalProperties: false - properties: - type: - example: export - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/ExportData_attributes' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - type - type: object - WebhookSubscriptionData: - additionalProperties: false - properties: - type: - example: webhook-subscription - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/WebhookSubscriptionData_attributes' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - relationships - - type - type: object - WebhookEventData: - additionalProperties: false - example: - relationships: - owner: - data: - id: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - type: account - links: - related: /some-resource/d98d621a-23da-49fe-af96-6be709abb718 - resource: - data: - id: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - type: queued-scene-item - links: - related: /some-resource/d98d621a-23da-49fe-af96-6be709abb718 - attributes: - created: 2020-01-01T12:00:00Z - topic: some-string - changed: - - some-string - - some-string - links: - key: - href: /some-resource/d98d621a-23da-49fe-af96-6be709abb718 - id: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - type: webhook-event - properties: - type: - example: webhook-event - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/WebhookEventDataAttributes' - relationships: - $ref: '#/components/schemas/WebhookEventDataRelationships' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - type - type: object - WebhookEventSceneIncludedData: - properties: - type: - example: scene - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/WebhookEventSceneIncludedAttributes' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - links - - type - type: object - WebhookEventPartRevisionIncludedData: - properties: - type: - example: part-revision - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/WebhookEventPartRevisionIncludedAttributes' - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object - required: - - attributes - - id - - links - - type - type: object - Link: - additionalProperties: false - example: - href: /some-resource/d98d621a-23da-49fe-af96-6be709abb718 - properties: - href: - example: /some-resource/d98d621a-23da-49fe-af96-6be709abb718 - type: string - required: - - href - type: object - BoundingBox: - additionalProperties: false - description: 3D bounding-box - example: - min: - x: 0.0 - y: 0.0 - z: 0.0 - max: - x: 100.0 - y: 100.0 - z: 100.0 - properties: - min: - $ref: '#/components/schemas/Vector3' - max: - $ref: '#/components/schemas/Vector3' - required: - - max - - min - type: object - GeometrySetRelationshipData: - additionalProperties: false - properties: - type: - description: Resource object type. - enum: - - geometry-set - example: geometry-set - maxLength: 32 - 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 - PartRelationshipData: - additionalProperties: false - properties: - type: - description: Resource object type. - enum: - - part - example: part - maxLength: 32 - 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 - PartRevisionInstance: - additionalProperties: false - description: A reference to an existing PartRevision. Specify one and only one - of referenceId or suppliedReferenceId to refer to a revision. - properties: - ordinal: - description: A 0-based index used for defining a consistent ordering for - children of an assembly - minimum: 0 - type: integer - revisionId: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - suppliedRevisionId: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - transform: - $ref: '#/components/schemas/Matrix4' - required: - - ordinal - type: object - PropertyKeyType: - properties: - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - required: - - category - - name - type: object - QueryById: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/QueryById_data' - required: - - data - type: object - QueryByCollection: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/QueryByCollection_data' - required: - - data - type: object - QueryAll: - description: Resource object type. - enum: - - all - example: all - maxLength: 32 - type: string - QueryByMetadata: - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/QueryByMetadata_data' - required: - - data - type: object - ChangeVisibilityOp: - additionalProperties: false - properties: - type: - description: Resource object type. - enum: - - change-visibility - example: change-visibility - maxLength: 32 - type: string - visible: - description: Item visibility. - example: true - type: boolean - required: - - type - - visible - type: object - ChangeMaterialOp: - additionalProperties: false - properties: - type: - description: Resource object type. - enum: - - change-material - example: change-material - maxLength: 32 - type: string - material: - $ref: '#/components/schemas/ColorMaterial' - required: - - material - - type - type: object - ClearMaterialOp: - additionalProperties: false - properties: - type: - description: Resource object type. - enum: - - clear-material - example: clear-material - maxLength: 32 - type: string - required: - - type - type: object - ChangeTransformOp: - additionalProperties: false - properties: - type: - description: Resource object type. - enum: - - change-transform - example: change-transform - maxLength: 32 - type: string - transform: - $ref: '#/components/schemas/Matrix4' - required: - - transform - - type - type: object - ClearTransformOp: - additionalProperties: false - properties: - type: - description: Resource object type. - enum: - - clear-transform - example: clear-transform - maxLength: 32 - type: string - required: - - type - type: object - SelectOp: - additionalProperties: false - properties: - type: - description: Resource object type. - enum: - - select - example: select - maxLength: 32 - type: string - required: - - type - type: object - DeselectOperation: - additionalProperties: false - properties: - type: - description: Resource object type. - enum: - - deselect - example: deselect - maxLength: 32 - type: string - required: - - type - type: object - ClearRenOp: - additionalProperties: false - properties: - type: - description: Resource object type. - enum: - - clear-rendition - example: clear-rendition - maxLength: 32 - type: string - required: - - type - type: object - ViewDefaultRenOp: - additionalProperties: false - properties: - type: - description: Resource object type. - enum: - - view-default-rendition - example: view-default-rendition - maxLength: 32 - type: string - required: - - type - type: object - ViewRenByIdOp: - additionalProperties: false - properties: - type: - description: Resource object type. - enum: - - view-rendition-by-id - example: view-rendition-by-id - maxLength: 32 - type: string - renditionId: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - required: - - renditionId - - type - type: object - ViewRenBySuppliedIdOp: - additionalProperties: false - properties: - type: - description: Resource object type. - enum: - - view-rendition-by-supplied-id - example: view-rendition-by-supplied-id - maxLength: 32 - type: string - renditionSuppliedId: - maxLength: 255 - type: string - required: - - renditionSuppliedId - - type - type: object - ViewRepByIdOp: - additionalProperties: false - properties: - type: - description: Resource object type. - enum: - - view-representation-by-id - example: view-representation-by-id - maxLength: 32 - 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 - 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 - Vector4: - additionalProperties: false - description: 4D vector. - properties: - x: - description: x-axis coordinate. - example: 1.0 - type: number - y: - description: y-axis coordinate. - example: 0.0 - type: number - z: - description: z-axis coordinate. - example: 0.0 - type: number - w: - description: w value. - example: 0.0 - type: number - required: - - w - - x - - "y" - - z - type: object - ColorMaterialOpacity: - description: An opacity value from 0 to 255. - example: 255 - format: int32 - maximum: 255 - minimum: 0 - type: integer - Glossiness: - description: Glossiness from 0 to 128. - example: 0 - format: int32 - maximum: 128 - minimum: 0 - type: integer - Color3: - additionalProperties: false - description: RGB color. - properties: - r: - description: Color value from 0 to 255. - example: 255 - format: int32 - maximum: 255 - minimum: 0 - type: integer - g: - description: Color value from 0 to 255. - example: 255 - format: int32 - maximum: 255 - minimum: 0 - type: integer - b: - description: Color value from 0 to 255. - example: 255 - format: int32 - maximum: 255 - minimum: 0 - type: integer - required: - - b - - g - - r - type: object - PartRevisionSuppliedId: - additionalProperties: false - properties: - suppliedPartId: - description: ID provided for correlation. For example, an existing ID from - a PLM system. - maxLength: 1024 - type: string - suppliedRevisionId: - description: ID provided for correlation. For example, an existing ID from - a PLM system. - maxLength: 1024 - type: string - suppliedIterationId: - description: Optional iteration ID for the revision. For example, a generated - version id from a PLM system to a specific revision. Used when a existing - revision is modified. - maxLength: 1024 - type: string - required: - - suppliedPartId - - suppliedRevisionId - type: object - SectionPlane: - additionalProperties: false - properties: - normal: - $ref: '#/components/schemas/Vector3' - offset: - description: Distance from the center point to move the plane. - example: 0.0 - type: number - required: - - normal - - offset - type: object - SceneMetadata: - additionalProperties: - maxLength: 256 - minLength: 0 - type: string - description: | - User supplied key-value pairs for a scene. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. - type: object - ThumbnailData: - additionalProperties: false - properties: - uri: - type: string - height: - type: integer - width: - type: integer - required: - - height - - uri - - width - type: object - FeatureLines: - additionalProperties: false - properties: - color: - $ref: '#/components/schemas/Color3' - width: - type: number - required: - - color - - width - type: object - HexColor: - description: A hex color value. - example: '#FFFFFF' - maxLength: 7 - minLength: 7 - pattern: ^#[0-9a-fA-F]{6}$ - type: string - ExportConfig: - description: Describes the options for configuring a file export. - discriminator: - propertyName: format - example: - format: jt - properties: - format: - example: jt - type: string - required: - - format - type: object - ExportRelationshipData: - additionalProperties: false - properties: - type: - description: Resource object type. - enum: - - scene - example: scene - maxLength: 32 - 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 - ExportStateRelationshipData: - additionalProperties: false - properties: - type: - description: Resource object type. - enum: - - scene-view-state - example: scene-view-state - maxLength: 32 - 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 - WebhookEventDataAttributes: - additionalProperties: false - example: - created: 2020-01-01T12:00:00Z - topic: some-string - changed: - - some-string - - some-string - properties: - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - topic: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - changed: - items: - $ref: '#/components/schemas/NonEmptyString' - type: array - required: - - created - - topic - type: object - WebhookEventDataRelationships: - additionalProperties: false - example: - owner: - data: - id: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - type: account - links: - related: /some-resource/d98d621a-23da-49fe-af96-6be709abb718 - resource: - data: - id: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - type: queued-scene-item - links: - related: /some-resource/d98d621a-23da-49fe-af96-6be709abb718 - properties: - owner: - $ref: '#/components/schemas/WebhookEventDataRelationships_owner' - resource: - $ref: '#/components/schemas/WebhookEventDataRelationships_resource' - required: - - owner - - resource - type: object - WebhookEventSceneIncludedAttributes: - properties: - metadata: - additionalProperties: - maxLength: 256 - minLength: 0 - type: string - description: | - User supplied key-value pairs for a scene. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. - type: object - type: object - WebhookEventPartRevisionIncludedAttributes: - properties: - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - suppliedId: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - partName: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - type: object - Color: - description: Color value from 0 to 255. - example: 255 - format: int32 - maximum: 255 - minimum: 0 - type: integer - RelationshipLinks: - additionalProperties: false - example: - related: /some-resource/d98d621a-23da-49fe-af96-6be709abb718 - properties: - related: - example: /some-resource/d98d621a-23da-49fe-af96-6be709abb718 - type: string - required: - - related - type: object - CreateAccountRequest_data_attributes: - properties: - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - required: - - name - type: object - CreateAccountRequest_data: - properties: - type: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - attributes: - $ref: '#/components/schemas/CreateAccountRequest_data_attributes' - required: - - attributes - - type - type: object - Account_data_attributes: - properties: - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - status: - example: active - type: string - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - required: - - created - - name - type: object - Account_data: - properties: - type: - example: account - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/Account_data_attributes' - required: - - attributes - - id - - type - type: object - UpdateAccountRequest_data_attributes: - properties: - status: - enum: - - active - - disabled - example: active - maxLength: 32 - type: string - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - owner: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - type: object - UpdateAccountRequest_data: - properties: - type: - description: Resource object type. - example: account - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/UpdateAccountRequest_data_attributes' - required: - - attributes - - type - type: object - AdminCreateApplicationRequest_data_attributes: - properties: - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - scopes: - items: - $ref: '#/components/schemas/NonEmptyString' - type: array - redirect_uris: - items: - $ref: '#/components/schemas/NonEmptyString' - type: array - required: - - name - type: object - AdminCreateApplicationRequest_data: - properties: - type: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - attributes: - $ref: '#/components/schemas/AdminCreateApplicationRequest_data_attributes' - required: - - attributes - - type - type: object - CreatedApplication_data_attributes: - properties: - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - clientId: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - secret: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - scopes: - items: - $ref: '#/components/schemas/NonEmptyString' - type: array - redirect_uris: - items: - $ref: '#/components/schemas/NonEmptyString' - type: array - required: - - clientId - - created - - name - - redirect_uris - - scopes - - secret - type: object - CreatedApplication_data: - properties: - type: - example: application - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/CreatedApplication_data_attributes' - required: - - attributes - - id - - type - type: object - UpdateApplicationRequest_data_attributes: - properties: - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - redirect_uris: - items: - $ref: '#/components/schemas/NonEmptyString' - type: array - type: object - UpdateApplicationRequest_data: - properties: - type: - description: Resource object type. - example: application - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/UpdateApplicationRequest_data_attributes' - required: - - attributes - - type - type: object - CreateFileRequest_data_attributes: - properties: - name: - description: Name matching that of the file you are uploading, including - file extension. - example: model.zip - maxLength: 1024 - minLength: 1 - type: string - suppliedId: - description: ID provided for correlation. For example, an existing ID from - a PLM system. - example: PN12345 - maxLength: 1024 - type: string - rootFileName: - description: File name of the root part or assembly, including file extension. - Required if `name` references an archive file extension, ignored otherwise. - example: root-assembly.prt.1 - maxLength: 1024 - type: string - expiry: - description: Number of seconds before the file is deleted. - example: 600 - format: int32 - minimum: 1 - type: integer - metadata: - additionalProperties: - maxLength: 256 - type: string - description: | - User supplied key-value pairs for a file. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. - type: object - required: - - name - type: object - CreateFileRequest_data: - properties: - type: - description: Resource object type. - example: file - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/CreateFileRequest_data_attributes' - required: - - attributes - - type - type: object - UpdateFileRequest_data_attributes: - properties: - expiry: - description: Number of seconds before the file is deleted. - example: 600 - format: int32 - minimum: 1 - nullable: true - type: integer - type: object - UpdateFileRequest_data: - properties: - type: - description: Resource object type. - example: file - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/UpdateFileRequest_data_attributes' - required: - - attributes - - type - type: object - CreateDownloadRequest_data_attributes: - properties: - expiry: - description: Specifies the duration for which this pre-signed request should - be valid. After this time has expired, attempting to use the presigned - request will fail. (Defaults to 1 hour, max value is 24 hours) - example: 3600 - format: int32 - maximum: 86400 - minimum: 1 - type: integer - type: object - CreateDownloadRequest_data: - properties: - type: - description: Resource object type. - example: download-url - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/CreateDownloadRequest_data_attributes' - required: - - attributes - - type - type: object - CreateFileCollectionRequest_data_attributes: - properties: - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - suppliedId: - description: ID provided for correlation with external systems, e.g. a PLM - system. - example: GRP12345 - maxLength: 1024 - minLength: 1 - type: string - expiry: - description: Number of seconds before expiration - example: 600 - format: int32 - minimum: 1 - type: integer - metadata: - additionalProperties: - maxLength: 256 - type: string - description: | - User supplied key-value pairs for a file-collection. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. - type: object - type: object - CreateFileCollectionRequest_data: - properties: - type: - description: Resource object type. - enum: - - file-collection - example: file-collection - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/CreateFileCollectionRequest_data_attributes' - required: - - attributes - - type - type: object - UpdateFileCollectionRequest_data_attributes: - properties: - expiry: - description: Number of seconds before expiration - example: 600 - format: int32 - minimum: 1 - type: integer - type: object - UpdateFileCollectionRequest_data: - properties: - type: - description: Resource object type. - enum: - - file-collection - example: file-collection - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/UpdateFileCollectionRequest_data_attributes' - required: - - attributes - - type - type: object - CreateGeometrySetRequest_data_relationships: - properties: - source: - $ref: '#/components/schemas/FileRelationship' - required: - - source - type: object - CreateGeometrySetRequest_data: - properties: - type: - description: Resource object type. - example: geometry-set - maxLength: 32 - type: string - relationships: - $ref: '#/components/schemas/CreateGeometrySetRequest_data_relationships' - required: - - relationships - - type - type: object - CreateHitRequest_data_attributes: - properties: - point: - $ref: '#/components/schemas/Point' - viewport: - $ref: '#/components/schemas/Dimensions' - required: - - point - - viewport - type: object - CreateHitRequest_data: - properties: - type: - description: Resource object type. - example: hit - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/CreateHitRequest_data_attributes' - required: - - attributes - - type - type: object - Hit_data_attributes: - properties: - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - required: - - created - type: object - Hit_data_relationships: - properties: - results: - items: - $ref: '#/components/schemas/RelationshipData' - type: array - required: - - results - type: object - Hit_data: - properties: - type: - example: hit - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/Hit_data_attributes' - relationships: - $ref: '#/components/schemas/Hit_data_relationships' - required: - - attributes - - id - - relationships - - type - type: object - RevokeOAuth2TokenRequest_data_attributes: - properties: - token: - description: Token to revoke. - example: yj4oeKWCib6JlLsN64Ns.9CyY4gvhueXfCw6wPBJ6 - maxLength: 1024 - type: string - required: - - token - type: object - RevokeOAuth2TokenRequest_data: - properties: - type: - description: Resource object type. - example: oauth2 - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/RevokeOAuth2TokenRequest_data_attributes' - required: - - attributes - - type - type: object - AdminLoginAcceptRequest_data_attributes: - properties: - subject: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - required: - - subject - type: object - AdminLoginAcceptRequest_data: - properties: - type: - description: Resource object type. - type: string - attributes: - $ref: '#/components/schemas/AdminLoginAcceptRequest_data_attributes' - required: - - attributes - - type - type: object - AdminConsentAcceptRequest_data_attributes: - properties: - session: - type: object - required: - - session - type: object - AdminConsentAcceptRequest_data: - properties: - type: - description: Resource object type. - type: string - attributes: - $ref: '#/components/schemas/AdminConsentAcceptRequest_data_attributes' - required: - - attributes - - type - type: object - UpdatePartRevisionRequest_data_attributes: - properties: - metadata: - additionalProperties: - anyOf: - - $ref: '#/components/schemas/MetadataLongType' - - $ref: '#/components/schemas/MetadataFloatType' - - $ref: '#/components/schemas/MetadataDateType' - - $ref: '#/components/schemas/MetadataStringType' - - $ref: '#/components/schemas/MetadataNullType' - 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. - type: object - indexMetadata: - description: | - Whether or not to index metadata in the part file when sending a file relationship - not used otherwise. To ignore metadata from the part file and add your own, pass `false` for `indexMetadata` and supply custom metadata using the `metadata` field. - example: false - type: boolean - name: - description: Name to be used for the root part. This will be used when given - a file relationship - not used otherwise. - example: 1/2in. Flat Washer - maxLength: 255 - type: string - suppliedIdKey: - description: Metadata key used to extract an ID used for correlation. This - will be used when given a file relationship - not used otherwise. - example: ProductNumber - maxLength: 255 - type: string - suppliedRevisionIdKey: - description: Metadata key used to extract an ID used for correlation. This - will be used when given a file relationship - not used otherwise. - example: RevisionId - maxLength: 255 - type: string - suppliedInstanceIdKey: - description: Metadata key used to extract an ID used for correlation. This - will be used when given a file relationship - not used otherwise. - example: InstanceId - maxLength: 255 - type: string - type: object - UpdatePartRevisionRequest_data_relationships: - properties: - source: - $ref: '#/components/schemas/FileRelationship' - defaultPartRendition: - $ref: '#/components/schemas/PartRenditionRelationship' - type: object - UpdatePartRevisionRequest_data: - description: | - Modify existing part revisions using this endpoint. When specifying a `relationship`, the generated output from that relationship will be used to replace any relationship that is present on the revision prior to the update. - For example, sending a file relationship that has geometry will replace the existing geometry on the revision with the new geometry in the given file. - properties: - type: - description: Resource object type. - example: part-revision - maxLength: 32 - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/UpdatePartRevisionRequest_data_attributes' - relationships: - $ref: '#/components/schemas/UpdatePartRevisionRequest_data_relationships' - required: - - attributes - - id - - type - type: object - CreatePartRenditionRequest_data_attributes: - properties: - name: - example: 1/2in. Washer (flat) - maxLength: 255 - type: string - suppliedId: - description: ID provided for correlation. For example, an existing ID from - a PLM system. - example: PN12345 - maxLength: 255 - type: string - makeDefault: - description: Whether or not to replace the default rendition for the part - revision with the newly created rendition. - example: false - type: boolean - type: object - CreatePartRenditionRequest_data: - description: | - Create a new part rendition. - - This endpoint includes multiple successful response codes: [`201`, `202`]. - - When not given a relationship, this endpoint will create a part rendition with an empty geometry and return a `201` - status code. - - When given a relationship to translate, this endpoint will return a `202` status code with the location of a - `queued-translation`. The status of the translation can be queried via `getQueuedTranslation`. After the - translation is complete, the returned value will include a `part-rendition` that references - the translated geometry. - properties: - type: - description: Resource object type. - example: part-rendition - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/CreatePartRenditionRequest_data_attributes' - relationships: - $ref: '#/components/schemas/CreateGeometrySetRequest_data_relationships' - required: - - attributes - - type - type: object - CreatePartRequest_data_attributes: - properties: - suppliedId: - description: | - ID provided for correlation. For example, an existing ID from a PLM system. - example: PN12345 - maxLength: 1024 - type: string - suppliedRevisionId: - description: | - ID provided for correlation. For example, an existing ID from a PLM system. - Sending a new suppliedRevisionId combined with an existing suppliedId will create a new - part revision for an existing part. - example: RevA - maxLength: 1024 - type: string - suppliedIterationId: - description: | - ID provided for correlation of the revision. This is an optional ID to be able to create - a version of a revision. For example, if and existing revision in a PLM system is modified, - the suppliedIterationId can be used to allow creating a new part revision having an already - existing suppliedId and suppliedRevisionId. This can be used when modification to an existing - revision is made in the PLM system before the revision is released. - example: Ver1 - maxLength: 1024 - type: string - indexMetadata: - description: | - Whether or not to index metadata in the part file. To ignore metadata from the part file and add your own, pass `false` for `indexMetadata` and supply custom metadata using the `metadata` field. - example: false - type: boolean - metadata: - additionalProperties: - anyOf: - - $ref: '#/components/schemas/MetadataLongType' - - $ref: '#/components/schemas/MetadataFloatType' - - $ref: '#/components/schemas/MetadataDateType' - - $ref: '#/components/schemas/MetadataStringType' - - $ref: '#/components/schemas/MetadataNullType' - 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. - type: object - name: - description: Name to be used for the root part. - example: 1/2in. Flat Washer - maxLength: 255 - type: string - revisionName: - description: Optional name to be used for the part revision. - example: 1/2in. Flat Washer - A - maxLength: 255 - type: string - suppliedIdKey: - description: Metadata key used to extract an ID used for correlation. - example: ProductNumber - maxLength: 255 - type: string - suppliedRevisionIdKey: - description: Metadata key used to extract an ID used for correlation. - example: RevisionId - maxLength: 255 - type: string - suppliedInstanceIdKey: - description: Metadata key used to extract an ID used for correlation. - example: InstanceId - maxLength: 255 - type: string - type: object - CreatePartRequest_data_relationships: - properties: - source: - anyOf: - - $ref: '#/components/schemas/FileRelationship' - - $ref: '#/components/schemas/PartAssemblyRelationship' - required: - - source - type: object - CreatePartRequest_data: - properties: - type: - description: Resource object type. Specify one and only one of suppliedId - or suppliedIdKey and one and only one of suppliedRevisionId or suppliedRevisionIdKey. - example: part - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/CreatePartRequest_data_attributes' - relationships: - $ref: '#/components/schemas/CreatePartRequest_data_relationships' - required: - - attributes - - type - type: object - UpsertPropertyEntriesRequest_data_attributes: - properties: - entries: - additionalProperties: - anyOf: - - $ref: '#/components/schemas/PropertyStringType' - - $ref: '#/components/schemas/PropertyDoubleType' - - $ref: '#/components/schemas/PropertyLongType' - - $ref: '#/components/schemas/PropertyDateType' - - nullable: true - type: object - nullable: true - description: | - Property entries for a provided resource or property set. - type: object - required: - - entries - type: object - UpsertPropertyEntriesRequest_data_relationships: - properties: - propertySet: - anyOf: - - $ref: '#/components/schemas/PropertySetRelationship' - - $ref: '#/components/schemas/PartRevisionRelationship' - - $ref: '#/components/schemas/SceneItemRelationship' - - $ref: '#/components/schemas/PartInstanceRelationship' - description: Relationship to the property set by `property-set`, `part-revision`, - `part-instance` or `scene-item`. - required: - - propertySet - type: object - UpsertPropertyEntriesRequest_data: - properties: - type: - description: Resource object type. - example: property-entries - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/UpsertPropertyEntriesRequest_data_attributes' - relationships: - $ref: '#/components/schemas/UpsertPropertyEntriesRequest_data_relationships' - required: - - attributes - - relationships - - type - type: object - CreateSceneAlterationRequest_data_attributes: - properties: - alterations: - description: List of alterations to apply. - items: - $ref: '#/components/schemas/SceneOperation' - maxItems: 1024 - type: array - required: - - alterations - type: object - CreateSceneAlterationRequest_data: - properties: - type: - description: Resource object type. - example: scene-alteration - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/CreateSceneAlterationRequest_data_attributes' - required: - - attributes - - type - type: object - UpdateSceneItemOverrideRequest_data_attributes: - properties: - visible: - description: Item visibility. - example: true - nullable: true - type: boolean - transform: - $ref: '#/components/schemas/Matrix4Nullable' - material: - $ref: '#/components/schemas/ColorMaterialNullable' - selected: - nullable: true - type: boolean - phantom: - nullable: true - type: boolean - endItem: - nullable: true - type: boolean - type: object - UpdateSceneItemOverrideRequest_data: - properties: - type: - description: Resource object type. - example: scene-item-override - maxLength: 32 - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/UpdateSceneItemOverrideRequest_data_attributes' - required: - - attributes - - id - - type - type: object - CreateSceneItemOverrideRequest_data_attributes: - properties: - visible: - description: Item visibility. - example: true - type: boolean - transform: - $ref: '#/components/schemas/Matrix4' - material: - $ref: '#/components/schemas/ColorMaterial' - selected: - type: boolean - phantom: - description: Phantom state of the item. - type: boolean - endItem: - description: Whether this item is an end item. - type: boolean - type: object - CreateSceneItemOverrideRequest_data_relationships: - properties: - sceneItem: - $ref: '#/components/schemas/SceneItemRelationship' - required: - - sceneItem - type: object - CreateSceneItemOverrideRequest_data: - properties: - type: - description: Resource object type. - example: scene-item-override - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/CreateSceneItemOverrideRequest_data_attributes' - relationships: - $ref: '#/components/schemas/CreateSceneItemOverrideRequest_data_relationships' - required: - - attributes - - relationships - - type - type: object - UpdateSceneItemRequest_data_attributes: - properties: - visible: - description: Item visibility. - example: true - type: boolean - materialOverride: - $ref: '#/components/schemas/MaterialOverride' - transform: - $ref: '#/components/schemas/Matrix4' - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - suppliedId: - description: ID provided for correlation. For example, an existing ID from - a PLM system. - example: PN12345 - maxLength: 1024 - type: string - metadata: - additionalProperties: - anyOf: - - $ref: '#/components/schemas/MetadataLongType' - - $ref: '#/components/schemas/MetadataFloatType' - - $ref: '#/components/schemas/MetadataDateType' - - $ref: '#/components/schemas/MetadataStringType' - - $ref: '#/components/schemas/MetadataNullType' - description: | - Additional metadata for the scene-item. This metadata will take precedence over any metadata that belongs to the part file. - type: object - phantom: - description: Phantom state of the item. - type: boolean - endItem: - description: Whether this item is an end item. - type: boolean - type: object - UpdateSceneItemRequest_data_relationships: - properties: - source: - anyOf: - - $ref: '#/components/schemas/GeometrySetRelationship' - - $ref: '#/components/schemas/PartRevisionRelationship' - description: Relationship to a `geometry-set` or `part-revision`. - type: object - UpdateSceneItemRequest_data: - properties: - type: - description: Resource object type. - example: scene-item - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/UpdateSceneItemRequest_data_attributes' - relationships: - $ref: '#/components/schemas/UpdateSceneItemRequest_data_relationships' - required: - - attributes - - type - type: object - UpdateSceneViewRequest_data_attributes: - properties: - camera: - anyOf: - - $ref: '#/components/schemas/PerspectiveCamera' - - $ref: '#/components/schemas/OrthographicCamera' - - $ref: '#/components/schemas/CameraFit' - crossSectioning: - $ref: '#/components/schemas/CrossSectioning' - noDefaultLights: - description: Whether or not to turn off default lighting - example: true - type: boolean - type: object - UpdateSceneViewRequest_data: - properties: - type: - description: Resource object type. - example: scene-view - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/UpdateSceneViewRequest_data_attributes' - required: - - attributes - - type - type: object - CreateSceneViewRequest_data_attributes: - properties: - camera: - oneOf: - - $ref: '#/components/schemas/PerspectiveCamera' - - $ref: '#/components/schemas/OrthographicCamera' - crossSectioning: - $ref: '#/components/schemas/CrossSectioning' - excludePrunedItems: - description: Whether to exclude non-visible items in the view - example: true - type: boolean - type: object - CreateSceneViewRequest_data_relationships: - properties: - sceneViewState: - $ref: '#/components/schemas/SceneViewStateRelationship' - type: object - CreateSceneViewRequest_data: - properties: - type: - description: Resource object type. - example: scene-view - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/CreateSceneViewRequest_data_attributes' - relationships: - $ref: '#/components/schemas/CreateSceneViewRequest_data_relationships' - required: - - attributes - - type - type: object - CreateSceneRequest_data_attributes: - properties: - camera: - oneOf: - - $ref: '#/components/schemas/PerspectiveCamera' - - $ref: '#/components/schemas/OrthographicCamera' - suppliedId: - description: ID provided for correlation. For example, an existing ID from - a PLM system. - example: PN12345 - maxLength: 1024 - type: string - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - treeEnabled: - example: false - type: boolean - worldOrientation: - $ref: '#/components/schemas/Orientation' - metadata: - additionalProperties: - maxLength: 256 - nullable: true - type: string - description: | - User supplied key-value pairs for a scene. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. A null value will delete the entry in the map, all other key/value pairs provided here will be inserted or updated into the existing scene metadata. - type: object - expiry: - description: Number of seconds before expiration - example: 600 - format: int32 - minimum: 1 - type: integer - type: object - CreateSceneRequest_data_relationships: - properties: - source: - $ref: '#/components/schemas/SceneRelationship' - required: - - source - type: object - CreateSceneRequest_data: - properties: - type: - description: Resource object type. - example: scene - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/CreateSceneRequest_data_attributes' - relationships: - $ref: '#/components/schemas/CreateSceneRequest_data_relationships' - required: - - attributes - - type - type: object - UpdateSceneRequest_data_attributes: - properties: - camera: - anyOf: - - $ref: '#/components/schemas/PerspectiveCamera' - - $ref: '#/components/schemas/OrthographicCamera' - - $ref: '#/components/schemas/CameraFit' - state: - description: State of the scene. - enum: - - draft - - commit - example: commit - maxLength: 32 - type: string - suppliedId: - description: ID provided for correlation. For example, an existing ID from - a PLM system. - example: PN12345 - maxLength: 1024 - nullable: true - type: string - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - treeEnabled: - description: Whether or not scene trees can be viewed for this scene. - type: boolean - worldOrientation: - $ref: '#/components/schemas/Orientation' - expiry: - description: Number of seconds before expiration - example: 600 - format: int32 - minimum: 1 - type: integer - metadata: - additionalProperties: - maxLength: 256 - nullable: true - type: string - description: | - User supplied key-value pairs for a scene. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. A null value will delete the entry in the map, all other key/value pairs provided here will be inserted or updated into the existing scene metadata. - type: object - type: object - UpdateSceneRequest_data: - properties: - type: - description: Resource object type. - example: scene - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/UpdateSceneRequest_data_attributes' - required: - - attributes - - type - type: object - CreateSceneViewStateRequest_data_attributes: - properties: - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - suppliedId: - description: ID provided for correlation. For example, an existing ID from - a PLM system. - example: PN12345 - maxLength: 1024 - type: string - type: object - CreateSceneViewStateRequest_data_relationships: - properties: - source: - oneOf: - - $ref: '#/components/schemas/SceneViewRelationship' - - $ref: '#/components/schemas/SceneViewStateRelationship' - required: - - source - type: object - CreateSceneViewStateRequest_data: - properties: - type: - description: Resource object type. - example: scene-view-state - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/CreateSceneViewStateRequest_data_attributes' - relationships: - $ref: '#/components/schemas/CreateSceneViewStateRequest_data_relationships' - required: - - attributes - - relationships - - type - type: object - UpdateSceneViewStateRequest_data: - properties: - type: - description: Resource object type. - example: scene-view-state - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/CreateSceneViewStateRequest_data_attributes' - required: - - attributes - - type - type: object - CreateStreamKeyRequest_data_attributes: - properties: - expiry: - description: Number of seconds before the `stream-key` expires. - example: 600 - format: int32 - maximum: 31557600 - minimum: 1 - type: integer - excludePrunedItems: - description: Whether to exclude non-visible items in the view. - example: true - type: boolean - sceneViewStateSuppliedId: - description: An optional supplied ID specifying the `scene-view-state` to - initialize `scene-view`s created using this `stream-key` to. Mutually - exclusive with `sceneViewStateId`. - example: some-string - maxLength: 1024 - minLength: 1 - type: string - sceneViewStateId: - description: An optional ID specifying the `scene-view-state` to initialize - `scene-view`s created using this `stream-key` to. Mutually exclusive with - `sceneViewStateSuppliedId`. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - withSearchSession: - description: Optionally enables or disables the creation of a search session - for the view. - example: true - type: boolean - type: object - CreateStreamKeyRequest_data: - properties: - type: - description: Resource object type. - example: stream-key - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/CreateStreamKeyRequest_data_attributes' - required: - - attributes - - type - type: object - CreateSceneAnnotationSetRequest_data_attributes: - properties: - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - suppliedId: - description: A customer provided ID used for correlation. - example: PN12345 - maxLength: 256 - type: string - type: object - CreateSceneAnnotationSetRequest_data: - properties: - type: - description: Resource object type. - example: scene-annotation-set - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/CreateSceneAnnotationSetRequest_data_attributes' - required: - - attributes - - type - type: object - CreateSceneAnnotationRequest_data_attributes: - properties: - data: - description: The data describing how to render this annotation. - discriminator: - mapping: - callout: '#/components/schemas/SceneAnnotationCalloutDataType' - custom: '#/components/schemas/SceneAnnotationCustomDataType' - propertyName: type - oneOf: - - $ref: '#/components/schemas/SceneAnnotationCalloutDataType' - - $ref: '#/components/schemas/SceneAnnotationCustomDataType' - suppliedId: - description: A customer provided ID used for correlation. - example: PN12345 - maxLength: 256 - type: string - required: - - data - type: object - CreateSceneAnnotationRequest_data: - properties: - type: - description: Resource object type. - example: scene-annotation - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/CreateSceneAnnotationRequest_data_attributes' - required: - - attributes - - type - type: object - UpdateSceneAnnotationRequest_data_attributes: - properties: - data: - description: The data describing how to render this annotation. - discriminator: - mapping: - callout: '#/components/schemas/SceneAnnotationCalloutDataType' - custom: '#/components/schemas/SceneAnnotationCustomDataType' - propertyName: type - oneOf: - - $ref: '#/components/schemas/SceneAnnotationCalloutDataType' - - $ref: '#/components/schemas/SceneAnnotationCustomDataType' - suppliedId: - description: A customer provided ID used for correlation. - example: PN12345 - maxLength: 256 - nullable: true - type: string - type: object - UpdateSceneAnnotationRequest_data: - properties: - type: - description: Resource object type. - example: scene-annotation - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/UpdateSceneAnnotationRequest_data_attributes' - required: - - attributes - - type - type: object - CreateTranslationInspectionRequest_data: - properties: - type: - description: Resource object type. - example: translation-inspection - maxLength: 32 - type: string - relationships: - $ref: '#/components/schemas/CreateGeometrySetRequest_data_relationships' - required: - - relationships - - type - type: object - TranslationInspectionJob_data_attributes: - properties: - status: - example: running - type: string - missing: - items: - $ref: '#/components/schemas/NonEmptyString' - type: array - required: - - missing - - status - type: object - TranslationInspectionJob_data: - properties: - type: - example: translation-inspection - type: string - id: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - attributes: - $ref: '#/components/schemas/TranslationInspectionJob_data_attributes' - required: - - attributes - - id - - type - type: object - CreateExportRequest_data_attributes: - properties: - config: - description: Specifies the export format and options to configure the export. - discriminator: - mapping: - jt: '#/components/schemas/CADExportConfig' - step: '#/components/schemas/CADExportConfig' - x_t: '#/components/schemas/CADExportConfig' - propertyName: format - oneOf: - - $ref: '#/components/schemas/CADExportConfig' - fileName: - description: Optional file name to use for the resulting export - example: exportedScene - maxLength: 1024 - type: string - required: - - config - type: object - CreateExportRequest_data_relationships: - properties: - source: - $ref: '#/components/schemas/ExportRelationship' - state: - $ref: '#/components/schemas/ExportStateRelationship' - required: - - source - type: object - CreateExportRequest_data: - properties: - type: - description: Resource object type. - example: export - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/CreateExportRequest_data_attributes' - relationships: - $ref: '#/components/schemas/CreateExportRequest_data_relationships' - required: - - attributes - - relationships - - type - type: object - CreateWebhookSubscriptionRequest_data_attributes: - properties: - url: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - topics: - items: - $ref: '#/components/schemas/NonEmptyString' - type: array - required: - - topics - - url - type: object - CreateWebhookSubscriptionRequest_data: - properties: - type: - description: Resource object type. - example: webhook-subscription - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/CreateWebhookSubscriptionRequest_data_attributes' - required: - - attributes - - type - type: object - UpdateWebhookSubscriptionRequest_data_attributes: - properties: - status: - description: Status of subscription. - enum: - - active - - paused - example: active - type: string - topics: - items: - $ref: '#/components/schemas/NonEmptyString' - type: array - url: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - type: object - UpdateWebhookSubscriptionRequest_data: - properties: - type: - description: Resource object type. - example: webhook-subscription - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/UpdateWebhookSubscriptionRequest_data_attributes' - required: - - attributes - - type - type: object - ApiError_source: - properties: - pointer: - example: /body/data/attributes - type: string - parameter: - example: page[cursor] - type: string - type: object - ApplicationData_attributes: - properties: - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - clientId: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - scopes: - items: - $ref: '#/components/schemas/NonEmptyString' - type: array - redirectUris: - items: - $ref: '#/components/schemas/NonEmptyString' - type: array - required: - - clientId - - created - - name - - redirectUris - - scopes - type: object - BatchOperation_ref: - description: Target of batch operation. - properties: - type: - description: Resource object type. - enum: - - scene - example: scene - maxLength: 32 - 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 - QueuedJobData_attributes: - properties: - status: - example: running - type: string - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - errors: - items: - $ref: '#/components/schemas/ApiError' - maxItems: 20 - type: array - uniqueItems: true - required: - - created - - status - type: object - FileMetadataData_attributes: - properties: - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - status: - example: complete - type: string - suppliedId: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - rootFileName: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - uploaded: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - size: - format: int64 - type: integer - metadata: - additionalProperties: - type: string - type: object - required: - - created - - name - - status - type: object - DownloadUrlData_attributes: - properties: - downloadUrl: - example: https://example.com/path/to/file.zip - type: string - required: - - downloadUrl - type: object - FileCollectionMetadataData_attributes: - properties: - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - suppliedId: - description: ID provided for correlation with external systems, e.g. a PLM - system. - example: GRP12345 - maxLength: 1024 - minLength: 1 - type: string - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - metadata: - additionalProperties: - type: string - type: object - required: - - created - type: object - FileRelationship_data: - properties: - type: - description: Resource object type. - enum: - - file - example: file - maxLength: 32 - 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 - HitResultData_attributes: - properties: - point: - $ref: '#/components/schemas/Vector3' - normal: - $ref: '#/components/schemas/Vector3' - required: - - normal - - point - type: object - HitResultData_relationships: - properties: - sceneItem: - $ref: '#/components/schemas/RelationshipData' - required: - - sceneItem - type: object - SceneItemData_attributes: - properties: - boundingBox: - $ref: '#/components/schemas/BoundingBox' - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - endItem: - type: boolean - materialOverride: - $ref: '#/components/schemas/ColorMaterial' - metadata: - additionalProperties: - anyOf: - - $ref: '#/components/schemas/MetadataLongType' - - $ref: '#/components/schemas/MetadataFloatType' - - $ref: '#/components/schemas/MetadataDateType' - - $ref: '#/components/schemas/MetadataStringType' - - $ref: '#/components/schemas/MetadataNullType' - type: object - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - phantom: - type: boolean - suppliedId: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - transform: - $ref: '#/components/schemas/Matrix4' - visible: - example: true - type: boolean - worldTransform: - $ref: '#/components/schemas/Matrix4' - type: object - SceneItemData_relationships: - properties: - source: - anyOf: - - $ref: '#/components/schemas/GeometrySetRelationship' - - $ref: '#/components/schemas/PartRevisionRelationship' - - $ref: '#/components/schemas/SceneRelationship' - - $ref: '#/components/schemas/PartRenditionRelationship' - parent: - $ref: '#/components/schemas/SceneItemRelationship' - partRendition: - $ref: '#/components/schemas/PartRenditionRelationship' - type: object - PartRevisionData_attributes: - properties: - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - metadata: - additionalProperties: - anyOf: - - $ref: '#/components/schemas/MetadataLongType' - - $ref: '#/components/schemas/MetadataFloatType' - - $ref: '#/components/schemas/MetadataDateType' - - $ref: '#/components/schemas/MetadataStringType' - - $ref: '#/components/schemas/MetadataNullType' - type: object - suppliedId: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - suppliedIterationId: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - type: object - PartRevisionData_relationships: - properties: - geometrySet: - $ref: '#/components/schemas/GeometrySetRelationshipData' - part: - $ref: '#/components/schemas/PartRelationshipData' - defaultPartRendition: - $ref: '#/components/schemas/PartRenditionRelationship' - type: object - PartRenditionData_attributes: - properties: - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - suppliedId: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - type: object - PartRenditionData_relationships: - properties: - geometrySet: - $ref: '#/components/schemas/GeometrySetRelationshipData' - partRevision: - $ref: '#/components/schemas/PartRevisionRelationship' - type: object - PartRenditionRelationship_data: - properties: - type: - description: Resource object type. - enum: - - part-rendition - example: part-rendition - maxLength: 32 - 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 - PartRevisionInstanceData_attributes: - properties: - ordinal: - description: A 0-based index used for defining a consistent ordering for - children of an assembly - minimum: 0 - type: integer - transform: - $ref: '#/components/schemas/Matrix4' - type: object - PartRevisionInstanceData_relationships: - description: This is the relationship from the instance to the parent revision - properties: - partRevision: - $ref: '#/components/schemas/PartRevisionRelationship' - required: - - partRevision - type: object - PartData_attributes: - properties: - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - suppliedId: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - required: - - created - - name - - suppliedId - type: object - PartData_relationships_partRevisions: - properties: - type: - description: Resource object type. - enum: - - part-revision - example: part-revision - maxLength: 32 - 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 - PartData_relationships: - properties: - partRevisions: - items: - $ref: '#/components/schemas/PartData_relationships_partRevisions' - type: array - required: - - partRevisions - type: object - PartAssemblyRelationship_data: - properties: - children: - items: - $ref: '#/components/schemas/PartRevisionInstance' - type: array - metadata: - additionalProperties: - anyOf: - - $ref: '#/components/schemas/MetadataLongType' - - $ref: '#/components/schemas/MetadataFloatType' - - $ref: '#/components/schemas/MetadataDateType' - - $ref: '#/components/schemas/MetadataStringType' - - $ref: '#/components/schemas/MetadataNullType' - description: | - Additional metadata about the `part` and/or `part-revision`. - type: object - required: - - children - type: object - ModelViewData_relationships: - properties: - partRevision: - $ref: '#/components/schemas/PartRevisionRelationship' - required: - - partRevision - type: object - PropertyEntryData_attributes: - properties: - value: - anyOf: - - $ref: '#/components/schemas/PropertyStringType' - - $ref: '#/components/schemas/PropertyDoubleType' - - $ref: '#/components/schemas/PropertyLongType' - - $ref: '#/components/schemas/PropertyDateType' - key: - $ref: '#/components/schemas/PropertyKeyType' - required: - - key - - value - type: object - PropertySetRelationship_data: - properties: - type: - description: Resource object type. - enum: - - property-set - example: property-set - maxLength: 32 - 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 - SceneItemRelationship_data: - properties: - type: - description: Resource object type. - enum: - - scene-item - example: scene-item - maxLength: 32 - 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 - PartInstanceRelationship_data: - properties: - type: - description: Resource object type. - enum: - - part-instance - example: part-instance - maxLength: 32 - 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 - SceneAlterationData_relationships: - properties: - sceneView: - $ref: '#/components/schemas/SceneViewRelationship' - required: - - sceneView - type: object - SceneItemOverrideData_attributes: - properties: - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - visible: - example: true - type: boolean - transform: - $ref: '#/components/schemas/Matrix4' - material: - $ref: '#/components/schemas/ColorMaterial' - selected: - type: boolean - phantom: - type: boolean - endItem: - type: boolean - required: - - created - type: object - SceneItemOverrideData_relationships: - properties: - sceneItem: - $ref: '#/components/schemas/SceneItemRelationship' - sceneView: - $ref: '#/components/schemas/SceneViewRelationship' - required: - - sceneItem - - sceneView - type: object - CreateSceneItemRequestData_attributes: - properties: - materialOverride: - $ref: '#/components/schemas/ColorMaterial' - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - ordinal: - description: A 0-based index used for defining a consistent ordering amongst - sibling scene items. - type: integer - parent: - description: | - Optional ability to specify a parent scene item by scene item supplied ID. For example, an existing ID from a PLM system. This approach is an alternative to providing a specific scene item ID with the relationship parent property. - example: PN12345 - maxLength: 1024 - type: string - partInstanceSuppliedIdsAsSuppliedIds: - description: Whether or not to use part instance supplied IDs as scene item - supplied IDs. - example: false - type: boolean - resolutionRule: - description: "Optional rule to guide the part-revision resolution algorithm\ - \ in cases where required qualifiers are not explicitly specified by the\ - \ query. In the case of assembly parts, the resolution rule also applies\ - \ recursively to the resolution of the child parts.\n'as-specified' (the\ - \ default) directs the resolution algorithm to use only the ids specified\ - \ in this query. An incomplete specification will result in an error.\ - \ \n'latest-iteration' directs the resolution algorithm to select, within\ - \ the scope of the specified part-revision, the iteration possessing the\ - \ newest creation timestamp. Any iteration identifiers specified by this\ - \ query are ignored. Failure to specify a part-revision will result in\ - \ an error. \n'latest-revision' directs the resolution algorithm to select\ - \ the part-revision possessing the newest creation timestamp. 'latest-revision'\ - \ implies 'latest-iteration' resolution logic.\n" - enum: - - as-specified - - latest-iteration - - latest-revision - type: string - source: - $ref: '#/components/schemas/PartRevisionSuppliedId' - suppliedId: - description: ID provided for correlation. For example, an existing ID from - a PLM system. - example: PN12345 - maxLength: 1024 - type: string - transform: - $ref: '#/components/schemas/Matrix4' - visible: - description: Item visibility. - example: true - type: boolean - phantom: - description: Phantom state of the item. - type: boolean - endItem: - description: Whether this item is an end item. - type: boolean - metadata: - additionalProperties: - anyOf: - - $ref: '#/components/schemas/MetadataLongType' - - $ref: '#/components/schemas/MetadataFloatType' - - $ref: '#/components/schemas/MetadataDateType' - - $ref: '#/components/schemas/MetadataStringType' - - $ref: '#/components/schemas/MetadataNullType' - description: | - Additional metadata for the scene-item. This metadata will take precedence over any metadata that belongs to the part file. - type: object - experimentalSourceMetadataKeys: - description: | - Specifies which metadata keys should be copied from the source item. Sending null will default to all keys. Sending an empty string will copy none of the sources' metadata. Sending an array of ["KEY1", "KEY2] will include KEY1 and KEY2 from the source in the scene item creation. This is marked experimental since future releases are expected to prevent copying metadata entirely. - items: - type: string - maxItems: 500 - type: array - type: object - CreateSceneItemRequestData_relationships: - properties: - parent: - $ref: '#/components/schemas/SceneItemRelationship' - source: - anyOf: - - $ref: '#/components/schemas/GeometrySetRelationship' - - $ref: '#/components/schemas/PartRevisionRelationship' - - $ref: '#/components/schemas/SceneRelationship' - - $ref: '#/components/schemas/PartRenditionRelationship' - description: Relationship to a `geometry-set`, `part-revision`, `part-rendition`, - or `scene`. - referenceTree: - $ref: '#/components/schemas/SceneItemRelationship' - type: object - SceneViewData_attributes: - properties: - camera: - oneOf: - - $ref: '#/components/schemas/PerspectiveCamera' - - $ref: '#/components/schemas/OrthographicCamera' - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - crossSectioning: - $ref: '#/components/schemas/CrossSectioning' - worldOrientation: - $ref: '#/components/schemas/Orientation' - excludePrunedItems: - description: Whether to exclude non-visible items in the view - example: true - type: boolean - required: - - camera - - created - type: object - SceneViewData_relationships: - properties: - scene: - $ref: '#/components/schemas/SceneRelationship' - required: - - scene - type: object - SceneViewStateRelationship_data: - properties: - type: - description: Resource object type. - enum: - - scene-view-state - example: scene-view-state - maxLength: 32 - 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 - SceneData_attributes: - properties: - camera: - oneOf: - - $ref: '#/components/schemas/PerspectiveCamera' - - $ref: '#/components/schemas/OrthographicCamera' - state: - example: draft - type: string - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - suppliedId: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - treeEnabled: - type: boolean - modified: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - worldOrientation: - $ref: '#/components/schemas/Orientation' - sceneItemCount: - description: The number of scene items in this scene. (This field needs - to be explicitly requested) - example: 100 - type: integer - expiresAt: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - metadata: - additionalProperties: - maxLength: 256 - minLength: 0 - type: string - description: | - User supplied key-value pairs for a scene. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. - type: object - type: object - SceneRelationship_data: - properties: - type: - description: Resource object type. - enum: - - scene - example: scene - maxLength: 32 - 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 - SceneViewStateData_attributes: - properties: - camera: - oneOf: - - $ref: '#/components/schemas/PerspectiveCamera' - - $ref: '#/components/schemas/OrthographicCamera' - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - thumbnails: - items: - $ref: '#/components/schemas/ThumbnailData' - type: array - featureLines: - $ref: '#/components/schemas/FeatureLines' - noDefaultLights: - type: boolean - suppliedId: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - type: object - SceneViewRelationship_data: - properties: - type: - description: Resource object type. - enum: - - scene-view - example: scene-view - maxLength: 32 - 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 - StreamKeyData_attributes: - properties: - key: - example: i3MFRDOmg1pxD36dGCTONRwOujkgV8m9LQ - type: string - expiry: - example: 600 - format: int32 - type: integer - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - excludePrunedItems: - example: true - type: boolean - sceneViewStateSuppliedId: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - sceneViewStateId: - description: ID of the resource. - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string - required: - - created - - expiry - type: object - SceneAnnotationSetData_attributes: - properties: - createdAt: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - modifiedAt: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - name: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - suppliedId: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - required: - - createdAt - - modifiedAt - type: object - SceneAnnotationData_attributes: - properties: - createdAt: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - modifiedAt: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - data: - description: The data describing how to render this annotation. - discriminator: - mapping: - callout: '#/components/schemas/SceneAnnotationCalloutDataType' - custom: '#/components/schemas/SceneAnnotationCustomDataType' - propertyName: type - oneOf: - - $ref: '#/components/schemas/SceneAnnotationCalloutDataType' - - $ref: '#/components/schemas/SceneAnnotationCustomDataType' - suppliedId: - example: some-string - maxLength: 1024 - minLength: 1 - type: string - required: - - createdAt - - data - - modifiedAt - type: object - SceneSyncData_attributes: - properties: - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - completedAt: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - status: - example: completed - type: string - required: - - completedAt - - created - - status - type: object - SceneSyncItemResultData_attributes: - properties: - status: - example: running - type: string - error: - $ref: '#/components/schemas/ApiError' - required: - - status - type: object - SceneSyncItemResultData_relationships: - properties: - scene: - $ref: '#/components/schemas/SceneRelationship' - sceneItem: - $ref: '#/components/schemas/SceneItemRelationship' - required: - - scene - - sceneItem - type: object - QueuedTranslationJobData_attributes: - properties: - status: - example: running - type: string - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - completed: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - errors: - items: - $ref: '#/components/schemas/ApiError' - maxItems: 20 - type: array - uniqueItems: true - required: - - created - - status - type: object - QueuedTranslationJobData_relationships: - properties: - geometrySet: - $ref: '#/components/schemas/GeometrySetRelationship' - partRevision: - $ref: '#/components/schemas/PartRevisionRelationship' - partRendition: - $ref: '#/components/schemas/PartRenditionRelationship' - type: object - ExportData_attributes: - properties: - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - downloadUrl: - example: https://example.com/path/to/file.jt - type: string - required: - - created - - downloadUrl - type: object - WebhookSubscriptionData_attributes: - properties: - url: - type: string - secret: - example: i3MFRDOmg1pxD36dGCTONRwOujkgV8m9LQ - type: string - topics: - items: - $ref: '#/components/schemas/NonEmptyString' - type: array - status: - enum: - - active - - paused - example: active - maxLength: 32 - type: string - created: - example: 2020-01-01T12:00:00Z - format: date-time - type: string - required: - - created - - status - - topics - - url - type: object - QueryById_data_attributes: - properties: - type: - description: Resource object type. - enum: - - id - - suppliedId - example: suppliedId - maxLength: 32 - type: string - value: - description: ID of the resource. - maxLength: 1024 - type: string - required: - - type - - value - type: object - QueryById_data: - properties: - type: - description: Resource object type. - enum: - - query-by-id - example: query-by-id - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/QueryById_data_attributes' - required: - - attributes - - type - type: object - QueryByCollection_data_attributes: - properties: - type: - description: Resource object type. - enum: - - and - - or - example: and - maxLength: 32 - type: string - values: - description: Query `scene-items`. - items: - $ref: '#/components/schemas/QueryById' - maxItems: 1024 - type: array - required: - - type - - values - type: object - QueryByCollection_data: - properties: - type: - description: Resource object type. - enum: - - query-by-collection - example: query-by-collection - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/QueryByCollection_data_attributes' - required: - - attributes - - type - type: object - QueryByMetadata_data_attributes: - properties: - 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: object - QueryByMetadata_data: - properties: - type: - description: Resource object type. - enum: - - query-by-metadata - example: query-by-metadata - maxLength: 32 - type: string - attributes: - $ref: '#/components/schemas/QueryByMetadata_data_attributes' - required: - - attributes - - type - type: object - WebhookEventDataRelationships_owner_data: - example: - id: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - type: account - properties: - type: - description: Resource object type. - enum: - - account - example: account - maxLength: 32 - 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 - WebhookEventDataRelationships_owner: - description: Relationship to an `owner`. - example: - data: - id: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - type: account - links: - related: /some-resource/d98d621a-23da-49fe-af96-6be709abb718 - properties: - data: - $ref: '#/components/schemas/WebhookEventDataRelationships_owner_data' - links: - $ref: '#/components/schemas/RelationshipLinks' - required: - - data - type: object - WebhookEventDataRelationships_resource_data: - example: - id: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - type: queued-scene-item - properties: - type: - description: Resource object type. - example: queued-scene-item - maxLength: 32 - 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 - WebhookEventDataRelationships_resource: - description: Relationship to a `resource`. - example: - data: - id: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - type: queued-scene-item - links: - related: /some-resource/d98d621a-23da-49fe-af96-6be709abb718 - properties: - data: - $ref: '#/components/schemas/WebhookEventDataRelationships_resource_data' - links: - $ref: '#/components/schemas/RelationshipLinks' - required: - - data - type: object - securitySchemes: - OAuth2: - flows: - clientCredentials: - scopes: {} - tokenUrl: /oauth2/token - type: oauth2 - OAuth2Internal: - flows: - clientCredentials: - scopes: - accounts.*: Read and write access to account endpoints - accounts.read: Read-only access to account endpoints - accounts.write: Write-only access to account endpoints - tokenUrl: /oauth2/token - type: oauth2 - basicAuth: - scheme: basic - type: http - diff --git a/build.gradle b/build.gradle index 426d8637..1c1adca4 100644 --- a/build.gradle +++ b/build.gradle @@ -1,51 +1,33 @@ plugins { id "idea" id "io.github.gradle-nexus.publish-plugin" version "1.1.0" - id "java-library" - id "maven-publish" - id "signing" } group = 'com.vertexvis' -version = '0.10.0' +version = '0.11.0' -repositories { - mavenCentral() -} - -java { - withJavadocJar() - withSourcesJar() +allprojects { + group = 'com.vertexvis' + version = '0.11.0' + + repositories { + mavenCentral() + } } -publishing { - publications { - mavenJava(MavenPublication) { - artifactId = 'api-client-java' - from components.java - pom { - name = 'com.vertexvix:api-client-java' - description = 'The Vertex REST API client for Java.' - url = 'https://github.com/Vertexvis/vertex-api-client-java' - licenses { - license { - name = 'MIT' - url = 'https://github.com/Vertexvis/vertex-api-client-java/blob/main/LICENSE' - } - } - developers { - developer { - email = 'support@vertexvis.com' - name = 'Vertex Developers' - organizationUrl = 'https://developer.vertexvis.com/' - } - } - scm { - connection = 'scm:git:git@github.com:vertexvis/vertex-api-client-java.git' - developerConnection = 'scm:git:git@github.com:vertexvis/vertex-api-client-java.git' - url = 'https://github.com/Vertexvis/vertex-api-client-java' - } - } +subprojects { + apply plugin: 'java-library' + + java { + toolchain { + languageVersion.set(JavaLanguageVersion.of(17)) + } + } + + test { + useJUnitPlatform() + testLogging { + events "passed", "skipped", "failed" } } } @@ -64,39 +46,3 @@ nexusPublishing { def base64Decode(prop) { return new String(Base64.getDecoder().decode(project.findProperty(prop).toString())).trim() } - -signing { - useInMemoryPgpKeys(base64Decode("signingKey"), base64Decode("signingPassword")) - sign publishing.publications.mavenJava -} - -javadoc { - options.tags = ["http.response.details:a:Http Response Details"] - if(JavaVersion.current().isJava8Compatible()) { - options.addStringOption('Xdoclint:none', '-quiet') - } -} - -dependencies { - implementation 'io.swagger:swagger-annotations:1.6.14' - implementation "com.google.code.findbugs:jsr305:3.0.2" - implementation 'com.squareup.okhttp3:okhttp:4.12.0' - implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0' - implementation 'com.google.code.gson:gson:2.10' - implementation 'io.gsonfire:gson-fire:1.9.0' - implementation 'org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.1' // 1.0.2 doesn't work with okkhttp3 - implementation 'org.apache.commons:commons-lang3:3.15.0' - implementation 'javax.annotation:javax.annotation-api:1.3' - implementation 'org.openapitools:jackson-databind-nullable:0.2.6' - implementation 'info.picocli:picocli:4.7.6' - testImplementation(platform('org.junit:junit-bom:5.10.3')) - testImplementation('org.junit.jupiter:junit-jupiter:5.10.3') - testImplementation("com.squareup.okhttp3:mockwebserver:4.12.0") -} - -test { - useJUnitPlatform() - testLogging { - events "passed", "skipped", "failed" - } -} diff --git a/config.yml b/config.yml deleted file mode 100644 index a6242788..00000000 --- a/config.yml +++ /dev/null @@ -1,8 +0,0 @@ -apiPackage: com.vertexvis.api -artifactId: api-client-java -dateLibrary: java8 -java8: true -hideGenerationTimestamp: true -invokerPackage: com.vertexvis -modelPackage: com.vertexvis.model -useRuntimeException: true diff --git a/examples/build.gradle b/examples/build.gradle new file mode 100644 index 00000000..851083a5 --- /dev/null +++ b/examples/build.gradle @@ -0,0 +1,40 @@ +plugins { + id 'java' + id 'application' +} + +description = 'Example applications using the Vertex API Client Library' + +dependencies { + implementation project(':api-client-library') + implementation 'info.picocli:picocli:4.7.6' + implementation 'com.squareup.okhttp3:okhttp:4.12.0' + implementation 'org.slf4j:slf4j-api:2.0.13' + runtimeOnly 'org.slf4j:slf4j-simple:2.0.13' + + testImplementation(platform('org.junit:junit-bom:5.10.3')) + testImplementation('org.junit.jupiter:junit-jupiter:5.10.3') +} + +application { + mainClass = 'com.vertexvis.example.CreateAssemblyFromRevisionsExample' +} + +// Create additional run tasks for different examples +task runCreateAssemblyExample(type: JavaExec) { + group = 'examples' + description = 'Run the CreateAssemblyFromRevisionsExample' + classpath = sourceSets.main.runtimeClasspath + mainClass = 'com.vertexvis.example.CreateAssemblyFromRevisionsExample' +} + +// Create a task to list all available examples +task listExamples { + group = 'examples' + description = 'List all available example applications' + doLast { + println "Available examples:" + println " gradle :examples:runCreateAssemblyExample - Run CreateAssemblyFromRevisionsExample" + println " gradle :examples:run - Run the default example (CreateAssemblyFromRevisionsExample)" + } +} diff --git a/src/main/java/com/vertexvis/example/CallbackUtil.java b/examples/src/main/java/com/vertexvis/example/CallbackUtil.java similarity index 100% rename from src/main/java/com/vertexvis/example/CallbackUtil.java rename to examples/src/main/java/com/vertexvis/example/CallbackUtil.java diff --git a/src/main/java/com/vertexvis/example/CreateAssemblyFromRevisionsExample.java b/examples/src/main/java/com/vertexvis/example/CreateAssemblyFromRevisionsExample.java similarity index 94% rename from src/main/java/com/vertexvis/example/CreateAssemblyFromRevisionsExample.java rename to examples/src/main/java/com/vertexvis/example/CreateAssemblyFromRevisionsExample.java index e30afc77..ba8841db 100644 --- a/src/main/java/com/vertexvis/example/CreateAssemblyFromRevisionsExample.java +++ b/examples/src/main/java/com/vertexvis/example/CreateAssemblyFromRevisionsExample.java @@ -10,8 +10,8 @@ import java.io.File; import java.util.Collection; -import java.util.HashMap; import java.util.List; +import java.util.Map; import java.util.UUID; import java.util.concurrent.CompletableFuture; import java.util.logging.Level; @@ -36,14 +36,14 @@ public void run() { ); } - ApiClient client = - new ApiClient(getVertexApiUrl(), clientId, secret, new HashMap<>()).setDebugging(isVerboseDebugLogging()); + ApiClient client = new ApiClient(getVertexApiUrl(), clientId, secret, Map.of()) + .setDebugging(isVerboseDebugLogging()) + .setServerIndex(null);// The new client defaults to the first server in the ServerConfigurations unless set to null PartCreator pc = new PartCreator(client); FilesApi files = new FilesApi(client); SceneCreator sc = new SceneCreator(client); - List> futureParts = getPartFiles().stream() .map(CreateAssemblyFromRevisionsExample::buildCreateFileReq) .map(req -> createAndUploadFile(files, req) diff --git a/src/main/java/com/vertexvis/example/CreatePartRevisionsWithMetadataExample.java b/examples/src/main/java/com/vertexvis/example/CreatePartRevisionsWithMetadataExample.java similarity index 100% rename from src/main/java/com/vertexvis/example/CreatePartRevisionsWithMetadataExample.java rename to examples/src/main/java/com/vertexvis/example/CreatePartRevisionsWithMetadataExample.java diff --git a/src/main/java/com/vertexvis/example/CreatePartsAsyncExample.java b/examples/src/main/java/com/vertexvis/example/CreatePartsAsyncExample.java similarity index 100% rename from src/main/java/com/vertexvis/example/CreatePartsAsyncExample.java rename to examples/src/main/java/com/vertexvis/example/CreatePartsAsyncExample.java diff --git a/src/main/java/com/vertexvis/example/CreateSceneExample.java b/examples/src/main/java/com/vertexvis/example/CreateSceneExample.java similarity index 92% rename from src/main/java/com/vertexvis/example/CreateSceneExample.java rename to examples/src/main/java/com/vertexvis/example/CreateSceneExample.java index 1ea8a356..ac4ba3e3 100644 --- a/src/main/java/com/vertexvis/example/CreateSceneExample.java +++ b/examples/src/main/java/com/vertexvis/example/CreateSceneExample.java @@ -18,7 +18,11 @@ import java.util.HashMap; import java.util.UUID; +import org.slf4j.Logger; + public class CreateSceneExample { + private final static Logger logger = + org.slf4j.LoggerFactory.getLogger(CreateSceneExample.class); public static void main(String[] args) throws InterruptedException { String id = System.getenv("VERTEX_CLIENT_ID"); String secret = System.getenv("VERTEX_CLIENT_SECRET"); @@ -53,7 +57,8 @@ public static void main(String[] args) throws InterruptedException { + "' to render scene: " + scene.getData().getId()); } catch (RuntimeException e) { - e.printStackTrace(); + logger.error("An error occurred while creating the scene: ", e); + throw e; } } diff --git a/examples/src/main/java/com/vertexvis/example/JobPoller.java b/examples/src/main/java/com/vertexvis/example/JobPoller.java new file mode 100644 index 00000000..61923d60 --- /dev/null +++ b/examples/src/main/java/com/vertexvis/example/JobPoller.java @@ -0,0 +1,103 @@ +package com.vertexvis.example; + +import com.vertexvis.model.QueuedJob; +import com.vertexvis.model.QueuedTranslationJob; + +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.UUID; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.Executors; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; +import java.util.function.Supplier; + +class JobPoller { + private static final long DEFAULT_WAIT_TIME_MS = 3000; + + public static final ScheduledExecutorService scheduler = + Executors.newScheduledThreadPool(4); + + interface PollableQueuedJob { + String getStatus(); + List getIds(); + } + record SceneItemQueuedJob(QueuedJob qj) implements PollableQueuedJob { + @Override + public String getStatus() { + return qj.getData().getType().equals("scene-item") ? "complete" : "pending"; + } + + @Override + public List getIds() { + return List.of(qj.getData().getId()); + } + } + + record PartQueuedJob(QueuedTranslationJob qj) implements PollableQueuedJob { + @Override + public String getStatus() { + return qj.getData().getAttributes().getStatus(); + } + + @Override + public List getIds() { + return qj.getIncluded().stream() + .map(inc -> inc.getPartRevisionData().getRelationships().getPart().getId()) + .toList(); + } + } + + public static CompletableFuture> pollUntilJobDoneAsync(String pollForStatus, Supplier> jobFetcher) { + return jobFetcher.get() + .thenCompose(job -> { + // Check if the job status matches what we expect + if (job.getStatus().equals(pollForStatus)) { + return CompletableFuture.completedFuture(job.getIds()); + } + + return CompletableFuture.supplyAsync( + () -> { + try { + Thread.sleep(DEFAULT_WAIT_TIME_MS); + return pollUntilJobDoneAsync(pollForStatus, jobFetcher); + } catch (InterruptedException e) { + CompletableFuture> future = new CompletableFuture<>(); + future.completeExceptionally(e); + return future; + } + }, scheduler + ).thenCompose(Function.identity()); + }); +} + + public static List pollUntilJobDone(String pollForStatus, Supplier f) + throws InterruptedException { + // Don't do this -- use a proper scheduler + Thread.sleep(DEFAULT_WAIT_TIME_MS); + + PollableQueuedJob qj = f.get(); + + if (qj.getStatus().equals(pollForStatus)) { + return qj.getIds(); + } else { + return pollUntilJobDone(pollForStatus, f); + } + } + + private static void startChecking(CompletableFuture> resultF, String pollForStatus, + Supplier> f) { + scheduler.schedule(() -> { + f.get().thenAccept(qj -> { + if (qj.getStatus().equals(pollForStatus)) { + resultF.complete(qj.getIds()); + } else { + startChecking(resultF, pollForStatus, f); + } + }); + + }, DEFAULT_WAIT_TIME_MS, TimeUnit.MILLISECONDS); + } +} diff --git a/src/main/java/com/vertexvis/example/MetadataUtil.java b/examples/src/main/java/com/vertexvis/example/MetadataUtil.java similarity index 68% rename from src/main/java/com/vertexvis/example/MetadataUtil.java rename to examples/src/main/java/com/vertexvis/example/MetadataUtil.java index 4e2df07a..a7256ad0 100644 --- a/src/main/java/com/vertexvis/example/MetadataUtil.java +++ b/examples/src/main/java/com/vertexvis/example/MetadataUtil.java @@ -20,7 +20,7 @@ enum MetadataType { NULL } - public static Map createCustomMetadata(int numberOfMetadataProperties) { + public static Map createCustomMetadata(int numberOfMetadataProperties) { return IntStream.range(0, numberOfMetadataProperties).mapToObj(i -> { // generate key that index of the number of metadata properties var key = "key_0" + (i + 1) + "/" + numberOfMetadataProperties; @@ -28,20 +28,20 @@ public static Map - new AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( + new UpdatePartRevisionRequestDataAttributesMetadataValue( new MetadataLongType().type("long").value(random.nextLong())); case FLOAT -> - new AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( + new UpdatePartRevisionRequestDataAttributesMetadataValue( new MetadataFloatType().type("float").value(random.nextFloat())); case DATE -> - new AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( + new UpdatePartRevisionRequestDataAttributesMetadataValue( new MetadataDateType().type("date").value(OffsetDateTime.now())); case STRING -> - new AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( + new UpdatePartRevisionRequestDataAttributesMetadataValue( new MetadataStringType().type("string").value(UUID.randomUUID().toString())); case NULL -> - new AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( + new UpdatePartRevisionRequestDataAttributesMetadataValue( new MetadataNullType().type("null")); }; diff --git a/src/main/java/com/vertexvis/example/PartCreator.java b/examples/src/main/java/com/vertexvis/example/PartCreator.java similarity index 69% rename from src/main/java/com/vertexvis/example/PartCreator.java rename to examples/src/main/java/com/vertexvis/example/PartCreator.java index 190af764..29772844 100644 --- a/src/main/java/com/vertexvis/example/PartCreator.java +++ b/examples/src/main/java/com/vertexvis/example/PartCreator.java @@ -2,16 +2,22 @@ import com.vertexvis.ApiCallback; import com.vertexvis.ApiClient; +import com.vertexvis.ApiException; import com.vertexvis.api.PartsApi; import com.vertexvis.api.TranslationInspectionsApi; +import com.vertexvis.example.JobPoller.PartQueuedJob; +import com.vertexvis.example.JobPoller.PollableQueuedJob; import com.vertexvis.model.*; +import java.io.IOException; import java.math.BigDecimal; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.UUID; import java.util.concurrent.CompletableFuture; +import java.util.concurrent.CompletionException; +import java.util.function.Supplier; import java.util.stream.Collectors; import java.util.stream.IntStream; @@ -26,44 +32,11 @@ public PartCreator(ApiClient client) { this.tiApi = new TranslationInspectionsApi(client); } - public Part createPartFromFile(FileMetadata metadata) throws InterruptedException { - return createPartFromFile(metadata, Collections.emptyMap()); - } - - public Part createPartFromFile(FileMetadata metadata, Map partMetadata) throws InterruptedException { - Part qp = parts.createPart(getCreatePartRequest(metadata.getData().getId(), metadata.getData().getAttributes().getName(), partMetadata)); - UUID partId = - JobPoller.pollUntilJobDone("part", () -> tiApi.getQueuedTranslation(qp.getData().getId())); - return parts.getPart(partId, null); - } - - public CompletableFuture createPartFromFileAsync(UUID id, CreateFileRequest req) { - return createPartFromFileAsync(id, req, Collections.emptyMap()); - } - - public CompletableFuture createPartFromFileAsync(UUID id, CreateFileRequest req, Map metadata) { - CompletableFuture p = - execute(cb -> parts.createPartAsync(getCreatePartRequest(id, req.getData().getAttributes().getName(), metadata), cb)); - CompletableFuture partId = p.thenCompose(qj -> - JobPoller.pollUntilJobDoneAsync("part", () -> - execute(cb -> tiApi.getQueuedTranslationAsync(qj.getData().getId(), cb)))); - - return partId.thenCompose( - pId -> execute((ApiCallback cb) -> parts.getPartAsync(pId, null, cb))); - } - - public CompletableFuture createAssemblyFromRevisions(List revisions, String name) { - CompletableFuture p = - execute(cb -> parts.createPartAsync(createPartAssemblyRequest(revisions, name), cb)); - return p.thenCompose( - pId -> execute((ApiCallback cb) -> parts.getPartAsync(pId.getData().getId(), null, cb))); - } - private static CreatePartRequest getCreatePartRequest(UUID fileId, String partName) { return getCreatePartRequest(fileId, partName, Collections.emptyMap()); } - private static CreatePartRequest getCreatePartRequest(UUID fileId, String partName, Map metadata) { + private static CreatePartRequest getCreatePartRequest(UUID fileId, String partName, Map metadata) { FileRelationship fileRelationship = new FileRelationship() .data( new FileRelationshipData() @@ -72,7 +45,7 @@ private static CreatePartRequest getCreatePartRequest(UUID fileId, String partNa return new CreatePartRequest() .data( new CreatePartRequestData() - .type("part") + .type("create-part") .attributes( new CreatePartRequestDataAttributes() .suppliedId("my-part-" + UUID.randomUUID()) @@ -80,7 +53,7 @@ private static CreatePartRequest getCreatePartRequest(UUID fileId, String partNa .name(partName) .metadata(metadata)) .relationships(new CreatePartRequestDataRelationships() - .source(new AnyOfFileRelationshipPartAssemblyRelationship(fileRelationship) + .source(new CreatePartRequestDataRelationshipsSource(fileRelationship) ))); } @@ -101,7 +74,7 @@ private static CreatePartRequest createPartAssemblyRequest(List revisionId .suppliedRevisionId("my-part-rev-" + uuid) .name(assemblyName)) .relationships(new CreatePartRequestDataRelationships() - .source(new AnyOfFileRelationshipPartAssemblyRelationship(partAssemblyRelationship)) + .source(new CreatePartRequestDataRelationshipsSource(partAssemblyRelationship)) )); } @@ -127,4 +100,56 @@ private static Vector4 createVector4(BigDecimal x, BigDecimal y, BigDecimal z, B .z(z) .w(w); } + + public Part createPartFromFile(FileMetadata metadata) throws InterruptedException { + return createPartFromFile(metadata, Collections.emptyMap()); + } + + public Part createPartFromFile(FileMetadata metadata, Map partMetadata) throws InterruptedException { + Part qp = parts.createPart(getCreatePartRequest(metadata.getData().getId(), metadata.getData().getAttributes().getName(), partMetadata)); + var pollingPartJob = new PartQueuedJob(tiApi.getQueuedTranslationJob(qp.getData().getId())); + List partIds = + JobPoller.pollUntilJobDone("part", () -> pollingPartJob); + var partId = partIds.stream() + .findFirst() + .orElseThrow(() -> new ApiException("No part ID found after polling")); + return parts.getPart(partId, null); + } + + public CompletableFuture createPartFromFileAsync(UUID id, CreateFileRequest req) { + return createPartFromFileAsync(id, req, Collections.emptyMap()); + } + + public CompletableFuture createPartFromFileAsync(UUID id, CreateFileRequest req, Map metadata) { + return CompletableFuture.supplyAsync(() -> { + try { + // Create the part request + CreatePartRequest partRequest = getCreatePartRequest(id, req.getData().getAttributes().getName(), metadata); + + + var part = parts.createPart(partRequest); + + // Now handle the queued job by polling for completion + UUID jobId = part.getData().getId(); + Supplier pollingPartJob = () -> new PartQueuedJob(tiApi.getQueuedTranslationJob(jobId)); + List partIds = JobPoller.pollUntilJobDone("complete", pollingPartJob); + + // Return the final part + var partId = partIds.stream() + .findFirst() + .orElseThrow(() -> new ApiException("No part ID found after polling")); + return parts.getPart(partId, null); + + } catch (ApiException | InterruptedException e) { + throw new CompletionException(e); + } + }, JobPoller.scheduler); + } + + public CompletableFuture createAssemblyFromRevisions(List revisions, String name) { + CompletableFuture p = + execute(cb -> parts.createPartAsync(createPartAssemblyRequest(revisions, name), cb)); + return p.thenCompose( + pId -> execute((ApiCallback cb) -> parts.getPartAsync(pId.getData().getId(), null, cb))); + } } diff --git a/src/main/java/com/vertexvis/example/SceneCreator.java b/examples/src/main/java/com/vertexvis/example/SceneCreator.java similarity index 79% rename from src/main/java/com/vertexvis/example/SceneCreator.java rename to examples/src/main/java/com/vertexvis/example/SceneCreator.java index 7acb15bc..36cef9a9 100644 --- a/src/main/java/com/vertexvis/example/SceneCreator.java +++ b/examples/src/main/java/com/vertexvis/example/SceneCreator.java @@ -1,17 +1,17 @@ package com.vertexvis.example; -import static com.vertexvis.model.CameraFit.TypeEnum.FIT_VISIBLE_SCENE_ITEMS; - - import com.vertexvis.ApiClient; import com.vertexvis.api.SceneItemsApi; import com.vertexvis.api.ScenesApi; +import com.vertexvis.example.JobPoller.PollableQueuedJob; +import com.vertexvis.example.JobPoller.SceneItemQueuedJob; import com.vertexvis.model.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Optional; import java.util.UUID; +import java.util.function.Supplier; class SceneCreator { private final ScenesApi scenes; @@ -35,8 +35,7 @@ Scene commitSceneChanges(UUID sceneId) { new UpdateSceneRequestDataAttributes() .state(UpdateSceneRequestDataAttributes.StateEnum.COMMIT) .camera( - new AnyOfPerspectiveCameraOrthographicCameraCameraFit( - new CameraFit().type(FIT_VISIBLE_SCENE_ITEMS)))))); + new UpdateSceneViewRequestDataAttributesCamera(new CameraFit().type(CameraFit.TypeEnum.FIT_VISIBLE_SCENE_ITEMS)))))); } public Scene createSceneFromPart(Part p) throws InterruptedException { @@ -67,17 +66,16 @@ public Scene createSceneFromPart(Part p, boolean commitChanges) throws Interrupt .relationships( new CreateSceneItemRequestDataRelationships() .source( - new AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship( - new PartRevisionRelationship() - .data( - new PartDataRelationshipsPartRevisions() - .type( - PartDataRelationshipsPartRevisions.TypeEnum - .PART_REVISION) - .id(revisionId))))))); - + new CreateSceneItemRequestDataRelationshipsSource(new PartRevisionRelationship() + .data( + new PartDataRelationshipsPartRevisions() + .type( + PartDataRelationshipsPartRevisions.TypeEnum + .PART_REVISION) + .id(revisionId))))))); + Supplier pollableSceneItemJob = () -> new SceneItemQueuedJob(sceneItems.getQueuedSceneItem(job.getData().getId())); JobPoller.pollUntilJobDone( - "scene-item", () -> sceneItems.getQueuedSceneItem(job.getData().getId())); + "complete", pollableSceneItemJob); return commitChanges ? commitSceneChanges(scene.getData().getId()) : scene; diff --git a/src/main/java/com/vertexvis/example/cmdline/CommandLineOptions.java b/examples/src/main/java/com/vertexvis/example/cmdline/CommandLineOptions.java similarity index 100% rename from src/main/java/com/vertexvis/example/cmdline/CommandLineOptions.java rename to examples/src/main/java/com/vertexvis/example/cmdline/CommandLineOptions.java diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 7454180f..1b33c55b 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ffed3a25..ff23a68d 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip +networkTimeout=10000 +validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew index 005bcde0..23d15a93 100755 --- a/gradlew +++ b/gradlew @@ -15,6 +15,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +# SPDX-License-Identifier: Apache-2.0 +# ############################################################################## # @@ -55,7 +57,7 @@ # Darwin, MinGW, and NonStop. # # (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # within the Gradle project. # # You can find Gradle at https://github.com/gradle/gradle/. @@ -80,13 +82,11 @@ do esac done -APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit - -APP_NAME="Gradle" +# This is normally unused +# shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='-Dfile.encoding=UTF-8 "-Xmx64m" "-Xms64m"' +# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum @@ -114,7 +114,7 @@ case "$( uname )" in #( NONSTOP* ) nonstop=true ;; esac -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar +CLASSPATH="\\\"\\\"" # Determine the Java command to use to start the JVM. @@ -133,22 +133,29 @@ location of your Java installation." fi else JAVACMD=java - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + if ! command -v java >/dev/null 2>&1 + then + die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation." + fi fi # Increase the maximum file descriptors if we can. if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then case $MAX_FD in #( max*) + # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC2039,SC3045 MAX_FD=$( ulimit -H -n ) || warn "Could not query maximum file descriptor limit" esac case $MAX_FD in #( '' | soft) :;; #( *) + # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC2039,SC3045 ulimit -n "$MAX_FD" || warn "Could not set maximum file descriptor limit to $MAX_FD" esac @@ -193,18 +200,28 @@ if "$cygwin" || "$msys" ; then done fi -# Collect all arguments for the java command; -# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of -# shell script including quotes and variable substitutions, so put them in -# double quotes to make sure that they get re-expanded; and -# * put everything else in single quotes, so that it's not re-expanded. + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Collect all arguments for the java command: +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, +# and any embedded shellness will be escaped. +# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be +# treated as '${Hostname}' itself on the command line. set -- \ "-Dorg.gradle.appname=$APP_BASE_NAME" \ -classpath "$CLASSPATH" \ - org.gradle.wrapper.GradleWrapperMain \ + -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \ "$@" +# Stop when "xargs" is not available. +if ! command -v xargs >/dev/null 2>&1 +then + die "xargs is not available" +fi + # Use "xargs" to parse quoted args. # # With -n1 it outputs one arg per line, with the quotes and backslashes removed. diff --git a/gradlew.bat b/gradlew.bat index 6a68175e..db3a6ac2 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -13,8 +13,10 @@ @rem See the License for the specific language governing permissions and @rem limitations under the License. @rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem -@if "%DEBUG%" == "" @echo off +@if "%DEBUG%"=="" @echo off @rem ########################################################################## @rem @rem Gradle startup script for Windows @@ -25,7 +27,8 @@ if "%OS%"=="Windows_NT" setlocal set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. +if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused set APP_BASE_NAME=%~n0 set APP_HOME=%DIRNAME% @@ -33,20 +36,20 @@ set APP_HOME=%DIRNAME% for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS=-Dfile.encoding=UTF-8 "-Xmx64m" "-Xms64m" +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" @rem Find java.exe if defined JAVA_HOME goto findJavaFromJavaHome set JAVA_EXE=java.exe %JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto execute +if %ERRORLEVEL% equ 0 goto execute -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 goto fail @@ -56,32 +59,34 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe if exist "%JAVA_EXE%" goto execute -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 goto fail :execute @rem Setup the command line -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar +set CLASSPATH= @rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* :end @rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd +if %ERRORLEVEL% equ 0 goto mainEnd :fail rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of rem the _cmd.exe /c_ return code! -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 -exit /b 1 +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% :mainEnd if "%OS%"=="Windows_NT" endlocal diff --git a/openapi-generator-plugin/build.gradle b/openapi-generator-plugin/build.gradle new file mode 100644 index 00000000..18d4e68a --- /dev/null +++ b/openapi-generator-plugin/build.gradle @@ -0,0 +1,87 @@ +plugins { + id 'java-library' + id 'maven-publish' + id 'signing' +} + +description = 'Custom OpenAPI Generator Plugin for Vertex API Client' + +dependencies { + implementation 'org.openapitools:openapi-generator:7.14.0' + implementation 'org.openapitools:openapi-generator-gradle-plugin:7.14.0' + implementation 'io.swagger.core.v3:swagger-models:2.2.31' + testImplementation(platform('org.junit:junit-bom:5.10.3')) + testImplementation('org.junit.jupiter:junit-jupiter:5.10.3') +} + + +java { + withJavadocJar() + withSourcesJar() +} + +publishing { + publications { + maven(MavenPublication) { + artifactId = 'openapi-generator-plugin' + from components.java + pom { + name = 'com.vertexvis:openapi-generator-plugin' + description = 'Custom OpenAPI Generator Plugin for Vertex API Client' + url = 'https://github.com/Vertexvis/vertex-api-client-java' + licenses { + license { + name = 'MIT' + url = 'https://github.com/Vertexvis/vertex-api-client-java/blob/main/LICENSE' + } + } + developers { + developer { + email = 'support@vertexvis.com' + name = 'Vertex Developers' + organizationUrl = 'https://developer.vertexvis.com/' + } + } + scm { + connection = 'scm:git:git@github.com:vertexvis/vertex-api-client-java.git' + developerConnection = 'scm:git:git@github.com:vertexvis/vertex-api-client-java.git' + url = 'https://github.com/Vertexvis/vertex-api-client-java' + } + } + } + } +} + +signing { + def hasSigningKey = project.hasProperty("signingKey") + def hasSigningPassword = project.hasProperty("signingPassword") + required { hasSigningKey && hasSigningPassword && !project.version.endsWith("-SNAPSHOT") } + if (hasSigningKey && hasSigningPassword) { + def base64Decode = { prop -> + return new String(Base64.getDecoder().decode(project.findProperty(prop).toString())).trim() + } + useInMemoryPgpKeys(base64Decode("signingKey"), base64Decode("signingPassword")) + } + sign publishing.publications.maven +} + +tasks.withType(Sign) { + dependsOn tasks.withType(GenerateModuleMetadata) + dependsOn tasks.withType(Jar) +} + +tasks.withType(PublishToMavenLocal) { + dependsOn tasks.withType(Sign) +} + +// Debug task to check if the service file exists +task checkServiceFile { + doLast { + def serviceFile = file('src/main/resources/META-INF/services/org.openapitools.codegen.CodegenConfig') + if (serviceFile.exists()) { + println "Service file exists: ${serviceFile.text}" + } else { + println "Service file does not exist!" + } + } +} diff --git a/openapi-generator-plugin/src/main/java/com/vertexvis/codegen/VertexJavaClientCodegen.java b/openapi-generator-plugin/src/main/java/com/vertexvis/codegen/VertexJavaClientCodegen.java new file mode 100644 index 00000000..e3a99c52 --- /dev/null +++ b/openapi-generator-plugin/src/main/java/com/vertexvis/codegen/VertexJavaClientCodegen.java @@ -0,0 +1,99 @@ +package com.vertexvis.codegen; + +import org.openapitools.codegen.CodegenModel; +import org.openapitools.codegen.CodegenProperty; +import org.openapitools.codegen.languages.JavaClientCodegen; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.openapitools.codegen.CodegenModel; +import org.openapitools.codegen.CodegenConfig; +import org.openapitools.codegen.model.ModelsMap; +import org.openapitools.codegen.model.ModelMap; +import io.swagger.v3.oas.models.media.Schema; +import java.util.*; + +/** + * Custom Java client codegen that supports conditional validation skipping. + */ +public class VertexJavaClientCodegen extends JavaClientCodegen implements CodegenConfig { + private static final Logger LOGGER = LoggerFactory.getLogger(VertexJavaClientCodegen.class); + + /** Configuration option key for specifying models to skip validation for. */ + public static final String SKIP_VALIDATION_FOR = "skipValidationFor"; + /** Vendor extension key used to mark models that should skip validation. */ + public static final String X_SKIP_VALIDATION = "x-skip-validation"; + + private Set skipValidationModels = new HashSet<>(); + + /** + * Default constructor that sets up the custom CLI options. + */ + public VertexJavaClientCodegen() { + super(); + + // Add custom CLI option + cliOptions.add(org.openapitools.codegen.CliOption.newString(SKIP_VALIDATION_FOR, + "Comma-separated list of model class names to skip validation for (e.g., Scene,SceneMetadata)")); + } + + @Override + public String getName() { + return "vertex-java"; + } + + @Override + public String getHelp() { + return "Generates a Vertex-customized Java client library."; + } + + @Override + public void processOpts() { + super.processOpts(); + + // Parse the skipValidationFor option + if (additionalProperties.containsKey(SKIP_VALIDATION_FOR)) { + String skipValidationForValue = (String) additionalProperties.get(SKIP_VALIDATION_FOR); + if (skipValidationForValue != null && !skipValidationForValue.trim().isEmpty()) { + String[] modelNames = skipValidationForValue.split(","); + for (String modelName : modelNames) { + skipValidationModels.add(modelName.trim()); + } + LOGGER.info("Models to skip validation: {}", skipValidationModels); + } + } + } + + @Override + public CodegenModel fromModel(String name, Schema schema) { + CodegenModel model = super.fromModel(name, schema); + + // Check if this model should skip validation + if (skipValidationModels.contains(model.classname)) { + LOGGER.info("Adding skip validation extension for model: {}", model.classname); + model.vendorExtensions.put(X_SKIP_VALIDATION, true); + } + + return model; + } + + @Override + public ModelsMap postProcessModels(ModelsMap objs) { + var result = super.postProcessModels(objs); + + // Additional processing can be done here if needed + @SuppressWarnings("unchecked") + List models = (List) objs.get("models"); + + if (models != null) { + for (ModelMap modelMap : models) { + CodegenModel model = modelMap.getModel(); + + if (model.vendorExtensions.containsKey(X_SKIP_VALIDATION)) { + LOGGER.debug("Model {} will skip validation", model.classname); + } + } + } + + return result; + } +} diff --git a/openapi-generator-plugin/src/main/resources/META-INF/services/org.openapitools.codegen.CodegenConfig b/openapi-generator-plugin/src/main/resources/META-INF/services/org.openapitools.codegen.CodegenConfig new file mode 100644 index 00000000..953e26e4 --- /dev/null +++ b/openapi-generator-plugin/src/main/resources/META-INF/services/org.openapitools.codegen.CodegenConfig @@ -0,0 +1 @@ +com.vertexvis.codegen.VertexJavaClientCodegen diff --git a/openapi-generator-plugin/src/main/resources/vertex-java/pojo.mustache b/openapi-generator-plugin/src/main/resources/vertex-java/pojo.mustache new file mode 100644 index 00000000..e1f16c3b --- /dev/null +++ b/openapi-generator-plugin/src/main/resources/vertex-java/pojo.mustache @@ -0,0 +1,601 @@ +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import {{invokerPackage}}.JSON; + +/** + * {{description}}{{^description}}{{classname}}{{/description}}{{#isDeprecated}} + * @deprecated{{/isDeprecated}} + */{{#isDeprecated}} +@Deprecated{{/isDeprecated}} +{{#swagger1AnnotationLibrary}} +{{#description}} +@ApiModel(description = "{{{.}}}") +{{/description}} +{{/swagger1AnnotationLibrary}} +{{#swagger2AnnotationLibrary}} +{{#description}} +@Schema(description = "{{{.}}}") +{{/description}} +{{/swagger2AnnotationLibrary}} +{{>additionalModelTypeAnnotations}}{{>generatedAnnotation}}{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}{{>xmlAnnotation}} +{{#vendorExtensions.x-class-extra-annotation}} +{{{vendorExtensions.x-class-extra-annotation}}} +{{/vendorExtensions.x-class-extra-annotation}} +public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtensions.x-implements}}{{#-first}}implements {{{.}}}{{/-first}}{{^-first}}, {{{.}}}{{/-first}}{{#-last}} {{/-last}}{{/vendorExtensions.x-implements}}{ +{{#serializableModel}} + private static final long serialVersionUID = 1L; + +{{/serializableModel}} + {{#vars}} + {{#isEnum}} + {{^isContainer}} +{{>modelInnerEnum}} + + {{/isContainer}} + {{#isContainer}} + {{#mostInnerItems}} +{{>modelInnerEnum}} + + {{/mostInnerItems}} + {{/isContainer}} + {{/isEnum}} + public static final String SERIALIZED_NAME_{{nameInSnakeCase}} = "{{baseName}}"; + {{#withXml}} + @Xml{{#isXmlAttribute}}Attribute{{/isXmlAttribute}}{{^isXmlAttribute}}Element{{/isXmlAttribute}}(name = "{{items.xmlName}}{{^items.xmlName}}{{xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}{{/items.xmlName}}"{{#xmlNamespace}}, namespace = "{{.}}"{{/xmlNamespace}}) + {{#isXmlWrapped}} + @XmlElementWrapper(name = "{{xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}"{{#xmlNamespace}}, namespace = "{{.}}"{{/xmlNamespace}}) + {{/isXmlWrapped}} + {{/withXml}} + {{#deprecated}} + @Deprecated + {{/deprecated}} + @SerializedName(SERIALIZED_NAME_{{nameInSnakeCase}}) + {{#vendorExtensions.x-field-extra-annotation}} + {{{vendorExtensions.x-field-extra-annotation}}} + {{/vendorExtensions.x-field-extra-annotation}} + {{>nullable_var_annotations}}{{! prevent indent}} + {{#isDiscriminator}}protected{{/isDiscriminator}}{{^isDiscriminator}}private{{/isDiscriminator}} {{{datatypeWithEnum}}} {{name}}{{#defaultValue}} = {{{.}}}{{/defaultValue}}; + + {{/vars}} + public {{classname}}() { + {{#parent}} + {{#parcelableModel}} + super(); + {{/parcelableModel}} + {{/parent}} + {{#discriminator}} + {{#discriminator.isEnum}} +{{#readWriteVars}}{{#isDiscriminator}}{{#defaultValue}} + this.{{name}} = {{defaultValue}}; +{{/defaultValue}}{{/isDiscriminator}}{{/readWriteVars}} + {{/discriminator.isEnum}} + {{^discriminator.isEnum}} + this.{{{discriminatorName}}} = this.getClass().getSimpleName(); + {{/discriminator.isEnum}} + {{/discriminator}} + } + {{#vendorExtensions.x-has-readonly-properties}} + {{^withXml}} + + public {{classname}}( + {{#readOnlyVars}} + {{{datatypeWithEnum}}} {{name}}{{^-last}}, {{/-last}} + {{/readOnlyVars}} + ) { + this(); + {{#readOnlyVars}} + this.{{name}} = {{name}}; + {{/readOnlyVars}} + } + {{/withXml}} + {{/vendorExtensions.x-has-readonly-properties}} + {{#vars}} + + {{^isReadOnly}} + {{#deprecated}} + @Deprecated + {{/deprecated}} + public {{classname}} {{name}}({{>nullable_var_annotations}} {{{datatypeWithEnum}}} {{name}}) { + this.{{name}} = {{name}}; + return this; + } + {{#isArray}} + + public {{classname}} add{{nameInPascalCase}}Item({{{items.datatypeWithEnum}}} {{name}}Item) { + if (this.{{name}} == null) { + this.{{name}} = {{{defaultValue}}}{{^defaultValue}}new {{#uniqueItems}}LinkedHashSet{{/uniqueItems}}{{^uniqueItems}}ArrayList{{/uniqueItems}}<>(){{/defaultValue}}; + } + this.{{name}}.add({{name}}Item); + return this; + } + {{/isArray}} + {{#isMap}} + + public {{classname}} put{{nameInPascalCase}}Item(String key, {{{items.datatypeWithEnum}}} {{name}}Item) { + if (this.{{name}} == null) { + this.{{name}} = {{{defaultValue}}}{{^defaultValue}}new HashMap<>(){{/defaultValue}}; + } + this.{{name}}.put(key, {{name}}Item); + return this; + } + {{/isMap}} + + {{/isReadOnly}} + /** + {{#description}} + * {{.}} + {{/description}} + {{^description}} + * Get {{name}} + {{/description}} + {{#minimum}} + * minimum: {{.}} + {{/minimum}} + {{#maximum}} + * maximum: {{.}} + {{/maximum}} + * @return {{name}} + {{#deprecated}} + * @deprecated + {{/deprecated}} + */ +{{#deprecated}} + @Deprecated +{{/deprecated}} + {{>nullable_var_annotations}}{{! prevent indent}} +{{#useBeanValidation}} +{{>beanValidation}} + +{{/useBeanValidation}} +{{#swagger1AnnotationLibrary}} + @ApiModelProperty({{#example}}example = "{{{.}}}", {{/example}}{{#required}}required = {{required}}, {{/required}}value = "{{{description}}}") +{{/swagger1AnnotationLibrary}} +{{#swagger2AnnotationLibrary}} + @Schema({{#example}}example = "{{{.}}}", {{/example}}requiredMode = {{#required}}Schema.RequiredMode.REQUIRED{{/required}}{{^required}}Schema.RequiredMode.NOT_REQUIRED{{/required}}, description = "{{{description}}}") +{{/swagger2AnnotationLibrary}} +{{#vendorExtensions.x-extra-annotation}} + {{{vendorExtensions.x-extra-annotation}}} +{{/vendorExtensions.x-extra-annotation}} + public {{{datatypeWithEnum}}} {{getter}}() { + return {{name}}; + } + + {{^isReadOnly}} +{{#vendorExtensions.x-setter-extra-annotation}} {{{vendorExtensions.x-setter-extra-annotation}}} +{{/vendorExtensions.x-setter-extra-annotation}}{{#deprecated}} @Deprecated +{{/deprecated}} public void {{setter}}({{>nullable_var_annotations}} {{{datatypeWithEnum}}} {{name}}) { + this.{{name}} = {{name}}; + } + {{/isReadOnly}} + + {{/vars}} +{{>libraries/okhttp-gson/additional_properties}} + + + @Override + public boolean equals(Object o) { + {{#useReflectionEqualsHashCode}} + return EqualsBuilder.reflectionEquals(this, o, false, null, true); + {{/useReflectionEqualsHashCode}} + {{^useReflectionEqualsHashCode}} + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + }{{#hasVars}} + {{classname}} {{classVarName}} = ({{classname}}) o; + return {{#vars}}{{#isByteArray}}Arrays{{/isByteArray}}{{^isByteArray}}Objects{{/isByteArray}}.equals(this.{{name}}, {{classVarName}}.{{name}}){{^-last}} && + {{/-last}}{{/vars}}{{#isAdditionalPropertiesTrue}}&& + Objects.equals(this.additionalProperties, {{classVarName}}.additionalProperties){{/isAdditionalPropertiesTrue}}{{#parent}} && + super.equals(o){{/parent}};{{/hasVars}}{{^hasVars}} + return {{#parent}}super.equals(o){{/parent}}{{^parent}}true{{/parent}};{{/hasVars}} + {{/useReflectionEqualsHashCode}} + }{{#vendorExtensions.x-jackson-optional-nullable-helpers}} + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + }{{/vendorExtensions.x-jackson-optional-nullable-helpers}} + + @Override + public int hashCode() { + {{#useReflectionEqualsHashCode}} + return HashCodeBuilder.reflectionHashCode(this); + {{/useReflectionEqualsHashCode}} + {{^useReflectionEqualsHashCode}} + return Objects.hash({{#vars}}{{^isByteArray}}{{name}}{{/isByteArray}}{{#isByteArray}}Arrays.hashCode({{name}}){{/isByteArray}}{{^-last}}, {{/-last}}{{/vars}}{{#parent}}{{#hasVars}}, {{/hasVars}}super.hashCode(){{/parent}}{{#isAdditionalPropertiesTrue}}{{#hasVars}}, {{/hasVars}}{{^hasVars}}{{#parent}}, {{/parent}}{{/hasVars}}additionalProperties{{/isAdditionalPropertiesTrue}}); + {{/useReflectionEqualsHashCode}} + }{{#vendorExtensions.x-jackson-optional-nullable-helpers}} + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + }{{/vendorExtensions.x-jackson-optional-nullable-helpers}} + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class {{classname}} {\n"); + {{#parent}} + sb.append(" ").append(toIndentedString(super.toString())).append("\n"); + {{/parent}} + {{#vars}} + sb.append(" {{name}}: ").append({{#isPassword}}"*"{{/isPassword}}{{^isPassword}}toIndentedString({{name}}){{/isPassword}}).append("\n"); + {{/vars}} +{{#isAdditionalPropertiesTrue}} + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); +{{/isAdditionalPropertiesTrue}} + 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 "); + } + +{{#parcelableModel}} + + public void writeToParcel(Parcel out, int flags) { +{{#model}} +{{#isArray}} + out.writeList(this); +{{/isArray}} +{{^isArray}} +{{#parent}} + super.writeToParcel(out, flags); +{{/parent}} +{{#vars}} + out.writeValue({{name}}); +{{/vars}} +{{/isArray}} +{{/model}} + } + + {{classname}}(Parcel in) { +{{#isArray}} + in.readTypedList(this, {{arrayModelType}}.CREATOR); +{{/isArray}} +{{^isArray}} +{{#parent}} + super(in); +{{/parent}} +{{#vars}} +{{#isPrimitiveType}} + {{name}} = ({{{datatypeWithEnum}}})in.readValue(null); +{{/isPrimitiveType}} +{{^isPrimitiveType}} + {{name}} = ({{{datatypeWithEnum}}})in.readValue({{complexType}}.class.getClassLoader()); +{{/isPrimitiveType}} +{{/vars}} +{{/isArray}} + } + + public int describeContents() { + return 0; + } + + public static final Parcelable.Creator<{{classname}}> CREATOR = new Parcelable.Creator<{{classname}}>() { + public {{classname}} createFromParcel(Parcel in) { +{{#model}} +{{#isArray}} + {{classname}} result = new {{classname}}(); + result.addAll(in.readArrayList({{arrayModelType}}.class.getClassLoader())); + return result; +{{/isArray}} +{{^isArray}} + return new {{classname}}(in); +{{/isArray}} +{{/model}} + } + public {{classname}}[] newArray(int size) { + return new {{classname}}[size]; + } + }; +{{/parcelableModel}} + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + {{#hasVars}} + openapiFields = new HashSet(Arrays.asList({{#allVars}}"{{baseName}}"{{^-last}}, {{/-last}}{{/allVars}})); + {{/hasVars}} + {{^hasVars}} + openapiFields = new HashSet(0); + {{/hasVars}} + + // a set of required properties/fields (JSON key names) + {{#hasRequired}} + openapiRequiredFields = new HashSet(Arrays.asList({{#requiredVars}}"{{baseName}}"{{^-last}}, {{/-last}}{{/requiredVars}})); + {{/hasRequired}} + {{^hasRequired}} + openapiRequiredFields = new HashSet(0); + {{/hasRequired}} + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to {{classname}} + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!{{classname}}.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in {{{classname}}} is not found in the empty JSON string", {{classname}}.openapiRequiredFields.toString())); + } + } + {{^hasChildren}} + {{^isAdditionalPropertiesTrue}} + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!{{classname}}.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `{{classname}}` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + {{/isAdditionalPropertiesTrue}} + {{#requiredVars}} + {{#-first}} + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : {{classname}}.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + {{/-first}} + {{/requiredVars}} + {{/hasChildren}} + {{^discriminator}} + {{#hasVars}} + JsonObject jsonObj = jsonElement.getAsJsonObject(); + {{/hasVars}} + {{#vars}} + {{#isArray}} + {{#items.isModel}} + {{#required}} + // ensure the json data is an array + if (!jsonObj.get("{{{baseName}}}").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `{{{baseName}}}` to be an array in the JSON string but got `%s`", jsonObj.get("{{{baseName}}}").toString())); + } + + JsonArray jsonArray{{name}} = jsonObj.getAsJsonArray("{{{baseName}}}"); + // validate the required field `{{{baseName}}}` (array) + for (int i = 0; i < jsonArray{{name}}.size(); i++) { + {{{items.dataType}}}.validateJsonElement(jsonArray{{name}}.get(i)); + }; + {{/required}} + {{^required}} + if (jsonObj.get("{{{baseName}}}") != null && !jsonObj.get("{{{baseName}}}").isJsonNull()) { + JsonArray jsonArray{{name}} = jsonObj.getAsJsonArray("{{{baseName}}}"); + if (jsonArray{{name}} != null) { + // ensure the json data is an array + if (!jsonObj.get("{{{baseName}}}").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `{{{baseName}}}` to be an array in the JSON string but got `%s`", jsonObj.get("{{{baseName}}}").toString())); + } + + // validate the optional field `{{{baseName}}}` (array) + for (int i = 0; i < jsonArray{{name}}.size(); i++) { + {{{items.dataType}}}.validateJsonElement(jsonArray{{name}}.get(i)); + }; + } + } + {{/required}} + {{/items.isModel}} + {{^items.isModel}} + {{^required}} + // ensure the optional json data is an array if present + if (jsonObj.get("{{{baseName}}}") != null && !jsonObj.get("{{{baseName}}}").isJsonNull() && !jsonObj.get("{{{baseName}}}").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `{{{baseName}}}` to be an array in the JSON string but got `%s`", jsonObj.get("{{{baseName}}}").toString())); + } + {{/required}} + {{#required}} + // ensure the required json array is present + if (jsonObj.get("{{{baseName}}}") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("{{{baseName}}}").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `{{{baseName}}}` to be an array in the JSON string but got `%s`", jsonObj.get("{{{baseName}}}").toString())); + } + {{/required}} + {{/items.isModel}} + {{/isArray}} + {{^isContainer}} + {{#isString}} + if ({{#notRequiredOrIsNullable}}(jsonObj.get("{{{baseName}}}") != null && !jsonObj.get("{{{baseName}}}").isJsonNull()) && {{/notRequiredOrIsNullable}}!jsonObj.get("{{{baseName}}}").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `{{{baseName}}}` to be a primitive type in the JSON string but got `%s`", jsonObj.get("{{{baseName}}}").toString())); + } + {{/isString}} + {{#isModel}} + {{#required}} + // validate the required field `{{{baseName}}}` + {{{dataType}}}.validateJsonElement(jsonObj.get("{{{baseName}}}")); + {{/required}} + {{^required}} + // validate the optional field `{{{baseName}}}` + if (jsonObj.get("{{{baseName}}}") != null && !jsonObj.get("{{{baseName}}}").isJsonNull()) { + {{{dataType}}}.validateJsonElement(jsonObj.get("{{{baseName}}}")); + } + {{/required}} + {{/isModel}} + {{#isEnum}} + {{#required}} + // validate the required field `{{{baseName}}}` + {{{datatypeWithEnum}}}.validateJsonElement(jsonObj.get("{{{baseName}}}")); + {{/required}} + {{^required}} + // validate the optional field `{{{baseName}}}` + if (jsonObj.get("{{{baseName}}}") != null && !jsonObj.get("{{{baseName}}}").isJsonNull()) { + {{{datatypeWithEnum}}}.validateJsonElement(jsonObj.get("{{{baseName}}}")); + } + {{/required}} + {{/isEnum}} + {{#isEnumRef}} + {{#required}} + // validate the required field `{{{baseName}}}` + {{{dataType}}}.validateJsonElement(jsonObj.get("{{{baseName}}}")); + {{/required}} + {{^required}} + // validate the optional field `{{{baseName}}}` + if (jsonObj.get("{{{baseName}}}") != null && !jsonObj.get("{{{baseName}}}").isJsonNull()) { + {{{dataType}}}.validateJsonElement(jsonObj.get("{{{baseName}}}")); + } + {{/required}} + {{/isEnumRef}} + {{/isContainer}} + {{/vars}} + {{/discriminator}} + {{#hasChildren}} + {{#discriminator}} + + String discriminatorValue = jsonElement.getAsJsonObject().get("{{{propertyBaseName}}}").getAsString(); + switch (discriminatorValue) { + {{#mappedModels}} + case "{{mappingName}}": + {{modelName}}.validateJsonElement(jsonElement); + break; + {{/mappedModels}} + default: + throw new IllegalArgumentException(String.format("The value of the `{{{propertyBaseName}}}` field `%s` does not match any key defined in the discriminator's mapping.", discriminatorValue)); + } + {{/discriminator}} + {{/hasChildren}} + } + +{{^hasChildren}} + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!{{classname}}.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes '{{classname}}' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter<{{classname}}> thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get({{classname}}.class)); + + return (TypeAdapter) new TypeAdapter<{{classname}}>() { + @Override + public void write(JsonWriter out, {{classname}} value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + {{#isAdditionalPropertiesTrue}} + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + JsonElement jsonElement = gson.toJsonTree(entry.getValue()); + if (jsonElement.isJsonArray()) { + obj.add(entry.getKey(), jsonElement.getAsJsonArray()); + } else { + obj.add(entry.getKey(), jsonElement.getAsJsonObject()); + } + } + } + } + {{/isAdditionalPropertiesTrue}} + elementAdapter.write(out, obj); + } + + @Override + public {{classname}} read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); +{{^vendorExtensions.x-skip-validation}} + validateJsonElement(jsonElement); +{{/vendorExtensions.x-skip-validation}} +{{#vendorExtensions.x-skip-validation}} + // vertex:TODO: Skipping validation during deserialization of the JSON element based on configuration + // validateJsonElement(jsonElement); +{{/vendorExtensions.x-skip-validation}} + {{#isAdditionalPropertiesTrue}} + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // store additional fields in the deserialized instance + {{classname}} instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + {{/isAdditionalPropertiesTrue}} + {{^isAdditionalPropertiesTrue}} + return thisAdapter.fromJsonTree(jsonElement); + {{/isAdditionalPropertiesTrue}} + } + + }.nullSafe(); + } + } +{{/hasChildren}} + + /** + * Create an instance of {{classname}} given an JSON string + * + * @param jsonString JSON string + * @return An instance of {{classname}} + * @throws IOException if the JSON string is invalid with respect to {{classname}} + */ + public static {{{classname}}} fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, {{{classname}}}.class); + } + + /** + * Convert an instance of {{classname}} to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} \ No newline at end of file diff --git a/scripts/generate.sh b/scripts/generate.sh deleted file mode 100755 index 6462d05f..00000000 --- a/scripts/generate.sh +++ /dev/null @@ -1,56 +0,0 @@ -#!/usr/bin/env bash -set -Eeuo pipefail -scripts_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) -# shellcheck source=./version-lib.sh -source "$scripts_dir/version-lib.sh" - -main() { - local root=(JSON.java example) - local auth=(RetryingOAuth.java) - local models=(serialization \ - Camera.java \ - AnyOfCameraCameraFit.java \ - OneOfPerspectiveCameraOrthographicCamera.java \ - OneOfCADExportConfig.java \ - AnyOfPerspectiveCameraOrthographicCameraCameraFit.java \ - AnyOfCreateSceneItemRequestData.java \ - AnyOfRelationshipDataApiError.java \ - AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp.java \ - AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship.java \ - AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType.java \ - AnyOfGeometrySetDataPartRevisionDataPartRenditionData.java \ - AnyOfGeometrySetRelationshipPartRevisionRelationship.java \ - AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata.java \ - OneOfHitResultDataSceneItemDataPartRevisionData.java \ - OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedData.java \ - OneOfUpdateItemToDefaultRenditionOperation.java \ - OneOfSceneViewRelationshipSceneViewStateRelationship.java \ - AnyOfFileRelationshipPartAssemblyRelationship.java \ - AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship.java \ - OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType.java \ - AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject.java \ - AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType.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 - for f in "${models[@]}"; do mv "src/main/java/com/vertexvis/model/$f" . || true; done - - rm -rf api gradle src - - docker run --rm -v "${PWD}:/local" openapitools/openapi-generator-cli:v5.4.0 generate \ - --input-spec https://platform.vertexvis.com/spec \ - --generator-name java \ - --config /local/config.yml \ - --output /local - - mv ./test ./src - for f in "${root[@]}"; do mv "$f" ./src/main/java/com/vertexvis; done - for f in "${auth[@]}"; do mv "$f" ./src/main/java/com/vertexvis/auth; done - for f in "${models[@]}"; do mv "$f" ./src/main/java/com/vertexvis/model; done - - 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 -} - -main "$@" diff --git a/settings.gradle b/settings.gradle index 146f8806..02884bda 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1,5 @@ -rootProject.name = "api-client-java" \ No newline at end of file +rootProject.name = "vertex-api-client-java" + +include 'openapi-generator-plugin' +include 'api-client-library' +include 'examples' \ No newline at end of file diff --git a/src/main/java/com/vertexvis/ApiCallback.java b/src/main/java/com/vertexvis/ApiCallback.java deleted file mode 100644 index 9545238d..00000000 --- a/src/main/java/com/vertexvis/ApiCallback.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * 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; - -import java.io.IOException; - -import java.util.Map; -import java.util.List; - -/** - * Callback for asynchronous API call. - * - * @param The return type - */ -public interface ApiCallback { - /** - * This is called when the API call fails. - * - * @param e The exception causing the failure - * @param statusCode Status code of the response if available, otherwise it would be 0 - * @param responseHeaders Headers of the response if available, otherwise it would be null - */ - void onFailure(ApiException e, int statusCode, Map> responseHeaders); - - /** - * This is called when the API call succeeded. - * - * @param result The result deserialized from response - * @param statusCode Status code of the response - * @param responseHeaders Headers of the response - */ - void onSuccess(T result, int statusCode, Map> responseHeaders); - - /** - * This is called when the API upload processing. - * - * @param bytesWritten bytes Written - * @param contentLength content length of request body - * @param done write end - */ - void onUploadProgress(long bytesWritten, long contentLength, boolean done); - - /** - * This is called when the API download processing. - * - * @param bytesRead bytes Read - * @param contentLength content length of the response - * @param done Read end - */ - void onDownloadProgress(long bytesRead, long contentLength, boolean done); -} diff --git a/src/main/java/com/vertexvis/ApiClient.java b/src/main/java/com/vertexvis/ApiClient.java deleted file mode 100644 index 24037135..00000000 --- a/src/main/java/com/vertexvis/ApiClient.java +++ /dev/null @@ -1,1535 +0,0 @@ -/* - * 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; - -import okhttp3.*; -import okhttp3.internal.http.HttpMethod; -import okhttp3.internal.tls.OkHostnameVerifier; -import okhttp3.logging.HttpLoggingInterceptor; -import okhttp3.logging.HttpLoggingInterceptor.Level; -import okio.Buffer; -import okio.BufferedSink; -import okio.Okio; -import org.apache.oltu.oauth2.client.request.OAuthClientRequest.TokenRequestBuilder; -import org.apache.oltu.oauth2.common.message.types.GrantType; - -import javax.net.ssl.*; -import java.io.File; -import java.io.IOException; -import java.io.InputStream; -import java.io.UnsupportedEncodingException; -import java.lang.reflect.Type; -import java.net.URI; -import java.net.URLConnection; -import java.net.URLEncoder; -import java.nio.file.Files; -import java.nio.file.Paths; -import java.security.GeneralSecurityException; -import java.security.KeyStore; -import java.security.SecureRandom; -import java.security.cert.Certificate; -import java.security.cert.CertificateException; -import java.security.cert.CertificateFactory; -import java.security.cert.X509Certificate; -import java.text.DateFormat; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.time.format.DateTimeFormatter; -import java.util.*; -import java.util.Map.Entry; -import java.util.concurrent.TimeUnit; -import java.util.regex.Matcher; -import java.util.regex.Pattern; - -import com.vertexvis.auth.Authentication; -import com.vertexvis.auth.HttpBasicAuth; -import com.vertexvis.auth.HttpBearerAuth; -import com.vertexvis.auth.ApiKeyAuth; -import com.vertexvis.auth.OAuth; -import com.vertexvis.auth.RetryingOAuth; -import com.vertexvis.auth.OAuthFlow; - -/** - *

ApiClient class.

- */ -public class ApiClient { - - private String basePath = "https://platform.vertexvis.com"; - private boolean debugging = false; - private Map defaultHeaderMap = new HashMap(); - private Map defaultCookieMap = new HashMap(); - private String tempFolderPath = null; - - private Map authentications; - - private DateFormat dateFormat; - private DateFormat datetimeFormat; - private boolean lenientDatetimeFormat; - private int dateLength; - - private InputStream sslCaCert; - private boolean verifyingSsl; - private KeyManager[] keyManagers; - - private OkHttpClient httpClient; - private JSON json; - - private HttpLoggingInterceptor loggingInterceptor; - - /** - * Basic constructor for ApiClient - */ - public ApiClient() { - init(); - initHttpClient(); - - // Setup authentications (key: authentication name, value: authentication). - authentications.put("OAuth2", new OAuth()); - authentications.put("OAuth2Internal", new OAuth()); - authentications.put("basicAuth", new HttpBasicAuth()); - // Prevent the authentications from being modified. - authentications = Collections.unmodifiableMap(authentications); - } - - /** - * Basic constructor with custom OkHttpClient - * - * @param client a {@link okhttp3.OkHttpClient} object - */ - public ApiClient(OkHttpClient client) { - init(); - - httpClient = client; - - // Setup authentications (key: authentication name, value: authentication). - authentications.put("OAuth2", new OAuth()); - authentications.put("OAuth2Internal", new OAuth()); - authentications.put("basicAuth", new HttpBasicAuth()); - // Prevent the authentications from being modified. - authentications = Collections.unmodifiableMap(authentications); - } - - /** - * Constructor for ApiClient to support access token retry on 401/403 configured with client ID - * - * @param clientId client ID - */ - public ApiClient(String clientId) { - this(clientId, null, null); - } - - /** - * Constructor for ApiClient to support access token retry on 401/403 configured with client ID and additional parameters - * - * @param clientId client ID - * @param parameters a {@link java.util.Map} of parameters - */ - public ApiClient(String clientId, Map parameters) { - this(clientId, null, parameters); - } - - /** - * Constructor for ApiClient to support access token retry on 401/403 configured with client ID, secret, and additional parameters - * - * @param clientId client ID - * @param clientSecret client secret - * @param parameters a {@link java.util.Map} of parameters - */ - public ApiClient(String clientId, String clientSecret, Map parameters) { - this(null, clientId, clientSecret, parameters); - } - - /** - * Constructor for ApiClient to support access token retry on 401/403 configured with base path, client ID, secret, and additional parameters - * - * @param basePath base path - * @param clientId client ID - * @param clientSecret client secret - * @param parameters a {@link java.util.Map} of parameters - */ - public ApiClient(String basePath, String clientId, String clientSecret, Map parameters) { - init(); - if (basePath != null) { - this.basePath = basePath; - } - - String tokenUrl = "/oauth2/token"; - if (!"".equals(tokenUrl) && !URI.create(tokenUrl).isAbsolute()) { - URI uri = URI.create(getBasePath()); - tokenUrl = uri.getScheme() + ":" + - (uri.getAuthority() != null ? "//" + uri.getAuthority() : "") + - tokenUrl; - if (!URI.create(tokenUrl).isAbsolute()) { - throw new IllegalArgumentException("OAuth2 token URL must be an absolute URL"); - } - } - RetryingOAuth retryingOAuth = new RetryingOAuth(tokenUrl, clientId, OAuthFlow.application, clientSecret, parameters); - authentications.put( - "OAuth2", - retryingOAuth - ); - initHttpClient(Collections.singletonList(retryingOAuth)); - // Setup authentications (key: authentication name, value: authentication). - authentications.put("basicAuth", new HttpBasicAuth()); - - // Prevent the authentications from being modified. - authentications = Collections.unmodifiableMap(authentications); - } - - private void initHttpClient() { - initHttpClient(Collections.emptyList()); - } - - private void initHttpClient(List interceptors) { - OkHttpClient.Builder builder = new OkHttpClient.Builder(); - builder.addNetworkInterceptor(getProgressInterceptor()); - for (Interceptor interceptor: interceptors) { - builder.addInterceptor(interceptor); - } - - httpClient = builder.build(); - } - - private void init() { - verifyingSsl = true; - - json = new JSON(); - - // Set default User-Agent. - setUserAgent("vertex-api-client-java/0.10.0"); - - authentications = new HashMap(); - } - - /** - * Get base path - * - * @return Base path - */ - public String getBasePath() { - return basePath; - } - - /** - * Set base path - * - * @param basePath Base path of the URL (e.g https://platform.vertexvis.com - * @return An instance of OkHttpClient - */ - public ApiClient setBasePath(String basePath) { - this.basePath = basePath; - return this; - } - - /** - * Get HTTP client - * - * @return An instance of OkHttpClient - */ - public OkHttpClient getHttpClient() { - return httpClient; - } - - /** - * Set HTTP client, which must never be null. - * - * @param newHttpClient An instance of OkHttpClient - * @return Api Client - * @throws java.lang.NullPointerException when newHttpClient is null - */ - public ApiClient setHttpClient(OkHttpClient newHttpClient) { - this.httpClient = Objects.requireNonNull(newHttpClient, "HttpClient must not be null!"); - return this; - } - - /** - * Get JSON - * - * @return JSON object - */ - public JSON getJSON() { - return json; - } - - /** - * Set JSON - * - * @param json JSON object - * @return Api client - */ - public ApiClient setJSON(JSON json) { - this.json = json; - return this; - } - - /** - * True if isVerifyingSsl flag is on - * - * @return True if isVerifySsl flag is on - */ - public boolean isVerifyingSsl() { - return verifyingSsl; - } - - /** - * Configure whether to verify certificate and hostname when making https requests. - * Default to true. - * NOTE: Do NOT set to false in production code, otherwise you would face multiple types of cryptographic attacks. - * - * @param verifyingSsl True to verify TLS/SSL connection - * @return ApiClient - */ - public ApiClient setVerifyingSsl(boolean verifyingSsl) { - this.verifyingSsl = verifyingSsl; - applySslSettings(); - return this; - } - - /** - * Get SSL CA cert. - * - * @return Input stream to the SSL CA cert - */ - public InputStream getSslCaCert() { - return sslCaCert; - } - - /** - * Configure the CA certificate to be trusted when making https requests. - * Use null to reset to default. - * - * @param sslCaCert input stream for SSL CA cert - * @return ApiClient - */ - public ApiClient setSslCaCert(InputStream sslCaCert) { - this.sslCaCert = sslCaCert; - applySslSettings(); - return this; - } - - /** - *

Getter for the field keyManagers.

- * - * @return an array of {@link javax.net.ssl.KeyManager} objects - */ - public KeyManager[] getKeyManagers() { - return keyManagers; - } - - /** - * Configure client keys to use for authorization in an SSL session. - * Use null to reset to default. - * - * @param managers The KeyManagers to use - * @return ApiClient - */ - public ApiClient setKeyManagers(KeyManager[] managers) { - this.keyManagers = managers; - applySslSettings(); - return this; - } - - /** - *

Getter for the field dateFormat.

- * - * @return a {@link java.text.DateFormat} object - */ - public DateFormat getDateFormat() { - return dateFormat; - } - - /** - *

Setter for the field dateFormat.

- * - * @param dateFormat a {@link java.text.DateFormat} object - * @return a {@link org.openapitools.client.ApiClient} object - */ - public ApiClient setDateFormat(DateFormat dateFormat) { - this.json.setDateFormat(dateFormat); - return this; - } - - /** - *

Set SqlDateFormat.

- * - * @param dateFormat a {@link java.text.DateFormat} object - * @return a {@link org.openapitools.client.ApiClient} object - */ - public ApiClient setSqlDateFormat(DateFormat dateFormat) { - this.json.setSqlDateFormat(dateFormat); - return this; - } - - /** - *

Set OffsetDateTimeFormat.

- * - * @param dateFormat a {@link org.threeten.bp.format.DateTimeFormatter} object - * @return a {@link org.openapitools.client.ApiClient} object - */ - public ApiClient setOffsetDateTimeFormat(DateTimeFormatter dateFormat) { - this.json.setOffsetDateTimeFormat(dateFormat); - return this; - } - - /** - *

Set LocalDateFormat.

- * - * @param dateFormat a {@link org.threeten.bp.format.DateTimeFormatter} object - * @return a {@link org.openapitools.client.ApiClient} object - */ - public ApiClient setLocalDateFormat(DateTimeFormatter dateFormat) { - this.json.setLocalDateFormat(dateFormat); - return this; - } - - /** - *

Set LenientOnJson.

- * - * @param lenientOnJson a boolean - * @return a {@link org.openapitools.client.ApiClient} object - */ - public ApiClient setLenientOnJson(boolean lenientOnJson) { - this.json.setLenientOnJson(lenientOnJson); - return this; - } - - /** - * Get authentications (key: authentication name, value: authentication). - * - * @return Map of authentication objects - */ - public Map getAuthentications() { - return authentications; - } - - /** - * Get authentication for the given name. - * - * @param authName The authentication name - * @return The authentication, null if not found - */ - public Authentication getAuthentication(String authName) { - return authentications.get(authName); - } - - - /** - * Helper method to set username for the first HTTP basic authentication. - * - * @param username Username - */ - public void setUsername(String username) { - for (Authentication auth : authentications.values()) { - if (auth instanceof HttpBasicAuth) { - ((HttpBasicAuth) auth).setUsername(username); - return; - } - } - throw new RuntimeException("No HTTP basic authentication configured!"); - } - - /** - * Helper method to set password for the first HTTP basic authentication. - * - * @param password Password - */ - public void setPassword(String password) { - for (Authentication auth : authentications.values()) { - if (auth instanceof HttpBasicAuth) { - ((HttpBasicAuth) auth).setPassword(password); - return; - } - } - throw new RuntimeException("No HTTP basic authentication configured!"); - } - - /** - * Helper method to set API key value for the first API key authentication. - * - * @param apiKey API key - */ - public void setApiKey(String apiKey) { - for (Authentication auth : authentications.values()) { - if (auth instanceof ApiKeyAuth) { - ((ApiKeyAuth) auth).setApiKey(apiKey); - return; - } - } - throw new RuntimeException("No API key authentication configured!"); - } - - /** - * Helper method to set API key prefix for the first API key authentication. - * - * @param apiKeyPrefix API key prefix - */ - public void setApiKeyPrefix(String apiKeyPrefix) { - for (Authentication auth : authentications.values()) { - if (auth instanceof ApiKeyAuth) { - ((ApiKeyAuth) auth).setApiKeyPrefix(apiKeyPrefix); - return; - } - } - throw new RuntimeException("No API key authentication configured!"); - } - - /** - * Helper method to set access token for the first OAuth2 authentication. - * - * @param accessToken Access token - */ - public void setAccessToken(String accessToken) { - for (Authentication auth : authentications.values()) { - if (auth instanceof OAuth) { - ((OAuth) auth).setAccessToken(accessToken); - return; - } - } - throw new RuntimeException("No OAuth2 authentication configured!"); - } - - /** - * Set the User-Agent header's value (by adding to the default header map). - * - * @param userAgent HTTP request's user agent - * @return ApiClient - */ - public ApiClient setUserAgent(String userAgent) { - addDefaultHeader("User-Agent", userAgent); - return this; - } - - /** - * Add a default header. - * - * @param key The header's key - * @param value The header's value - * @return ApiClient - */ - public ApiClient addDefaultHeader(String key, String value) { - defaultHeaderMap.put(key, value); - return this; - } - - /** - * Add a default cookie. - * - * @param key The cookie's key - * @param value The cookie's value - * @return ApiClient - */ - public ApiClient addDefaultCookie(String key, String value) { - defaultCookieMap.put(key, value); - return this; - } - - /** - * Check that whether debugging is enabled for this API client. - * - * @return True if debugging is enabled, false otherwise. - */ - public boolean isDebugging() { - return debugging; - } - - /** - * Enable/disable debugging for this API client. - * - * @param debugging To enable (true) or disable (false) debugging - * @return ApiClient - */ - public ApiClient setDebugging(boolean debugging) { - if (debugging != this.debugging) { - if (debugging) { - loggingInterceptor = new HttpLoggingInterceptor(); - loggingInterceptor.setLevel(Level.BODY); - httpClient = httpClient.newBuilder().addInterceptor(loggingInterceptor).build(); - } else { - final OkHttpClient.Builder builder = httpClient.newBuilder(); - builder.interceptors().remove(loggingInterceptor); - httpClient = builder.build(); - loggingInterceptor = null; - } - } - this.debugging = debugging; - return this; - } - - /** - * The path of temporary folder used to store downloaded files from endpoints - * with file response. The default value is null, i.e. using - * the system's default temporary folder. - * - * @see createTempFile - * @return Temporary folder path - */ - public String getTempFolderPath() { - return tempFolderPath; - } - - /** - * Set the temporary folder path (for downloading files) - * - * @param tempFolderPath Temporary folder path - * @return ApiClient - */ - public ApiClient setTempFolderPath(String tempFolderPath) { - this.tempFolderPath = tempFolderPath; - return this; - } - - /** - * Get connection timeout (in milliseconds). - * - * @return Timeout in milliseconds - */ - public int getConnectTimeout() { - return httpClient.connectTimeoutMillis(); - } - - /** - * Sets the connect timeout (in milliseconds). - * A value of 0 means no timeout, otherwise values must be between 1 and - * {@link java.lang.Integer#MAX_VALUE}. - * - * @param connectionTimeout connection timeout in milliseconds - * @return Api client - */ - public ApiClient setConnectTimeout(int connectionTimeout) { - httpClient = httpClient.newBuilder().connectTimeout(connectionTimeout, TimeUnit.MILLISECONDS).build(); - return this; - } - - /** - * Get read timeout (in milliseconds). - * - * @return Timeout in milliseconds - */ - public int getReadTimeout() { - return httpClient.readTimeoutMillis(); - } - - /** - * Sets the read timeout (in milliseconds). - * A value of 0 means no timeout, otherwise values must be between 1 and - * {@link java.lang.Integer#MAX_VALUE}. - * - * @param readTimeout read timeout in milliseconds - * @return Api client - */ - public ApiClient setReadTimeout(int readTimeout) { - httpClient = httpClient.newBuilder().readTimeout(readTimeout, TimeUnit.MILLISECONDS).build(); - return this; - } - - /** - * Get write timeout (in milliseconds). - * - * @return Timeout in milliseconds - */ - public int getWriteTimeout() { - return httpClient.writeTimeoutMillis(); - } - - /** - * Sets the write timeout (in milliseconds). - * A value of 0 means no timeout, otherwise values must be between 1 and - * {@link java.lang.Integer#MAX_VALUE}. - * - * @param writeTimeout connection timeout in milliseconds - * @return Api client - */ - public ApiClient setWriteTimeout(int writeTimeout) { - httpClient = httpClient.newBuilder().writeTimeout(writeTimeout, TimeUnit.MILLISECONDS).build(); - return this; - } - - /** - * Helper method to configure the token endpoint of the first oauth found in the apiAuthorizations (there should be only one) - * - * @return Token request builder - */ - public TokenRequestBuilder getTokenEndPoint() { - for (Authentication apiAuth : authentications.values()) { - if (apiAuth instanceof RetryingOAuth) { - RetryingOAuth retryingOAuth = (RetryingOAuth) apiAuth; - return retryingOAuth.getTokenRequestBuilder(); - } - } - return null; - } - - /** - * Format the given parameter object into string. - * - * @param param Parameter - * @return String representation of the parameter - */ - public String parameterToString(Object param) { - if (param == null) { - return ""; - } else if (param instanceof Date || param instanceof OffsetDateTime || param instanceof LocalDate) { - //Serialize to json string and remove the " enclosing characters - String jsonStr = json.serialize(param); - return jsonStr.substring(1, jsonStr.length() - 1); - } else if (param instanceof Collection) { - StringBuilder b = new StringBuilder(); - for (Object o : (Collection) param) { - if (b.length() > 0) { - b.append(","); - } - b.append(String.valueOf(o)); - } - return b.toString(); - } else { - return String.valueOf(param); - } - } - - /** - * Formats the specified query parameter to a list containing a single {@code Pair} object. - * - * Note that {@code value} must not be a collection. - * - * @param name The name of the parameter. - * @param value The value of the parameter. - * @return A list containing a single {@code Pair} object. - */ - public List parameterToPair(String name, Object value) { - List params = new ArrayList(); - - // preconditions - if (name == null || name.isEmpty() || value == null || value instanceof Collection) { - return params; - } - - params.add(new Pair(name, parameterToString(value))); - return params; - } - - /** - * Formats the specified collection query parameters to a list of {@code Pair} objects. - * - * Note that the values of each of the returned Pair objects are percent-encoded. - * - * @param collectionFormat The collection format of the parameter. - * @param name The name of the parameter. - * @param value The value of the parameter. - * @return A list of {@code Pair} objects. - */ - public List parameterToPairs(String collectionFormat, String name, Collection value) { - List params = new ArrayList(); - - // preconditions - if (name == null || name.isEmpty() || value == null || value.isEmpty()) { - return params; - } - - // create the params based on the collection format - if ("multi".equals(collectionFormat)) { - for (Object item : value) { - params.add(new Pair(name, escapeString(parameterToString(item)))); - } - return params; - } - - // collectionFormat is assumed to be "csv" by default - String delimiter = ","; - - // escape all delimiters except commas, which are URI reserved - // characters - if ("ssv".equals(collectionFormat)) { - delimiter = escapeString(" "); - } else if ("tsv".equals(collectionFormat)) { - delimiter = escapeString("\t"); - } else if ("pipes".equals(collectionFormat)) { - delimiter = escapeString("|"); - } - - StringBuilder sb = new StringBuilder(); - for (Object item : value) { - sb.append(delimiter); - sb.append(escapeString(parameterToString(item))); - } - - params.add(new Pair(name, sb.substring(delimiter.length()))); - - return params; - } - - /** - * Formats the specified collection path parameter to a string value. - * - * @param collectionFormat The collection format of the parameter. - * @param value The value of the parameter. - * @return String representation of the parameter - */ - public String collectionPathParameterToString(String collectionFormat, Collection value) { - // create the value based on the collection format - if ("multi".equals(collectionFormat)) { - // not valid for path params - return parameterToString(value); - } - - // collectionFormat is assumed to be "csv" by default - String delimiter = ","; - - if ("ssv".equals(collectionFormat)) { - delimiter = " "; - } else if ("tsv".equals(collectionFormat)) { - delimiter = "\t"; - } else if ("pipes".equals(collectionFormat)) { - delimiter = "|"; - } - - StringBuilder sb = new StringBuilder() ; - for (Object item : value) { - sb.append(delimiter); - sb.append(parameterToString(item)); - } - - return sb.substring(delimiter.length()); - } - - /** - * Sanitize filename by removing path. - * e.g. ../../sun.gif becomes sun.gif - * - * @param filename The filename to be sanitized - * @return The sanitized filename - */ - public String sanitizeFilename(String filename) { - return filename.replaceAll(".*[/\\\\]", ""); - } - - /** - * Check if the given MIME is a JSON MIME. - * JSON MIME examples: - * application/json - * application/json; charset=UTF8 - * APPLICATION/JSON - * application/vnd.company+json - * "* / *" is also default to JSON - * @param mime MIME (Multipurpose Internet Mail Extensions) - * @return True if the given MIME is JSON, false otherwise. - */ - public boolean isJsonMime(String mime) { - String jsonMime = "(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$"; - return mime != null && (mime.matches(jsonMime) || mime.equals("*/*")); - } - - /** - * Select the Accept header's value from the given accepts array: - * if JSON exists in the given array, use it; - * otherwise use all of them (joining into a string) - * - * @param accepts The accepts array to select from - * @return The Accept header to use. If the given array is empty, - * null will be returned (not to set the Accept header explicitly). - */ - public String selectHeaderAccept(String[] accepts) { - if (accepts.length == 0) { - return null; - } - for (String accept : accepts) { - if (isJsonMime(accept)) { - return accept; - } - } - return StringUtil.join(accepts, ","); - } - - /** - * Select the Content-Type header's value from the given array: - * if JSON exists in the given array, use it; - * otherwise use the first one of the array. - * - * @param contentTypes The Content-Type array to select from - * @return The Content-Type header to use. If the given array is empty, - * returns null. If it matches "any", JSON will be used. - */ - public String selectHeaderContentType(String[] contentTypes) { - if (contentTypes.length == 0) { - return null; - } - - if (contentTypes[0].equals("*/*")) { - return "application/json"; - } - - for (String contentType : contentTypes) { - if (isJsonMime(contentType)) { - return contentType; - } - } - - return contentTypes[0]; - } - - /** - * Escape the given string to be used as URL query value. - * - * @param str String to be escaped - * @return Escaped string - */ - public String escapeString(String str) { - try { - return URLEncoder.encode(str, "utf8").replaceAll("\\+", "%20"); - } catch (UnsupportedEncodingException e) { - return str; - } - } - - /** - * Deserialize response body to Java object, according to the return type and - * the Content-Type response header. - * - * @param Type - * @param response HTTP response - * @param returnType The type of the Java object - * @return The deserialized Java object - * @throws org.openapitools.client.ApiException If fail to deserialize response body, i.e. cannot read response body - * or the Content-Type of the response is not supported. - */ - @SuppressWarnings("unchecked") - public T deserialize(Response response, Type returnType) throws ApiException { - if (response == null || returnType == null) { - return null; - } - - if ("byte[]".equals(returnType.toString())) { - // Handle binary response (byte array). - try { - return (T) response.body().bytes(); - } catch (IOException e) { - throw new ApiException(e); - } - } else if (returnType.equals(File.class)) { - // Handle file downloading. - return (T) downloadFileFromResponse(response); - } - - String respBody; - try { - if (response.body() != null) - respBody = response.body().string(); - else - respBody = null; - } catch (IOException e) { - throw new ApiException(e); - } - - if (respBody == null || "".equals(respBody)) { - return null; - } - - String contentType = response.headers().get("Content-Type"); - if (contentType == null) { - // ensuring a default content type - contentType = "application/json"; - } - if (isJsonMime(contentType)) { - return json.deserialize(respBody, returnType); - } else if (returnType.equals(String.class)) { - // Expecting string, return the raw response body. - return (T) respBody; - } else { - throw new ApiException( - "Content type \"" + contentType + "\" is not supported for type: " + returnType, - response.code(), - response.headers().toMultimap(), - respBody); - } - } - - /** - * Serialize the given Java object into request body according to the object's - * class and the request Content-Type. - * - * @param obj The Java object - * @param contentType The request Content-Type - * @return The serialized request body - * @throws org.openapitools.client.ApiException If fail to serialize the given object - */ - public RequestBody serialize(Object obj, String contentType) throws ApiException { - if (obj instanceof byte[]) { - // Binary (byte array) body parameter support. - return RequestBody.create((byte[]) obj, MediaType.parse(contentType)); - } else if (obj instanceof File) { - // File body parameter support. - return RequestBody.create((File) obj, MediaType.parse(contentType)); - } else if ("text/plain".equals(contentType) && obj instanceof String) { - return RequestBody.create((String) obj, MediaType.parse(contentType)); - } else if (isJsonMime(contentType)) { - String content; - if (obj != null) { - content = json.serialize(obj); - } else { - content = null; - } - return RequestBody.create(content, MediaType.parse(contentType)); - } else { - throw new ApiException("Content type \"" + contentType + "\" is not supported"); - } - } - - /** - * Download file from the given response. - * - * @param response An instance of the Response object - * @throws org.openapitools.client.ApiException If fail to read file content from response and write to disk - * @return Downloaded file - */ - public File downloadFileFromResponse(Response response) throws ApiException { - try { - File file = prepareDownloadFile(response); - BufferedSink sink = Okio.buffer(Okio.sink(file)); - sink.writeAll(response.body().source()); - sink.close(); - return file; - } catch (IOException e) { - throw new ApiException(e); - } - } - - /** - * Prepare file for download - * - * @param response An instance of the Response object - * @return Prepared file for the download - * @throws java.io.IOException If fail to prepare file for download - */ - public File prepareDownloadFile(Response response) throws IOException { - String filename = null; - String contentDisposition = response.header("Content-Disposition"); - if (contentDisposition != null && !"".equals(contentDisposition)) { - // Get filename from the Content-Disposition header. - Pattern pattern = Pattern.compile("filename=['\"]?([^'\"\\s]+)['\"]?"); - Matcher matcher = pattern.matcher(contentDisposition); - if (matcher.find()) { - filename = sanitizeFilename(matcher.group(1)); - } - } - - String prefix = null; - String suffix = null; - if (filename == null) { - prefix = "download-"; - suffix = ""; - } else { - int pos = filename.lastIndexOf("."); - if (pos == -1) { - prefix = filename + "-"; - } else { - prefix = filename.substring(0, pos) + "-"; - suffix = filename.substring(pos); - } - // Files.createTempFile requires the prefix to be at least three characters long - if (prefix.length() < 3) - prefix = "download-"; - } - - if (tempFolderPath == null) - return Files.createTempFile(prefix, suffix).toFile(); - else - return Files.createTempFile(Paths.get(tempFolderPath), prefix, suffix).toFile(); - } - - /** - * {@link #execute(Call, Type)} - * - * @param Type - * @param call An instance of the Call object - * @return ApiResponse<T> - * @throws org.openapitools.client.ApiException If fail to execute the call - */ - public ApiResponse execute(Call call) throws ApiException { - return execute(call, null); - } - - /** - * Execute HTTP call and deserialize the HTTP response body into the given return type. - * - * @param returnType The return type used to deserialize HTTP response body - * @param The return type corresponding to (same with) returnType - * @param call Call - * @return ApiResponse object containing response status, headers and - * data, which is a Java object deserialized from response body and would be null - * when returnType is null. - * @throws org.openapitools.client.ApiException If fail to execute the call - */ - public ApiResponse execute(Call call, Type returnType) throws ApiException { - try { - Response response = call.execute(); - T data = handleResponse(response, returnType); - return new ApiResponse(response.code(), response.headers().toMultimap(), data); - } catch (IOException e) { - throw new ApiException(e); - } - } - - /** - * {@link #executeAsync(Call, Type, ApiCallback)} - * - * @param Type - * @param call An instance of the Call object - * @param callback ApiCallback<T> - */ - public void executeAsync(Call call, ApiCallback callback) { - executeAsync(call, null, callback); - } - - /** - * Execute HTTP call asynchronously. - * - * @param Type - * @param call The callback to be executed when the API call finishes - * @param returnType Return type - * @param callback ApiCallback - * @see #execute(Call, Type) - */ - @SuppressWarnings("unchecked") - public void executeAsync(Call call, final Type returnType, final ApiCallback callback) { - call.enqueue(new Callback() { - @Override - public void onFailure(Call call, IOException e) { - callback.onFailure(new ApiException(e), 0, null); - } - - @Override - public void onResponse(Call call, Response response) throws IOException { - T result; - try { - result = (T) handleResponse(response, returnType); - } catch (ApiException e) { - callback.onFailure(e, response.code(), response.headers().toMultimap()); - return; - } catch (Exception e) { - callback.onFailure(new ApiException(e), response.code(), response.headers().toMultimap()); - return; - } - callback.onSuccess(result, response.code(), response.headers().toMultimap()); - } - }); - } - - /** - * Handle the given response, return the deserialized object when the response is successful. - * - * @param Type - * @param response Response - * @param returnType Return type - * @return Type - * @throws org.openapitools.client.ApiException If the response has an unsuccessful status code or - * fail to deserialize the response body - */ - public T handleResponse(Response response, Type returnType) throws ApiException { - if (response.isSuccessful()) { - if (returnType == null || response.code() == 204) { - // returning null if the returnType is not defined, - // or the status code is 204 (No Content) - if (response.body() != null) { - try { - response.body().close(); - } catch (Exception e) { - throw new ApiException(response.message(), e, response.code(), response.headers().toMultimap()); - } - } - return null; - } else { - return deserialize(response, returnType); - } - } else { - String respBody = null; - if (response.body() != null) { - try { - respBody = response.body().string(); - } catch (IOException e) { - throw new ApiException(response.message(), e, response.code(), response.headers().toMultimap()); - } - } - throw new ApiException(response.message(), response.code(), response.headers().toMultimap(), respBody); - } - } - - /** - * Build HTTP call with the given options. - * - * @param path The sub-path of the HTTP URL - * @param method The request method, one of "GET", "HEAD", "OPTIONS", "POST", "PUT", "PATCH" and "DELETE" - * @param queryParams The query parameters - * @param collectionQueryParams The collection query parameters - * @param body The request body object - * @param headerParams The header parameters - * @param cookieParams The cookie parameters - * @param formParams The form parameters - * @param authNames The authentications to apply - * @param callback Callback for upload/download progress - * @return The HTTP call - * @throws org.openapitools.client.ApiException If fail to serialize the request body object - */ - public Call buildCall(String baseUrl, String path, String method, List queryParams, List collectionQueryParams, Object body, Map headerParams, Map cookieParams, Map formParams, String[] authNames, ApiCallback callback) throws ApiException { - Request request = buildRequest(baseUrl, path, method, queryParams, collectionQueryParams, body, headerParams, cookieParams, formParams, authNames, callback); - - return httpClient.newCall(request); - } - - /** - * Build an HTTP request with the given options. - * - * @param path The sub-path of the HTTP URL - * @param method The request method, one of "GET", "HEAD", "OPTIONS", "POST", "PUT", "PATCH" and "DELETE" - * @param queryParams The query parameters - * @param collectionQueryParams The collection query parameters - * @param body The request body object - * @param headerParams The header parameters - * @param cookieParams The cookie parameters - * @param formParams The form parameters - * @param authNames The authentications to apply - * @param callback Callback for upload/download progress - * @return The HTTP request - * @throws org.openapitools.client.ApiException If fail to serialize the request body object - */ - public Request buildRequest(String baseUrl, String path, String method, List queryParams, List collectionQueryParams, Object body, Map headerParams, Map cookieParams, Map formParams, String[] authNames, ApiCallback callback) throws ApiException { - // aggregate queryParams (non-collection) and collectionQueryParams into allQueryParams - List allQueryParams = new ArrayList(queryParams); - allQueryParams.addAll(collectionQueryParams); - - final String url = buildUrl(baseUrl, path, queryParams, collectionQueryParams); - - // prepare HTTP request body - RequestBody reqBody; - String contentType = headerParams.get("Content-Type"); - - if (!HttpMethod.permitsRequestBody(method)) { - reqBody = null; - } else if ("application/x-www-form-urlencoded".equals(contentType)) { - reqBody = buildRequestBodyFormEncoding(formParams); - } else if ("multipart/form-data".equals(contentType)) { - reqBody = buildRequestBodyMultipart(formParams); - } else if (body == null) { - if ("DELETE".equals(method)) { - // allow calling DELETE without sending a request body - reqBody = null; - } else { - // use an empty request body (for POST, PUT and PATCH) - reqBody = RequestBody.create("", MediaType.parse(contentType)); - } - } else { - reqBody = serialize(body, contentType); - } - - // update parameters with authentication settings - updateParamsForAuth(authNames, allQueryParams, headerParams, cookieParams, requestBodyToString(reqBody), method, URI.create(url)); - - final Request.Builder reqBuilder = new Request.Builder().url(url); - processHeaderParams(headerParams, reqBuilder); - processCookieParams(cookieParams, reqBuilder); - - // Associate callback with request (if not null) so interceptor can - // access it when creating ProgressResponseBody - reqBuilder.tag(callback); - - Request request = null; - - if (callback != null && reqBody != null) { - ProgressRequestBody progressRequestBody = new ProgressRequestBody(reqBody, callback); - request = reqBuilder.method(method, progressRequestBody).build(); - } else { - request = reqBuilder.method(method, reqBody).build(); - } - - return request; - } - - /** - * Build full URL by concatenating base path, the given sub path and query parameters. - * - * @param path The sub path - * @param queryParams The query parameters - * @param collectionQueryParams The collection query parameters - * @return The full URL - */ - public String buildUrl(String baseUrl, String path, List queryParams, List collectionQueryParams) { - final StringBuilder url = new StringBuilder(); - if (baseUrl != null) { - url.append(baseUrl).append(path); - } else { - url.append(basePath).append(path); - } - - if (queryParams != null && !queryParams.isEmpty()) { - // support (constant) query string in `path`, e.g. "/posts?draft=1" - String prefix = path.contains("?") ? "&" : "?"; - for (Pair param : queryParams) { - if (param.getValue() != null) { - if (prefix != null) { - url.append(prefix); - prefix = null; - } else { - url.append("&"); - } - String value = parameterToString(param.getValue()); - url.append(escapeString(param.getName())).append("=").append(escapeString(value)); - } - } - } - - if (collectionQueryParams != null && !collectionQueryParams.isEmpty()) { - String prefix = url.toString().contains("?") ? "&" : "?"; - for (Pair param : collectionQueryParams) { - if (param.getValue() != null) { - if (prefix != null) { - url.append(prefix); - prefix = null; - } else { - url.append("&"); - } - String value = parameterToString(param.getValue()); - // collection query parameter value already escaped as part of parameterToPairs - url.append(escapeString(param.getName())).append("=").append(value); - } - } - } - - return url.toString(); - } - - /** - * Set header parameters to the request builder, including default headers. - * - * @param headerParams Header parameters in the form of Map - * @param reqBuilder Request.Builder - */ - public void processHeaderParams(Map headerParams, Request.Builder reqBuilder) { - for (Entry param : headerParams.entrySet()) { - reqBuilder.header(param.getKey(), parameterToString(param.getValue())); - } - for (Entry header : defaultHeaderMap.entrySet()) { - if (!headerParams.containsKey(header.getKey())) { - reqBuilder.header(header.getKey(), parameterToString(header.getValue())); - } - } - } - - /** - * Set cookie parameters to the request builder, including default cookies. - * - * @param cookieParams Cookie parameters in the form of Map - * @param reqBuilder Request.Builder - */ - public void processCookieParams(Map cookieParams, Request.Builder reqBuilder) { - for (Entry param : cookieParams.entrySet()) { - reqBuilder.addHeader("Cookie", String.format("%s=%s", param.getKey(), param.getValue())); - } - for (Entry param : defaultCookieMap.entrySet()) { - if (!cookieParams.containsKey(param.getKey())) { - reqBuilder.addHeader("Cookie", String.format("%s=%s", param.getKey(), param.getValue())); - } - } - } - - /** - * Update query and header parameters based on authentication settings. - * - * @param authNames The authentications to apply - * @param queryParams List of query parameters - * @param headerParams Map of header parameters - * @param cookieParams Map of cookie parameters - * @param payload HTTP request body - * @param method HTTP method - * @param uri URI - */ - public void updateParamsForAuth(String[] authNames, List queryParams, Map headerParams, - Map cookieParams, String payload, String method, URI uri) throws ApiException { - for (String authName : authNames) { - Authentication auth = authentications.get(authName); - if (auth == null) { - throw new RuntimeException("Authentication undefined: " + authName); - } - auth.applyToParams(queryParams, headerParams, cookieParams, payload, method, uri); - } - } - - /** - * Build a form-encoding request body with the given form parameters. - * - * @param formParams Form parameters in the form of Map - * @return RequestBody - */ - public RequestBody buildRequestBodyFormEncoding(Map formParams) { - okhttp3.FormBody.Builder formBuilder = new okhttp3.FormBody.Builder(); - for (Entry param : formParams.entrySet()) { - formBuilder.add(param.getKey(), parameterToString(param.getValue())); - } - return formBuilder.build(); - } - - /** - * Build a multipart (file uploading) request body with the given form parameters, - * which could contain text fields and file fields. - * - * @param formParams Form parameters in the form of Map - * @return RequestBody - */ - public RequestBody buildRequestBodyMultipart(Map formParams) { - MultipartBody.Builder mpBuilder = new MultipartBody.Builder().setType(MultipartBody.FORM); - for (Entry param : formParams.entrySet()) { - if (param.getValue() instanceof File) { - File file = (File) param.getValue(); - Headers partHeaders = Headers.of("Content-Disposition", "form-data; name=\"" + param.getKey() + "\"; filename=\"" + file.getName() + "\""); - MediaType mediaType = MediaType.parse(guessContentTypeFromFile(file)); - mpBuilder.addPart(partHeaders, RequestBody.create(file, mediaType)); - } else { - Headers partHeaders = Headers.of("Content-Disposition", "form-data; name=\"" + param.getKey() + "\""); - mpBuilder.addPart(partHeaders, RequestBody.create(parameterToString(param.getValue()), null)); - } - } - return mpBuilder.build(); - } - - /** - * Guess Content-Type header from the given file (defaults to "application/octet-stream"). - * - * @param file The given file - * @return The guessed Content-Type - */ - public String guessContentTypeFromFile(File file) { - String contentType = URLConnection.guessContentTypeFromName(file.getName()); - if (contentType == null) { - return "application/octet-stream"; - } else { - return contentType; - } - } - - /** - * Get network interceptor to add it to the httpClient to track download progress for - * async requests. - */ - private Interceptor getProgressInterceptor() { - return new Interceptor() { - @Override - public Response intercept(Interceptor.Chain chain) throws IOException { - final Request request = chain.request(); - final Response originalResponse = chain.proceed(request); - if (request.tag() instanceof ApiCallback) { - final ApiCallback callback = (ApiCallback) request.tag(); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), callback)) - .build(); - } - return originalResponse; - } - }; - } - - /** - * Apply SSL related settings to httpClient according to the current values of - * verifyingSsl and sslCaCert. - */ - private void applySslSettings() { - try { - TrustManager[] trustManagers; - HostnameVerifier hostnameVerifier; - if (!verifyingSsl) { - trustManagers = new TrustManager[]{ - new X509TrustManager() { - @Override - public void checkClientTrusted(java.security.cert.X509Certificate[] chain, String authType) throws CertificateException { - } - - @Override - public void checkServerTrusted(java.security.cert.X509Certificate[] chain, String authType) throws CertificateException { - } - - @Override - public java.security.cert.X509Certificate[] getAcceptedIssuers() { - return new java.security.cert.X509Certificate[]{}; - } - } - }; - hostnameVerifier = new HostnameVerifier() { - @Override - public boolean verify(String hostname, SSLSession session) { - return true; - } - }; - } else { - TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()); - - if (sslCaCert == null) { - trustManagerFactory.init((KeyStore) null); - } else { - char[] password = null; // Any password will work. - CertificateFactory certificateFactory = CertificateFactory.getInstance("X.509"); - Collection certificates = certificateFactory.generateCertificates(sslCaCert); - if (certificates.isEmpty()) { - throw new IllegalArgumentException("expected non-empty set of trusted certificates"); - } - KeyStore caKeyStore = newEmptyKeyStore(password); - int index = 0; - for (Certificate certificate : certificates) { - String certificateAlias = "ca" + Integer.toString(index++); - caKeyStore.setCertificateEntry(certificateAlias, certificate); - } - trustManagerFactory.init(caKeyStore); - } - trustManagers = trustManagerFactory.getTrustManagers(); - hostnameVerifier = OkHostnameVerifier.INSTANCE; - } - - SSLContext sslContext = SSLContext.getInstance("TLS"); - sslContext.init(keyManagers, trustManagers, new SecureRandom()); - httpClient = httpClient.newBuilder() - .sslSocketFactory(sslContext.getSocketFactory(), (X509TrustManager) trustManagers[0]) - .hostnameVerifier(hostnameVerifier) - .build(); - } catch (GeneralSecurityException e) { - throw new RuntimeException(e); - } - } - - private KeyStore newEmptyKeyStore(char[] password) throws GeneralSecurityException { - try { - KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); - keyStore.load(null, password); - return keyStore; - } catch (IOException e) { - throw new AssertionError(e); - } - } - - /** - * Convert the HTTP request body to a string. - * - * @param request The HTTP request object - * @return The string representation of the HTTP request body - * @throws org.openapitools.client.ApiException If fail to serialize the request body object into a string - */ - private String requestBodyToString(RequestBody requestBody) throws ApiException { - if (requestBody != null) { - try { - final Buffer buffer = new Buffer(); - requestBody.writeTo(buffer); - return buffer.readUtf8(); - } catch (final IOException e) { - throw new ApiException(e); - } - } - - // empty http request body - return ""; - } -} diff --git a/src/main/java/com/vertexvis/ApiException.java b/src/main/java/com/vertexvis/ApiException.java deleted file mode 100644 index f33f7be5..00000000 --- a/src/main/java/com/vertexvis/ApiException.java +++ /dev/null @@ -1,154 +0,0 @@ -/* - * 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; - -import java.util.Map; -import java.util.List; - -/** - *

ApiException class.

- */ -@SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ApiException extends RuntimeException { - private int code = 0; - private Map> responseHeaders = null; - private String responseBody = null; - - /** - *

Constructor for ApiException.

- */ - public ApiException() {} - - /** - *

Constructor for ApiException.

- * - * @param throwable a {@link java.lang.Throwable} object - */ - public ApiException(Throwable throwable) { - super(throwable); - } - - /** - *

Constructor for ApiException.

- * - * @param message the error message - */ - public ApiException(String message) { - super(message); - } - - /** - *

Constructor for ApiException.

- * - * @param message the error message - * @param throwable a {@link java.lang.Throwable} object - * @param code HTTP status code - * @param responseHeaders a {@link java.util.Map} of HTTP response headers - * @param responseBody the response body - */ - public ApiException(String message, Throwable throwable, int code, Map> responseHeaders, String responseBody) { - super(message, throwable); - this.code = code; - this.responseHeaders = responseHeaders; - this.responseBody = responseBody; - } - - /** - *

Constructor for ApiException.

- * - * @param message the error message - * @param code HTTP status code - * @param responseHeaders a {@link java.util.Map} of HTTP response headers - * @param responseBody the response body - */ - public ApiException(String message, int code, Map> responseHeaders, String responseBody) { - this(message, (Throwable) null, code, responseHeaders, responseBody); - } - - /** - *

Constructor for ApiException.

- * - * @param message the error message - * @param throwable a {@link java.lang.Throwable} object - * @param code HTTP status code - * @param responseHeaders a {@link java.util.Map} of HTTP response headers - */ - public ApiException(String message, Throwable throwable, int code, Map> responseHeaders) { - this(message, throwable, code, responseHeaders, null); - } - - /** - *

Constructor for ApiException.

- * - * @param code HTTP status code - * @param responseHeaders a {@link java.util.Map} of HTTP response headers - * @param responseBody the response body - */ - public ApiException(int code, Map> responseHeaders, String responseBody) { - this((String) null, (Throwable) null, code, responseHeaders, responseBody); - } - - /** - *

Constructor for ApiException.

- * - * @param code HTTP status code - * @param message a {@link java.lang.String} object - */ - public ApiException(int code, String message) { - super(message); - this.code = code; - } - - /** - *

Constructor for ApiException.

- * - * @param code HTTP status code - * @param message the error message - * @param responseHeaders a {@link java.util.Map} of HTTP response headers - * @param responseBody the response body - */ - public ApiException(int code, String message, Map> responseHeaders, String responseBody) { - this(code, message); - this.responseHeaders = responseHeaders; - this.responseBody = responseBody; - } - - /** - * Get the HTTP status code. - * - * @return HTTP status code - */ - public int getCode() { - return code; - } - - /** - * Get the HTTP response headers. - * - * @return A map of list of string - */ - public Map> getResponseHeaders() { - return responseHeaders; - } - - /** - * Get the HTTP response body. - * - * @return Response body in the form of string - */ - public String getResponseBody() { - return responseBody; - } -} diff --git a/src/main/java/com/vertexvis/ApiResponse.java b/src/main/java/com/vertexvis/ApiResponse.java deleted file mode 100644 index 87286dd8..00000000 --- a/src/main/java/com/vertexvis/ApiResponse.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * 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; - -import java.util.List; -import java.util.Map; - -/** - * API response returned by API call. - */ -public class ApiResponse { - final private int statusCode; - final private Map> headers; - final private T data; - - /** - *

Constructor for ApiResponse.

- * - * @param statusCode The status code of HTTP response - * @param headers The headers of HTTP response - */ - public ApiResponse(int statusCode, Map> headers) { - this(statusCode, headers, null); - } - - /** - *

Constructor for ApiResponse.

- * - * @param statusCode The status code of HTTP response - * @param headers The headers of HTTP response - * @param data The object deserialized from response bod - */ - public ApiResponse(int statusCode, Map> headers, T data) { - this.statusCode = statusCode; - this.headers = headers; - this.data = data; - } - - /** - *

Get the status code.

- * - * @return the status code - */ - public int getStatusCode() { - return statusCode; - } - - /** - *

Get the headers.

- * - * @return a {@link java.util.Map} of headers - */ - public Map> getHeaders() { - return headers; - } - - /** - *

Get the data.

- * - * @return the data - */ - public T getData() { - return data; - } -} diff --git a/src/main/java/com/vertexvis/Configuration.java b/src/main/java/com/vertexvis/Configuration.java deleted file mode 100644 index e9edaf4e..00000000 --- a/src/main/java/com/vertexvis/Configuration.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Configuration { - private static ApiClient defaultApiClient = new ApiClient(); - - /** - * Get the default API client, which would be used when creating API - * instances without providing an API client. - * - * @return Default API client - */ - public static ApiClient getDefaultApiClient() { - return defaultApiClient; - } - - /** - * Set the default API client, which would be used when creating API - * instances without providing an API client. - * - * @param apiClient API client - */ - public static void setDefaultApiClient(ApiClient apiClient) { - defaultApiClient = apiClient; - } -} diff --git a/src/main/java/com/vertexvis/GzipRequestInterceptor.java b/src/main/java/com/vertexvis/GzipRequestInterceptor.java deleted file mode 100644 index 2b67ef62..00000000 --- a/src/main/java/com/vertexvis/GzipRequestInterceptor.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * 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; - -import okhttp3.*; -import okio.Buffer; -import okio.BufferedSink; -import okio.GzipSink; -import okio.Okio; - -import java.io.IOException; - -/** - * Encodes request bodies using gzip. - * - * Taken from https://github.com/square/okhttp/issues/350 - */ -class GzipRequestInterceptor implements Interceptor { - @Override - public Response intercept(Chain chain) throws IOException { - Request originalRequest = chain.request(); - if (originalRequest.body() == null || originalRequest.header("Content-Encoding") != null) { - return chain.proceed(originalRequest); - } - - Request compressedRequest = originalRequest.newBuilder() - .header("Content-Encoding", "gzip") - .method(originalRequest.method(), forceContentLength(gzip(originalRequest.body()))) - .build(); - return chain.proceed(compressedRequest); - } - - private RequestBody forceContentLength(final RequestBody requestBody) throws IOException { - final Buffer buffer = new Buffer(); - requestBody.writeTo(buffer); - return new RequestBody() { - @Override - public MediaType contentType() { - return requestBody.contentType(); - } - - @Override - public long contentLength() { - return buffer.size(); - } - - @Override - public void writeTo(BufferedSink sink) throws IOException { - sink.write(buffer.snapshot()); - } - }; - } - - private RequestBody gzip(final RequestBody body) { - return new RequestBody() { - @Override - public MediaType contentType() { - return body.contentType(); - } - - @Override - public long contentLength() { - return -1; // We don't know the compressed length in advance! - } - - @Override - public void writeTo(BufferedSink sink) throws IOException { - BufferedSink gzipSink = Okio.buffer(new GzipSink(sink)); - body.writeTo(gzipSink); - gzipSink.close(); - } - }; - } -} diff --git a/src/main/java/com/vertexvis/JSON.java b/src/main/java/com/vertexvis/JSON.java deleted file mode 100644 index d0e6546b..00000000 --- a/src/main/java/com/vertexvis/JSON.java +++ /dev/null @@ -1,472 +0,0 @@ -/* - * 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; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonElement; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapter; -import com.google.gson.internal.bind.util.ISO8601Utils; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.vertexvis.model.*; -import com.vertexvis.model.serialization.*; -import io.gsonfire.GsonFireBuilder; - -import java.io.IOException; -import java.io.StringReader; -import java.lang.reflect.Type; -import java.text.DateFormat; -import java.text.ParseException; -import java.text.ParsePosition; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.time.format.DateTimeFormatter; -import java.util.Date; -import java.util.Map; - -import okio.ByteString; - -public class JSON { - private Gson gson; - private boolean isLenientOnJson = false; - private final DateTypeAdapter dateTypeAdapter = new DateTypeAdapter(); - private final SqlDateTypeAdapter sqlDateTypeAdapter = new SqlDateTypeAdapter(); - private final OffsetDateTimeTypeAdapter offsetDateTimeTypeAdapter = - new OffsetDateTimeTypeAdapter(); - private final LocalDateTypeAdapter localDateTypeAdapter = new LocalDateTypeAdapter(); - private final ByteArrayAdapter byteArrayAdapter = new ByteArrayAdapter(); - - @SuppressWarnings("unchecked") - public static GsonBuilder createGson() { - GsonFireBuilder fireBuilder = new GsonFireBuilder(); - GsonBuilder builder = fireBuilder.createGsonBuilder(); - return builder; - } - - private static String getDiscriminatorValue(JsonElement readElement, - String discriminatorField) { - JsonElement element = readElement.getAsJsonObject().get(discriminatorField); - if (null == element) { - throw new IllegalArgumentException( - "missing discriminator field: <" + discriminatorField + ">"); - } - return element.getAsString(); - } - - /** - * Returns the Java class that implements the OpenAPI schema for the specified discriminator - * value. - * - * @param classByDiscriminatorValue The map of discriminator values to Java classes. - * @param discriminatorValue The value of the OpenAPI discriminator in the input data. - * @return The Java class that implements the OpenAPI schema - */ - private static Class getClassByDiscriminator(Map classByDiscriminatorValue, - String discriminatorValue) { - Class clazz = (Class) classByDiscriminatorValue.get(discriminatorValue); - if (null == clazz) { - throw new IllegalArgumentException( - "cannot determine model class of name: <" + discriminatorValue + ">"); - } - return clazz; - } - - public JSON() { - gson = createGson().registerTypeAdapter(Date.class, dateTypeAdapter) - .registerTypeAdapter(java.sql.Date.class, sqlDateTypeAdapter) - .registerTypeAdapter(OffsetDateTime.class, offsetDateTimeTypeAdapter) - .registerTypeAdapter(LocalDate.class, localDateTypeAdapter) - .registerTypeAdapter(byte[].class, byteArrayAdapter).registerTypeAdapter( - AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship.class, - new AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipTypeAdapter( - () -> gson)) - .registerTypeAdapter(AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata.class, - new AnyOfQueryByIdQueryByCollectionQueryAllTypeAdapter(() -> gson)) - .registerTypeAdapter(AnyOfCameraCameraFit.class, - new AnyOfCameraCameraFitTypeAdapter(() -> gson)).registerTypeAdapter( - AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp.class, - new AnyOfChangeVisibilityOperationChangeMaterialOperationClearMaterialOperationChangeTransformOperationClearTransformOperationSelectOperationDeselectOperationTypeAdapter( - () -> gson)).registerTypeAdapter( - AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType.class, - new AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullTypeAdapter( - () -> gson)) - .registerTypeAdapter(OneOfHitResultDataSceneItemDataPartRevisionData.class, - new OneOfHitResultDataSceneItemDataPartRevisionDataTypeAdapter(() -> gson)) - .registerTypeAdapter(AnyOfGeometrySetRelationshipPartRevisionRelationship.class, - new AnyOfGeometrySetRelationshipPartRevisionRelationshipTypeAdapter( - () -> gson)) - .registerTypeAdapter(OneOfSceneViewRelationshipSceneViewStateRelationship.class, - new OneOfSceneViewRelationshipSceneViewStateRelationshipTypeAdapter( - () -> gson)) - .registerTypeAdapter(AnyOfRelationshipDataApiError.class, - new AnyOfRelationshipDataApiErrorAdapter(() -> gson)) - .registerTypeAdapter(AnyOfCreateSceneItemRequestData.class, - new AnyOfCreateSceneItemRequestDataAdapter(() -> gson)) - .registerTypeAdapter(OneOfPerspectiveCameraOrthographicCamera.class, - new OneOfPerspectiveCameraOrthographicCameraTypeAdapter(() -> gson)) - .registerTypeAdapter(AnyOfPerspectiveCameraOrthographicCameraCameraFit.class, - new AnyOfPerspectiveCameraOrthographicCameraCameraFitTypeAdapter( - () -> gson)) - .registerTypeAdapter(AnyOfFileRelationshipPartAssemblyRelationship.class, - new AnyOfFileRelationshipPartAssemblyRelationshipTypeAdapter(() -> gson)) - .registerTypeAdapter( - OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedData.class, - new OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedDataTypeAdapter(() -> gson) - ) - .registerTypeAdapter( - OneOfUpdateItemToDefaultRenditionOperation.class, - new OneOfUpdateItemToDefaultRenditionOperationTypeAdapter(() -> gson) - ) - .registerTypeAdapter( - AnyOfGeometrySetDataPartRevisionDataPartRenditionData.class, - new AnyOfGeometrySetDataPartRevisionDataPartRenditionDataTypeAdapter(() -> gson) - ) - .create(); - } - - /** - * Get Gson. - * - * @return Gson - */ - public Gson getGson() { - return gson; - } - - /** - * Set Gson. - * - * @param gson Gson - * @return JSON - */ - public JSON setGson(Gson gson) { - this.gson = gson; - return this; - } - - public JSON setLenientOnJson(boolean lenientOnJson) { - isLenientOnJson = lenientOnJson; - return this; - } - - /** - * Serialize the given Java object into JSON string. - * - * @param obj Object - * @return String representation of the JSON - */ - public String serialize(Object obj) { - return gson.toJson(obj); - } - - /** - * Deserialize the given JSON string to Java object. - * - * @param Type - * @param body The JSON string - * @param returnType The type to deserialize into - * @return The deserialized Java object - */ - @SuppressWarnings("unchecked") - public T deserialize(String body, Type returnType) { - try { - if (isLenientOnJson) { - JsonReader jsonReader = new JsonReader(new StringReader(body)); - // see https://google-gson.googlecode.com/svn/trunk/gson/docs/javadocs/com/google/gson/stream/JsonReader.html#setLenient(boolean) - jsonReader.setLenient(true); - return gson.fromJson(jsonReader, returnType); - } - else { - return gson.fromJson(body, returnType); - } - } - catch (JsonParseException e) { - // Fallback processing when failed to parse JSON form response body: - // return the response body string directly for the String return type; - if (returnType.equals(String.class)) { - return (T) body; - } - else { - throw (e); - } - } - } - - /** - * Gson TypeAdapter for Byte Array type - */ - public static class ByteArrayAdapter extends TypeAdapter { - - @Override - public void write(JsonWriter out, byte[] value) throws IOException { - if (value == null) { - out.nullValue(); - } - else { - out.value(ByteString.of(value).base64()); - } - } - - @Override - public byte[] read(JsonReader in) throws IOException { - switch (in.peek()) { - case NULL: - in.nextNull(); - return null; - default: - String bytesAsBase64 = in.nextString(); - ByteString byteString = ByteString.decodeBase64(bytesAsBase64); - return byteString.toByteArray(); - } - } - } - - /** - * Gson TypeAdapter for JSR310 OffsetDateTime type - */ - public static class OffsetDateTimeTypeAdapter extends TypeAdapter { - - private DateTimeFormatter formatter; - - public OffsetDateTimeTypeAdapter() { - this(DateTimeFormatter.ISO_OFFSET_DATE_TIME); - } - - public OffsetDateTimeTypeAdapter(DateTimeFormatter formatter) { - this.formatter = formatter; - } - - public void setFormat(DateTimeFormatter dateFormat) { - this.formatter = dateFormat; - } - - @Override - public void write(JsonWriter out, OffsetDateTime date) throws IOException { - if (date == null) { - out.nullValue(); - } - else { - out.value(formatter.format(date)); - } - } - - @Override - public OffsetDateTime read(JsonReader in) throws IOException { - switch (in.peek()) { - case NULL: - in.nextNull(); - return null; - default: - String date = in.nextString(); - if (date.endsWith("+0000")) { - date = date.substring(0, date.length() - 5) + "Z"; - } - return OffsetDateTime.parse(date, formatter); - } - } - } - - /** - * Gson TypeAdapter for JSR310 LocalDate type - */ - public static class LocalDateTypeAdapter extends TypeAdapter { - - private DateTimeFormatter formatter; - - public LocalDateTypeAdapter() { - this(DateTimeFormatter.ISO_LOCAL_DATE); - } - - public LocalDateTypeAdapter(DateTimeFormatter formatter) { - this.formatter = formatter; - } - - public void setFormat(DateTimeFormatter dateFormat) { - this.formatter = dateFormat; - } - - @Override - public void write(JsonWriter out, LocalDate date) throws IOException { - if (date == null) { - out.nullValue(); - } - else { - out.value(formatter.format(date)); - } - } - - @Override - public LocalDate read(JsonReader in) throws IOException { - switch (in.peek()) { - case NULL: - in.nextNull(); - return null; - default: - String date = in.nextString(); - return LocalDate.parse(date, formatter); - } - } - } - - public JSON setOffsetDateTimeFormat(DateTimeFormatter dateFormat) { - offsetDateTimeTypeAdapter.setFormat(dateFormat); - return this; - } - - public JSON setLocalDateFormat(DateTimeFormatter dateFormat) { - localDateTypeAdapter.setFormat(dateFormat); - return this; - } - - /** - * Gson TypeAdapter for java.sql.Date type - * If the dateFormat is null, a simple "yyyy-MM-dd" format will be used - * (more efficient than SimpleDateFormat). - */ - public static class SqlDateTypeAdapter extends TypeAdapter { - - private DateFormat dateFormat; - - public SqlDateTypeAdapter() { - } - - public SqlDateTypeAdapter(DateFormat dateFormat) { - this.dateFormat = dateFormat; - } - - public void setFormat(DateFormat dateFormat) { - this.dateFormat = dateFormat; - } - - @Override - public void write(JsonWriter out, java.sql.Date date) throws IOException { - if (date == null) { - out.nullValue(); - } - else { - String value; - if (dateFormat != null) { - value = dateFormat.format(date); - } - else { - value = date.toString(); - } - out.value(value); - } - } - - @Override - public java.sql.Date read(JsonReader in) throws IOException { - switch (in.peek()) { - case NULL: - in.nextNull(); - return null; - default: - String date = in.nextString(); - try { - if (dateFormat != null) { - return new java.sql.Date(dateFormat.parse(date).getTime()); - } - return new java.sql.Date( - ISO8601Utils.parse(date, new ParsePosition(0)).getTime()); - } - catch (ParseException e) { - throw new JsonParseException(e); - } - } - } - } - - /** - * Gson TypeAdapter for java.util.Date type - * If the dateFormat is null, ISO8601Utils will be used. - */ - public static class DateTypeAdapter extends TypeAdapter { - - private DateFormat dateFormat; - - public DateTypeAdapter() { - } - - public DateTypeAdapter(DateFormat dateFormat) { - this.dateFormat = dateFormat; - } - - public void setFormat(DateFormat dateFormat) { - this.dateFormat = dateFormat; - } - - @Override - public void write(JsonWriter out, Date date) throws IOException { - if (date == null) { - out.nullValue(); - } - else { - String value; - if (dateFormat != null) { - value = dateFormat.format(date); - } - else { - value = ISO8601Utils.format(date, true); - } - out.value(value); - } - } - - @Override - public Date read(JsonReader in) throws IOException { - try { - switch (in.peek()) { - case NULL: - in.nextNull(); - return null; - default: - String date = in.nextString(); - try { - if (dateFormat != null) { - return dateFormat.parse(date); - } - return ISO8601Utils.parse(date, new ParsePosition(0)); - } - catch (ParseException e) { - throw new JsonParseException(e); - } - } - } - catch (IllegalArgumentException e) { - throw new JsonParseException(e); - } - } - } - - public JSON setDateFormat(DateFormat dateFormat) { - dateTypeAdapter.setFormat(dateFormat); - return this; - } - - public JSON setSqlDateFormat(DateFormat dateFormat) { - sqlDateTypeAdapter.setFormat(dateFormat); - return this; - } - -} diff --git a/src/main/java/com/vertexvis/Pair.java b/src/main/java/com/vertexvis/Pair.java deleted file mode 100644 index 4a6e6eb8..00000000 --- a/src/main/java/com/vertexvis/Pair.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * 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; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Pair { - private String name = ""; - private String value = ""; - - public Pair (String name, String value) { - setName(name); - setValue(value); - } - - private void setName(String name) { - if (!isValidString(name)) { - return; - } - - this.name = name; - } - - private void setValue(String value) { - if (!isValidString(value)) { - return; - } - - this.value = value; - } - - public String getName() { - return this.name; - } - - public String getValue() { - return this.value; - } - - private boolean isValidString(String arg) { - if (arg == null) { - return false; - } - - return true; - } -} diff --git a/src/main/java/com/vertexvis/ProgressRequestBody.java b/src/main/java/com/vertexvis/ProgressRequestBody.java deleted file mode 100644 index ee56f3c3..00000000 --- a/src/main/java/com/vertexvis/ProgressRequestBody.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * 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; - -import okhttp3.MediaType; -import okhttp3.RequestBody; - -import java.io.IOException; - -import okio.Buffer; -import okio.BufferedSink; -import okio.ForwardingSink; -import okio.Okio; -import okio.Sink; - -public class ProgressRequestBody extends RequestBody { - - private final RequestBody requestBody; - - private final ApiCallback callback; - - public ProgressRequestBody(RequestBody requestBody, ApiCallback callback) { - this.requestBody = requestBody; - this.callback = callback; - } - - @Override - public MediaType contentType() { - return requestBody.contentType(); - } - - @Override - public long contentLength() throws IOException { - return requestBody.contentLength(); - } - - @Override - public void writeTo(BufferedSink sink) throws IOException { - BufferedSink bufferedSink = Okio.buffer(sink(sink)); - requestBody.writeTo(bufferedSink); - bufferedSink.flush(); - } - - private Sink sink(Sink sink) { - return new ForwardingSink(sink) { - - long bytesWritten = 0L; - long contentLength = 0L; - - @Override - public void write(Buffer source, long byteCount) throws IOException { - super.write(source, byteCount); - if (contentLength == 0) { - contentLength = contentLength(); - } - - bytesWritten += byteCount; - callback.onUploadProgress(bytesWritten, contentLength, bytesWritten == contentLength); - } - }; - } -} diff --git a/src/main/java/com/vertexvis/ProgressResponseBody.java b/src/main/java/com/vertexvis/ProgressResponseBody.java deleted file mode 100644 index e025f8c6..00000000 --- a/src/main/java/com/vertexvis/ProgressResponseBody.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * 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; - -import okhttp3.MediaType; -import okhttp3.ResponseBody; - -import java.io.IOException; - -import okio.Buffer; -import okio.BufferedSource; -import okio.ForwardingSource; -import okio.Okio; -import okio.Source; - -public class ProgressResponseBody extends ResponseBody { - - private final ResponseBody responseBody; - private final ApiCallback callback; - private BufferedSource bufferedSource; - - public ProgressResponseBody(ResponseBody responseBody, ApiCallback callback) { - this.responseBody = responseBody; - this.callback = callback; - } - - @Override - public MediaType contentType() { - return responseBody.contentType(); - } - - @Override - public long contentLength() { - return responseBody.contentLength(); - } - - @Override - public BufferedSource source() { - if (bufferedSource == null) { - bufferedSource = Okio.buffer(source(responseBody.source())); - } - return bufferedSource; - } - - private Source source(Source source) { - return new ForwardingSource(source) { - long totalBytesRead = 0L; - - @Override - public long read(Buffer sink, long byteCount) throws IOException { - long bytesRead = super.read(sink, byteCount); - // read() returns the number of bytes read, or -1 if this source is exhausted. - totalBytesRead += bytesRead != -1 ? bytesRead : 0; - callback.onDownloadProgress(totalBytesRead, responseBody.contentLength(), bytesRead == -1); - return bytesRead; - } - }; - } -} diff --git a/src/main/java/com/vertexvis/ServerConfiguration.java b/src/main/java/com/vertexvis/ServerConfiguration.java deleted file mode 100644 index 280bbf8f..00000000 --- a/src/main/java/com/vertexvis/ServerConfiguration.java +++ /dev/null @@ -1,58 +0,0 @@ -package com.vertexvis; - -import java.util.Map; - -/** - * Representing a Server configuration. - */ -public class ServerConfiguration { - public String URL; - public String description; - public Map variables; - - /** - * @param URL A URL to the target host. - * @param description A description of the host designated by the URL. - * @param variables A map between a variable name and its value. The value is used for substitution in the server's URL template. - */ - public ServerConfiguration(String URL, String description, Map variables) { - this.URL = URL; - this.description = description; - this.variables = variables; - } - - /** - * Format URL template using given variables. - * - * @param variables A map between a variable name and its value. - * @return Formatted URL. - */ - public String URL(Map variables) { - String url = this.URL; - - // go through variables and replace placeholders - for (Map.Entry variable: this.variables.entrySet()) { - String name = variable.getKey(); - ServerVariable serverVariable = variable.getValue(); - String value = serverVariable.defaultValue; - - if (variables != null && variables.containsKey(name)) { - value = variables.get(name); - if (serverVariable.enumValues.size() > 0 && !serverVariable.enumValues.contains(value)) { - throw new RuntimeException("The variable " + name + " in the server URL has invalid value " + value + "."); - } - } - url = url.replaceAll("\\{" + name + "\\}", value); - } - return url; - } - - /** - * Format URL template using default server variables. - * - * @return Formatted URL. - */ - public String URL() { - return URL(null); - } -} diff --git a/src/main/java/com/vertexvis/ServerVariable.java b/src/main/java/com/vertexvis/ServerVariable.java deleted file mode 100644 index e0569444..00000000 --- a/src/main/java/com/vertexvis/ServerVariable.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.vertexvis; - -import java.util.HashSet; - -/** - * Representing a Server Variable for server URL template substitution. - */ -public class ServerVariable { - public String description; - public String defaultValue; - public HashSet enumValues = null; - - /** - * @param description A description for the server variable. - * @param defaultValue The default value to use for substitution. - * @param enumValues An enumeration of string values to be used if the substitution options are from a limited set. - */ - public ServerVariable(String description, String defaultValue, HashSet enumValues) { - this.description = description; - this.defaultValue = defaultValue; - this.enumValues = enumValues; - } -} diff --git a/src/main/java/com/vertexvis/StringUtil.java b/src/main/java/com/vertexvis/StringUtil.java deleted file mode 100644 index 8a57e807..00000000 --- a/src/main/java/com/vertexvis/StringUtil.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * 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; - -import java.util.Collection; -import java.util.Iterator; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class StringUtil { - /** - * Check if the given array contains the given value (with case-insensitive comparison). - * - * @param array The array - * @param value The value to search - * @return true if the array contains the value - */ - public static boolean containsIgnoreCase(String[] array, String value) { - for (String str : array) { - if (value == null && str == null) { - return true; - } - if (value != null && value.equalsIgnoreCase(str)) { - return true; - } - } - return false; - } - - /** - * Join an array of strings with the given separator. - *

- * Note: This might be replaced by utility method from commons-lang or guava someday - * if one of those libraries is added as dependency. - *

- * - * @param array The array of strings - * @param separator The separator - * @return the resulting string - */ - public static String join(String[] array, String separator) { - int len = array.length; - if (len == 0) { - return ""; - } - - StringBuilder out = new StringBuilder(); - out.append(array[0]); - for (int i = 1; i < len; i++) { - out.append(separator).append(array[i]); - } - return out.toString(); - } - - /** - * Join a list of strings with the given separator. - * - * @param list The list of strings - * @param separator The separator - * @return the resulting string - */ - public static String join(Collection list, String separator) { - Iterator iterator = list.iterator(); - StringBuilder out = new StringBuilder(); - if (iterator.hasNext()) { - out.append(iterator.next()); - } - while (iterator.hasNext()) { - out.append(separator).append(iterator.next()); - } - return out.toString(); - } -} diff --git a/src/main/java/com/vertexvis/api/AccountsApi.java b/src/main/java/com/vertexvis/api/AccountsApi.java deleted file mode 100644 index 2ecfe3b7..00000000 --- a/src/main/java/com/vertexvis/api/AccountsApi.java +++ /dev/null @@ -1,802 +0,0 @@ -/* - * 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.Account; -import com.vertexvis.model.AdminCreateApplicationRequest; -import com.vertexvis.model.CreateAccountRequest; -import com.vertexvis.model.CreatedApplication; -import com.vertexvis.model.Failure; -import java.util.UUID; -import com.vertexvis.model.UpdateAccountRequest; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class AccountsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public AccountsApi() { - this(Configuration.getDefaultApiClient()); - } - - public AccountsApi(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 createAccount - * @param createAccountRequest (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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call createAccountCall(CreateAccountRequest createAccountRequest, 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 = createAccountRequest; - - // create path and map variables - String localVarPath = "/accounts"; - - 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[] { "OAuth2Internal" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createAccountValidateBeforeCall(CreateAccountRequest createAccountRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'createAccountRequest' is set - if (createAccountRequest == null) { - throw new ApiException("Missing the required parameter 'createAccountRequest' when calling createAccount(Async)"); - } - - - okhttp3.Call localVarCall = createAccountCall(createAccountRequest, _callback); - return localVarCall; - - } - - /** - * - * Create an `account`. - * @param createAccountRequest (required) - * @return Account - * @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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public Account createAccount(CreateAccountRequest createAccountRequest) throws ApiException { - ApiResponse localVarResp = createAccountWithHttpInfo(createAccountRequest); - return localVarResp.getData(); - } - - /** - * - * Create an `account`. - * @param createAccountRequest (required) - * @return ApiResponse<Account> - * @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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public ApiResponse createAccountWithHttpInfo(CreateAccountRequest createAccountRequest) throws ApiException { - okhttp3.Call localVarCall = createAccountValidateBeforeCall(createAccountRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create an `account`. - * @param createAccountRequest (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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call createAccountAsync(CreateAccountRequest createAccountRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createAccountValidateBeforeCall(createAccountRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for createApplicationForAccount - * @param id The `account` ID. (required) - * @param adminCreateApplicationRequest (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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createApplicationForAccountCall(UUID id, AdminCreateApplicationRequest adminCreateApplicationRequest, 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 = adminCreateApplicationRequest; - - // create path and map variables - String localVarPath = "/accounts/{id}/applications" - .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 = { - "application/vnd.api+json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "OAuth2Internal" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createApplicationForAccountValidateBeforeCall(UUID id, AdminCreateApplicationRequest adminCreateApplicationRequest, 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 createApplicationForAccount(Async)"); - } - - // verify the required parameter 'adminCreateApplicationRequest' is set - if (adminCreateApplicationRequest == null) { - throw new ApiException("Missing the required parameter 'adminCreateApplicationRequest' when calling createApplicationForAccount(Async)"); - } - - - okhttp3.Call localVarCall = createApplicationForAccountCall(id, adminCreateApplicationRequest, _callback); - return localVarCall; - - } - - /** - * - * Create an `application` for an `account`. - * @param id The `account` ID. (required) - * @param adminCreateApplicationRequest (required) - * @return CreatedApplication - * @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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public CreatedApplication createApplicationForAccount(UUID id, AdminCreateApplicationRequest adminCreateApplicationRequest) throws ApiException { - ApiResponse localVarResp = createApplicationForAccountWithHttpInfo(id, adminCreateApplicationRequest); - return localVarResp.getData(); - } - - /** - * - * Create an `application` for an `account`. - * @param id The `account` ID. (required) - * @param adminCreateApplicationRequest (required) - * @return ApiResponse<CreatedApplication> - * @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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse createApplicationForAccountWithHttpInfo(UUID id, AdminCreateApplicationRequest adminCreateApplicationRequest) throws ApiException { - okhttp3.Call localVarCall = createApplicationForAccountValidateBeforeCall(id, adminCreateApplicationRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create an `application` for an `account`. - * @param id The `account` ID. (required) - * @param adminCreateApplicationRequest (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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createApplicationForAccountAsync(UUID id, AdminCreateApplicationRequest adminCreateApplicationRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createApplicationForAccountValidateBeforeCall(id, adminCreateApplicationRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for deleteAccount - * @param id The `account` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteAccountCall(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 = "/accounts/{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[] { "OAuth2Internal" }; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteAccountValidateBeforeCall(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 deleteAccount(Async)"); - } - - - okhttp3.Call localVarCall = deleteAccountCall(id, _callback); - return localVarCall; - - } - - /** - * - * Delete an `account`. - * @param id The `account` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public void deleteAccount(UUID id) throws ApiException { - deleteAccountWithHttpInfo(id); - } - - /** - * - * Delete an `account`. - * @param id The `account` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse deleteAccountWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = deleteAccountValidateBeforeCall(id, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * Delete an `account`. - * @param id The `account` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteAccountAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteAccountValidateBeforeCall(id, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getAccount - * @param id The `account` 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 getAccountCall(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 = "/accounts/{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[] { "OAuth2Internal" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getAccountValidateBeforeCall(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 getAccount(Async)"); - } - - - okhttp3.Call localVarCall = getAccountCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get an `account`. - * @param id The `account` ID. (required) - * @return Account - * @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 Account getAccount(UUID id) throws ApiException { - ApiResponse localVarResp = getAccountWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get an `account`. - * @param id The `account` ID. (required) - * @return ApiResponse<Account> - * @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 getAccountWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getAccountValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get an `account`. - * @param id The `account` 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 getAccountAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getAccountValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for updateAccount - * @param id The `account` ID. (required) - * @param updateAccountRequest (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updateAccountCall(UUID id, UpdateAccountRequest updateAccountRequest, 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 = updateAccountRequest; - - // create path and map variables - String localVarPath = "/accounts/{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 = { - "application/vnd.api+json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "OAuth2Internal" }; - return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call updateAccountValidateBeforeCall(UUID id, UpdateAccountRequest updateAccountRequest, 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 updateAccount(Async)"); - } - - // verify the required parameter 'updateAccountRequest' is set - if (updateAccountRequest == null) { - throw new ApiException("Missing the required parameter 'updateAccountRequest' when calling updateAccount(Async)"); - } - - - okhttp3.Call localVarCall = updateAccountCall(id, updateAccountRequest, _callback); - return localVarCall; - - } - - /** - * - * Update an `account`. - * @param id The `account` ID. (required) - * @param updateAccountRequest (required) - * @return Account - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public Account updateAccount(UUID id, UpdateAccountRequest updateAccountRequest) throws ApiException { - ApiResponse localVarResp = updateAccountWithHttpInfo(id, updateAccountRequest); - return localVarResp.getData(); - } - - /** - * - * Update an `account`. - * @param id The `account` ID. (required) - * @param updateAccountRequest (required) - * @return ApiResponse<Account> - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse updateAccountWithHttpInfo(UUID id, UpdateAccountRequest updateAccountRequest) throws ApiException { - okhttp3.Call localVarCall = updateAccountValidateBeforeCall(id, updateAccountRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Update an `account`. - * @param id The `account` ID. (required) - * @param updateAccountRequest (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updateAccountAsync(UUID id, UpdateAccountRequest updateAccountRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updateAccountValidateBeforeCall(id, updateAccountRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/ApplicationsApi.java b/src/main/java/com/vertexvis/api/ApplicationsApi.java deleted file mode 100644 index 1bd64d74..00000000 --- a/src/main/java/com/vertexvis/api/ApplicationsApi.java +++ /dev/null @@ -1,799 +0,0 @@ -/* - * 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.Application; -import com.vertexvis.model.ApplicationList; -import com.vertexvis.model.CreateApplicationRequest; -import com.vertexvis.model.CreatedApplication; -import com.vertexvis.model.Failure; -import java.util.UUID; -import com.vertexvis.model.UpdateApplicationRequest; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class ApplicationsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public ApplicationsApi() { - this(Configuration.getDefaultApiClient()); - } - - public ApplicationsApi(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 createApplication - * @param createApplicationRequest (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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call createApplicationCall(CreateApplicationRequest createApplicationRequest, 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 = createApplicationRequest; - - // create path and map variables - String localVarPath = "/applications"; - - 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 createApplicationValidateBeforeCall(CreateApplicationRequest createApplicationRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'createApplicationRequest' is set - if (createApplicationRequest == null) { - throw new ApiException("Missing the required parameter 'createApplicationRequest' when calling createApplication(Async)"); - } - - - okhttp3.Call localVarCall = createApplicationCall(createApplicationRequest, _callback); - return localVarCall; - - } - - /** - * - * Create an OAuth2 `application`. - * @param createApplicationRequest (required) - * @return CreatedApplication - * @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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public CreatedApplication createApplication(CreateApplicationRequest createApplicationRequest) throws ApiException { - ApiResponse localVarResp = createApplicationWithHttpInfo(createApplicationRequest); - return localVarResp.getData(); - } - - /** - * - * Create an OAuth2 `application`. - * @param createApplicationRequest (required) - * @return ApiResponse<CreatedApplication> - * @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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public ApiResponse createApplicationWithHttpInfo(CreateApplicationRequest createApplicationRequest) throws ApiException { - okhttp3.Call localVarCall = createApplicationValidateBeforeCall(createApplicationRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create an OAuth2 `application`. - * @param createApplicationRequest (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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call createApplicationAsync(CreateApplicationRequest createApplicationRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createApplicationValidateBeforeCall(createApplicationRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for deleteApplication - * @param id The `application` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteApplicationCall(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 = "/applications/{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 deleteApplicationValidateBeforeCall(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 deleteApplication(Async)"); - } - - - okhttp3.Call localVarCall = deleteApplicationCall(id, _callback); - return localVarCall; - - } - - /** - * - * Delete an `application`. - * @param id The `application` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public void deleteApplication(UUID id) throws ApiException { - deleteApplicationWithHttpInfo(id); - } - - /** - * - * Delete an `application`. - * @param id The `application` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse deleteApplicationWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = deleteApplicationValidateBeforeCall(id, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * Delete an `application`. - * @param id The `application` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteApplicationAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteApplicationValidateBeforeCall(id, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getApplication - * @param id The `application` 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 getApplicationCall(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 = "/applications/{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 getApplicationValidateBeforeCall(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 getApplication(Async)"); - } - - - okhttp3.Call localVarCall = getApplicationCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get an `application`. - * @param id The `application` ID. (required) - * @return Application - * @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 Application getApplication(UUID id) throws ApiException { - ApiResponse localVarResp = getApplicationWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get an `application`. - * @param id The `application` ID. (required) - * @return ApiResponse<Application> - * @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 getApplicationWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getApplicationValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get an `application`. - * @param id The `application` 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 getApplicationAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getApplicationValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getApplications - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterClientId Comma-separated list of client IDs to filter on. (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 -
415 Unsupported Media Type -
- */ - public okhttp3.Call getApplicationsCall(String pageCursor, Integer pageSize, String filterClientId, 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 = "/applications"; - - 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)); - } - - if (filterClientId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[clientId]", filterClientId)); - } - - 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 getApplicationsValidateBeforeCall(String pageCursor, Integer pageSize, String filterClientId, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getApplicationsCall(pageCursor, pageSize, filterClientId, _callback); - return localVarCall; - - } - - /** - * - * Get `applications`. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterClientId Comma-separated list of client IDs to filter on. (optional) - * @return ApplicationList - * @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 -
415 Unsupported Media Type -
- */ - public ApplicationList getApplications(String pageCursor, Integer pageSize, String filterClientId) throws ApiException { - ApiResponse localVarResp = getApplicationsWithHttpInfo(pageCursor, pageSize, filterClientId); - return localVarResp.getData(); - } - - /** - * - * Get `applications`. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterClientId Comma-separated list of client IDs to filter on. (optional) - * @return ApiResponse<ApplicationList> - * @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 -
415 Unsupported Media Type -
- */ - public ApiResponse getApplicationsWithHttpInfo(String pageCursor, Integer pageSize, String filterClientId) throws ApiException { - okhttp3.Call localVarCall = getApplicationsValidateBeforeCall(pageCursor, pageSize, filterClientId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get `applications`. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterClientId Comma-separated list of client IDs 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 - * @http.response.details - - - - - -
Status Code Description Response Headers
200 OK -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call getApplicationsAsync(String pageCursor, Integer pageSize, String filterClientId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getApplicationsValidateBeforeCall(pageCursor, pageSize, filterClientId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for updateApplication - * @param id The `application` ID. (required) - * @param updateApplicationRequest (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updateApplicationCall(UUID id, UpdateApplicationRequest updateApplicationRequest, 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 = updateApplicationRequest; - - // create path and map variables - String localVarPath = "/applications/{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 = { - "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, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call updateApplicationValidateBeforeCall(UUID id, UpdateApplicationRequest updateApplicationRequest, 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 updateApplication(Async)"); - } - - // verify the required parameter 'updateApplicationRequest' is set - if (updateApplicationRequest == null) { - throw new ApiException("Missing the required parameter 'updateApplicationRequest' when calling updateApplication(Async)"); - } - - - okhttp3.Call localVarCall = updateApplicationCall(id, updateApplicationRequest, _callback); - return localVarCall; - - } - - /** - * - * Update an `application`. - * @param id The `application` ID. (required) - * @param updateApplicationRequest (required) - * @return Application - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public Application updateApplication(UUID id, UpdateApplicationRequest updateApplicationRequest) throws ApiException { - ApiResponse localVarResp = updateApplicationWithHttpInfo(id, updateApplicationRequest); - return localVarResp.getData(); - } - - /** - * - * Update an `application`. - * @param id The `application` ID. (required) - * @param updateApplicationRequest (required) - * @return ApiResponse<Application> - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse updateApplicationWithHttpInfo(UUID id, UpdateApplicationRequest updateApplicationRequest) throws ApiException { - okhttp3.Call localVarCall = updateApplicationValidateBeforeCall(id, updateApplicationRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Update an `application`. - * @param id The `application` ID. (required) - * @param updateApplicationRequest (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updateApplicationAsync(UUID id, UpdateApplicationRequest updateApplicationRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updateApplicationValidateBeforeCall(id, updateApplicationRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/BatchesApi.java b/src/main/java/com/vertexvis/api/BatchesApi.java deleted file mode 100644 index 78a443da..00000000 --- a/src/main/java/com/vertexvis/api/BatchesApi.java +++ /dev/null @@ -1,502 +0,0 @@ -/* - * 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.Batch; -import com.vertexvis.model.CreateBatchRequest; -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 BatchesApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public BatchesApi() { - this(Configuration.getDefaultApiClient()); - } - - public BatchesApi(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 createBatch - * @param createBatchRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call createBatchCall(CreateBatchRequest createBatchRequest, 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 = createBatchRequest; - - // create path and map variables - String localVarPath = "/batches"; - - 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 createBatchValidateBeforeCall(CreateBatchRequest createBatchRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'createBatchRequest' is set - if (createBatchRequest == null) { - throw new ApiException("Missing the required parameter 'createBatchRequest' when calling createBatch(Async)"); - } - - - okhttp3.Call localVarCall = createBatchCall(createBatchRequest, _callback); - return localVarCall; - - } - - /** - * - * Create a `batch`. This API is asynchronous, returning the location of a `queued-batch`. Check the status via the getQueuedBatch API. - * @param createBatchRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public QueuedJob createBatch(CreateBatchRequest createBatchRequest) throws ApiException { - ApiResponse localVarResp = createBatchWithHttpInfo(createBatchRequest); - return localVarResp.getData(); - } - - /** - * - * Create a `batch`. This API is asynchronous, returning the location of a `queued-batch`. Check the status via the getQueuedBatch API. - * @param createBatchRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public ApiResponse createBatchWithHttpInfo(CreateBatchRequest createBatchRequest) throws ApiException { - okhttp3.Call localVarCall = createBatchValidateBeforeCall(createBatchRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create a `batch`. This API is asynchronous, returning the location of a `queued-batch`. Check the status via the getQueuedBatch API. - * @param createBatchRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call createBatchAsync(CreateBatchRequest createBatchRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createBatchValidateBeforeCall(createBatchRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getBatch - * @param id The `file` 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 getBatchCall(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 = "/batches/{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 getBatchValidateBeforeCall(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 getBatch(Async)"); - } - - - okhttp3.Call localVarCall = getBatchCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `batch` by ID. - * @param id The `file` ID. (required) - * @return Batch - * @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 Batch getBatch(UUID id) throws ApiException { - ApiResponse localVarResp = getBatchWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `batch` by ID. - * @param id The `file` ID. (required) - * @return ApiResponse<Batch> - * @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 getBatchWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getBatchValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `batch` by ID. - * @param id The `file` 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 getBatchAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getBatchValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getQueuedBatch - * @param id The `queued-batch` 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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getQueuedBatchCall(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 = "/queued-batches/{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 getQueuedBatchValidateBeforeCall(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 getQueuedBatch(Async)"); - } - - - okhttp3.Call localVarCall = getQueuedBatchCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `queued-batch`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `batch`. - * @param id The `queued-batch` ID. (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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public QueuedJob getQueuedBatch(UUID id) throws ApiException { - ApiResponse localVarResp = getQueuedBatchWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `queued-batch`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `batch`. - * @param id The `queued-batch` ID. (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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse getQueuedBatchWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getQueuedBatchValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `queued-batch`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `batch`. - * @param id The `queued-batch` 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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getQueuedBatchAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getQueuedBatchValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/ExportsApi.java b/src/main/java/com/vertexvis/api/ExportsApi.java deleted file mode 100644 index 21911104..00000000 --- a/src/main/java/com/vertexvis/api/ExportsApi.java +++ /dev/null @@ -1,502 +0,0 @@ -/* - * 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.CreateExportRequest; -import com.vertexvis.model.Export; -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 ExportsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public ExportsApi() { - this(Configuration.getDefaultApiClient()); - } - - public ExportsApi(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 createExport - * @param createExportRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call createExportCall(CreateExportRequest createExportRequest, 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 = createExportRequest; - - // create path and map variables - String localVarPath = "/exports"; - - 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 createExportValidateBeforeCall(CreateExportRequest createExportRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'createExportRequest' is set - if (createExportRequest == null) { - throw new ApiException("Missing the required parameter 'createExportRequest' when calling createExport(Async)"); - } - - - okhttp3.Call localVarCall = createExportCall(createExportRequest, _callback); - return localVarCall; - - } - - /** - * - * Create an `export`. This API is asynchronous, returning the location of a `queued-export`. Check the status via the getQueuedExport API. - * @param createExportRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public QueuedJob createExport(CreateExportRequest createExportRequest) throws ApiException { - ApiResponse localVarResp = createExportWithHttpInfo(createExportRequest); - return localVarResp.getData(); - } - - /** - * - * Create an `export`. This API is asynchronous, returning the location of a `queued-export`. Check the status via the getQueuedExport API. - * @param createExportRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public ApiResponse createExportWithHttpInfo(CreateExportRequest createExportRequest) throws ApiException { - okhttp3.Call localVarCall = createExportValidateBeforeCall(createExportRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create an `export`. This API is asynchronous, returning the location of a `queued-export`. Check the status via the getQueuedExport API. - * @param createExportRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call createExportAsync(CreateExportRequest createExportRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createExportValidateBeforeCall(createExportRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getExport - * @param id The `export` 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 getExportCall(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 = "/exports/{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 getExportValidateBeforeCall(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 getExport(Async)"); - } - - - okhttp3.Call localVarCall = getExportCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get an `export` by ID. - * @param id The `export` ID. (required) - * @return Export - * @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 Export getExport(UUID id) throws ApiException { - ApiResponse localVarResp = getExportWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get an `export` by ID. - * @param id The `export` ID. (required) - * @return ApiResponse<Export> - * @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 getExportWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getExportValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get an `export` by ID. - * @param id The `export` 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 getExportAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getExportValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getQueuedExport - * @param id The `queued-export` 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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getQueuedExportCall(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 = "/queued-exports/{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 getQueuedExportValidateBeforeCall(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 getQueuedExport(Async)"); - } - - - okhttp3.Call localVarCall = getQueuedExportCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `queued-export`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `export`. - * @param id The `queued-export` ID. (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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public QueuedJob getQueuedExport(UUID id) throws ApiException { - ApiResponse localVarResp = getQueuedExportWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `queued-export`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `export`. - * @param id The `queued-export` ID. (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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse getQueuedExportWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getQueuedExportValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `queued-export`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `export`. - * @param id The `queued-export` 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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getQueuedExportAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getQueuedExportValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/FileCollectionsApi.java b/src/main/java/com/vertexvis/api/FileCollectionsApi.java deleted file mode 100644 index a92a941e..00000000 --- a/src/main/java/com/vertexvis/api/FileCollectionsApi.java +++ /dev/null @@ -1,1217 +0,0 @@ -/* - * 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.CreateFileCollectionRequest; -import com.vertexvis.model.Failure; -import com.vertexvis.model.FileCollectionList; -import com.vertexvis.model.FileCollectionMetadata; -import com.vertexvis.model.FileIdList; -import com.vertexvis.model.FileList; -import java.util.UUID; -import com.vertexvis.model.UpdateFileCollectionRequest; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class FileCollectionsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public FileCollectionsApi() { - this(Configuration.getDefaultApiClient()); - } - - public FileCollectionsApi(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 addFileCollectionFiles - * @param id The `file-collection` ID. (required) - * @param fileIdList (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 -
404 Not Found -
- */ - public okhttp3.Call addFileCollectionFilesCall(UUID id, FileIdList fileIdList, 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 = fileIdList; - - // create path and map variables - String localVarPath = "/file-collections/{id}/files" - .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 = { - "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 addFileCollectionFilesValidateBeforeCall(UUID id, FileIdList fileIdList, 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 addFileCollectionFiles(Async)"); - } - - // verify the required parameter 'fileIdList' is set - if (fileIdList == null) { - throw new ApiException("Missing the required parameter 'fileIdList' when calling addFileCollectionFiles(Async)"); - } - - - okhttp3.Call localVarCall = addFileCollectionFilesCall(id, fileIdList, _callback); - return localVarCall; - - } - - /** - * - * Add files to a `file-collection`. - * @param id The `file-collection` ID. (required) - * @param fileIdList (required) - * @return FileCollectionMetadata - * @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 -
404 Not Found -
- */ - public FileCollectionMetadata addFileCollectionFiles(UUID id, FileIdList fileIdList) throws ApiException { - ApiResponse localVarResp = addFileCollectionFilesWithHttpInfo(id, fileIdList); - return localVarResp.getData(); - } - - /** - * - * Add files to a `file-collection`. - * @param id The `file-collection` ID. (required) - * @param fileIdList (required) - * @return ApiResponse<FileCollectionMetadata> - * @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 -
404 Not Found -
- */ - public ApiResponse addFileCollectionFilesWithHttpInfo(UUID id, FileIdList fileIdList) throws ApiException { - okhttp3.Call localVarCall = addFileCollectionFilesValidateBeforeCall(id, fileIdList, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Add files to a `file-collection`. - * @param id The `file-collection` ID. (required) - * @param fileIdList (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 -
404 Not Found -
- */ - public okhttp3.Call addFileCollectionFilesAsync(UUID id, FileIdList fileIdList, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = addFileCollectionFilesValidateBeforeCall(id, fileIdList, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for createFileCollection - * @param createFileCollectionRequest (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 -
400 Bad Request -
401 Unauthorized -
- */ - public okhttp3.Call createFileCollectionCall(CreateFileCollectionRequest createFileCollectionRequest, 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 = createFileCollectionRequest; - - // create path and map variables - String localVarPath = "/file-collections"; - - 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 createFileCollectionValidateBeforeCall(CreateFileCollectionRequest createFileCollectionRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'createFileCollectionRequest' is set - if (createFileCollectionRequest == null) { - throw new ApiException("Missing the required parameter 'createFileCollectionRequest' when calling createFileCollection(Async)"); - } - - - okhttp3.Call localVarCall = createFileCollectionCall(createFileCollectionRequest, _callback); - return localVarCall; - - } - - /** - * - * Create a `file-collection`. - * @param createFileCollectionRequest (required) - * @return FileCollectionMetadata - * @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 -
400 Bad Request -
401 Unauthorized -
- */ - public FileCollectionMetadata createFileCollection(CreateFileCollectionRequest createFileCollectionRequest) throws ApiException { - ApiResponse localVarResp = createFileCollectionWithHttpInfo(createFileCollectionRequest); - return localVarResp.getData(); - } - - /** - * - * Create a `file-collection`. - * @param createFileCollectionRequest (required) - * @return ApiResponse<FileCollectionMetadata> - * @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 -
400 Bad Request -
401 Unauthorized -
- */ - public ApiResponse createFileCollectionWithHttpInfo(CreateFileCollectionRequest createFileCollectionRequest) throws ApiException { - okhttp3.Call localVarCall = createFileCollectionValidateBeforeCall(createFileCollectionRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create a `file-collection`. - * @param createFileCollectionRequest (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 -
400 Bad Request -
401 Unauthorized -
- */ - public okhttp3.Call createFileCollectionAsync(CreateFileCollectionRequest createFileCollectionRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createFileCollectionValidateBeforeCall(createFileCollectionRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for deleteFileCollection - * @param id The `file-collection` 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 -
401 Unauthorized -
404 Not Found -
- */ - public okhttp3.Call deleteFileCollectionCall(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-collections/{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 deleteFileCollectionValidateBeforeCall(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 deleteFileCollection(Async)"); - } - - - okhttp3.Call localVarCall = deleteFileCollectionCall(id, _callback); - return localVarCall; - - } - - /** - * - * Delete a `file-collection`. - * @param id The `file-collection` 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 -
401 Unauthorized -
404 Not Found -
- */ - public void deleteFileCollection(UUID id) throws ApiException { - deleteFileCollectionWithHttpInfo(id); - } - - /** - * - * Delete a `file-collection`. - * @param id The `file-collection` 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 -
401 Unauthorized -
404 Not Found -
- */ - public ApiResponse deleteFileCollectionWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = deleteFileCollectionValidateBeforeCall(id, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * Delete a `file-collection`. - * @param id The `file-collection` 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 -
401 Unauthorized -
404 Not Found -
- */ - public okhttp3.Call deleteFileCollectionAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteFileCollectionValidateBeforeCall(id, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getFileCollection - * @param id The `file-collection` 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 -
- */ - public okhttp3.Call getFileCollectionCall(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-collections/{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 getFileCollectionValidateBeforeCall(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 getFileCollection(Async)"); - } - - - okhttp3.Call localVarCall = getFileCollectionCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `file-collection` by ID. - * @param id The `file-collection` ID. (required) - * @return FileCollectionMetadata - * @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 -
- */ - public FileCollectionMetadata getFileCollection(UUID id) throws ApiException { - ApiResponse localVarResp = getFileCollectionWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `file-collection` by ID. - * @param id The `file-collection` ID. (required) - * @return ApiResponse<FileCollectionMetadata> - * @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 -
- */ - public ApiResponse getFileCollectionWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getFileCollectionValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `file-collection` by ID. - * @param id The `file-collection` 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 -
- */ - public okhttp3.Call getFileCollectionAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getFileCollectionValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listFileCollectionFiles - * @param id The `file-collection` ID. (required) - * @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 -
404 Not Found -
- */ - public okhttp3.Call listFileCollectionFilesCall(UUID id, 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 = "/file-collections/{id}/files" - .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(); - - 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 listFileCollectionFilesValidateBeforeCall(UUID id, String pageCursor, Integer pageSize, 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 listFileCollectionFiles(Async)"); - } - - - okhttp3.Call localVarCall = listFileCollectionFilesCall(id, pageCursor, pageSize, _callback); - return localVarCall; - - } - - /** - * - * List the files in a `file-collection`. - * @param id The `file-collection` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @return FileList - * @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 -
- */ - public FileList listFileCollectionFiles(UUID id, String pageCursor, Integer pageSize) throws ApiException { - ApiResponse localVarResp = listFileCollectionFilesWithHttpInfo(id, pageCursor, pageSize); - return localVarResp.getData(); - } - - /** - * - * List the files in a `file-collection`. - * @param id The `file-collection` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @return ApiResponse<FileList> - * @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 -
- */ - public ApiResponse listFileCollectionFilesWithHttpInfo(UUID id, String pageCursor, Integer pageSize) throws ApiException { - okhttp3.Call localVarCall = listFileCollectionFilesValidateBeforeCall(id, pageCursor, pageSize, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * List the files in a `file-collection`. - * @param id The `file-collection` ID. (required) - * @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 -
404 Not Found -
- */ - public okhttp3.Call listFileCollectionFilesAsync(UUID id, String pageCursor, Integer pageSize, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listFileCollectionFilesValidateBeforeCall(id, pageCursor, pageSize, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listFileCollections - * @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 _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 listFileCollectionsCall(String pageCursor, Integer pageSize, String filterSuppliedId, 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-collections"; - - 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)); - } - - if (filterSuppliedId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[suppliedId]", filterSuppliedId)); - } - - 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 listFileCollectionsValidateBeforeCall(String pageCursor, Integer pageSize, String filterSuppliedId, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = listFileCollectionsCall(pageCursor, pageSize, filterSuppliedId, _callback); - return localVarCall; - - } - - /** - * - * List `file-collection`s by supplied ID. - * @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) - * @return FileCollectionList - * @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 FileCollectionList listFileCollections(String pageCursor, Integer pageSize, String filterSuppliedId) throws ApiException { - ApiResponse localVarResp = listFileCollectionsWithHttpInfo(pageCursor, pageSize, filterSuppliedId); - return localVarResp.getData(); - } - - /** - * - * List `file-collection`s by supplied ID. - * @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) - * @return ApiResponse<FileCollectionList> - * @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 listFileCollectionsWithHttpInfo(String pageCursor, Integer pageSize, String filterSuppliedId) throws ApiException { - okhttp3.Call localVarCall = listFileCollectionsValidateBeforeCall(pageCursor, pageSize, filterSuppliedId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * List `file-collection`s by supplied ID. - * @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 _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 listFileCollectionsAsync(String pageCursor, Integer pageSize, String filterSuppliedId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listFileCollectionsValidateBeforeCall(pageCursor, pageSize, filterSuppliedId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for removeFileCollectionFiles - * @param id The `file-collection` ID. (required) - * @param filterFileId Comma-separated list of file-ids to filter on. (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
204 No Content -
401 Unauthorized -
404 Not Found -
- */ - public okhttp3.Call removeFileCollectionFilesCall(UUID id, String filterFileId, 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-collections/{id}/files" - .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(); - - if (filterFileId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[fileId]", filterFileId)); - } - - 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 removeFileCollectionFilesValidateBeforeCall(UUID id, String filterFileId, 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 removeFileCollectionFiles(Async)"); - } - - - okhttp3.Call localVarCall = removeFileCollectionFilesCall(id, filterFileId, _callback); - return localVarCall; - - } - - /** - * - * Remove a file from a `file-collection`. - * @param id The `file-collection` ID. (required) - * @param filterFileId Comma-separated list of file-ids to filter on. (optional) - * @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 -
401 Unauthorized -
404 Not Found -
- */ - public void removeFileCollectionFiles(UUID id, String filterFileId) throws ApiException { - removeFileCollectionFilesWithHttpInfo(id, filterFileId); - } - - /** - * - * Remove a file from a `file-collection`. - * @param id The `file-collection` ID. (required) - * @param filterFileId Comma-separated list of file-ids to filter on. (optional) - * @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 -
401 Unauthorized -
404 Not Found -
- */ - public ApiResponse removeFileCollectionFilesWithHttpInfo(UUID id, String filterFileId) throws ApiException { - okhttp3.Call localVarCall = removeFileCollectionFilesValidateBeforeCall(id, filterFileId, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * Remove a file from a `file-collection`. - * @param id The `file-collection` ID. (required) - * @param filterFileId Comma-separated list of file-ids 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 - * @http.response.details - - - - - -
Status Code Description Response Headers
204 No Content -
401 Unauthorized -
404 Not Found -
- */ - public okhttp3.Call removeFileCollectionFilesAsync(UUID id, String filterFileId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = removeFileCollectionFilesValidateBeforeCall(id, filterFileId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for updateFileCollection - * @param id The `file-collection` ID. (required) - * @param updateFileCollectionRequest (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 -
404 Not Found -
- */ - public okhttp3.Call updateFileCollectionCall(UUID id, UpdateFileCollectionRequest updateFileCollectionRequest, 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 = updateFileCollectionRequest; - - // create path and map variables - String localVarPath = "/file-collections/{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 = { - "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, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call updateFileCollectionValidateBeforeCall(UUID id, UpdateFileCollectionRequest updateFileCollectionRequest, 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 updateFileCollection(Async)"); - } - - // verify the required parameter 'updateFileCollectionRequest' is set - if (updateFileCollectionRequest == null) { - throw new ApiException("Missing the required parameter 'updateFileCollectionRequest' when calling updateFileCollection(Async)"); - } - - - okhttp3.Call localVarCall = updateFileCollectionCall(id, updateFileCollectionRequest, _callback); - return localVarCall; - - } - - /** - * - * Update a `file-collection`. - * @param id The `file-collection` ID. (required) - * @param updateFileCollectionRequest (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 -
404 Not Found -
- */ - public void updateFileCollection(UUID id, UpdateFileCollectionRequest updateFileCollectionRequest) throws ApiException { - updateFileCollectionWithHttpInfo(id, updateFileCollectionRequest); - } - - /** - * - * Update a `file-collection`. - * @param id The `file-collection` ID. (required) - * @param updateFileCollectionRequest (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 -
404 Not Found -
- */ - public ApiResponse updateFileCollectionWithHttpInfo(UUID id, UpdateFileCollectionRequest updateFileCollectionRequest) throws ApiException { - okhttp3.Call localVarCall = updateFileCollectionValidateBeforeCall(id, updateFileCollectionRequest, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * Update a `file-collection`. - * @param id The `file-collection` ID. (required) - * @param updateFileCollectionRequest (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 -
404 Not Found -
- */ - public okhttp3.Call updateFileCollectionAsync(UUID id, UpdateFileCollectionRequest updateFileCollectionRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updateFileCollectionValidateBeforeCall(id, updateFileCollectionRequest, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/FilesApi.java b/src/main/java/com/vertexvis/api/FilesApi.java deleted file mode 100644 index 70b92569..00000000 --- a/src/main/java/com/vertexvis/api/FilesApi.java +++ /dev/null @@ -1,1103 +0,0 @@ -/* - * 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.CreateDownloadRequest; -import com.vertexvis.model.CreateFileRequest; -import com.vertexvis.model.DownloadUrl; -import com.vertexvis.model.Failure; -import java.io.File; -import com.vertexvis.model.FileList; -import com.vertexvis.model.FileMetadata; -import java.util.UUID; -import com.vertexvis.model.UpdateFileRequest; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class FilesApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public FilesApi() { - this(Configuration.getDefaultApiClient()); - } - - public FilesApi(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 createDownloadUrl - * @param id The `file` ID. (required) - * @param createDownloadRequest (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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createDownloadUrlCall(UUID id, CreateDownloadRequest createDownloadRequest, 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 = createDownloadRequest; - - // create path and map variables - String localVarPath = "/files/{id}/download-url" - .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 = { - "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 createDownloadUrlValidateBeforeCall(UUID id, CreateDownloadRequest createDownloadRequest, 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 createDownloadUrl(Async)"); - } - - // verify the required parameter 'createDownloadRequest' is set - if (createDownloadRequest == null) { - throw new ApiException("Missing the required parameter 'createDownloadRequest' when calling createDownloadUrl(Async)"); - } - - - okhttp3.Call localVarCall = createDownloadUrlCall(id, createDownloadRequest, _callback); - return localVarCall; - - } - - /** - * - * Create a download uri for a `file` by ID. - * @param id The `file` ID. (required) - * @param createDownloadRequest (required) - * @return DownloadUrl - * @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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public DownloadUrl createDownloadUrl(UUID id, CreateDownloadRequest createDownloadRequest) throws ApiException { - ApiResponse localVarResp = createDownloadUrlWithHttpInfo(id, createDownloadRequest); - return localVarResp.getData(); - } - - /** - * - * Create a download uri for a `file` by ID. - * @param id The `file` ID. (required) - * @param createDownloadRequest (required) - * @return ApiResponse<DownloadUrl> - * @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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse createDownloadUrlWithHttpInfo(UUID id, CreateDownloadRequest createDownloadRequest) throws ApiException { - okhttp3.Call localVarCall = createDownloadUrlValidateBeforeCall(id, createDownloadRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create a download uri for a `file` by ID. - * @param id The `file` ID. (required) - * @param createDownloadRequest (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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createDownloadUrlAsync(UUID id, CreateDownloadRequest createDownloadRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createDownloadUrlValidateBeforeCall(id, createDownloadRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for createFile - * @param createFileRequest (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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call createFileCall(CreateFileRequest createFileRequest, 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 = createFileRequest; - - // create path and map variables - String localVarPath = "/files"; - - 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 createFileValidateBeforeCall(CreateFileRequest createFileRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'createFileRequest' is set - if (createFileRequest == null) { - throw new ApiException("Missing the required parameter 'createFileRequest' when calling createFile(Async)"); - } - - - okhttp3.Call localVarCall = createFileCall(createFileRequest, _callback); - return localVarCall; - - } - - /** - * - * Create a `file`. Once created, upload file content via the uploadFile API. For details including supported file formats, see our [Import data](https://developer.vertexvis.com/docs/guides/import-data-with-api) guide. - * @param createFileRequest (required) - * @return FileMetadata - * @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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public FileMetadata createFile(CreateFileRequest createFileRequest) throws ApiException { - ApiResponse localVarResp = createFileWithHttpInfo(createFileRequest); - return localVarResp.getData(); - } - - /** - * - * Create a `file`. Once created, upload file content via the uploadFile API. For details including supported file formats, see our [Import data](https://developer.vertexvis.com/docs/guides/import-data-with-api) guide. - * @param createFileRequest (required) - * @return ApiResponse<FileMetadata> - * @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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public ApiResponse createFileWithHttpInfo(CreateFileRequest createFileRequest) throws ApiException { - okhttp3.Call localVarCall = createFileValidateBeforeCall(createFileRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create a `file`. Once created, upload file content via the uploadFile API. For details including supported file formats, see our [Import data](https://developer.vertexvis.com/docs/guides/import-data-with-api) guide. - * @param createFileRequest (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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call createFileAsync(CreateFileRequest createFileRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createFileValidateBeforeCall(createFileRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for deleteFile - * @param id The `file` 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 deleteFileCall(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 = "/files/{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 deleteFileValidateBeforeCall(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 deleteFile(Async)"); - } - - - okhttp3.Call localVarCall = deleteFileCall(id, _callback); - return localVarCall; - - } - - /** - * - * Delete a `file`. - * @param id The `file` ID. (required) - * @return FileMetadata - * @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 FileMetadata deleteFile(UUID id) throws ApiException { - ApiResponse localVarResp = deleteFileWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Delete a `file`. - * @param id The `file` ID. (required) - * @return ApiResponse<FileMetadata> - * @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 deleteFileWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = deleteFileValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Delete a `file`. - * @param id The `file` 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 deleteFileAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteFileValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getFile - * @param id The `file` 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 getFileCall(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 = "/files/{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 getFileValidateBeforeCall(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 getFile(Async)"); - } - - - okhttp3.Call localVarCall = getFileCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `file` by ID. - * @param id The `file` ID. (required) - * @return FileMetadata - * @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 FileMetadata getFile(UUID id) throws ApiException { - ApiResponse localVarResp = getFileWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `file` by ID. - * @param id The `file` ID. (required) - * @return ApiResponse<FileMetadata> - * @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 getFileWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getFileValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `file` by ID. - * @param id The `file` 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 getFileAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getFileValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getFiles - * @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 _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 -
415 Unsupported Media Type -
- */ - public okhttp3.Call getFilesCall(String pageCursor, Integer pageSize, String filterSuppliedId, 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 = "/files"; - - 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)); - } - - if (filterSuppliedId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[suppliedId]", filterSuppliedId)); - } - - 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 getFilesValidateBeforeCall(String pageCursor, Integer pageSize, String filterSuppliedId, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getFilesCall(pageCursor, pageSize, filterSuppliedId, _callback); - return localVarCall; - - } - - /** - * - * Get `files`. - * @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) - * @return FileList - * @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 -
415 Unsupported Media Type -
- */ - public FileList getFiles(String pageCursor, Integer pageSize, String filterSuppliedId) throws ApiException { - ApiResponse localVarResp = getFilesWithHttpInfo(pageCursor, pageSize, filterSuppliedId); - return localVarResp.getData(); - } - - /** - * - * Get `files`. - * @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) - * @return ApiResponse<FileList> - * @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 -
415 Unsupported Media Type -
- */ - public ApiResponse getFilesWithHttpInfo(String pageCursor, Integer pageSize, String filterSuppliedId) throws ApiException { - okhttp3.Call localVarCall = getFilesValidateBeforeCall(pageCursor, pageSize, filterSuppliedId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get `files`. - * @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 _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 -
415 Unsupported Media Type -
- */ - public okhttp3.Call getFilesAsync(String pageCursor, Integer pageSize, String filterSuppliedId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getFilesValidateBeforeCall(pageCursor, pageSize, filterSuppliedId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for updateFile - * @param id The `file` ID. (required) - * @param updateFileRequest (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updateFileCall(UUID id, UpdateFileRequest updateFileRequest, 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 = updateFileRequest; - - // create path and map variables - String localVarPath = "/files/{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 = { - "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, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call updateFileValidateBeforeCall(UUID id, UpdateFileRequest updateFileRequest, 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 updateFile(Async)"); - } - - // verify the required parameter 'updateFileRequest' is set - if (updateFileRequest == null) { - throw new ApiException("Missing the required parameter 'updateFileRequest' when calling updateFile(Async)"); - } - - - okhttp3.Call localVarCall = updateFileCall(id, updateFileRequest, _callback); - return localVarCall; - - } - - /** - * - * Update a `file`. - * @param id The `file` ID. (required) - * @param updateFileRequest (required) - * @return FileMetadata - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public FileMetadata updateFile(UUID id, UpdateFileRequest updateFileRequest) throws ApiException { - ApiResponse localVarResp = updateFileWithHttpInfo(id, updateFileRequest); - return localVarResp.getData(); - } - - /** - * - * Update a `file`. - * @param id The `file` ID. (required) - * @param updateFileRequest (required) - * @return ApiResponse<FileMetadata> - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse updateFileWithHttpInfo(UUID id, UpdateFileRequest updateFileRequest) throws ApiException { - okhttp3.Call localVarCall = updateFileValidateBeforeCall(id, updateFileRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Update a `file`. - * @param id The `file` ID. (required) - * @param updateFileRequest (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updateFileAsync(UUID id, UpdateFileRequest updateFileRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updateFileValidateBeforeCall(id, updateFileRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for uploadFile - * @param id The `file` ID. (required) - * @param body (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call uploadFileCall(UUID id, File body, final ApiCallback _callback) throws ApiException { - String basePath = null; - - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/files/{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 = { - "application/octet-stream" - }; - 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 uploadFileValidateBeforeCall(UUID id, File body, 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 uploadFile(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling uploadFile(Async)"); - } - - - okhttp3.Call localVarCall = uploadFileCall(id, body, _callback); - return localVarCall; - - } - - /** - * - * Upload a `file`. Once uploaded, create either parts or geometry sets via the createPart or createGeometrySet APIs. - * @param id The `file` ID. (required) - * @param body (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public void uploadFile(UUID id, File body) throws ApiException { - uploadFileWithHttpInfo(id, body); - } - - /** - * - * Upload a `file`. Once uploaded, create either parts or geometry sets via the createPart or createGeometrySet APIs. - * @param id The `file` ID. (required) - * @param body (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse uploadFileWithHttpInfo(UUID id, File body) throws ApiException { - okhttp3.Call localVarCall = uploadFileValidateBeforeCall(id, body, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * Upload a `file`. Once uploaded, create either parts or geometry sets via the createPart or createGeometrySet APIs. - * @param id The `file` ID. (required) - * @param body (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call uploadFileAsync(UUID id, File body, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = uploadFileValidateBeforeCall(id, body, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/GeometrySetsApi.java b/src/main/java/com/vertexvis/api/GeometrySetsApi.java deleted file mode 100644 index 2e55ef5d..00000000 --- a/src/main/java/com/vertexvis/api/GeometrySetsApi.java +++ /dev/null @@ -1,501 +0,0 @@ -/* - * 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.CreateGeometrySetRequest; -import com.vertexvis.model.Failure; -import com.vertexvis.model.GeometrySet; -import com.vertexvis.model.GeometrySetList; -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 GeometrySetsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public GeometrySetsApi() { - this(Configuration.getDefaultApiClient()); - } - - public GeometrySetsApi(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 createGeometrySet - * @param createGeometrySetRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call createGeometrySetCall(CreateGeometrySetRequest createGeometrySetRequest, 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 = createGeometrySetRequest; - - // create path and map variables - String localVarPath = "/geometry-sets"; - - 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 createGeometrySetValidateBeforeCall(CreateGeometrySetRequest createGeometrySetRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'createGeometrySetRequest' is set - if (createGeometrySetRequest == null) { - throw new ApiException("Missing the required parameter 'createGeometrySetRequest' when calling createGeometrySet(Async)"); - } - - - okhttp3.Call localVarCall = createGeometrySetCall(createGeometrySetRequest, _callback); - return localVarCall; - - } - - /** - * - * Create a `geometry-set`. Once created, create scenes via the createScene API. For details, see our [Import data](https://developer.vertexvis.com/docs/guides/import-data-with-api) guide. - * @param createGeometrySetRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public QueuedJob createGeometrySet(CreateGeometrySetRequest createGeometrySetRequest) throws ApiException { - ApiResponse localVarResp = createGeometrySetWithHttpInfo(createGeometrySetRequest); - return localVarResp.getData(); - } - - /** - * - * Create a `geometry-set`. Once created, create scenes via the createScene API. For details, see our [Import data](https://developer.vertexvis.com/docs/guides/import-data-with-api) guide. - * @param createGeometrySetRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public ApiResponse createGeometrySetWithHttpInfo(CreateGeometrySetRequest createGeometrySetRequest) throws ApiException { - okhttp3.Call localVarCall = createGeometrySetValidateBeforeCall(createGeometrySetRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create a `geometry-set`. Once created, create scenes via the createScene API. For details, see our [Import data](https://developer.vertexvis.com/docs/guides/import-data-with-api) guide. - * @param createGeometrySetRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call createGeometrySetAsync(CreateGeometrySetRequest createGeometrySetRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createGeometrySetValidateBeforeCall(createGeometrySetRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getGeometrySet - * @param id The `geometry-set` 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 getGeometrySetCall(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 = "/geometry-sets/{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 getGeometrySetValidateBeforeCall(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 getGeometrySet(Async)"); - } - - - okhttp3.Call localVarCall = getGeometrySetCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `geometry-set` by ID. - * @param id The `geometry-set` ID. (required) - * @return GeometrySet - * @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 GeometrySet getGeometrySet(UUID id) throws ApiException { - ApiResponse localVarResp = getGeometrySetWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `geometry-set` by ID. - * @param id The `geometry-set` ID. (required) - * @return ApiResponse<GeometrySet> - * @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 getGeometrySetWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getGeometrySetValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `geometry-set` by ID. - * @param id The `geometry-set` 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 getGeometrySetAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getGeometrySetValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getGeometrySets - * @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 -
415 Unsupported Media Type -
- */ - public okhttp3.Call getGeometrySetsCall(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 = "/geometry-sets"; - - 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 getGeometrySetsValidateBeforeCall(String pageCursor, Integer pageSize, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getGeometrySetsCall(pageCursor, pageSize, _callback); - return localVarCall; - - } - - /** - * - * Get `geometry-sets`. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @return GeometrySetList - * @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 -
415 Unsupported Media Type -
- */ - public GeometrySetList getGeometrySets(String pageCursor, Integer pageSize) throws ApiException { - ApiResponse localVarResp = getGeometrySetsWithHttpInfo(pageCursor, pageSize); - return localVarResp.getData(); - } - - /** - * - * Get `geometry-sets`. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @return ApiResponse<GeometrySetList> - * @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 -
415 Unsupported Media Type -
- */ - public ApiResponse getGeometrySetsWithHttpInfo(String pageCursor, Integer pageSize) throws ApiException { - okhttp3.Call localVarCall = getGeometrySetsValidateBeforeCall(pageCursor, pageSize, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get `geometry-sets`. - * @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 -
415 Unsupported Media Type -
- */ - public okhttp3.Call getGeometrySetsAsync(String pageCursor, Integer pageSize, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getGeometrySetsValidateBeforeCall(pageCursor, pageSize, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/HitsApi.java b/src/main/java/com/vertexvis/api/HitsApi.java deleted file mode 100644 index ac1c0890..00000000 --- a/src/main/java/com/vertexvis/api/HitsApi.java +++ /dev/null @@ -1,416 +0,0 @@ -/* - * 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.CreateHitRequest; -import com.vertexvis.model.Failure; -import com.vertexvis.model.Hit; -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 HitsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public HitsApi() { - this(Configuration.getDefaultApiClient()); - } - - public HitsApi(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 createSceneHit - * @param id The `scene` ID. (required) - * @param createHitRequest (required) - * @param include Comma-separated list of relationships to include in response. (optional) - * @param fieldsPartRevision Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested. (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
201 Created * location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createSceneHitCall(UUID id, CreateHitRequest createHitRequest, String include, String fieldsPartRevision, 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 = createHitRequest; - - // create path and map variables - String localVarPath = "/scenes/{id}/hits" - .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(); - - if (include != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("include", include)); - } - - if (fieldsPartRevision != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fields[part-revision]", fieldsPartRevision)); - } - - 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 createSceneHitValidateBeforeCall(UUID id, CreateHitRequest createHitRequest, String include, String fieldsPartRevision, 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 createSceneHit(Async)"); - } - - // verify the required parameter 'createHitRequest' is set - if (createHitRequest == null) { - throw new ApiException("Missing the required parameter 'createHitRequest' when calling createSceneHit(Async)"); - } - - - okhttp3.Call localVarCall = createSceneHitCall(id, createHitRequest, include, fieldsPartRevision, _callback); - return localVarCall; - - } - - /** - * - * Create a `hit` for a `scene`. - * @param id The `scene` ID. (required) - * @param createHitRequest (required) - * @param include Comma-separated list of relationships to include in response. (optional) - * @param fieldsPartRevision Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested. (optional) - * @return Hit - * @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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public Hit createSceneHit(UUID id, CreateHitRequest createHitRequest, String include, String fieldsPartRevision) throws ApiException { - ApiResponse localVarResp = createSceneHitWithHttpInfo(id, createHitRequest, include, fieldsPartRevision); - return localVarResp.getData(); - } - - /** - * - * Create a `hit` for a `scene`. - * @param id The `scene` ID. (required) - * @param createHitRequest (required) - * @param include Comma-separated list of relationships to include in response. (optional) - * @param fieldsPartRevision Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested. (optional) - * @return ApiResponse<Hit> - * @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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse createSceneHitWithHttpInfo(UUID id, CreateHitRequest createHitRequest, String include, String fieldsPartRevision) throws ApiException { - okhttp3.Call localVarCall = createSceneHitValidateBeforeCall(id, createHitRequest, include, fieldsPartRevision, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create a `hit` for a `scene`. - * @param id The `scene` ID. (required) - * @param createHitRequest (required) - * @param include Comma-separated list of relationships to include in response. (optional) - * @param fieldsPartRevision Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested. (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
201 Created * location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createSceneHitAsync(UUID id, CreateHitRequest createHitRequest, String include, String fieldsPartRevision, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createSceneHitValidateBeforeCall(id, createHitRequest, include, fieldsPartRevision, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for createSceneViewHit - * @param id The `scene-view` ID. (required) - * @param createHitRequest (required) - * @param include Comma-separated list of relationships to include in response. (optional) - * @param fieldsPartRevision Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested. (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
201 Created * location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createSceneViewHitCall(UUID id, CreateHitRequest createHitRequest, String include, String fieldsPartRevision, 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 = createHitRequest; - - // create path and map variables - String localVarPath = "/scene-views/{id}/hits" - .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(); - - if (include != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("include", include)); - } - - if (fieldsPartRevision != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fields[part-revision]", fieldsPartRevision)); - } - - 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 createSceneViewHitValidateBeforeCall(UUID id, CreateHitRequest createHitRequest, String include, String fieldsPartRevision, 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 createSceneViewHit(Async)"); - } - - // verify the required parameter 'createHitRequest' is set - if (createHitRequest == null) { - throw new ApiException("Missing the required parameter 'createHitRequest' when calling createSceneViewHit(Async)"); - } - - - okhttp3.Call localVarCall = createSceneViewHitCall(id, createHitRequest, include, fieldsPartRevision, _callback); - return localVarCall; - - } - - /** - * - * Create a `hit` for a `scene-view`. - * @param id The `scene-view` ID. (required) - * @param createHitRequest (required) - * @param include Comma-separated list of relationships to include in response. (optional) - * @param fieldsPartRevision Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested. (optional) - * @return Hit - * @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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public Hit createSceneViewHit(UUID id, CreateHitRequest createHitRequest, String include, String fieldsPartRevision) throws ApiException { - ApiResponse localVarResp = createSceneViewHitWithHttpInfo(id, createHitRequest, include, fieldsPartRevision); - return localVarResp.getData(); - } - - /** - * - * Create a `hit` for a `scene-view`. - * @param id The `scene-view` ID. (required) - * @param createHitRequest (required) - * @param include Comma-separated list of relationships to include in response. (optional) - * @param fieldsPartRevision Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested. (optional) - * @return ApiResponse<Hit> - * @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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse createSceneViewHitWithHttpInfo(UUID id, CreateHitRequest createHitRequest, String include, String fieldsPartRevision) throws ApiException { - okhttp3.Call localVarCall = createSceneViewHitValidateBeforeCall(id, createHitRequest, include, fieldsPartRevision, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create a `hit` for a `scene-view`. - * @param id The `scene-view` ID. (required) - * @param createHitRequest (required) - * @param include Comma-separated list of relationships to include in response. (optional) - * @param fieldsPartRevision Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested. (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
201 Created * location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createSceneViewHitAsync(UUID id, CreateHitRequest createHitRequest, String include, String fieldsPartRevision, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createSceneViewHitValidateBeforeCall(id, createHitRequest, include, fieldsPartRevision, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/ModelViewsApi.java b/src/main/java/com/vertexvis/api/ModelViewsApi.java deleted file mode 100644 index 296743fe..00000000 --- a/src/main/java/com/vertexvis/api/ModelViewsApi.java +++ /dev/null @@ -1,546 +0,0 @@ -/* - * 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.Failure; -import com.vertexvis.model.ModelView; -import com.vertexvis.model.ModelViewList; -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 ModelViewsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public ModelViewsApi() { - this(Configuration.getDefaultApiClient()); - } - - public ModelViewsApi(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 getModelView - * @param id The `model-view` 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 getModelViewCall(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 = "/model-views/{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 getModelViewValidateBeforeCall(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 getModelView(Async)"); - } - - - okhttp3.Call localVarCall = getModelViewCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get the details of a `model-view`. - * @param id The `model-view` ID. (required) - * @return ModelView - * @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 ModelView getModelView(UUID id) throws ApiException { - ApiResponse localVarResp = getModelViewWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get the details of a `model-view`. - * @param id The `model-view` ID. (required) - * @return ApiResponse<ModelView> - * @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 getModelViewWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getModelViewValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get the details of a `model-view`. - * @param id The `model-view` 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 getModelViewAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getModelViewValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getPartRevisionModelViews - * @param id The `part-revision` ID. (required) - * @param filterHasAnnotations Filter model views that contain or do not contain annotations. (optional) - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getPartRevisionModelViewsCall(UUID id, Boolean filterHasAnnotations, 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 = "/part-revisions/{id}/model-views" - .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(); - - if (filterHasAnnotations != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[hasAnnotations]", filterHasAnnotations)); - } - - 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 getPartRevisionModelViewsValidateBeforeCall(UUID id, Boolean filterHasAnnotations, String pageCursor, Integer pageSize, 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 getPartRevisionModelViews(Async)"); - } - - - okhttp3.Call localVarCall = getPartRevisionModelViewsCall(id, filterHasAnnotations, pageCursor, pageSize, _callback); - return localVarCall; - - } - - /** - * - * Get a paged list of `model-views` for a part revision. - * @param id The `part-revision` ID. (required) - * @param filterHasAnnotations Filter model views that contain or do not contain annotations. (optional) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @return ModelViewList - * @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 ModelViewList getPartRevisionModelViews(UUID id, Boolean filterHasAnnotations, String pageCursor, Integer pageSize) throws ApiException { - ApiResponse localVarResp = getPartRevisionModelViewsWithHttpInfo(id, filterHasAnnotations, pageCursor, pageSize); - return localVarResp.getData(); - } - - /** - * - * Get a paged list of `model-views` for a part revision. - * @param id The `part-revision` ID. (required) - * @param filterHasAnnotations Filter model views that contain or do not contain annotations. (optional) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @return ApiResponse<ModelViewList> - * @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 getPartRevisionModelViewsWithHttpInfo(UUID id, Boolean filterHasAnnotations, String pageCursor, Integer pageSize) throws ApiException { - okhttp3.Call localVarCall = getPartRevisionModelViewsValidateBeforeCall(id, filterHasAnnotations, pageCursor, pageSize, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a paged list of `model-views` for a part revision. - * @param id The `part-revision` ID. (required) - * @param filterHasAnnotations Filter model views that contain or do not contain annotations. (optional) - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getPartRevisionModelViewsAsync(UUID id, Boolean filterHasAnnotations, String pageCursor, Integer pageSize, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getPartRevisionModelViewsValidateBeforeCall(id, filterHasAnnotations, pageCursor, pageSize, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getSceneItemModelViews - * @param id The `scene-item` ID. (required) - * @param filterHasAnnotations Filter model views that contain or do not contain annotations. (optional) - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneItemModelViewsCall(UUID id, Boolean filterHasAnnotations, 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 = "/scene-items/{id}/model-views" - .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(); - - if (filterHasAnnotations != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[hasAnnotations]", filterHasAnnotations)); - } - - 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 getSceneItemModelViewsValidateBeforeCall(UUID id, Boolean filterHasAnnotations, String pageCursor, Integer pageSize, 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 getSceneItemModelViews(Async)"); - } - - - okhttp3.Call localVarCall = getSceneItemModelViewsCall(id, filterHasAnnotations, pageCursor, pageSize, _callback); - return localVarCall; - - } - - /** - * - * Get a paged list of `model-views` for a scene item. - * @param id The `scene-item` ID. (required) - * @param filterHasAnnotations Filter model views that contain or do not contain annotations. (optional) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @return ModelViewList - * @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 ModelViewList getSceneItemModelViews(UUID id, Boolean filterHasAnnotations, String pageCursor, Integer pageSize) throws ApiException { - ApiResponse localVarResp = getSceneItemModelViewsWithHttpInfo(id, filterHasAnnotations, pageCursor, pageSize); - return localVarResp.getData(); - } - - /** - * - * Get a paged list of `model-views` for a scene item. - * @param id The `scene-item` ID. (required) - * @param filterHasAnnotations Filter model views that contain or do not contain annotations. (optional) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @return ApiResponse<ModelViewList> - * @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 getSceneItemModelViewsWithHttpInfo(UUID id, Boolean filterHasAnnotations, String pageCursor, Integer pageSize) throws ApiException { - okhttp3.Call localVarCall = getSceneItemModelViewsValidateBeforeCall(id, filterHasAnnotations, pageCursor, pageSize, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a paged list of `model-views` for a scene item. - * @param id The `scene-item` ID. (required) - * @param filterHasAnnotations Filter model views that contain or do not contain annotations. (optional) - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneItemModelViewsAsync(UUID id, Boolean filterHasAnnotations, String pageCursor, Integer pageSize, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getSceneItemModelViewsValidateBeforeCall(id, filterHasAnnotations, pageCursor, pageSize, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/Oauth2Api.java b/src/main/java/com/vertexvis/api/Oauth2Api.java deleted file mode 100644 index a5b2abee..00000000 --- a/src/main/java/com/vertexvis/api/Oauth2Api.java +++ /dev/null @@ -1,662 +0,0 @@ -/* - * 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.AdminConsentAcceptRequest; -import com.vertexvis.model.AdminLoginAcceptRequest; -import com.vertexvis.model.AdminRedirectTo; -import com.vertexvis.model.Failure; -import com.vertexvis.model.OAuth2BadRequest; -import com.vertexvis.model.OAuth2Token; -import com.vertexvis.model.RevokeOAuth2TokenRequest; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class Oauth2Api { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public Oauth2Api() { - this(Configuration.getDefaultApiClient()); - } - - public Oauth2Api(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 adminAcceptConsent - * @param challenge Challenge ID from oauth2 flow (required) - * @param adminConsentAcceptRequest (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 -
400 Bad Request -
401 Unauthorized -
- */ - public okhttp3.Call adminAcceptConsentCall(String challenge, AdminConsentAcceptRequest adminConsentAcceptRequest, 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 = adminConsentAcceptRequest; - - // create path and map variables - String localVarPath = "/oauth2/auth/requests/consent/accept"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (challenge != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("challenge", challenge)); - } - - 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[] { "OAuth2Internal" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call adminAcceptConsentValidateBeforeCall(String challenge, AdminConsentAcceptRequest adminConsentAcceptRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'challenge' is set - if (challenge == null) { - throw new ApiException("Missing the required parameter 'challenge' when calling adminAcceptConsent(Async)"); - } - - - okhttp3.Call localVarCall = adminAcceptConsentCall(challenge, adminConsentAcceptRequest, _callback); - return localVarCall; - - } - - /** - * - * Accept Consent Challenge to login. - * @param challenge Challenge ID from oauth2 flow (required) - * @param adminConsentAcceptRequest (optional) - * @return AdminRedirectTo - * @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 AdminRedirectTo adminAcceptConsent(String challenge, AdminConsentAcceptRequest adminConsentAcceptRequest) throws ApiException { - ApiResponse localVarResp = adminAcceptConsentWithHttpInfo(challenge, adminConsentAcceptRequest); - return localVarResp.getData(); - } - - /** - * - * Accept Consent Challenge to login. - * @param challenge Challenge ID from oauth2 flow (required) - * @param adminConsentAcceptRequest (optional) - * @return ApiResponse<AdminRedirectTo> - * @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 adminAcceptConsentWithHttpInfo(String challenge, AdminConsentAcceptRequest adminConsentAcceptRequest) throws ApiException { - okhttp3.Call localVarCall = adminAcceptConsentValidateBeforeCall(challenge, adminConsentAcceptRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Accept Consent Challenge to login. - * @param challenge Challenge ID from oauth2 flow (required) - * @param adminConsentAcceptRequest (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 -
400 Bad Request -
401 Unauthorized -
- */ - public okhttp3.Call adminAcceptConsentAsync(String challenge, AdminConsentAcceptRequest adminConsentAcceptRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = adminAcceptConsentValidateBeforeCall(challenge, adminConsentAcceptRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for adminAcceptLogin - * @param loginChallenge Login Challenge ID from oauth2 flow (required) - * @param adminLoginAcceptRequest (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 adminAcceptLoginCall(String loginChallenge, AdminLoginAcceptRequest adminLoginAcceptRequest, 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 = adminLoginAcceptRequest; - - // create path and map variables - String localVarPath = "/oauth2/auth/requests/login/accept"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (loginChallenge != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("login_challenge", loginChallenge)); - } - - 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[] { "OAuth2Internal" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call adminAcceptLoginValidateBeforeCall(String loginChallenge, AdminLoginAcceptRequest adminLoginAcceptRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'loginChallenge' is set - if (loginChallenge == null) { - throw new ApiException("Missing the required parameter 'loginChallenge' when calling adminAcceptLogin(Async)"); - } - - // verify the required parameter 'adminLoginAcceptRequest' is set - if (adminLoginAcceptRequest == null) { - throw new ApiException("Missing the required parameter 'adminLoginAcceptRequest' when calling adminAcceptLogin(Async)"); - } - - - okhttp3.Call localVarCall = adminAcceptLoginCall(loginChallenge, adminLoginAcceptRequest, _callback); - return localVarCall; - - } - - /** - * - * Accept Login Challenge with subject & login challenge - * @param loginChallenge Login Challenge ID from oauth2 flow (required) - * @param adminLoginAcceptRequest (required) - * @return AdminRedirectTo - * @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 AdminRedirectTo adminAcceptLogin(String loginChallenge, AdminLoginAcceptRequest adminLoginAcceptRequest) throws ApiException { - ApiResponse localVarResp = adminAcceptLoginWithHttpInfo(loginChallenge, adminLoginAcceptRequest); - return localVarResp.getData(); - } - - /** - * - * Accept Login Challenge with subject & login challenge - * @param loginChallenge Login Challenge ID from oauth2 flow (required) - * @param adminLoginAcceptRequest (required) - * @return ApiResponse<AdminRedirectTo> - * @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 adminAcceptLoginWithHttpInfo(String loginChallenge, AdminLoginAcceptRequest adminLoginAcceptRequest) throws ApiException { - okhttp3.Call localVarCall = adminAcceptLoginValidateBeforeCall(loginChallenge, adminLoginAcceptRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Accept Login Challenge with subject & login challenge - * @param loginChallenge Login Challenge ID from oauth2 flow (required) - * @param adminLoginAcceptRequest (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 adminAcceptLoginAsync(String loginChallenge, AdminLoginAcceptRequest adminLoginAcceptRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = adminAcceptLoginValidateBeforeCall(loginChallenge, adminLoginAcceptRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for createToken - * @param grantType (required) - * @param scope (optional) - * @param code (optional) - * @param redirectUri (optional) - * @param refreshToken (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 -
400 Invalid or missing request. -
- */ - public okhttp3.Call createTokenCall(String grantType, String scope, String code, String redirectUri, String refreshToken, 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 = "/oauth2/token"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (scope != null) { - localVarFormParams.put("scope", scope); - } - - if (code != null) { - localVarFormParams.put("code", code); - } - - if (redirectUri != null) { - localVarFormParams.put("redirect_uri", redirectUri); - } - - if (grantType != null) { - localVarFormParams.put("grant_type", grantType); - } - - if (refreshToken != null) { - localVarFormParams.put("refresh_token", refreshToken); - } - - final String[] localVarAccepts = { - "application/vnd.api+json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/x-www-form-urlencoded" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "basicAuth" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createTokenValidateBeforeCall(String grantType, String scope, String code, String redirectUri, String refreshToken, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'grantType' is set - if (grantType == null) { - throw new ApiException("Missing the required parameter 'grantType' when calling createToken(Async)"); - } - - - okhttp3.Call localVarCall = createTokenCall(grantType, scope, code, redirectUri, refreshToken, _callback); - return localVarCall; - - } - - /** - * - * Create an OAuth2 access token. For details, see our [Authentication](https://developer.vertexvis.com/docs/guides/authentication) guide. - * @param grantType (required) - * @param scope (optional) - * @param code (optional) - * @param redirectUri (optional) - * @param refreshToken (optional) - * @return OAuth2Token - * @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 Invalid or missing request. -
- */ - public OAuth2Token createToken(String grantType, String scope, String code, String redirectUri, String refreshToken) throws ApiException { - ApiResponse localVarResp = createTokenWithHttpInfo(grantType, scope, code, redirectUri, refreshToken); - return localVarResp.getData(); - } - - /** - * - * Create an OAuth2 access token. For details, see our [Authentication](https://developer.vertexvis.com/docs/guides/authentication) guide. - * @param grantType (required) - * @param scope (optional) - * @param code (optional) - * @param redirectUri (optional) - * @param refreshToken (optional) - * @return ApiResponse<OAuth2Token> - * @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 Invalid or missing request. -
- */ - public ApiResponse createTokenWithHttpInfo(String grantType, String scope, String code, String redirectUri, String refreshToken) throws ApiException { - okhttp3.Call localVarCall = createTokenValidateBeforeCall(grantType, scope, code, redirectUri, refreshToken, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create an OAuth2 access token. For details, see our [Authentication](https://developer.vertexvis.com/docs/guides/authentication) guide. - * @param grantType (required) - * @param scope (optional) - * @param code (optional) - * @param redirectUri (optional) - * @param refreshToken (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 -
400 Invalid or missing request. -
- */ - public okhttp3.Call createTokenAsync(String grantType, String scope, String code, String redirectUri, String refreshToken, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createTokenValidateBeforeCall(grantType, scope, code, redirectUri, refreshToken, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for revokeToken - * @param revokeOAuth2TokenRequest (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 -
- */ - public okhttp3.Call revokeTokenCall(RevokeOAuth2TokenRequest revokeOAuth2TokenRequest, 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 = revokeOAuth2TokenRequest; - - // create path and map variables - String localVarPath = "/oauth2/revoke"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - - }; - 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[] { "basicAuth" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call revokeTokenValidateBeforeCall(RevokeOAuth2TokenRequest revokeOAuth2TokenRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'revokeOAuth2TokenRequest' is set - if (revokeOAuth2TokenRequest == null) { - throw new ApiException("Missing the required parameter 'revokeOAuth2TokenRequest' when calling revokeToken(Async)"); - } - - - okhttp3.Call localVarCall = revokeTokenCall(revokeOAuth2TokenRequest, _callback); - return localVarCall; - - } - - /** - * - * Revoke an OAuth2 access token. - * @param revokeOAuth2TokenRequest (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 -
- */ - public void revokeToken(RevokeOAuth2TokenRequest revokeOAuth2TokenRequest) throws ApiException { - revokeTokenWithHttpInfo(revokeOAuth2TokenRequest); - } - - /** - * - * Revoke an OAuth2 access token. - * @param revokeOAuth2TokenRequest (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 -
- */ - public ApiResponse revokeTokenWithHttpInfo(RevokeOAuth2TokenRequest revokeOAuth2TokenRequest) throws ApiException { - okhttp3.Call localVarCall = revokeTokenValidateBeforeCall(revokeOAuth2TokenRequest, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * Revoke an OAuth2 access token. - * @param revokeOAuth2TokenRequest (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 -
- */ - public okhttp3.Call revokeTokenAsync(RevokeOAuth2TokenRequest revokeOAuth2TokenRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = revokeTokenValidateBeforeCall(revokeOAuth2TokenRequest, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/PartRenditionsApi.java b/src/main/java/com/vertexvis/api/PartRenditionsApi.java deleted file mode 100644 index b842783d..00000000 --- a/src/main/java/com/vertexvis/api/PartRenditionsApi.java +++ /dev/null @@ -1,535 +0,0 @@ -/* - * 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.CreatePartRenditionRequest; -import com.vertexvis.model.Failure; -import com.vertexvis.model.PartRendition; -import com.vertexvis.model.PartRenditionList; -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 PartRenditionsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public PartRenditionsApi() { - this(Configuration.getDefaultApiClient()); - } - - public PartRenditionsApi(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 createPartRendition - * @param id The `part-revision` ID. (required) - * @param createPartRenditionRequest (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 -
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createPartRenditionCall(UUID id, CreatePartRenditionRequest createPartRenditionRequest, 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 = createPartRenditionRequest; - - // create path and map variables - String localVarPath = "/part-revisions/{id}/part-renditions" - .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 = { - "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 createPartRenditionValidateBeforeCall(UUID id, CreatePartRenditionRequest createPartRenditionRequest, 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 createPartRendition(Async)"); - } - - // verify the required parameter 'createPartRenditionRequest' is set - if (createPartRenditionRequest == null) { - throw new ApiException("Missing the required parameter 'createPartRenditionRequest' when calling createPartRendition(Async)"); - } - - - okhttp3.Call localVarCall = createPartRenditionCall(id, createPartRenditionRequest, _callback); - return localVarCall; - - } - - /** - * - * Creates a part-rendition associated with a part-revision - * @param id The `part-revision` ID. (required) - * @param createPartRenditionRequest (required) - * @return PartRendition - * @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 -
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public PartRendition createPartRendition(UUID id, CreatePartRenditionRequest createPartRenditionRequest) throws ApiException { - ApiResponse localVarResp = createPartRenditionWithHttpInfo(id, createPartRenditionRequest); - return localVarResp.getData(); - } - - /** - * - * Creates a part-rendition associated with a part-revision - * @param id The `part-revision` ID. (required) - * @param createPartRenditionRequest (required) - * @return ApiResponse<PartRendition> - * @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 -
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse createPartRenditionWithHttpInfo(UUID id, CreatePartRenditionRequest createPartRenditionRequest) throws ApiException { - okhttp3.Call localVarCall = createPartRenditionValidateBeforeCall(id, createPartRenditionRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Creates a part-rendition associated with a part-revision - * @param id The `part-revision` ID. (required) - * @param createPartRenditionRequest (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 -
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createPartRenditionAsync(UUID id, CreatePartRenditionRequest createPartRenditionRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createPartRenditionValidateBeforeCall(id, createPartRenditionRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getPartRendition - * @param id The `part-rendition` 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 getPartRenditionCall(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 = "/part-renditions/{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 getPartRenditionValidateBeforeCall(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 getPartRendition(Async)"); - } - - - okhttp3.Call localVarCall = getPartRenditionCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `part-rendition` by ID. - * @param id The `part-rendition` ID. (required) - * @return PartRendition - * @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 PartRendition getPartRendition(UUID id) throws ApiException { - ApiResponse localVarResp = getPartRenditionWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `part-rendition` by ID. - * @param id The `part-rendition` ID. (required) - * @return ApiResponse<PartRendition> - * @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 getPartRenditionWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getPartRenditionValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `part-rendition` by ID. - * @param id The `part-rendition` 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 getPartRenditionAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getPartRenditionValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getPartRenditions - * @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 filterRevisionId A revision ID to filter on. (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 -
415 Unsupported Media Type -
- */ - public okhttp3.Call getPartRenditionsCall(String pageCursor, Integer pageSize, String filterSuppliedId, UUID filterRevisionId, 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 = "/part-renditions"; - - 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)); - } - - if (filterSuppliedId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[suppliedId]", filterSuppliedId)); - } - - if (filterRevisionId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[revisionId]", filterRevisionId)); - } - - 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 getPartRenditionsValidateBeforeCall(String pageCursor, Integer pageSize, String filterSuppliedId, UUID filterRevisionId, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getPartRenditionsCall(pageCursor, pageSize, filterSuppliedId, filterRevisionId, _callback); - return localVarCall; - - } - - /** - * - * Get `part-renditions` with an optional filter. - * @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 filterRevisionId A revision ID to filter on. (optional) - * @return PartRenditionList - * @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 -
415 Unsupported Media Type -
- */ - public PartRenditionList getPartRenditions(String pageCursor, Integer pageSize, String filterSuppliedId, UUID filterRevisionId) throws ApiException { - ApiResponse localVarResp = getPartRenditionsWithHttpInfo(pageCursor, pageSize, filterSuppliedId, filterRevisionId); - return localVarResp.getData(); - } - - /** - * - * Get `part-renditions` with an optional filter. - * @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 filterRevisionId A revision ID to filter on. (optional) - * @return ApiResponse<PartRenditionList> - * @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 -
415 Unsupported Media Type -
- */ - public ApiResponse getPartRenditionsWithHttpInfo(String pageCursor, Integer pageSize, String filterSuppliedId, UUID filterRevisionId) throws ApiException { - okhttp3.Call localVarCall = getPartRenditionsValidateBeforeCall(pageCursor, pageSize, filterSuppliedId, filterRevisionId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get `part-renditions` with an optional filter. - * @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 filterRevisionId A revision 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 - * @http.response.details - - - - - -
Status Code Description Response Headers
200 OK -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call getPartRenditionsAsync(String pageCursor, Integer pageSize, String filterSuppliedId, UUID filterRevisionId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getPartRenditionsValidateBeforeCall(pageCursor, pageSize, filterSuppliedId, filterRevisionId, _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 deleted file mode 100644 index be1da4d3..00000000 --- a/src/main/java/com/vertexvis/api/PartRevisionInstancesApi.java +++ /dev/null @@ -1,235 +0,0 @@ -/* - * 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.Failure; -import com.vertexvis.model.PartRevisionInstanceList; -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 PartRevisionInstancesApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public PartRevisionInstancesApi() { - this(Configuration.getDefaultApiClient()); - } - - public PartRevisionInstancesApi(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 getPartRevisionInstanceList - * @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) - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getPartRevisionInstanceListCall(UUID filterParent, 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 = "/part-revision-instances"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (filterParent != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[parent]", filterParent)); - } - - 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 getPartRevisionInstanceListValidateBeforeCall(UUID filterParent, String pageCursor, Integer pageSize, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getPartRevisionInstanceListCall(filterParent, pageCursor, pageSize, _callback); - return localVarCall; - - } - - /** - * - * 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. - * @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) - * @return PartRevisionInstanceList - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public PartRevisionInstanceList getPartRevisionInstanceList(UUID filterParent, String pageCursor, Integer pageSize) throws ApiException { - ApiResponse localVarResp = getPartRevisionInstanceListWithHttpInfo(filterParent, pageCursor, pageSize); - return localVarResp.getData(); - } - - /** - * - * 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. - * @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) - * @return ApiResponse<PartRevisionInstanceList> - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse getPartRevisionInstanceListWithHttpInfo(UUID filterParent, String pageCursor, Integer pageSize) throws ApiException { - okhttp3.Call localVarCall = getPartRevisionInstanceListValidateBeforeCall(filterParent, pageCursor, pageSize, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (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. - * @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) - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getPartRevisionInstanceListAsync(UUID filterParent, String pageCursor, Integer pageSize, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getPartRevisionInstanceListValidateBeforeCall(filterParent, pageCursor, pageSize, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/PartRevisionsApi.java b/src/main/java/com/vertexvis/api/PartRevisionsApi.java deleted file mode 100644 index 6e7a0ce5..00000000 --- a/src/main/java/com/vertexvis/api/PartRevisionsApi.java +++ /dev/null @@ -1,1072 +0,0 @@ -/* - * 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 java.math.BigDecimal; -import com.vertexvis.model.Failure; -import java.io.File; -import com.vertexvis.model.PartRevision; -import com.vertexvis.model.PartRevisionList; -import com.vertexvis.model.QueuedJob; -import java.util.UUID; -import com.vertexvis.model.UpdatePartRevisionRequest; -import com.vertexvis.model.Vector3; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class PartRevisionsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public PartRevisionsApi() { - this(Configuration.getDefaultApiClient()); - } - - public PartRevisionsApi(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 deletePartRevision - * @param id The `part-revision` 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
202 Accepted * content-location -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deletePartRevisionCall(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 = "/part-revisions/{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 deletePartRevisionValidateBeforeCall(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 deletePartRevision(Async)"); - } - - - okhttp3.Call localVarCall = deletePartRevisionCall(id, _callback); - return localVarCall; - - } - - /** - * - * Delete a `part-revision`. - * @param id The `part-revision` ID. (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
202 Accepted * content-location -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public QueuedJob deletePartRevision(UUID id) throws ApiException { - ApiResponse localVarResp = deletePartRevisionWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Delete a `part-revision`. - * @param id The `part-revision` ID. (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
202 Accepted * content-location -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse deletePartRevisionWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = deletePartRevisionValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Delete a `part-revision`. - * @param id The `part-revision` 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
202 Accepted * content-location -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deletePartRevisionAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deletePartRevisionValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getPartRevision - * @param id The `part-revision` ID. (required) - * @param fieldsPartRevision Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested. (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getPartRevisionCall(UUID id, String fieldsPartRevision, 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 = "/part-revisions/{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(); - - if (fieldsPartRevision != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fields[part-revision]", fieldsPartRevision)); - } - - 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 getPartRevisionValidateBeforeCall(UUID id, String fieldsPartRevision, 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 getPartRevision(Async)"); - } - - - okhttp3.Call localVarCall = getPartRevisionCall(id, fieldsPartRevision, _callback); - return localVarCall; - - } - - /** - * - * Get a `part-revision` by ID. - * @param id The `part-revision` ID. (required) - * @param fieldsPartRevision Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested. (optional) - * @return PartRevision - * @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 PartRevision getPartRevision(UUID id, String fieldsPartRevision) throws ApiException { - ApiResponse localVarResp = getPartRevisionWithHttpInfo(id, fieldsPartRevision); - return localVarResp.getData(); - } - - /** - * - * Get a `part-revision` by ID. - * @param id The `part-revision` ID. (required) - * @param fieldsPartRevision Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested. (optional) - * @return ApiResponse<PartRevision> - * @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 getPartRevisionWithHttpInfo(UUID id, String fieldsPartRevision) throws ApiException { - okhttp3.Call localVarCall = getPartRevisionValidateBeforeCall(id, fieldsPartRevision, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `part-revision` by ID. - * @param id The `part-revision` ID. (required) - * @param fieldsPartRevision Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested. (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getPartRevisionAsync(UUID id, String fieldsPartRevision, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getPartRevisionValidateBeforeCall(id, fieldsPartRevision, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getPartRevisions - * @param id The `part` ID. (required) - * @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 _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 getPartRevisionsCall(UUID id, String pageCursor, Integer pageSize, String filterSuppliedId, 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 = "/parts/{id}/part-revisions" - .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(); - - if (pageCursor != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("page[cursor]", pageCursor)); - } - - if (pageSize != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("page[size]", pageSize)); - } - - if (filterSuppliedId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[suppliedId]", filterSuppliedId)); - } - - 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 getPartRevisionsValidateBeforeCall(UUID id, String pageCursor, Integer pageSize, String filterSuppliedId, 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 getPartRevisions(Async)"); - } - - - okhttp3.Call localVarCall = getPartRevisionsCall(id, pageCursor, pageSize, filterSuppliedId, _callback); - return localVarCall; - - } - - /** - * - * Get `part-revisions` for a `part`. - * @param id The `part` ID. (required) - * @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) - * @return PartRevisionList - * @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 PartRevisionList getPartRevisions(UUID id, String pageCursor, Integer pageSize, String filterSuppliedId) throws ApiException { - ApiResponse localVarResp = getPartRevisionsWithHttpInfo(id, pageCursor, pageSize, filterSuppliedId); - return localVarResp.getData(); - } - - /** - * - * Get `part-revisions` for a `part`. - * @param id The `part` ID. (required) - * @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) - * @return ApiResponse<PartRevisionList> - * @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 getPartRevisionsWithHttpInfo(UUID id, String pageCursor, Integer pageSize, String filterSuppliedId) throws ApiException { - okhttp3.Call localVarCall = getPartRevisionsValidateBeforeCall(id, pageCursor, pageSize, filterSuppliedId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get `part-revisions` for a `part`. - * @param id The `part` ID. (required) - * @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 _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 getPartRevisionsAsync(UUID id, String pageCursor, Integer pageSize, String filterSuppliedId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getPartRevisionsValidateBeforeCall(id, pageCursor, pageSize, filterSuppliedId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getQueuedPartRevisionDeletion - * @param id The `queued-part-revision-deletion` 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 getQueuedPartRevisionDeletionCall(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 = "/queued-part-revision-deletions/{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 getQueuedPartRevisionDeletionValidateBeforeCall(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 getQueuedPartRevisionDeletion(Async)"); - } - - - okhttp3.Call localVarCall = getQueuedPartRevisionDeletionCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `queued-part-revision-deletion` by ID. - * @param id The `queued-part-revision-deletion` ID. (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 getQueuedPartRevisionDeletion(UUID id) throws ApiException { - ApiResponse localVarResp = getQueuedPartRevisionDeletionWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `queued-part-revision-deletion` by ID. - * @param id The `queued-part-revision-deletion` ID. (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 getQueuedPartRevisionDeletionWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getQueuedPartRevisionDeletionValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `queued-part-revision-deletion` by ID. - * @param id The `queued-part-revision-deletion` 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 getQueuedPartRevisionDeletionAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getQueuedPartRevisionDeletionValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for renderPartRevision - * @param id The `part-revision` ID. (required) - * @param height The height of the image to render. (optional) - * @param width The width of the image to render. (optional) - * @param cameraPosition The `camera` position vector. (optional) - * @param cameraUp The `camera` up vector. (optional) - * @param cameraLookAt The `camera` lookAt vector. (optional) - * @param cameraPerspectivePosition The perspective camera position. (optional) - * @param cameraPerspectiveLookAt The perspective camera look at position. (optional) - * @param cameraPerspectiveUp The perspective camera up vector. (optional) - * @param cameraOrthographicViewVector The orthographic camera view vector. (optional) - * @param cameraOrthographicLookAt The orthographic camera look at position. (optional) - * @param cameraOrthographicUp The orthographic camera up vector. (optional) - * @param cameraOrthographicFovHeight The orthographic field-of-view height. (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 -
404 Not Found -
415 Unsupported Media Type -
504 GatewayTimeout -
- */ - public okhttp3.Call renderPartRevisionCall(UUID id, Integer height, Integer width, Vector3 cameraPosition, Vector3 cameraUp, Vector3 cameraLookAt, Vector3 cameraPerspectivePosition, Vector3 cameraPerspectiveLookAt, Vector3 cameraPerspectiveUp, Vector3 cameraOrthographicViewVector, Vector3 cameraOrthographicLookAt, Vector3 cameraOrthographicUp, BigDecimal cameraOrthographicFovHeight, 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 = "/part-revisions/{id}/image" - .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(); - - if (height != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("height", height)); - } - - if (width != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("width", width)); - } - - if (cameraPosition != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("camera[position]", cameraPosition)); - } - - if (cameraUp != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("camera[up]", cameraUp)); - } - - if (cameraLookAt != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("camera[lookAt]", cameraLookAt)); - } - - if (cameraPerspectivePosition != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("camera[perspective][position]", cameraPerspectivePosition)); - } - - if (cameraPerspectiveLookAt != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("camera[perspective][lookAt]", cameraPerspectiveLookAt)); - } - - if (cameraPerspectiveUp != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("camera[perspective][up]", cameraPerspectiveUp)); - } - - if (cameraOrthographicViewVector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("camera[orthographic][viewVector]", cameraOrthographicViewVector)); - } - - if (cameraOrthographicLookAt != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("camera[orthographic][lookAt]", cameraOrthographicLookAt)); - } - - if (cameraOrthographicUp != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("camera[orthographic][up]", cameraOrthographicUp)); - } - - if (cameraOrthographicFovHeight != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("camera[orthographic][fovHeight]", cameraOrthographicFovHeight)); - } - - final String[] localVarAccepts = { - "image/jpeg", "image/png", "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 renderPartRevisionValidateBeforeCall(UUID id, Integer height, Integer width, Vector3 cameraPosition, Vector3 cameraUp, Vector3 cameraLookAt, Vector3 cameraPerspectivePosition, Vector3 cameraPerspectiveLookAt, Vector3 cameraPerspectiveUp, Vector3 cameraOrthographicViewVector, Vector3 cameraOrthographicLookAt, Vector3 cameraOrthographicUp, BigDecimal cameraOrthographicFovHeight, 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 renderPartRevision(Async)"); - } - - - okhttp3.Call localVarCall = renderPartRevisionCall(id, height, width, cameraPosition, cameraUp, cameraLookAt, cameraPerspectivePosition, cameraPerspectiveLookAt, cameraPerspectiveUp, cameraOrthographicViewVector, cameraOrthographicLookAt, cameraOrthographicUp, cameraOrthographicFovHeight, _callback); - return localVarCall; - - } - - /** - * - * Get a rendered image of a `part-revision`. - * @param id The `part-revision` ID. (required) - * @param height The height of the image to render. (optional) - * @param width The width of the image to render. (optional) - * @param cameraPosition The `camera` position vector. (optional) - * @param cameraUp The `camera` up vector. (optional) - * @param cameraLookAt The `camera` lookAt vector. (optional) - * @param cameraPerspectivePosition The perspective camera position. (optional) - * @param cameraPerspectiveLookAt The perspective camera look at position. (optional) - * @param cameraPerspectiveUp The perspective camera up vector. (optional) - * @param cameraOrthographicViewVector The orthographic camera view vector. (optional) - * @param cameraOrthographicLookAt The orthographic camera look at position. (optional) - * @param cameraOrthographicUp The orthographic camera up vector. (optional) - * @param cameraOrthographicFovHeight The orthographic field-of-view height. (optional) - * @return File - * @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 -
504 GatewayTimeout -
- */ - public File renderPartRevision(UUID id, Integer height, Integer width, Vector3 cameraPosition, Vector3 cameraUp, Vector3 cameraLookAt, Vector3 cameraPerspectivePosition, Vector3 cameraPerspectiveLookAt, Vector3 cameraPerspectiveUp, Vector3 cameraOrthographicViewVector, Vector3 cameraOrthographicLookAt, Vector3 cameraOrthographicUp, BigDecimal cameraOrthographicFovHeight) throws ApiException { - ApiResponse localVarResp = renderPartRevisionWithHttpInfo(id, height, width, cameraPosition, cameraUp, cameraLookAt, cameraPerspectivePosition, cameraPerspectiveLookAt, cameraPerspectiveUp, cameraOrthographicViewVector, cameraOrthographicLookAt, cameraOrthographicUp, cameraOrthographicFovHeight); - return localVarResp.getData(); - } - - /** - * - * Get a rendered image of a `part-revision`. - * @param id The `part-revision` ID. (required) - * @param height The height of the image to render. (optional) - * @param width The width of the image to render. (optional) - * @param cameraPosition The `camera` position vector. (optional) - * @param cameraUp The `camera` up vector. (optional) - * @param cameraLookAt The `camera` lookAt vector. (optional) - * @param cameraPerspectivePosition The perspective camera position. (optional) - * @param cameraPerspectiveLookAt The perspective camera look at position. (optional) - * @param cameraPerspectiveUp The perspective camera up vector. (optional) - * @param cameraOrthographicViewVector The orthographic camera view vector. (optional) - * @param cameraOrthographicLookAt The orthographic camera look at position. (optional) - * @param cameraOrthographicUp The orthographic camera up vector. (optional) - * @param cameraOrthographicFovHeight The orthographic field-of-view height. (optional) - * @return ApiResponse<File> - * @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 -
504 GatewayTimeout -
- */ - public ApiResponse renderPartRevisionWithHttpInfo(UUID id, Integer height, Integer width, Vector3 cameraPosition, Vector3 cameraUp, Vector3 cameraLookAt, Vector3 cameraPerspectivePosition, Vector3 cameraPerspectiveLookAt, Vector3 cameraPerspectiveUp, Vector3 cameraOrthographicViewVector, Vector3 cameraOrthographicLookAt, Vector3 cameraOrthographicUp, BigDecimal cameraOrthographicFovHeight) throws ApiException { - okhttp3.Call localVarCall = renderPartRevisionValidateBeforeCall(id, height, width, cameraPosition, cameraUp, cameraLookAt, cameraPerspectivePosition, cameraPerspectiveLookAt, cameraPerspectiveUp, cameraOrthographicViewVector, cameraOrthographicLookAt, cameraOrthographicUp, cameraOrthographicFovHeight, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a rendered image of a `part-revision`. - * @param id The `part-revision` ID. (required) - * @param height The height of the image to render. (optional) - * @param width The width of the image to render. (optional) - * @param cameraPosition The `camera` position vector. (optional) - * @param cameraUp The `camera` up vector. (optional) - * @param cameraLookAt The `camera` lookAt vector. (optional) - * @param cameraPerspectivePosition The perspective camera position. (optional) - * @param cameraPerspectiveLookAt The perspective camera look at position. (optional) - * @param cameraPerspectiveUp The perspective camera up vector. (optional) - * @param cameraOrthographicViewVector The orthographic camera view vector. (optional) - * @param cameraOrthographicLookAt The orthographic camera look at position. (optional) - * @param cameraOrthographicUp The orthographic camera up vector. (optional) - * @param cameraOrthographicFovHeight The orthographic field-of-view height. (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 -
404 Not Found -
415 Unsupported Media Type -
504 GatewayTimeout -
- */ - public okhttp3.Call renderPartRevisionAsync(UUID id, Integer height, Integer width, Vector3 cameraPosition, Vector3 cameraUp, Vector3 cameraLookAt, Vector3 cameraPerspectivePosition, Vector3 cameraPerspectiveLookAt, Vector3 cameraPerspectiveUp, Vector3 cameraOrthographicViewVector, Vector3 cameraOrthographicLookAt, Vector3 cameraOrthographicUp, BigDecimal cameraOrthographicFovHeight, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = renderPartRevisionValidateBeforeCall(id, height, width, cameraPosition, cameraUp, cameraLookAt, cameraPerspectivePosition, cameraPerspectiveLookAt, cameraPerspectiveUp, cameraOrthographicViewVector, cameraOrthographicLookAt, cameraOrthographicUp, cameraOrthographicFovHeight, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for updatePartRevision - * @param id The `part-revision` ID. (required) - * @param updatePartRevisionRequest (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 -
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updatePartRevisionCall(UUID id, UpdatePartRevisionRequest updatePartRevisionRequest, 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 = updatePartRevisionRequest; - - // create path and map variables - String localVarPath = "/part-revisions/{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 = { - "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, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call updatePartRevisionValidateBeforeCall(UUID id, UpdatePartRevisionRequest updatePartRevisionRequest, 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 updatePartRevision(Async)"); - } - - // verify the required parameter 'updatePartRevisionRequest' is set - if (updatePartRevisionRequest == null) { - throw new ApiException("Missing the required parameter 'updatePartRevisionRequest' when calling updatePartRevision(Async)"); - } - - - okhttp3.Call localVarCall = updatePartRevisionCall(id, updatePartRevisionRequest, _callback); - return localVarCall; - - } - - /** - * - * Update a `part-revision`. When given a `file` relationship as a payload, this will invoke a translation job, similar to the POST /parts endpoint. The response code will be a 202 and will respond with an async workflow, and return an Accepted[QueuedJob]. The geometry of the part and all of its children will be replaced with the geometry specified within the translated file given from this relationship. Some of the properties given here are only used for the translation of the file. Namely, `indexMetadata`, `name`, `suppliedIdKey`, `suppliedRevisionIdKey`, and `suppliedInstanceIdKey`. Note that geometry updates are eventually consistent and will not update existing scenes. For updates to the revision when the file relationship is not present will respond with a standard 200 ok code when successful. Note that metadata updates are eventually consistent and will not update existing scenes. To view updated metadata within a scene, a new scene must be created or the updated part-revision must be removed and re-added to an existing scene. - * @param id The `part-revision` ID. (required) - * @param updatePartRevisionRequest (required) - * @return PartRevision - * @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 -
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public PartRevision updatePartRevision(UUID id, UpdatePartRevisionRequest updatePartRevisionRequest) throws ApiException { - ApiResponse localVarResp = updatePartRevisionWithHttpInfo(id, updatePartRevisionRequest); - return localVarResp.getData(); - } - - /** - * - * Update a `part-revision`. When given a `file` relationship as a payload, this will invoke a translation job, similar to the POST /parts endpoint. The response code will be a 202 and will respond with an async workflow, and return an Accepted[QueuedJob]. The geometry of the part and all of its children will be replaced with the geometry specified within the translated file given from this relationship. Some of the properties given here are only used for the translation of the file. Namely, `indexMetadata`, `name`, `suppliedIdKey`, `suppliedRevisionIdKey`, and `suppliedInstanceIdKey`. Note that geometry updates are eventually consistent and will not update existing scenes. For updates to the revision when the file relationship is not present will respond with a standard 200 ok code when successful. Note that metadata updates are eventually consistent and will not update existing scenes. To view updated metadata within a scene, a new scene must be created or the updated part-revision must be removed and re-added to an existing scene. - * @param id The `part-revision` ID. (required) - * @param updatePartRevisionRequest (required) - * @return ApiResponse<PartRevision> - * @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 -
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse updatePartRevisionWithHttpInfo(UUID id, UpdatePartRevisionRequest updatePartRevisionRequest) throws ApiException { - okhttp3.Call localVarCall = updatePartRevisionValidateBeforeCall(id, updatePartRevisionRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Update a `part-revision`. When given a `file` relationship as a payload, this will invoke a translation job, similar to the POST /parts endpoint. The response code will be a 202 and will respond with an async workflow, and return an Accepted[QueuedJob]. The geometry of the part and all of its children will be replaced with the geometry specified within the translated file given from this relationship. Some of the properties given here are only used for the translation of the file. Namely, `indexMetadata`, `name`, `suppliedIdKey`, `suppliedRevisionIdKey`, and `suppliedInstanceIdKey`. Note that geometry updates are eventually consistent and will not update existing scenes. For updates to the revision when the file relationship is not present will respond with a standard 200 ok code when successful. Note that metadata updates are eventually consistent and will not update existing scenes. To view updated metadata within a scene, a new scene must be created or the updated part-revision must be removed and re-added to an existing scene. - * @param id The `part-revision` ID. (required) - * @param updatePartRevisionRequest (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 -
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updatePartRevisionAsync(UUID id, UpdatePartRevisionRequest updatePartRevisionRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updatePartRevisionValidateBeforeCall(id, updatePartRevisionRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/PartsApi.java b/src/main/java/com/vertexvis/api/PartsApi.java deleted file mode 100644 index 2f3f814c..00000000 --- a/src/main/java/com/vertexvis/api/PartsApi.java +++ /dev/null @@ -1,801 +0,0 @@ -/* - * 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.CreatePartRequest; -import com.vertexvis.model.Failure; -import com.vertexvis.model.Part; -import com.vertexvis.model.PartList; -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 PartsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public PartsApi() { - this(Configuration.getDefaultApiClient()); - } - - public PartsApi(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 createPart - * @param createPartRequest (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 Part -
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call createPartCall(CreatePartRequest createPartRequest, 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 = createPartRequest; - - // create path and map variables - String localVarPath = "/parts"; - - 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 createPartValidateBeforeCall(CreatePartRequest createPartRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'createPartRequest' is set - if (createPartRequest == null) { - throw new ApiException("Missing the required parameter 'createPartRequest' when calling createPart(Async)"); - } - - - okhttp3.Call localVarCall = createPartCall(createPartRequest, _callback); - return localVarCall; - - } - - /** - * - * Create a `part`. This endpoint includes multiple successful response codes: [`201`, `202`]. When not given a relationship, this endpoint will create a part with an empty part revision and return a `201` status code of the part. When given a relationship to translate, this endpoint will return a `202` status code with the location of a `queued-translation`. The status of the translation can be queried via `getQueuedTranslation`. After the translation is complete, a `part` and `part-revision` that references the translated geometry. A unique suppliedId/suppliedRevisionId combination will create a new part and new part revision. For instance, sending my-part-id/my-revision-id will create a new part and new revision with those corresponding supplied ids. To create a new revision for `my-part-id`, likewise you can invoke this endpoint with a new revision id: `my-part-id/my-new-revision-id` and a new revision will be created for the existing part. See our [Import Data](https://developer.vertexvis.com/docs/guides/import-data-with-api) guides for more information. - * @param createPartRequest (required) - * @return Part - * @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 Part -
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public Part createPart(CreatePartRequest createPartRequest) throws ApiException { - ApiResponse localVarResp = createPartWithHttpInfo(createPartRequest); - return localVarResp.getData(); - } - - /** - * - * Create a `part`. This endpoint includes multiple successful response codes: [`201`, `202`]. When not given a relationship, this endpoint will create a part with an empty part revision and return a `201` status code of the part. When given a relationship to translate, this endpoint will return a `202` status code with the location of a `queued-translation`. The status of the translation can be queried via `getQueuedTranslation`. After the translation is complete, a `part` and `part-revision` that references the translated geometry. A unique suppliedId/suppliedRevisionId combination will create a new part and new part revision. For instance, sending my-part-id/my-revision-id will create a new part and new revision with those corresponding supplied ids. To create a new revision for `my-part-id`, likewise you can invoke this endpoint with a new revision id: `my-part-id/my-new-revision-id` and a new revision will be created for the existing part. See our [Import Data](https://developer.vertexvis.com/docs/guides/import-data-with-api) guides for more information. - * @param createPartRequest (required) - * @return ApiResponse<Part> - * @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 Part -
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public ApiResponse createPartWithHttpInfo(CreatePartRequest createPartRequest) throws ApiException { - okhttp3.Call localVarCall = createPartValidateBeforeCall(createPartRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create a `part`. This endpoint includes multiple successful response codes: [`201`, `202`]. When not given a relationship, this endpoint will create a part with an empty part revision and return a `201` status code of the part. When given a relationship to translate, this endpoint will return a `202` status code with the location of a `queued-translation`. The status of the translation can be queried via `getQueuedTranslation`. After the translation is complete, a `part` and `part-revision` that references the translated geometry. A unique suppliedId/suppliedRevisionId combination will create a new part and new part revision. For instance, sending my-part-id/my-revision-id will create a new part and new revision with those corresponding supplied ids. To create a new revision for `my-part-id`, likewise you can invoke this endpoint with a new revision id: `my-part-id/my-new-revision-id` and a new revision will be created for the existing part. See our [Import Data](https://developer.vertexvis.com/docs/guides/import-data-with-api) guides for more information. - * @param createPartRequest (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 Part -
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call createPartAsync(CreatePartRequest createPartRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createPartValidateBeforeCall(createPartRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for deletePart - * @param id The `part` 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
202 Accepted * content-location -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deletePartCall(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 = "/parts/{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 deletePartValidateBeforeCall(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 deletePart(Async)"); - } - - - okhttp3.Call localVarCall = deletePartCall(id, _callback); - return localVarCall; - - } - - /** - * - * Delete a `part`. - * @param id The `part` ID. (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
202 Accepted * content-location -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public QueuedJob deletePart(UUID id) throws ApiException { - ApiResponse localVarResp = deletePartWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Delete a `part`. - * @param id The `part` ID. (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
202 Accepted * content-location -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse deletePartWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = deletePartValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Delete a `part`. - * @param id The `part` 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
202 Accepted * content-location -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deletePartAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deletePartValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getPart - * @param id The `part` ID. (required) - * @param include Comma-separated list of relationships to include in response. (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getPartCall(UUID id, String include, 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 = "/parts/{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(); - - if (include != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("include", include)); - } - - 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 getPartValidateBeforeCall(UUID id, String include, 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 getPart(Async)"); - } - - - okhttp3.Call localVarCall = getPartCall(id, include, _callback); - return localVarCall; - - } - - /** - * - * Get a `part` by ID. - * @param id The `part` ID. (required) - * @param include Comma-separated list of relationships to include in response. (optional) - * @return Part - * @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 Part getPart(UUID id, String include) throws ApiException { - ApiResponse localVarResp = getPartWithHttpInfo(id, include); - return localVarResp.getData(); - } - - /** - * - * Get a `part` by ID. - * @param id The `part` ID. (required) - * @param include Comma-separated list of relationships to include in response. (optional) - * @return ApiResponse<Part> - * @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 getPartWithHttpInfo(UUID id, String include) throws ApiException { - okhttp3.Call localVarCall = getPartValidateBeforeCall(id, include, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `part` by ID. - * @param id The `part` ID. (required) - * @param include Comma-separated list of relationships to include in response. (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getPartAsync(UUID id, String include, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getPartValidateBeforeCall(id, include, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getParts - * @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 _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 -
415 Unsupported Media Type -
- */ - public okhttp3.Call getPartsCall(String pageCursor, Integer pageSize, String filterSuppliedId, 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 = "/parts"; - - 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)); - } - - if (filterSuppliedId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[suppliedId]", filterSuppliedId)); - } - - 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 getPartsValidateBeforeCall(String pageCursor, Integer pageSize, String filterSuppliedId, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getPartsCall(pageCursor, pageSize, filterSuppliedId, _callback); - return localVarCall; - - } - - /** - * - * Get `parts`. - * @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) - * @return PartList - * @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 -
415 Unsupported Media Type -
- */ - public PartList getParts(String pageCursor, Integer pageSize, String filterSuppliedId) throws ApiException { - ApiResponse localVarResp = getPartsWithHttpInfo(pageCursor, pageSize, filterSuppliedId); - return localVarResp.getData(); - } - - /** - * - * Get `parts`. - * @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) - * @return ApiResponse<PartList> - * @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 -
415 Unsupported Media Type -
- */ - public ApiResponse getPartsWithHttpInfo(String pageCursor, Integer pageSize, String filterSuppliedId) throws ApiException { - okhttp3.Call localVarCall = getPartsValidateBeforeCall(pageCursor, pageSize, filterSuppliedId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get `parts`. - * @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 _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 -
415 Unsupported Media Type -
- */ - public okhttp3.Call getPartsAsync(String pageCursor, Integer pageSize, String filterSuppliedId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getPartsValidateBeforeCall(pageCursor, pageSize, filterSuppliedId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getQueuedPartDeletion - * @param id The `queued-part-deletion` 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 getQueuedPartDeletionCall(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 = "/queued-part-deletions/{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 getQueuedPartDeletionValidateBeforeCall(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 getQueuedPartDeletion(Async)"); - } - - - okhttp3.Call localVarCall = getQueuedPartDeletionCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `queued-part-deletion` by ID. - * @param id The `queued-part-deletion` ID. (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 getQueuedPartDeletion(UUID id) throws ApiException { - ApiResponse localVarResp = getQueuedPartDeletionWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `queued-part-deletion` by ID. - * @param id The `queued-part-deletion` ID. (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 getQueuedPartDeletionWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getQueuedPartDeletionValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `queued-part-deletion` by ID. - * @param id The `queued-part-deletion` 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 getQueuedPartDeletionAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getQueuedPartDeletionValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/PmiApi.java b/src/main/java/com/vertexvis/api/PmiApi.java deleted file mode 100644 index a8997eb1..00000000 --- a/src/main/java/com/vertexvis/api/PmiApi.java +++ /dev/null @@ -1,231 +0,0 @@ -/* - * 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.Failure; -import com.vertexvis.model.PmiAnnotationList; -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 PmiApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public PmiApi() { - this(Configuration.getDefaultApiClient()); - } - - public PmiApi(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 getPmiAnnotations - * @param filterModelViewId Filter annotations belonging to a model view. (optional) - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getPmiAnnotationsCall(UUID filterModelViewId, 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 = "/pmi-annotations"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (filterModelViewId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[modelViewId]", filterModelViewId)); - } - - 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 getPmiAnnotationsValidateBeforeCall(UUID filterModelViewId, String pageCursor, Integer pageSize, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getPmiAnnotationsCall(filterModelViewId, pageCursor, pageSize, _callback); - return localVarCall; - - } - - /** - * - * List `pmi-annotation`s. - * @param filterModelViewId Filter annotations belonging to a model view. (optional) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @return PmiAnnotationList - * @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 PmiAnnotationList getPmiAnnotations(UUID filterModelViewId, String pageCursor, Integer pageSize) throws ApiException { - ApiResponse localVarResp = getPmiAnnotationsWithHttpInfo(filterModelViewId, pageCursor, pageSize); - return localVarResp.getData(); - } - - /** - * - * List `pmi-annotation`s. - * @param filterModelViewId Filter annotations belonging to a model view. (optional) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @return ApiResponse<PmiAnnotationList> - * @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 getPmiAnnotationsWithHttpInfo(UUID filterModelViewId, String pageCursor, Integer pageSize) throws ApiException { - okhttp3.Call localVarCall = getPmiAnnotationsValidateBeforeCall(filterModelViewId, pageCursor, pageSize, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * List `pmi-annotation`s. - * @param filterModelViewId Filter annotations belonging to a model view. (optional) - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getPmiAnnotationsAsync(UUID filterModelViewId, String pageCursor, Integer pageSize, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getPmiAnnotationsValidateBeforeCall(filterModelViewId, pageCursor, pageSize, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/PropertyEntriesApi.java b/src/main/java/com/vertexvis/api/PropertyEntriesApi.java deleted file mode 100644 index fa6abbaa..00000000 --- a/src/main/java/com/vertexvis/api/PropertyEntriesApi.java +++ /dev/null @@ -1,371 +0,0 @@ -/* - * 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.Failure; -import com.vertexvis.model.PropertyEntryList; -import java.util.UUID; -import com.vertexvis.model.UpsertPropertyEntriesRequest; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class PropertyEntriesApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public PropertyEntriesApi() { - this(Configuration.getDefaultApiClient()); - } - - public PropertyEntriesApi(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 getPropertyEntries - * @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) - * @param filterResourceType The provided type for the resource ids (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 -
415 Unsupported Media Type -
- */ - public okhttp3.Call getPropertyEntriesCall(String pageCursor, Integer pageSize, UUID filterResourceId, String filterResourceType, 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 = "/property-entries"; - - 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)); - } - - if (filterResourceId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[resourceId]", filterResourceId)); - } - - if (filterResourceType != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[resourceType]", filterResourceType)); - } - - 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 getPropertyEntriesValidateBeforeCall(String pageCursor, Integer pageSize, UUID filterResourceId, String filterResourceType, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getPropertyEntriesCall(pageCursor, pageSize, filterResourceId, filterResourceType, _callback); - return localVarCall; - - } - - /** - * - * Get `property-entries` by a resource ID **Preview:** This is a preview API and is subject to change. - * @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) - * @param filterResourceType The provided type for the resource ids (optional) - * @return PropertyEntryList - * @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 -
415 Unsupported Media Type -
- */ - public PropertyEntryList getPropertyEntries(String pageCursor, Integer pageSize, UUID filterResourceId, String filterResourceType) throws ApiException { - ApiResponse localVarResp = getPropertyEntriesWithHttpInfo(pageCursor, pageSize, filterResourceId, filterResourceType); - return localVarResp.getData(); - } - - /** - * - * Get `property-entries` by a resource ID **Preview:** This is a preview API and is subject to change. - * @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) - * @param filterResourceType The provided type for the resource ids (optional) - * @return ApiResponse<PropertyEntryList> - * @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 -
415 Unsupported Media Type -
- */ - public ApiResponse getPropertyEntriesWithHttpInfo(String pageCursor, Integer pageSize, UUID filterResourceId, String filterResourceType) throws ApiException { - okhttp3.Call localVarCall = getPropertyEntriesValidateBeforeCall(pageCursor, pageSize, filterResourceId, filterResourceType, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get `property-entries` by a resource ID **Preview:** This is a preview API and is subject to change. - * @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) - * @param filterResourceType The provided type for the resource ids (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 -
415 Unsupported Media Type -
- */ - public okhttp3.Call getPropertyEntriesAsync(String pageCursor, Integer pageSize, UUID filterResourceId, String filterResourceType, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getPropertyEntriesValidateBeforeCall(pageCursor, pageSize, filterResourceId, filterResourceType, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for upsertPropertyEntries - * @param upsertPropertyEntriesRequest (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 -
404 Not Found -
- */ - public okhttp3.Call upsertPropertyEntriesCall(UpsertPropertyEntriesRequest upsertPropertyEntriesRequest, 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 = upsertPropertyEntriesRequest; - - // create path and map variables - String localVarPath = "/property-entries"; - - 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, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call upsertPropertyEntriesValidateBeforeCall(UpsertPropertyEntriesRequest upsertPropertyEntriesRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'upsertPropertyEntriesRequest' is set - if (upsertPropertyEntriesRequest == null) { - throw new ApiException("Missing the required parameter 'upsertPropertyEntriesRequest' when calling upsertPropertyEntries(Async)"); - } - - - okhttp3.Call localVarCall = upsertPropertyEntriesCall(upsertPropertyEntriesRequest, _callback); - return localVarCall; - - } - - /** - * - * Upsert property-entries for a provided resource. **Preview:** This is a preview API and is subject to change. - * @param upsertPropertyEntriesRequest (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 -
404 Not Found -
- */ - public void upsertPropertyEntries(UpsertPropertyEntriesRequest upsertPropertyEntriesRequest) throws ApiException { - upsertPropertyEntriesWithHttpInfo(upsertPropertyEntriesRequest); - } - - /** - * - * Upsert property-entries for a provided resource. **Preview:** This is a preview API and is subject to change. - * @param upsertPropertyEntriesRequest (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 -
404 Not Found -
- */ - public ApiResponse upsertPropertyEntriesWithHttpInfo(UpsertPropertyEntriesRequest upsertPropertyEntriesRequest) throws ApiException { - okhttp3.Call localVarCall = upsertPropertyEntriesValidateBeforeCall(upsertPropertyEntriesRequest, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * Upsert property-entries for a provided resource. **Preview:** This is a preview API and is subject to change. - * @param upsertPropertyEntriesRequest (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 -
404 Not Found -
- */ - public okhttp3.Call upsertPropertyEntriesAsync(UpsertPropertyEntriesRequest upsertPropertyEntriesRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = upsertPropertyEntriesValidateBeforeCall(upsertPropertyEntriesRequest, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/SceneAlterationsApi.java b/src/main/java/com/vertexvis/api/SceneAlterationsApi.java deleted file mode 100644 index d53fd100..00000000 --- a/src/main/java/com/vertexvis/api/SceneAlterationsApi.java +++ /dev/null @@ -1,657 +0,0 @@ -/* - * 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.CreateSceneAlterationRequest; -import com.vertexvis.model.Failure; -import com.vertexvis.model.QueuedJob; -import com.vertexvis.model.SceneAlteration; -import com.vertexvis.model.SceneAlterationList; -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 SceneAlterationsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public SceneAlterationsApi() { - this(Configuration.getDefaultApiClient()); - } - - public SceneAlterationsApi(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 createSceneAlteration - * @param id The `scene-view` ID. (required) - * @param createSceneAlterationRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createSceneAlterationCall(UUID id, CreateSceneAlterationRequest createSceneAlterationRequest, 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 = createSceneAlterationRequest; - - // create path and map variables - String localVarPath = "/scene-views/{id}/scene-alterations" - .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 = { - "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 createSceneAlterationValidateBeforeCall(UUID id, CreateSceneAlterationRequest createSceneAlterationRequest, 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)"); - } - - - okhttp3.Call localVarCall = createSceneAlterationCall(id, createSceneAlterationRequest, _callback); - return localVarCall; - - } - - /** - * - * Create a `scene-alteration` for a `scene-view`. - * @param id The `scene-view` ID. (required) - * @param createSceneAlterationRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public QueuedJob createSceneAlteration(UUID id, CreateSceneAlterationRequest createSceneAlterationRequest) throws ApiException { - ApiResponse localVarResp = createSceneAlterationWithHttpInfo(id, createSceneAlterationRequest); - return localVarResp.getData(); - } - - /** - * - * Create a `scene-alteration` for a `scene-view`. - * @param id The `scene-view` ID. (required) - * @param createSceneAlterationRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse createSceneAlterationWithHttpInfo(UUID id, CreateSceneAlterationRequest createSceneAlterationRequest) throws ApiException { - okhttp3.Call localVarCall = createSceneAlterationValidateBeforeCall(id, createSceneAlterationRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create a `scene-alteration` for a `scene-view`. - * @param id The `scene-view` ID. (required) - * @param createSceneAlterationRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createSceneAlterationAsync(UUID id, CreateSceneAlterationRequest createSceneAlterationRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createSceneAlterationValidateBeforeCall(id, createSceneAlterationRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getQueuedSceneAlteration - * @param id The `queued-scene-alteration` 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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getQueuedSceneAlterationCall(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 = "/queued-scene-alterations/{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 getQueuedSceneAlterationValidateBeforeCall(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 getQueuedSceneAlteration(Async)"); - } - - - okhttp3.Call localVarCall = getQueuedSceneAlterationCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `queued-scene-alteration` by ID. - * @param id The `queued-scene-alteration` ID. (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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public QueuedJob getQueuedSceneAlteration(UUID id) throws ApiException { - ApiResponse localVarResp = getQueuedSceneAlterationWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `queued-scene-alteration` by ID. - * @param id The `queued-scene-alteration` ID. (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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse getQueuedSceneAlterationWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getQueuedSceneAlterationValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `queued-scene-alteration` by ID. - * @param id The `queued-scene-alteration` 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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getQueuedSceneAlterationAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getQueuedSceneAlterationValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getSceneAlteration - * @param id The `scene-alteration` 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 getSceneAlterationCall(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 = "/scene-alterations/{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 getSceneAlterationValidateBeforeCall(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 getSceneAlteration(Async)"); - } - - - okhttp3.Call localVarCall = getSceneAlterationCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `scene-alteration` by ID. - * @param id The `scene-alteration` ID. (required) - * @return SceneAlteration - * @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 SceneAlteration getSceneAlteration(UUID id) throws ApiException { - ApiResponse localVarResp = getSceneAlterationWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `scene-alteration` by ID. - * @param id The `scene-alteration` ID. (required) - * @return ApiResponse<SceneAlteration> - * @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 getSceneAlterationWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getSceneAlterationValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `scene-alteration` by ID. - * @param id The `scene-alteration` 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 getSceneAlterationAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getSceneAlterationValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getSceneAlterations - * @param id The `scene-view` 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 getSceneAlterationsCall(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 = "/scene-views/{id}/scene-alterations" - .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 getSceneAlterationsValidateBeforeCall(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 getSceneAlterations(Async)"); - } - - - okhttp3.Call localVarCall = getSceneAlterationsCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get `scene-alterations` for a `scene-view`. - * @param id The `scene-view` ID. (required) - * @return SceneAlterationList - * @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 SceneAlterationList getSceneAlterations(UUID id) throws ApiException { - ApiResponse localVarResp = getSceneAlterationsWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get `scene-alterations` for a `scene-view`. - * @param id The `scene-view` ID. (required) - * @return ApiResponse<SceneAlterationList> - * @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 getSceneAlterationsWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getSceneAlterationsValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get `scene-alterations` for a `scene-view`. - * @param id The `scene-view` 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 getSceneAlterationsAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getSceneAlterationsValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/SceneAnnotationsApi.java b/src/main/java/com/vertexvis/api/SceneAnnotationsApi.java deleted file mode 100644 index aacc8479..00000000 --- a/src/main/java/com/vertexvis/api/SceneAnnotationsApi.java +++ /dev/null @@ -1,813 +0,0 @@ -/* - * 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.CreateSceneAnnotationRequest; -import com.vertexvis.model.CreateSceneAnnotationSetRequest; -import com.vertexvis.model.Failure; -import com.vertexvis.model.SceneAnnotation; -import com.vertexvis.model.SceneAnnotationSet; -import com.vertexvis.model.SceneAnnotationSetList; -import java.util.UUID; -import com.vertexvis.model.UpdateSceneAnnotationRequest; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class SceneAnnotationsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public SceneAnnotationsApi() { - this(Configuration.getDefaultApiClient()); - } - - public SceneAnnotationsApi(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 createSceneAnnotation - * @param id The `scene-annotation-set` ID. (required) - * @param createSceneAnnotationRequest (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 -
404 Not Found -
- */ - public okhttp3.Call createSceneAnnotationCall(UUID id, CreateSceneAnnotationRequest createSceneAnnotationRequest, 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 = createSceneAnnotationRequest; - - // create path and map variables - String localVarPath = "/scene-annotation-sets/{id}/scene-annotations" - .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 = { - "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 createSceneAnnotationValidateBeforeCall(UUID id, CreateSceneAnnotationRequest createSceneAnnotationRequest, 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 createSceneAnnotation(Async)"); - } - - // verify the required parameter 'createSceneAnnotationRequest' is set - if (createSceneAnnotationRequest == null) { - throw new ApiException("Missing the required parameter 'createSceneAnnotationRequest' when calling createSceneAnnotation(Async)"); - } - - - okhttp3.Call localVarCall = createSceneAnnotationCall(id, createSceneAnnotationRequest, _callback); - return localVarCall; - - } - - /** - * - * Create an annotation belonging to an annotation set. **Preview:** This is a preview API and is subject to change. - * @param id The `scene-annotation-set` ID. (required) - * @param createSceneAnnotationRequest (required) - * @return SceneAnnotation - * @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 -
404 Not Found -
- */ - public SceneAnnotation createSceneAnnotation(UUID id, CreateSceneAnnotationRequest createSceneAnnotationRequest) throws ApiException { - ApiResponse localVarResp = createSceneAnnotationWithHttpInfo(id, createSceneAnnotationRequest); - return localVarResp.getData(); - } - - /** - * - * Create an annotation belonging to an annotation set. **Preview:** This is a preview API and is subject to change. - * @param id The `scene-annotation-set` ID. (required) - * @param createSceneAnnotationRequest (required) - * @return ApiResponse<SceneAnnotation> - * @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 -
404 Not Found -
- */ - public ApiResponse createSceneAnnotationWithHttpInfo(UUID id, CreateSceneAnnotationRequest createSceneAnnotationRequest) throws ApiException { - okhttp3.Call localVarCall = createSceneAnnotationValidateBeforeCall(id, createSceneAnnotationRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create an annotation belonging to an annotation set. **Preview:** This is a preview API and is subject to change. - * @param id The `scene-annotation-set` ID. (required) - * @param createSceneAnnotationRequest (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 -
404 Not Found -
- */ - public okhttp3.Call createSceneAnnotationAsync(UUID id, CreateSceneAnnotationRequest createSceneAnnotationRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createSceneAnnotationValidateBeforeCall(id, createSceneAnnotationRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for createSceneAnnotationSet - * @param id The `scene` ID. (required) - * @param createSceneAnnotationSetRequest (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 -
404 Not Found -
- */ - public okhttp3.Call createSceneAnnotationSetCall(UUID id, CreateSceneAnnotationSetRequest createSceneAnnotationSetRequest, 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 = createSceneAnnotationSetRequest; - - // create path and map variables - String localVarPath = "/scenes/{id}/scene-annotation-sets" - .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 = { - "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 createSceneAnnotationSetValidateBeforeCall(UUID id, CreateSceneAnnotationSetRequest createSceneAnnotationSetRequest, 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 createSceneAnnotationSet(Async)"); - } - - // verify the required parameter 'createSceneAnnotationSetRequest' is set - if (createSceneAnnotationSetRequest == null) { - throw new ApiException("Missing the required parameter 'createSceneAnnotationSetRequest' when calling createSceneAnnotationSet(Async)"); - } - - - okhttp3.Call localVarCall = createSceneAnnotationSetCall(id, createSceneAnnotationSetRequest, _callback); - return localVarCall; - - } - - /** - * - * Create an annotation set that is associated with a scene. **Preview:** This is a preview API and is subject to change. - * @param id The `scene` ID. (required) - * @param createSceneAnnotationSetRequest (required) - * @return SceneAnnotationSet - * @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 -
404 Not Found -
- */ - public SceneAnnotationSet createSceneAnnotationSet(UUID id, CreateSceneAnnotationSetRequest createSceneAnnotationSetRequest) throws ApiException { - ApiResponse localVarResp = createSceneAnnotationSetWithHttpInfo(id, createSceneAnnotationSetRequest); - return localVarResp.getData(); - } - - /** - * - * Create an annotation set that is associated with a scene. **Preview:** This is a preview API and is subject to change. - * @param id The `scene` ID. (required) - * @param createSceneAnnotationSetRequest (required) - * @return ApiResponse<SceneAnnotationSet> - * @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 -
404 Not Found -
- */ - public ApiResponse createSceneAnnotationSetWithHttpInfo(UUID id, CreateSceneAnnotationSetRequest createSceneAnnotationSetRequest) throws ApiException { - okhttp3.Call localVarCall = createSceneAnnotationSetValidateBeforeCall(id, createSceneAnnotationSetRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create an annotation set that is associated with a scene. **Preview:** This is a preview API and is subject to change. - * @param id The `scene` ID. (required) - * @param createSceneAnnotationSetRequest (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 -
404 Not Found -
- */ - public okhttp3.Call createSceneAnnotationSetAsync(UUID id, CreateSceneAnnotationSetRequest createSceneAnnotationSetRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createSceneAnnotationSetValidateBeforeCall(id, createSceneAnnotationSetRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for deleteSceneAnnotation - * @param id The `scene-annotation` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteSceneAnnotationCall(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 = "/scene-annotations/{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 deleteSceneAnnotationValidateBeforeCall(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 deleteSceneAnnotation(Async)"); - } - - - okhttp3.Call localVarCall = deleteSceneAnnotationCall(id, _callback); - return localVarCall; - - } - - /** - * - * Delete a scene annotation. **Preview:** This is a preview API and is subject to change. - * @param id The `scene-annotation` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public void deleteSceneAnnotation(UUID id) throws ApiException { - deleteSceneAnnotationWithHttpInfo(id); - } - - /** - * - * Delete a scene annotation. **Preview:** This is a preview API and is subject to change. - * @param id The `scene-annotation` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse deleteSceneAnnotationWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = deleteSceneAnnotationValidateBeforeCall(id, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * Delete a scene annotation. **Preview:** This is a preview API and is subject to change. - * @param id The `scene-annotation` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteSceneAnnotationAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteSceneAnnotationValidateBeforeCall(id, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getSceneAnnotationSets - * @param id The `scene` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterId Comma-separated list of IDs to filter on. (optional) - * @param filterSuppliedId Comma-separated list of supplied IDs to filter on. (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneAnnotationSetsCall(UUID id, String pageCursor, Integer pageSize, String filterId, String filterSuppliedId, 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 = "/scenes/{id}/scene-annotation-sets" - .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(); - - if (pageCursor != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("page[cursor]", pageCursor)); - } - - if (pageSize != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("page[size]", pageSize)); - } - - if (filterId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[id]", filterId)); - } - - if (filterSuppliedId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[suppliedId]", filterSuppliedId)); - } - - 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 getSceneAnnotationSetsValidateBeforeCall(UUID id, String pageCursor, Integer pageSize, String filterId, String filterSuppliedId, 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 getSceneAnnotationSets(Async)"); - } - - - okhttp3.Call localVarCall = getSceneAnnotationSetsCall(id, pageCursor, pageSize, filterId, filterSuppliedId, _callback); - return localVarCall; - - } - - /** - * - * Get `scene-annotation-sets` for a `scene`. - * @param id The `scene` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterId Comma-separated list of IDs to filter on. (optional) - * @param filterSuppliedId Comma-separated list of supplied IDs to filter on. (optional) - * @return SceneAnnotationSetList - * @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 SceneAnnotationSetList getSceneAnnotationSets(UUID id, String pageCursor, Integer pageSize, String filterId, String filterSuppliedId) throws ApiException { - ApiResponse localVarResp = getSceneAnnotationSetsWithHttpInfo(id, pageCursor, pageSize, filterId, filterSuppliedId); - return localVarResp.getData(); - } - - /** - * - * Get `scene-annotation-sets` for a `scene`. - * @param id The `scene` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterId Comma-separated list of IDs to filter on. (optional) - * @param filterSuppliedId Comma-separated list of supplied IDs to filter on. (optional) - * @return ApiResponse<SceneAnnotationSetList> - * @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 getSceneAnnotationSetsWithHttpInfo(UUID id, String pageCursor, Integer pageSize, String filterId, String filterSuppliedId) throws ApiException { - okhttp3.Call localVarCall = getSceneAnnotationSetsValidateBeforeCall(id, pageCursor, pageSize, filterId, filterSuppliedId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get `scene-annotation-sets` for a `scene`. - * @param id The `scene` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterId Comma-separated list of IDs to filter on. (optional) - * @param filterSuppliedId Comma-separated list of supplied IDs 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 - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneAnnotationSetsAsync(UUID id, String pageCursor, Integer pageSize, String filterId, String filterSuppliedId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getSceneAnnotationSetsValidateBeforeCall(id, pageCursor, pageSize, filterId, filterSuppliedId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for updateSceneAnnotation - * @param id The `scene-annotation` ID. (required) - * @param updateSceneAnnotationRequest (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 -
404 Not Found -
- */ - public okhttp3.Call updateSceneAnnotationCall(UUID id, UpdateSceneAnnotationRequest updateSceneAnnotationRequest, 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 = updateSceneAnnotationRequest; - - // create path and map variables - String localVarPath = "/scene-annotations/{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 = { - "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, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call updateSceneAnnotationValidateBeforeCall(UUID id, UpdateSceneAnnotationRequest updateSceneAnnotationRequest, 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 updateSceneAnnotation(Async)"); - } - - // verify the required parameter 'updateSceneAnnotationRequest' is set - if (updateSceneAnnotationRequest == null) { - throw new ApiException("Missing the required parameter 'updateSceneAnnotationRequest' when calling updateSceneAnnotation(Async)"); - } - - - okhttp3.Call localVarCall = updateSceneAnnotationCall(id, updateSceneAnnotationRequest, _callback); - return localVarCall; - - } - - /** - * - * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change. - * @param id The `scene-annotation` ID. (required) - * @param updateSceneAnnotationRequest (required) - * @return SceneAnnotation - * @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 -
404 Not Found -
- */ - public SceneAnnotation updateSceneAnnotation(UUID id, UpdateSceneAnnotationRequest updateSceneAnnotationRequest) throws ApiException { - ApiResponse localVarResp = updateSceneAnnotationWithHttpInfo(id, updateSceneAnnotationRequest); - return localVarResp.getData(); - } - - /** - * - * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change. - * @param id The `scene-annotation` ID. (required) - * @param updateSceneAnnotationRequest (required) - * @return ApiResponse<SceneAnnotation> - * @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 -
404 Not Found -
- */ - public ApiResponse updateSceneAnnotationWithHttpInfo(UUID id, UpdateSceneAnnotationRequest updateSceneAnnotationRequest) throws ApiException { - okhttp3.Call localVarCall = updateSceneAnnotationValidateBeforeCall(id, updateSceneAnnotationRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change. - * @param id The `scene-annotation` ID. (required) - * @param updateSceneAnnotationRequest (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 -
404 Not Found -
- */ - public okhttp3.Call updateSceneAnnotationAsync(UUID id, UpdateSceneAnnotationRequest updateSceneAnnotationRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updateSceneAnnotationValidateBeforeCall(id, updateSceneAnnotationRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/SceneItemOverridesApi.java b/src/main/java/com/vertexvis/api/SceneItemOverridesApi.java deleted file mode 100644 index 4d8a75ca..00000000 --- a/src/main/java/com/vertexvis/api/SceneItemOverridesApi.java +++ /dev/null @@ -1,678 +0,0 @@ -/* - * 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.CreateSceneItemOverrideRequest; -import com.vertexvis.model.Failure; -import com.vertexvis.model.SceneItemOverride; -import com.vertexvis.model.SceneItemOverrideList; -import java.util.UUID; -import com.vertexvis.model.UpdateSceneItemOverrideRequest; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class SceneItemOverridesApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public SceneItemOverridesApi() { - this(Configuration.getDefaultApiClient()); - } - - public SceneItemOverridesApi(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 createSceneItemOverride - * @param id The `scene-view` ID. (required) - * @param createSceneItemOverrideRequest (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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createSceneItemOverrideCall(UUID id, CreateSceneItemOverrideRequest createSceneItemOverrideRequest, 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 = createSceneItemOverrideRequest; - - // create path and map variables - String localVarPath = "/scene-views/{id}/scene-item-overrides" - .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 = { - "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 createSceneItemOverrideValidateBeforeCall(UUID id, CreateSceneItemOverrideRequest createSceneItemOverrideRequest, 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 createSceneItemOverride(Async)"); - } - - // verify the required parameter 'createSceneItemOverrideRequest' is set - if (createSceneItemOverrideRequest == null) { - throw new ApiException("Missing the required parameter 'createSceneItemOverrideRequest' when calling createSceneItemOverride(Async)"); - } - - - okhttp3.Call localVarCall = createSceneItemOverrideCall(id, createSceneItemOverrideRequest, _callback); - return localVarCall; - - } - - /** - * - * Create a `scene-item-override` for a `scene-view`. - * @param id The `scene-view` ID. (required) - * @param createSceneItemOverrideRequest (required) - * @return SceneItemOverride - * @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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public SceneItemOverride createSceneItemOverride(UUID id, CreateSceneItemOverrideRequest createSceneItemOverrideRequest) throws ApiException { - ApiResponse localVarResp = createSceneItemOverrideWithHttpInfo(id, createSceneItemOverrideRequest); - return localVarResp.getData(); - } - - /** - * - * Create a `scene-item-override` for a `scene-view`. - * @param id The `scene-view` ID. (required) - * @param createSceneItemOverrideRequest (required) - * @return ApiResponse<SceneItemOverride> - * @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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse createSceneItemOverrideWithHttpInfo(UUID id, CreateSceneItemOverrideRequest createSceneItemOverrideRequest) throws ApiException { - okhttp3.Call localVarCall = createSceneItemOverrideValidateBeforeCall(id, createSceneItemOverrideRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create a `scene-item-override` for a `scene-view`. - * @param id The `scene-view` ID. (required) - * @param createSceneItemOverrideRequest (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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createSceneItemOverrideAsync(UUID id, CreateSceneItemOverrideRequest createSceneItemOverrideRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createSceneItemOverrideValidateBeforeCall(id, createSceneItemOverrideRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for deleteSceneItemOverride - * @param id The `scene-item-override` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteSceneItemOverrideCall(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 = "/scene-item-overrides/{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 deleteSceneItemOverrideValidateBeforeCall(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 deleteSceneItemOverride(Async)"); - } - - - okhttp3.Call localVarCall = deleteSceneItemOverrideCall(id, _callback); - return localVarCall; - - } - - /** - * - * Delete a `scene-item-override`. - * @param id The `scene-item-override` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public void deleteSceneItemOverride(UUID id) throws ApiException { - deleteSceneItemOverrideWithHttpInfo(id); - } - - /** - * - * Delete a `scene-item-override`. - * @param id The `scene-item-override` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse deleteSceneItemOverrideWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = deleteSceneItemOverrideValidateBeforeCall(id, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * Delete a `scene-item-override`. - * @param id The `scene-item-override` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteSceneItemOverrideAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteSceneItemOverrideValidateBeforeCall(id, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getSceneItemOverrides - * @param id The `scene-view` ID. (required) - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneItemOverridesCall(UUID id, 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 = "/scene-views/{id}/scene-item-overrides" - .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(); - - 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 getSceneItemOverridesValidateBeforeCall(UUID id, String pageCursor, Integer pageSize, 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 getSceneItemOverrides(Async)"); - } - - - okhttp3.Call localVarCall = getSceneItemOverridesCall(id, pageCursor, pageSize, _callback); - return localVarCall; - - } - - /** - * - * Get `scene-item-overrides` for a `scene-view`. - * @param id The `scene-view` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @return SceneItemOverrideList - * @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 SceneItemOverrideList getSceneItemOverrides(UUID id, String pageCursor, Integer pageSize) throws ApiException { - ApiResponse localVarResp = getSceneItemOverridesWithHttpInfo(id, pageCursor, pageSize); - return localVarResp.getData(); - } - - /** - * - * Get `scene-item-overrides` for a `scene-view`. - * @param id The `scene-view` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @return ApiResponse<SceneItemOverrideList> - * @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 getSceneItemOverridesWithHttpInfo(UUID id, String pageCursor, Integer pageSize) throws ApiException { - okhttp3.Call localVarCall = getSceneItemOverridesValidateBeforeCall(id, pageCursor, pageSize, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get `scene-item-overrides` for a `scene-view`. - * @param id The `scene-view` ID. (required) - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneItemOverridesAsync(UUID id, String pageCursor, Integer pageSize, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getSceneItemOverridesValidateBeforeCall(id, pageCursor, pageSize, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for updateSceneItemOverride - * @param id The `scene-item-override` ID. (required) - * @param updateSceneItemOverrideRequest (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updateSceneItemOverrideCall(UUID id, UpdateSceneItemOverrideRequest updateSceneItemOverrideRequest, 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 = updateSceneItemOverrideRequest; - - // create path and map variables - String localVarPath = "/scene-item-overrides/{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 = { - "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, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call updateSceneItemOverrideValidateBeforeCall(UUID id, UpdateSceneItemOverrideRequest updateSceneItemOverrideRequest, 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 updateSceneItemOverride(Async)"); - } - - // verify the required parameter 'updateSceneItemOverrideRequest' is set - if (updateSceneItemOverrideRequest == null) { - throw new ApiException("Missing the required parameter 'updateSceneItemOverrideRequest' when calling updateSceneItemOverride(Async)"); - } - - - okhttp3.Call localVarCall = updateSceneItemOverrideCall(id, updateSceneItemOverrideRequest, _callback); - return localVarCall; - - } - - /** - * - * Update a `scene-item-override`. - * @param id The `scene-item-override` ID. (required) - * @param updateSceneItemOverrideRequest (required) - * @return SceneItemOverride - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public SceneItemOverride updateSceneItemOverride(UUID id, UpdateSceneItemOverrideRequest updateSceneItemOverrideRequest) throws ApiException { - ApiResponse localVarResp = updateSceneItemOverrideWithHttpInfo(id, updateSceneItemOverrideRequest); - return localVarResp.getData(); - } - - /** - * - * Update a `scene-item-override`. - * @param id The `scene-item-override` ID. (required) - * @param updateSceneItemOverrideRequest (required) - * @return ApiResponse<SceneItemOverride> - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse updateSceneItemOverrideWithHttpInfo(UUID id, UpdateSceneItemOverrideRequest updateSceneItemOverrideRequest) throws ApiException { - okhttp3.Call localVarCall = updateSceneItemOverrideValidateBeforeCall(id, updateSceneItemOverrideRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Update a `scene-item-override`. - * @param id The `scene-item-override` ID. (required) - * @param updateSceneItemOverrideRequest (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updateSceneItemOverrideAsync(UUID id, UpdateSceneItemOverrideRequest updateSceneItemOverrideRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updateSceneItemOverrideValidateBeforeCall(id, updateSceneItemOverrideRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/SceneItemsApi.java b/src/main/java/com/vertexvis/api/SceneItemsApi.java deleted file mode 100644 index 4e38d604..00000000 --- a/src/main/java/com/vertexvis/api/SceneItemsApi.java +++ /dev/null @@ -1,1139 +0,0 @@ -/* - * 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.CreateSceneItemRequest; -import com.vertexvis.model.Failure; -import com.vertexvis.model.QueuedJob; -import com.vertexvis.model.SceneItem; -import com.vertexvis.model.SceneItemList; -import java.util.UUID; -import com.vertexvis.model.UpdateSceneItemRequest; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class SceneItemsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public SceneItemsApi() { - this(Configuration.getDefaultApiClient()); - } - - public SceneItemsApi(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 createSceneItem - * @param id The `scene` ID. (required) - * @param createSceneItemRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
409 Conflict -
415 Unsupported Media Type -
- */ - public okhttp3.Call createSceneItemCall(UUID id, CreateSceneItemRequest createSceneItemRequest, 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 = createSceneItemRequest; - - // create path and map variables - String localVarPath = "/scenes/{id}/scene-items" - .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 = { - "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 createSceneItemValidateBeforeCall(UUID id, CreateSceneItemRequest createSceneItemRequest, 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 createSceneItem(Async)"); - } - - // verify the required parameter 'createSceneItemRequest' is set - if (createSceneItemRequest == null) { - throw new ApiException("Missing the required parameter 'createSceneItemRequest' when calling createSceneItem(Async)"); - } - - - okhttp3.Call localVarCall = createSceneItemCall(id, createSceneItemRequest, _callback); - return localVarCall; - - } - - /** - * - * Create a `scene-item` for a `scene`. Provide the source geometry either via `part-revision` or `geometry-set` UUID using `relationship.source` or by supplied IDs using `attributes.source`. Provide an existing `scene` using `relationship.source` to clone it. Provide the hierarchical parent either via `scene-item` UUID using `relationship.source` or by supplied ID using `attributes.parent`. To reduce the time taken creating many hierarchical `scene-items`, make a best effort to create parents before children. One way to do this is by sorting the items by depth and starting at the root. This API is asynchronous, returning the location of a `queued-scene-item`. Check the status via the getQueuedSceneItem API. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - * @param id The `scene` ID. (required) - * @param createSceneItemRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
409 Conflict -
415 Unsupported Media Type -
- */ - public QueuedJob createSceneItem(UUID id, CreateSceneItemRequest createSceneItemRequest) throws ApiException { - ApiResponse localVarResp = createSceneItemWithHttpInfo(id, createSceneItemRequest); - return localVarResp.getData(); - } - - /** - * - * Create a `scene-item` for a `scene`. Provide the source geometry either via `part-revision` or `geometry-set` UUID using `relationship.source` or by supplied IDs using `attributes.source`. Provide an existing `scene` using `relationship.source` to clone it. Provide the hierarchical parent either via `scene-item` UUID using `relationship.source` or by supplied ID using `attributes.parent`. To reduce the time taken creating many hierarchical `scene-items`, make a best effort to create parents before children. One way to do this is by sorting the items by depth and starting at the root. This API is asynchronous, returning the location of a `queued-scene-item`. Check the status via the getQueuedSceneItem API. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - * @param id The `scene` ID. (required) - * @param createSceneItemRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
409 Conflict -
415 Unsupported Media Type -
- */ - public ApiResponse createSceneItemWithHttpInfo(UUID id, CreateSceneItemRequest createSceneItemRequest) throws ApiException { - okhttp3.Call localVarCall = createSceneItemValidateBeforeCall(id, createSceneItemRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create a `scene-item` for a `scene`. Provide the source geometry either via `part-revision` or `geometry-set` UUID using `relationship.source` or by supplied IDs using `attributes.source`. Provide an existing `scene` using `relationship.source` to clone it. Provide the hierarchical parent either via `scene-item` UUID using `relationship.source` or by supplied ID using `attributes.parent`. To reduce the time taken creating many hierarchical `scene-items`, make a best effort to create parents before children. One way to do this is by sorting the items by depth and starting at the root. This API is asynchronous, returning the location of a `queued-scene-item`. Check the status via the getQueuedSceneItem API. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - * @param id The `scene` ID. (required) - * @param createSceneItemRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
409 Conflict -
415 Unsupported Media Type -
- */ - public okhttp3.Call createSceneItemAsync(UUID id, CreateSceneItemRequest createSceneItemRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createSceneItemValidateBeforeCall(id, createSceneItemRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for deleteSceneItem - * @param id The `scene-item` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteSceneItemCall(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 = "/scene-items/{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 deleteSceneItemValidateBeforeCall(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 deleteSceneItem(Async)"); - } - - - okhttp3.Call localVarCall = deleteSceneItemCall(id, _callback); - return localVarCall; - - } - - /** - * - * Delete a `scene-item`. - * @param id The `scene-item` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public void deleteSceneItem(UUID id) throws ApiException { - deleteSceneItemWithHttpInfo(id); - } - - /** - * - * Delete a `scene-item`. - * @param id The `scene-item` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse deleteSceneItemWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = deleteSceneItemValidateBeforeCall(id, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * Delete a `scene-item`. - * @param id The `scene-item` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteSceneItemAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteSceneItemValidateBeforeCall(id, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getQueuedSceneItem - * @param id The `queued-scene-item` 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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getQueuedSceneItemCall(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 = "/queued-scene-items/{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 getQueuedSceneItemValidateBeforeCall(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 getQueuedSceneItem(Async)"); - } - - - okhttp3.Call localVarCall = getQueuedSceneItemCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `queued-scene-item`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `scene-item`. Once created, commit the scene via the updateScene API. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - * @param id The `queued-scene-item` ID. (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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public QueuedJob getQueuedSceneItem(UUID id) throws ApiException { - ApiResponse localVarResp = getQueuedSceneItemWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `queued-scene-item`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `scene-item`. Once created, commit the scene via the updateScene API. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - * @param id The `queued-scene-item` ID. (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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse getQueuedSceneItemWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getQueuedSceneItemValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `queued-scene-item`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `scene-item`. Once created, commit the scene via the updateScene API. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - * @param id The `queued-scene-item` 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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getQueuedSceneItemAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getQueuedSceneItemValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getQueuedSceneItemDeletion - * @param id The `queued-scene-item-deletion` 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 getQueuedSceneItemDeletionCall(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 = "/queued-scene-item-deletions/{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 getQueuedSceneItemDeletionValidateBeforeCall(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 getQueuedSceneItemDeletion(Async)"); - } - - - okhttp3.Call localVarCall = getQueuedSceneItemDeletionCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `queued-scene-item-deletion` by ID. - * @param id The `queued-scene-item-deletion` ID. (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 getQueuedSceneItemDeletion(UUID id) throws ApiException { - ApiResponse localVarResp = getQueuedSceneItemDeletionWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `queued-scene-item-deletion` by ID. - * @param id The `queued-scene-item-deletion` ID. (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 getQueuedSceneItemDeletionWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getQueuedSceneItemDeletionValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `queued-scene-item-deletion` by ID. - * @param id The `queued-scene-item-deletion` 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 getQueuedSceneItemDeletionAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getQueuedSceneItemDeletionValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getSceneItem - * @param id The `scene-item` ID. (required) - * @param fieldsSceneItem Comma-separated list of fields to return in response. An empty value returns no fields. `boundingBox`, `worldTransform` and `metadata` are only returned if explicitly requested. (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneItemCall(UUID id, String fieldsSceneItem, 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 = "/scene-items/{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(); - - if (fieldsSceneItem != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fields[scene-item]", fieldsSceneItem)); - } - - 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 getSceneItemValidateBeforeCall(UUID id, String fieldsSceneItem, 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 getSceneItem(Async)"); - } - - - okhttp3.Call localVarCall = getSceneItemCall(id, fieldsSceneItem, _callback); - return localVarCall; - - } - - /** - * - * Get a `scene-item` by ID. - * @param id The `scene-item` ID. (required) - * @param fieldsSceneItem Comma-separated list of fields to return in response. An empty value returns no fields. `boundingBox`, `worldTransform` and `metadata` are only returned if explicitly requested. (optional) - * @return SceneItem - * @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 SceneItem getSceneItem(UUID id, String fieldsSceneItem) throws ApiException { - ApiResponse localVarResp = getSceneItemWithHttpInfo(id, fieldsSceneItem); - return localVarResp.getData(); - } - - /** - * - * Get a `scene-item` by ID. - * @param id The `scene-item` ID. (required) - * @param fieldsSceneItem Comma-separated list of fields to return in response. An empty value returns no fields. `boundingBox`, `worldTransform` and `metadata` are only returned if explicitly requested. (optional) - * @return ApiResponse<SceneItem> - * @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 getSceneItemWithHttpInfo(UUID id, String fieldsSceneItem) throws ApiException { - okhttp3.Call localVarCall = getSceneItemValidateBeforeCall(id, fieldsSceneItem, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `scene-item` by ID. - * @param id The `scene-item` ID. (required) - * @param fieldsSceneItem Comma-separated list of fields to return in response. An empty value returns no fields. `boundingBox`, `worldTransform` and `metadata` are only returned if explicitly requested. (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneItemAsync(UUID id, String fieldsSceneItem, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getSceneItemValidateBeforeCall(id, fieldsSceneItem, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getSceneItems - * @param id The `scene` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterSource Source ID to filter on. (optional) - * @param filterSuppliedId Comma-separated list of supplied IDs to filter on. (optional) - * @param filterParent Parent ID to filter on. (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneItemsCall(UUID id, String pageCursor, Integer pageSize, String filterSource, String filterSuppliedId, UUID filterParent, 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 = "/scenes/{id}/scene-items" - .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(); - - if (pageCursor != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("page[cursor]", pageCursor)); - } - - if (pageSize != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("page[size]", pageSize)); - } - - if (filterSource != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[source]", filterSource)); - } - - if (filterSuppliedId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[suppliedId]", filterSuppliedId)); - } - - if (filterParent != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[parent]", filterParent)); - } - - 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 getSceneItemsValidateBeforeCall(UUID id, String pageCursor, Integer pageSize, String filterSource, String filterSuppliedId, UUID filterParent, 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 getSceneItems(Async)"); - } - - - okhttp3.Call localVarCall = getSceneItemsCall(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, _callback); - return localVarCall; - - } - - /** - * - * Get `scene-items` for a `scene`. - * @param id The `scene` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterSource Source ID to filter on. (optional) - * @param filterSuppliedId Comma-separated list of supplied IDs to filter on. (optional) - * @param filterParent Parent ID to filter on. (optional) - * @return SceneItemList - * @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 SceneItemList getSceneItems(UUID id, String pageCursor, Integer pageSize, String filterSource, String filterSuppliedId, UUID filterParent) throws ApiException { - ApiResponse localVarResp = getSceneItemsWithHttpInfo(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent); - return localVarResp.getData(); - } - - /** - * - * Get `scene-items` for a `scene`. - * @param id The `scene` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterSource Source ID to filter on. (optional) - * @param filterSuppliedId Comma-separated list of supplied IDs to filter on. (optional) - * @param filterParent Parent ID to filter on. (optional) - * @return ApiResponse<SceneItemList> - * @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 getSceneItemsWithHttpInfo(UUID id, String pageCursor, Integer pageSize, String filterSource, String filterSuppliedId, UUID filterParent) throws ApiException { - okhttp3.Call localVarCall = getSceneItemsValidateBeforeCall(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get `scene-items` for a `scene`. - * @param id The `scene` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterSource Source ID to filter on. (optional) - * @param filterSuppliedId Comma-separated list of supplied IDs to filter on. (optional) - * @param filterParent Parent 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 - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneItemsAsync(UUID id, String pageCursor, Integer pageSize, String filterSource, String filterSuppliedId, UUID filterParent, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getSceneItemsValidateBeforeCall(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for updateSceneItem - * @param id The `scene-item` ID. (required) - * @param updateSceneItemRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updateSceneItemCall(UUID id, UpdateSceneItemRequest updateSceneItemRequest, 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 = updateSceneItemRequest; - - // create path and map variables - String localVarPath = "/scene-items/{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 = { - "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, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call updateSceneItemValidateBeforeCall(UUID id, UpdateSceneItemRequest updateSceneItemRequest, 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 updateSceneItem(Async)"); - } - - // verify the required parameter 'updateSceneItemRequest' is set - if (updateSceneItemRequest == null) { - throw new ApiException("Missing the required parameter 'updateSceneItemRequest' when calling updateSceneItem(Async)"); - } - - - okhttp3.Call localVarCall = updateSceneItemCall(id, updateSceneItemRequest, _callback); - return localVarCall; - - } - - /** - * - * Update a `scene-item`. - * @param id The `scene-item` ID. (required) - * @param updateSceneItemRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public QueuedJob updateSceneItem(UUID id, UpdateSceneItemRequest updateSceneItemRequest) throws ApiException { - ApiResponse localVarResp = updateSceneItemWithHttpInfo(id, updateSceneItemRequest); - return localVarResp.getData(); - } - - /** - * - * Update a `scene-item`. - * @param id The `scene-item` ID. (required) - * @param updateSceneItemRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse updateSceneItemWithHttpInfo(UUID id, UpdateSceneItemRequest updateSceneItemRequest) throws ApiException { - okhttp3.Call localVarCall = updateSceneItemValidateBeforeCall(id, updateSceneItemRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Update a `scene-item`. - * @param id The `scene-item` ID. (required) - * @param updateSceneItemRequest (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
202 Accepted * content-location -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updateSceneItemAsync(UUID id, UpdateSceneItemRequest updateSceneItemRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updateSceneItemValidateBeforeCall(id, updateSceneItemRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/SceneSynchronizationsApi.java b/src/main/java/com/vertexvis/api/SceneSynchronizationsApi.java deleted file mode 100644 index 8bfb20e5..00000000 --- a/src/main/java/com/vertexvis/api/SceneSynchronizationsApi.java +++ /dev/null @@ -1,665 +0,0 @@ -/* - * 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.CreateSceneSyncRequest; -import com.vertexvis.model.Failure; -import com.vertexvis.model.QueuedJob; -import com.vertexvis.model.SceneSync; -import com.vertexvis.model.SceneSyncItemResultsList; -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 SceneSynchronizationsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public SceneSynchronizationsApi() { - this(Configuration.getDefaultApiClient()); - } - - public SceneSynchronizationsApi(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 createSceneSync - * @param id The `scene` ID. (required) - * @param createSceneSyncRequest (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
202 Accepted * content-location -
404 Not Found -
- */ - public okhttp3.Call createSceneSyncCall(UUID id, CreateSceneSyncRequest createSceneSyncRequest, 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 = createSceneSyncRequest; - - // create path and map variables - String localVarPath = "/scenes/{id}/scene-syncs" - .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 = { - "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 createSceneSyncValidateBeforeCall(UUID id, CreateSceneSyncRequest createSceneSyncRequest, 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 createSceneSync(Async)"); - } - - // verify the required parameter 'createSceneSyncRequest' is set - if (createSceneSyncRequest == null) { - throw new ApiException("Missing the required parameter 'createSceneSyncRequest' when calling createSceneSync(Async)"); - } - - - okhttp3.Call localVarCall = createSceneSyncCall(id, createSceneSyncRequest, _callback); - return localVarCall; - - } - - /** - * - * Create a scene item update job. - * @param id The `scene` ID. (required) - * @param createSceneSyncRequest (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
202 Accepted * content-location -
404 Not Found -
- */ - public QueuedJob createSceneSync(UUID id, CreateSceneSyncRequest createSceneSyncRequest) throws ApiException { - ApiResponse localVarResp = createSceneSyncWithHttpInfo(id, createSceneSyncRequest); - return localVarResp.getData(); - } - - /** - * - * Create a scene item update job. - * @param id The `scene` ID. (required) - * @param createSceneSyncRequest (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
202 Accepted * content-location -
404 Not Found -
- */ - public ApiResponse createSceneSyncWithHttpInfo(UUID id, CreateSceneSyncRequest createSceneSyncRequest) throws ApiException { - okhttp3.Call localVarCall = createSceneSyncValidateBeforeCall(id, createSceneSyncRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create a scene item update job. - * @param id The `scene` ID. (required) - * @param createSceneSyncRequest (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
202 Accepted * content-location -
404 Not Found -
- */ - public okhttp3.Call createSceneSyncAsync(UUID id, CreateSceneSyncRequest createSceneSyncRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createSceneSyncValidateBeforeCall(id, createSceneSyncRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getQueuedSceneSync - * @param id The `queued-scene-sync` 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 getQueuedSceneSyncCall(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 = "/queued-scene-syncs/{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 getQueuedSceneSyncValidateBeforeCall(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 getQueuedSceneSync(Async)"); - } - - - okhttp3.Call localVarCall = getQueuedSceneSyncCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `queued-scene-sync-job`. - * @param id The `queued-scene-sync` ID. (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 getQueuedSceneSync(UUID id) throws ApiException { - ApiResponse localVarResp = getQueuedSceneSyncWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `queued-scene-sync-job`. - * @param id The `queued-scene-sync` ID. (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 getQueuedSceneSyncWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getQueuedSceneSyncValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `queued-scene-sync-job`. - * @param id The `queued-scene-sync` 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 getQueuedSceneSyncAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getQueuedSceneSyncValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getSceneSync - * @param id The `scene-sync` 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 getSceneSyncCall(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 = "/scene-syncs/{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 getSceneSyncValidateBeforeCall(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 getSceneSync(Async)"); - } - - - okhttp3.Call localVarCall = getSceneSyncCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `scene-sync`. - * @param id The `scene-sync` ID. (required) - * @return SceneSync - * @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 SceneSync getSceneSync(UUID id) throws ApiException { - ApiResponse localVarResp = getSceneSyncWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `scene-sync`. - * @param id The `scene-sync` ID. (required) - * @return ApiResponse<SceneSync> - * @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 getSceneSyncWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getSceneSyncValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `scene-sync`. - * @param id The `scene-sync` 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 getSceneSyncAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getSceneSyncValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getSceneSyncItemResults - * @param id The `scene-sync` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterSceneItemId List of scene item IDs to filter on. (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneSyncItemResultsCall(UUID id, String pageCursor, Integer pageSize, UUID filterSceneItemId, 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 = "/scene-syncs/{id}/item-results" - .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(); - - if (pageCursor != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("page[cursor]", pageCursor)); - } - - if (pageSize != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("page[size]", pageSize)); - } - - if (filterSceneItemId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[sceneItemId]", filterSceneItemId)); - } - - 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 getSceneSyncItemResultsValidateBeforeCall(UUID id, String pageCursor, Integer pageSize, UUID filterSceneItemId, 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 getSceneSyncItemResults(Async)"); - } - - - okhttp3.Call localVarCall = getSceneSyncItemResultsCall(id, pageCursor, pageSize, filterSceneItemId, _callback); - return localVarCall; - - } - - /** - * - * Get the results of a scene synchronization. - * @param id The `scene-sync` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterSceneItemId List of scene item IDs to filter on. (optional) - * @return SceneSyncItemResultsList - * @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 SceneSyncItemResultsList getSceneSyncItemResults(UUID id, String pageCursor, Integer pageSize, UUID filterSceneItemId) throws ApiException { - ApiResponse localVarResp = getSceneSyncItemResultsWithHttpInfo(id, pageCursor, pageSize, filterSceneItemId); - return localVarResp.getData(); - } - - /** - * - * Get the results of a scene synchronization. - * @param id The `scene-sync` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterSceneItemId List of scene item IDs to filter on. (optional) - * @return ApiResponse<SceneSyncItemResultsList> - * @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 getSceneSyncItemResultsWithHttpInfo(UUID id, String pageCursor, Integer pageSize, UUID filterSceneItemId) throws ApiException { - okhttp3.Call localVarCall = getSceneSyncItemResultsValidateBeforeCall(id, pageCursor, pageSize, filterSceneItemId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get the results of a scene synchronization. - * @param id The `scene-sync` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterSceneItemId List of scene item IDs 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 - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneSyncItemResultsAsync(UUID id, String pageCursor, Integer pageSize, UUID filterSceneItemId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getSceneSyncItemResultsValidateBeforeCall(id, pageCursor, pageSize, filterSceneItemId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/SceneViewStatesApi.java b/src/main/java/com/vertexvis/api/SceneViewStatesApi.java deleted file mode 100644 index eb3e3f37..00000000 --- a/src/main/java/com/vertexvis/api/SceneViewStatesApi.java +++ /dev/null @@ -1,846 +0,0 @@ -/* - * 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.CreateSceneViewStateRequest; -import com.vertexvis.model.Failure; -import com.vertexvis.model.SceneViewState; -import com.vertexvis.model.SceneViewStateList; -import java.util.UUID; -import com.vertexvis.model.UpdateSceneViewStateRequest; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class SceneViewStatesApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public SceneViewStatesApi() { - this(Configuration.getDefaultApiClient()); - } - - public SceneViewStatesApi(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 createSceneViewState - * @param id The `scene` ID. (required) - * @param createSceneViewStateRequest (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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createSceneViewStateCall(UUID id, CreateSceneViewStateRequest createSceneViewStateRequest, 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 = createSceneViewStateRequest; - - // create path and map variables - String localVarPath = "/scenes/{id}/scene-view-states" - .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 = { - "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 createSceneViewStateValidateBeforeCall(UUID id, CreateSceneViewStateRequest createSceneViewStateRequest, 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 createSceneViewState(Async)"); - } - - // verify the required parameter 'createSceneViewStateRequest' is set - if (createSceneViewStateRequest == null) { - throw new ApiException("Missing the required parameter 'createSceneViewStateRequest' when calling createSceneViewState(Async)"); - } - - - okhttp3.Call localVarCall = createSceneViewStateCall(id, createSceneViewStateRequest, _callback); - return localVarCall; - - } - - /** - * - * Create a `scene-view-state` for a `scene`. - * @param id The `scene` ID. (required) - * @param createSceneViewStateRequest (required) - * @return SceneViewState - * @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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public SceneViewState createSceneViewState(UUID id, CreateSceneViewStateRequest createSceneViewStateRequest) throws ApiException { - ApiResponse localVarResp = createSceneViewStateWithHttpInfo(id, createSceneViewStateRequest); - return localVarResp.getData(); - } - - /** - * - * Create a `scene-view-state` for a `scene`. - * @param id The `scene` ID. (required) - * @param createSceneViewStateRequest (required) - * @return ApiResponse<SceneViewState> - * @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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse createSceneViewStateWithHttpInfo(UUID id, CreateSceneViewStateRequest createSceneViewStateRequest) throws ApiException { - okhttp3.Call localVarCall = createSceneViewStateValidateBeforeCall(id, createSceneViewStateRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create a `scene-view-state` for a `scene`. - * @param id The `scene` ID. (required) - * @param createSceneViewStateRequest (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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createSceneViewStateAsync(UUID id, CreateSceneViewStateRequest createSceneViewStateRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createSceneViewStateValidateBeforeCall(id, createSceneViewStateRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for deleteSceneViewState - * @param id The `scene-view-state` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteSceneViewStateCall(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 = "/scene-view-states/{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 deleteSceneViewStateValidateBeforeCall(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 deleteSceneViewState(Async)"); - } - - - okhttp3.Call localVarCall = deleteSceneViewStateCall(id, _callback); - return localVarCall; - - } - - /** - * - * Delete a `scene-view-state`. - * @param id The `scene-view-state` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public void deleteSceneViewState(UUID id) throws ApiException { - deleteSceneViewStateWithHttpInfo(id); - } - - /** - * - * Delete a `scene-view-state`. - * @param id The `scene-view-state` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse deleteSceneViewStateWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = deleteSceneViewStateValidateBeforeCall(id, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * Delete a `scene-view-state`. - * @param id The `scene-view-state` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteSceneViewStateAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteSceneViewStateValidateBeforeCall(id, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getSceneViewState - * @param id The `scene-view-state` ID. (required) - * @param fieldsSceneViewState Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested. (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneViewStateCall(UUID id, String fieldsSceneViewState, 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 = "/scene-view-states/{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(); - - if (fieldsSceneViewState != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fields[scene-view-state]", fieldsSceneViewState)); - } - - 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 getSceneViewStateValidateBeforeCall(UUID id, String fieldsSceneViewState, 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 getSceneViewState(Async)"); - } - - - okhttp3.Call localVarCall = getSceneViewStateCall(id, fieldsSceneViewState, _callback); - return localVarCall; - - } - - /** - * - * Get a `scene-view-state` by ID. - * @param id The `scene-view-state` ID. (required) - * @param fieldsSceneViewState Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested. (optional) - * @return SceneViewState - * @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 SceneViewState getSceneViewState(UUID id, String fieldsSceneViewState) throws ApiException { - ApiResponse localVarResp = getSceneViewStateWithHttpInfo(id, fieldsSceneViewState); - return localVarResp.getData(); - } - - /** - * - * Get a `scene-view-state` by ID. - * @param id The `scene-view-state` ID. (required) - * @param fieldsSceneViewState Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested. (optional) - * @return ApiResponse<SceneViewState> - * @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 getSceneViewStateWithHttpInfo(UUID id, String fieldsSceneViewState) throws ApiException { - okhttp3.Call localVarCall = getSceneViewStateValidateBeforeCall(id, fieldsSceneViewState, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `scene-view-state` by ID. - * @param id The `scene-view-state` ID. (required) - * @param fieldsSceneViewState Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested. (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneViewStateAsync(UUID id, String fieldsSceneViewState, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getSceneViewStateValidateBeforeCall(id, fieldsSceneViewState, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getSceneViewStates - * @param id The `scene` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param fieldsSceneViewState Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested. (optional) - * @param filterId Comma-separated list of IDs to filter on. (optional) - * @param filterSuppliedId Comma-separated list of supplied IDs to filter on. (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 -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneViewStatesCall(UUID id, String pageCursor, Integer pageSize, String fieldsSceneViewState, String filterId, String filterSuppliedId, 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 = "/scenes/{id}/scene-view-states" - .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(); - - if (pageCursor != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("page[cursor]", pageCursor)); - } - - if (pageSize != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("page[size]", pageSize)); - } - - if (fieldsSceneViewState != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fields[scene-view-state]", fieldsSceneViewState)); - } - - if (filterId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[id]", filterId)); - } - - if (filterSuppliedId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[suppliedId]", filterSuppliedId)); - } - - 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 getSceneViewStatesValidateBeforeCall(UUID id, String pageCursor, Integer pageSize, String fieldsSceneViewState, String filterId, String filterSuppliedId, 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 getSceneViewStates(Async)"); - } - - - okhttp3.Call localVarCall = getSceneViewStatesCall(id, pageCursor, pageSize, fieldsSceneViewState, filterId, filterSuppliedId, _callback); - return localVarCall; - - } - - /** - * - * Get `scene-view-states` for a `scene`. - * @param id The `scene` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param fieldsSceneViewState Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested. (optional) - * @param filterId Comma-separated list of IDs to filter on. (optional) - * @param filterSuppliedId Comma-separated list of supplied IDs to filter on. (optional) - * @return SceneViewStateList - * @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 -
415 Unsupported Media Type -
- */ - public SceneViewStateList getSceneViewStates(UUID id, String pageCursor, Integer pageSize, String fieldsSceneViewState, String filterId, String filterSuppliedId) throws ApiException { - ApiResponse localVarResp = getSceneViewStatesWithHttpInfo(id, pageCursor, pageSize, fieldsSceneViewState, filterId, filterSuppliedId); - return localVarResp.getData(); - } - - /** - * - * Get `scene-view-states` for a `scene`. - * @param id The `scene` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param fieldsSceneViewState Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested. (optional) - * @param filterId Comma-separated list of IDs to filter on. (optional) - * @param filterSuppliedId Comma-separated list of supplied IDs to filter on. (optional) - * @return ApiResponse<SceneViewStateList> - * @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 -
415 Unsupported Media Type -
- */ - public ApiResponse getSceneViewStatesWithHttpInfo(UUID id, String pageCursor, Integer pageSize, String fieldsSceneViewState, String filterId, String filterSuppliedId) throws ApiException { - okhttp3.Call localVarCall = getSceneViewStatesValidateBeforeCall(id, pageCursor, pageSize, fieldsSceneViewState, filterId, filterSuppliedId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get `scene-view-states` for a `scene`. - * @param id The `scene` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param fieldsSceneViewState Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested. (optional) - * @param filterId Comma-separated list of IDs to filter on. (optional) - * @param filterSuppliedId Comma-separated list of supplied IDs 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 - * @http.response.details - - - - - -
Status Code Description Response Headers
200 OK -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneViewStatesAsync(UUID id, String pageCursor, Integer pageSize, String fieldsSceneViewState, String filterId, String filterSuppliedId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getSceneViewStatesValidateBeforeCall(id, pageCursor, pageSize, fieldsSceneViewState, filterId, filterSuppliedId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for updateSceneViewState - * @param id The `scene-view-state` ID. (required) - * @param updateSceneViewStateRequest (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updateSceneViewStateCall(UUID id, UpdateSceneViewStateRequest updateSceneViewStateRequest, 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 = updateSceneViewStateRequest; - - // create path and map variables - String localVarPath = "/scene-view-states/{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 = { - "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, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call updateSceneViewStateValidateBeforeCall(UUID id, UpdateSceneViewStateRequest updateSceneViewStateRequest, 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 updateSceneViewState(Async)"); - } - - // verify the required parameter 'updateSceneViewStateRequest' is set - if (updateSceneViewStateRequest == null) { - throw new ApiException("Missing the required parameter 'updateSceneViewStateRequest' when calling updateSceneViewState(Async)"); - } - - - okhttp3.Call localVarCall = updateSceneViewStateCall(id, updateSceneViewStateRequest, _callback); - return localVarCall; - - } - - /** - * - * Update a `scene-view-state`. - * @param id The `scene-view-state` ID. (required) - * @param updateSceneViewStateRequest (required) - * @return SceneViewState - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public SceneViewState updateSceneViewState(UUID id, UpdateSceneViewStateRequest updateSceneViewStateRequest) throws ApiException { - ApiResponse localVarResp = updateSceneViewStateWithHttpInfo(id, updateSceneViewStateRequest); - return localVarResp.getData(); - } - - /** - * - * Update a `scene-view-state`. - * @param id The `scene-view-state` ID. (required) - * @param updateSceneViewStateRequest (required) - * @return ApiResponse<SceneViewState> - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse updateSceneViewStateWithHttpInfo(UUID id, UpdateSceneViewStateRequest updateSceneViewStateRequest) throws ApiException { - okhttp3.Call localVarCall = updateSceneViewStateValidateBeforeCall(id, updateSceneViewStateRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Update a `scene-view-state`. - * @param id The `scene-view-state` ID. (required) - * @param updateSceneViewStateRequest (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updateSceneViewStateAsync(UUID id, UpdateSceneViewStateRequest updateSceneViewStateRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updateSceneViewStateValidateBeforeCall(id, updateSceneViewStateRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/SceneViewsApi.java b/src/main/java/com/vertexvis/api/SceneViewsApi.java deleted file mode 100644 index 5aadf650..00000000 --- a/src/main/java/com/vertexvis/api/SceneViewsApi.java +++ /dev/null @@ -1,1142 +0,0 @@ -/* - * 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.CreateSceneViewRequest; -import com.vertexvis.model.Failure; -import java.io.File; -import com.vertexvis.model.SceneView; -import com.vertexvis.model.SceneViewItem; -import com.vertexvis.model.SceneViewList; -import java.util.UUID; -import com.vertexvis.model.UpdateSceneViewRequest; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class SceneViewsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public SceneViewsApi() { - this(Configuration.getDefaultApiClient()); - } - - public SceneViewsApi(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 createSceneView - * @param id The `scene` ID. (required) - * @param createSceneViewRequest (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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createSceneViewCall(UUID id, CreateSceneViewRequest createSceneViewRequest, 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 = createSceneViewRequest; - - // create path and map variables - String localVarPath = "/scenes/{id}/scene-views" - .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 = { - "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 createSceneViewValidateBeforeCall(UUID id, CreateSceneViewRequest createSceneViewRequest, 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 createSceneView(Async)"); - } - - // verify the required parameter 'createSceneViewRequest' is set - if (createSceneViewRequest == null) { - throw new ApiException("Missing the required parameter 'createSceneViewRequest' when calling createSceneView(Async)"); - } - - - okhttp3.Call localVarCall = createSceneViewCall(id, createSceneViewRequest, _callback); - return localVarCall; - - } - - /** - * - * Create a `scene-view` of a `scene`. - * @param id The `scene` ID. (required) - * @param createSceneViewRequest (required) - * @return SceneView - * @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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public SceneView createSceneView(UUID id, CreateSceneViewRequest createSceneViewRequest) throws ApiException { - ApiResponse localVarResp = createSceneViewWithHttpInfo(id, createSceneViewRequest); - return localVarResp.getData(); - } - - /** - * - * Create a `scene-view` of a `scene`. - * @param id The `scene` ID. (required) - * @param createSceneViewRequest (required) - * @return ApiResponse<SceneView> - * @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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse createSceneViewWithHttpInfo(UUID id, CreateSceneViewRequest createSceneViewRequest) throws ApiException { - okhttp3.Call localVarCall = createSceneViewValidateBeforeCall(id, createSceneViewRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create a `scene-view` of a `scene`. - * @param id The `scene` ID. (required) - * @param createSceneViewRequest (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 -
400 Bad Request -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createSceneViewAsync(UUID id, CreateSceneViewRequest createSceneViewRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createSceneViewValidateBeforeCall(id, createSceneViewRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for deleteSceneView - * @param id The `scene-view` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteSceneViewCall(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 = "/scene-views/{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 deleteSceneViewValidateBeforeCall(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 deleteSceneView(Async)"); - } - - - okhttp3.Call localVarCall = deleteSceneViewCall(id, _callback); - return localVarCall; - - } - - /** - * - * Delete a `scene-view`. - * @param id The `scene-view` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public void deleteSceneView(UUID id) throws ApiException { - deleteSceneViewWithHttpInfo(id); - } - - /** - * - * Delete a `scene-view`. - * @param id The `scene-view` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse deleteSceneViewWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = deleteSceneViewValidateBeforeCall(id, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * Delete a `scene-view`. - * @param id The `scene-view` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteSceneViewAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteSceneViewValidateBeforeCall(id, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getSceneView - * @param id The `scene-view` 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 getSceneViewCall(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 = "/scene-views/{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 getSceneViewValidateBeforeCall(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 getSceneView(Async)"); - } - - - okhttp3.Call localVarCall = getSceneViewCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `scene-view` by ID. - * @param id The `scene-view` ID. (required) - * @return SceneView - * @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 SceneView getSceneView(UUID id) throws ApiException { - ApiResponse localVarResp = getSceneViewWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `scene-view` by ID. - * @param id The `scene-view` ID. (required) - * @return ApiResponse<SceneView> - * @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 getSceneViewWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getSceneViewValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `scene-view` by ID. - * @param id The `scene-view` 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 getSceneViewAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getSceneViewValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getSceneViews - * @param id The `scene` ID. (required) - * @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 -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneViewsCall(UUID id, 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 = "/scenes/{id}/scene-views" - .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(); - - 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 getSceneViewsValidateBeforeCall(UUID id, String pageCursor, Integer pageSize, 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 getSceneViews(Async)"); - } - - - okhttp3.Call localVarCall = getSceneViewsCall(id, pageCursor, pageSize, _callback); - return localVarCall; - - } - - /** - * - * Get `scene-view`s for a `scene`. - * @param id The `scene` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @return SceneViewList - * @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 -
415 Unsupported Media Type -
- */ - public SceneViewList getSceneViews(UUID id, String pageCursor, Integer pageSize) throws ApiException { - ApiResponse localVarResp = getSceneViewsWithHttpInfo(id, pageCursor, pageSize); - return localVarResp.getData(); - } - - /** - * - * Get `scene-view`s for a `scene`. - * @param id The `scene` ID. (required) - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @return ApiResponse<SceneViewList> - * @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 -
415 Unsupported Media Type -
- */ - public ApiResponse getSceneViewsWithHttpInfo(UUID id, String pageCursor, Integer pageSize) throws ApiException { - okhttp3.Call localVarCall = getSceneViewsValidateBeforeCall(id, pageCursor, pageSize, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get `scene-view`s for a `scene`. - * @param id The `scene` ID. (required) - * @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 -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneViewsAsync(UUID id, String pageCursor, Integer pageSize, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getSceneViewsValidateBeforeCall(id, pageCursor, pageSize, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getViewSceneItem - * @param id The `scene-view` ID. (required) - * @param itemId The `scene-item` ID. (required) - * @param fieldsSceneItem Comma-separated list of fields to return in response. An empty value returns no fields. `boundingBox`, `worldTransform` and `metadata` are only returned if explicitly requested. (optional) - * @param include Comma-separated list of relationships to include in response. (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getViewSceneItemCall(UUID id, UUID itemId, String fieldsSceneItem, String include, 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 = "/scene-views/{id}/scene-items/{itemId}" - .replaceAll("\\{" + "id" + "\\}", localVarApiClient.escapeString(id.toString())) - .replaceAll("\\{" + "itemId" + "\\}", localVarApiClient.escapeString(itemId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (fieldsSceneItem != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fields[scene-item]", fieldsSceneItem)); - } - - if (include != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("include", include)); - } - - 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 getViewSceneItemValidateBeforeCall(UUID id, UUID itemId, String fieldsSceneItem, String include, 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 getViewSceneItem(Async)"); - } - - // verify the required parameter 'itemId' is set - if (itemId == null) { - throw new ApiException("Missing the required parameter 'itemId' when calling getViewSceneItem(Async)"); - } - - - okhttp3.Call localVarCall = getViewSceneItemCall(id, itemId, fieldsSceneItem, include, _callback); - return localVarCall; - - } - - /** - * - * Get a `scene-item` within a view by ID. - * @param id The `scene-view` ID. (required) - * @param itemId The `scene-item` ID. (required) - * @param fieldsSceneItem Comma-separated list of fields to return in response. An empty value returns no fields. `boundingBox`, `worldTransform` and `metadata` are only returned if explicitly requested. (optional) - * @param include Comma-separated list of relationships to include in response. (optional) - * @return SceneViewItem - * @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 SceneViewItem getViewSceneItem(UUID id, UUID itemId, String fieldsSceneItem, String include) throws ApiException { - ApiResponse localVarResp = getViewSceneItemWithHttpInfo(id, itemId, fieldsSceneItem, include); - return localVarResp.getData(); - } - - /** - * - * Get a `scene-item` within a view by ID. - * @param id The `scene-view` ID. (required) - * @param itemId The `scene-item` ID. (required) - * @param fieldsSceneItem Comma-separated list of fields to return in response. An empty value returns no fields. `boundingBox`, `worldTransform` and `metadata` are only returned if explicitly requested. (optional) - * @param include Comma-separated list of relationships to include in response. (optional) - * @return ApiResponse<SceneViewItem> - * @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 getViewSceneItemWithHttpInfo(UUID id, UUID itemId, String fieldsSceneItem, String include) throws ApiException { - okhttp3.Call localVarCall = getViewSceneItemValidateBeforeCall(id, itemId, fieldsSceneItem, include, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `scene-item` within a view by ID. - * @param id The `scene-view` ID. (required) - * @param itemId The `scene-item` ID. (required) - * @param fieldsSceneItem Comma-separated list of fields to return in response. An empty value returns no fields. `boundingBox`, `worldTransform` and `metadata` are only returned if explicitly requested. (optional) - * @param include Comma-separated list of relationships to include in response. (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getViewSceneItemAsync(UUID id, UUID itemId, String fieldsSceneItem, String include, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getViewSceneItemValidateBeforeCall(id, itemId, fieldsSceneItem, include, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for renderSceneView - * @param id The `scene-view` ID. (required) - * @param height The height of the image to render. (optional) - * @param width The width of the image to render. (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 -
404 Not Found -
415 Unsupported Media Type -
504 GatewayTimeout -
- */ - public okhttp3.Call renderSceneViewCall(UUID id, Integer height, Integer width, 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 = "/scene-views/{id}/image" - .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(); - - if (height != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("height", height)); - } - - if (width != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("width", width)); - } - - final String[] localVarAccepts = { - "image/jpeg", "image/png", "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 renderSceneViewValidateBeforeCall(UUID id, Integer height, Integer width, 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 renderSceneView(Async)"); - } - - - okhttp3.Call localVarCall = renderSceneViewCall(id, height, width, _callback); - return localVarCall; - - } - - /** - * - * Get a rendered image of a `scene-view`. If a single pixel is returned, ensure the `scene` is in the `commit` state and contains scene items. - * @param id The `scene-view` ID. (required) - * @param height The height of the image to render. (optional) - * @param width The width of the image to render. (optional) - * @return File - * @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 -
504 GatewayTimeout -
- */ - public File renderSceneView(UUID id, Integer height, Integer width) throws ApiException { - ApiResponse localVarResp = renderSceneViewWithHttpInfo(id, height, width); - return localVarResp.getData(); - } - - /** - * - * Get a rendered image of a `scene-view`. If a single pixel is returned, ensure the `scene` is in the `commit` state and contains scene items. - * @param id The `scene-view` ID. (required) - * @param height The height of the image to render. (optional) - * @param width The width of the image to render. (optional) - * @return ApiResponse<File> - * @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 -
504 GatewayTimeout -
- */ - public ApiResponse renderSceneViewWithHttpInfo(UUID id, Integer height, Integer width) throws ApiException { - okhttp3.Call localVarCall = renderSceneViewValidateBeforeCall(id, height, width, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a rendered image of a `scene-view`. If a single pixel is returned, ensure the `scene` is in the `commit` state and contains scene items. - * @param id The `scene-view` ID. (required) - * @param height The height of the image to render. (optional) - * @param width The width of the image to render. (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 -
404 Not Found -
415 Unsupported Media Type -
504 GatewayTimeout -
- */ - public okhttp3.Call renderSceneViewAsync(UUID id, Integer height, Integer width, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = renderSceneViewValidateBeforeCall(id, height, width, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for updateSceneView - * @param id The `scene-view` ID. (required) - * @param updateSceneViewRequest (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updateSceneViewCall(UUID id, UpdateSceneViewRequest updateSceneViewRequest, 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 = updateSceneViewRequest; - - // create path and map variables - String localVarPath = "/scene-views/{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 = { - "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, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call updateSceneViewValidateBeforeCall(UUID id, UpdateSceneViewRequest updateSceneViewRequest, 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 updateSceneView(Async)"); - } - - // verify the required parameter 'updateSceneViewRequest' is set - if (updateSceneViewRequest == null) { - throw new ApiException("Missing the required parameter 'updateSceneViewRequest' when calling updateSceneView(Async)"); - } - - - okhttp3.Call localVarCall = updateSceneViewCall(id, updateSceneViewRequest, _callback); - return localVarCall; - - } - - /** - * - * Update a `scene-view`. - * @param id The `scene-view` ID. (required) - * @param updateSceneViewRequest (required) - * @return SceneView - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public SceneView updateSceneView(UUID id, UpdateSceneViewRequest updateSceneViewRequest) throws ApiException { - ApiResponse localVarResp = updateSceneViewWithHttpInfo(id, updateSceneViewRequest); - return localVarResp.getData(); - } - - /** - * - * Update a `scene-view`. - * @param id The `scene-view` ID. (required) - * @param updateSceneViewRequest (required) - * @return ApiResponse<SceneView> - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse updateSceneViewWithHttpInfo(UUID id, UpdateSceneViewRequest updateSceneViewRequest) throws ApiException { - okhttp3.Call localVarCall = updateSceneViewValidateBeforeCall(id, updateSceneViewRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Update a `scene-view`. - * @param id The `scene-view` ID. (required) - * @param updateSceneViewRequest (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updateSceneViewAsync(UUID id, UpdateSceneViewRequest updateSceneViewRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updateSceneViewValidateBeforeCall(id, updateSceneViewRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/ScenesApi.java b/src/main/java/com/vertexvis/api/ScenesApi.java deleted file mode 100644 index ade956b9..00000000 --- a/src/main/java/com/vertexvis/api/ScenesApi.java +++ /dev/null @@ -1,1160 +0,0 @@ -/* - * 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.CreateSceneRequest; -import com.vertexvis.model.Failure; -import java.io.File; -import com.vertexvis.model.QueuedJob; -import com.vertexvis.model.Scene; -import com.vertexvis.model.SceneList; -import java.util.UUID; -import com.vertexvis.model.UpdateSceneRequest; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class ScenesApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public ScenesApi() { - this(Configuration.getDefaultApiClient()); - } - - public ScenesApi(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 createScene - * @param createSceneRequest (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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call createSceneCall(CreateSceneRequest createSceneRequest, 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 = createSceneRequest; - - // create path and map variables - String localVarPath = "/scenes"; - - 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 createSceneValidateBeforeCall(CreateSceneRequest createSceneRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'createSceneRequest' is set - if (createSceneRequest == null) { - throw new ApiException("Missing the required parameter 'createSceneRequest' when calling createScene(Async)"); - } - - - okhttp3.Call localVarCall = createSceneCall(createSceneRequest, _callback); - return localVarCall; - - } - - /** - * - * Create a `scene`. Once created, add scene items via the createSceneItem API. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - * @param createSceneRequest (required) - * @return Scene - * @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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public Scene createScene(CreateSceneRequest createSceneRequest) throws ApiException { - ApiResponse localVarResp = createSceneWithHttpInfo(createSceneRequest); - return localVarResp.getData(); - } - - /** - * - * Create a `scene`. Once created, add scene items via the createSceneItem API. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - * @param createSceneRequest (required) - * @return ApiResponse<Scene> - * @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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public ApiResponse createSceneWithHttpInfo(CreateSceneRequest createSceneRequest) throws ApiException { - okhttp3.Call localVarCall = createSceneValidateBeforeCall(createSceneRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create a `scene`. Once created, add scene items via the createSceneItem API. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - * @param createSceneRequest (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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call createSceneAsync(CreateSceneRequest createSceneRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createSceneValidateBeforeCall(createSceneRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for deleteScene - * @param id The `scene` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteSceneCall(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 = "/scenes/{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 deleteSceneValidateBeforeCall(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 deleteScene(Async)"); - } - - - okhttp3.Call localVarCall = deleteSceneCall(id, _callback); - return localVarCall; - - } - - /** - * - * Delete a `scene`. - * @param id The `scene` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public void deleteScene(UUID id) throws ApiException { - deleteSceneWithHttpInfo(id); - } - - /** - * - * Delete a `scene`. - * @param id The `scene` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse deleteSceneWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = deleteSceneValidateBeforeCall(id, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * Delete a `scene`. - * @param id The `scene` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteSceneAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteSceneValidateBeforeCall(id, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getQueuedScene - * @param id The `scene` 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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getQueuedSceneCall(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 = "/queued-scenes/{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 getQueuedSceneValidateBeforeCall(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 getQueuedScene(Async)"); - } - - - okhttp3.Call localVarCall = getQueuedSceneCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `queued-scene`. - * @param id The `scene` ID. (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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public QueuedJob getQueuedScene(UUID id) throws ApiException { - ApiResponse localVarResp = getQueuedSceneWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `queued-scene`. - * @param id The `scene` ID. (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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse getQueuedSceneWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getQueuedSceneValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `queued-scene`. - * @param id The `scene` 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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getQueuedSceneAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getQueuedSceneValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getScene - * @param id The `scene` ID. (required) - * @param fieldsScene Comma-separated list of fields to return in response. An empty value returns no fields. `sceneItemCount` and `metadata` are only returned if explicitly requested. (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneCall(UUID id, String fieldsScene, 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 = "/scenes/{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(); - - if (fieldsScene != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fields[scene]", fieldsScene)); - } - - 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 getSceneValidateBeforeCall(UUID id, String fieldsScene, 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 getScene(Async)"); - } - - - okhttp3.Call localVarCall = getSceneCall(id, fieldsScene, _callback); - return localVarCall; - - } - - /** - * - * Get a `scene` by ID. - * @param id The `scene` ID. (required) - * @param fieldsScene Comma-separated list of fields to return in response. An empty value returns no fields. `sceneItemCount` and `metadata` are only returned if explicitly requested. (optional) - * @return Scene - * @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 Scene getScene(UUID id, String fieldsScene) throws ApiException { - ApiResponse localVarResp = getSceneWithHttpInfo(id, fieldsScene); - return localVarResp.getData(); - } - - /** - * - * Get a `scene` by ID. - * @param id The `scene` ID. (required) - * @param fieldsScene Comma-separated list of fields to return in response. An empty value returns no fields. `sceneItemCount` and `metadata` are only returned if explicitly requested. (optional) - * @return ApiResponse<Scene> - * @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 getSceneWithHttpInfo(UUID id, String fieldsScene) throws ApiException { - okhttp3.Call localVarCall = getSceneValidateBeforeCall(id, fieldsScene, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `scene` by ID. - * @param id The `scene` ID. (required) - * @param fieldsScene Comma-separated list of fields to return in response. An empty value returns no fields. `sceneItemCount` and `metadata` are only returned if explicitly requested. (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getSceneAsync(UUID id, String fieldsScene, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getSceneValidateBeforeCall(id, fieldsScene, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getScenes - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterName Comma-separated list of names to filter on. (optional) - * @param filterSuppliedId Comma-separated list of supplied IDs to filter on. (optional) - * @param fieldsScene Comma-separated list of fields to return in response. An empty value returns no fields. `metadata` is only returned if explicitly requested. (optional) - * @param filterMetadata Filter scenes that contain all the given metadata key-value pairs. Should be specified in query parameter map notation: `filter[metadata][key1]=value1&filter[metadata][key]=value2`. (optional) - * @param filterSceneItemsSourcePartRevision Comma-separated list of scene-item source part revision IDs to filter on. (optional) - * @param filterSceneItemsSourceGeometrySet Comma-separated list of scene-item source geometry set IDs to filter on. (optional) - * @param filterSceneItemsSourceScene Comma-separated list of scene-item source scene IDs to filter on. (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 -
415 Unsupported Media Type -
- */ - public okhttp3.Call getScenesCall(String pageCursor, Integer pageSize, String filterName, String filterSuppliedId, String fieldsScene, Map filterMetadata, String filterSceneItemsSourcePartRevision, String filterSceneItemsSourceGeometrySet, String filterSceneItemsSourceScene, 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 = "/scenes"; - - 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)); - } - - if (filterName != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[name]", filterName)); - } - - if (filterSuppliedId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[suppliedId]", filterSuppliedId)); - } - - if (fieldsScene != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fields[scene]", fieldsScene)); - } - - if (filterMetadata != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[metadata]", filterMetadata)); - } - - if (filterSceneItemsSourcePartRevision != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[sceneItems.source.partRevision]", filterSceneItemsSourcePartRevision)); - } - - if (filterSceneItemsSourceGeometrySet != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[sceneItems.source.geometrySet]", filterSceneItemsSourceGeometrySet)); - } - - if (filterSceneItemsSourceScene != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[sceneItems.source.scene]", filterSceneItemsSourceScene)); - } - - 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 getScenesValidateBeforeCall(String pageCursor, Integer pageSize, String filterName, String filterSuppliedId, String fieldsScene, Map filterMetadata, String filterSceneItemsSourcePartRevision, String filterSceneItemsSourceGeometrySet, String filterSceneItemsSourceScene, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getScenesCall(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, filterSceneItemsSourcePartRevision, filterSceneItemsSourceGeometrySet, filterSceneItemsSourceScene, _callback); - return localVarCall; - - } - - /** - * - * Get `scenes`. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterName Comma-separated list of names to filter on. (optional) - * @param filterSuppliedId Comma-separated list of supplied IDs to filter on. (optional) - * @param fieldsScene Comma-separated list of fields to return in response. An empty value returns no fields. `metadata` is only returned if explicitly requested. (optional) - * @param filterMetadata Filter scenes that contain all the given metadata key-value pairs. Should be specified in query parameter map notation: `filter[metadata][key1]=value1&filter[metadata][key]=value2`. (optional) - * @param filterSceneItemsSourcePartRevision Comma-separated list of scene-item source part revision IDs to filter on. (optional) - * @param filterSceneItemsSourceGeometrySet Comma-separated list of scene-item source geometry set IDs to filter on. (optional) - * @param filterSceneItemsSourceScene Comma-separated list of scene-item source scene IDs to filter on. (optional) - * @return SceneList - * @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 -
415 Unsupported Media Type -
- */ - public SceneList getScenes(String pageCursor, Integer pageSize, String filterName, String filterSuppliedId, String fieldsScene, Map filterMetadata, String filterSceneItemsSourcePartRevision, String filterSceneItemsSourceGeometrySet, String filterSceneItemsSourceScene) throws ApiException { - ApiResponse localVarResp = getScenesWithHttpInfo(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, filterSceneItemsSourcePartRevision, filterSceneItemsSourceGeometrySet, filterSceneItemsSourceScene); - return localVarResp.getData(); - } - - /** - * - * Get `scenes`. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterName Comma-separated list of names to filter on. (optional) - * @param filterSuppliedId Comma-separated list of supplied IDs to filter on. (optional) - * @param fieldsScene Comma-separated list of fields to return in response. An empty value returns no fields. `metadata` is only returned if explicitly requested. (optional) - * @param filterMetadata Filter scenes that contain all the given metadata key-value pairs. Should be specified in query parameter map notation: `filter[metadata][key1]=value1&filter[metadata][key]=value2`. (optional) - * @param filterSceneItemsSourcePartRevision Comma-separated list of scene-item source part revision IDs to filter on. (optional) - * @param filterSceneItemsSourceGeometrySet Comma-separated list of scene-item source geometry set IDs to filter on. (optional) - * @param filterSceneItemsSourceScene Comma-separated list of scene-item source scene IDs to filter on. (optional) - * @return ApiResponse<SceneList> - * @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 -
415 Unsupported Media Type -
- */ - public ApiResponse getScenesWithHttpInfo(String pageCursor, Integer pageSize, String filterName, String filterSuppliedId, String fieldsScene, Map filterMetadata, String filterSceneItemsSourcePartRevision, String filterSceneItemsSourceGeometrySet, String filterSceneItemsSourceScene) throws ApiException { - okhttp3.Call localVarCall = getScenesValidateBeforeCall(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, filterSceneItemsSourcePartRevision, filterSceneItemsSourceGeometrySet, filterSceneItemsSourceScene, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get `scenes`. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterName Comma-separated list of names to filter on. (optional) - * @param filterSuppliedId Comma-separated list of supplied IDs to filter on. (optional) - * @param fieldsScene Comma-separated list of fields to return in response. An empty value returns no fields. `metadata` is only returned if explicitly requested. (optional) - * @param filterMetadata Filter scenes that contain all the given metadata key-value pairs. Should be specified in query parameter map notation: `filter[metadata][key1]=value1&filter[metadata][key]=value2`. (optional) - * @param filterSceneItemsSourcePartRevision Comma-separated list of scene-item source part revision IDs to filter on. (optional) - * @param filterSceneItemsSourceGeometrySet Comma-separated list of scene-item source geometry set IDs to filter on. (optional) - * @param filterSceneItemsSourceScene Comma-separated list of scene-item source scene IDs 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 - * @http.response.details - - - - - -
Status Code Description Response Headers
200 OK -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call getScenesAsync(String pageCursor, Integer pageSize, String filterName, String filterSuppliedId, String fieldsScene, Map filterMetadata, String filterSceneItemsSourcePartRevision, String filterSceneItemsSourceGeometrySet, String filterSceneItemsSourceScene, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getScenesValidateBeforeCall(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, filterSceneItemsSourcePartRevision, filterSceneItemsSourceGeometrySet, filterSceneItemsSourceScene, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for renderScene - * @param id The `scene` ID. (required) - * @param height The height of the image to render. (optional) - * @param width The width of the image to render. (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 -
404 Not Found -
415 Unsupported Media Type -
504 GatewayTimeout -
- */ - public okhttp3.Call renderSceneCall(UUID id, Integer height, Integer width, 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 = "/scenes/{id}/image" - .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(); - - if (height != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("height", height)); - } - - if (width != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("width", width)); - } - - final String[] localVarAccepts = { - "image/jpeg", "image/png", "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 renderSceneValidateBeforeCall(UUID id, Integer height, Integer width, 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 renderScene(Async)"); - } - - - okhttp3.Call localVarCall = renderSceneCall(id, height, width, _callback); - return localVarCall; - - } - - /** - * - * Get a rendered image of a `scene`. If only a single pixel is returned, ensure the `scene` is in the `commit` state and contains scene items. - * @param id The `scene` ID. (required) - * @param height The height of the image to render. (optional) - * @param width The width of the image to render. (optional) - * @return File - * @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 -
504 GatewayTimeout -
- */ - public File renderScene(UUID id, Integer height, Integer width) throws ApiException { - ApiResponse localVarResp = renderSceneWithHttpInfo(id, height, width); - return localVarResp.getData(); - } - - /** - * - * Get a rendered image of a `scene`. If only a single pixel is returned, ensure the `scene` is in the `commit` state and contains scene items. - * @param id The `scene` ID. (required) - * @param height The height of the image to render. (optional) - * @param width The width of the image to render. (optional) - * @return ApiResponse<File> - * @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 -
504 GatewayTimeout -
- */ - public ApiResponse renderSceneWithHttpInfo(UUID id, Integer height, Integer width) throws ApiException { - okhttp3.Call localVarCall = renderSceneValidateBeforeCall(id, height, width, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a rendered image of a `scene`. If only a single pixel is returned, ensure the `scene` is in the `commit` state and contains scene items. - * @param id The `scene` ID. (required) - * @param height The height of the image to render. (optional) - * @param width The width of the image to render. (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 -
404 Not Found -
415 Unsupported Media Type -
504 GatewayTimeout -
- */ - public okhttp3.Call renderSceneAsync(UUID id, Integer height, Integer width, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = renderSceneValidateBeforeCall(id, height, width, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for updateScene - * @param id The `scene` ID. (required) - * @param updateSceneRequest (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updateSceneCall(UUID id, UpdateSceneRequest updateSceneRequest, 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 = updateSceneRequest; - - // create path and map variables - String localVarPath = "/scenes/{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 = { - "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, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call updateSceneValidateBeforeCall(UUID id, UpdateSceneRequest updateSceneRequest, 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 updateScene(Async)"); - } - - // verify the required parameter 'updateSceneRequest' is set - if (updateSceneRequest == null) { - throw new ApiException("Missing the required parameter 'updateSceneRequest' when calling updateScene(Async)"); - } - - - okhttp3.Call localVarCall = updateSceneCall(id, updateSceneRequest, _callback); - return localVarCall; - - } - - /** - * - * Update a `scene` camera and/or state. Once updated, view the scene via the renderScene API or with the Viewer SDK. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - * @param id The `scene` ID. (required) - * @param updateSceneRequest (required) - * @return Scene - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public Scene updateScene(UUID id, UpdateSceneRequest updateSceneRequest) throws ApiException { - ApiResponse localVarResp = updateSceneWithHttpInfo(id, updateSceneRequest); - return localVarResp.getData(); - } - - /** - * - * Update a `scene` camera and/or state. Once updated, view the scene via the renderScene API or with the Viewer SDK. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - * @param id The `scene` ID. (required) - * @param updateSceneRequest (required) - * @return ApiResponse<Scene> - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse updateSceneWithHttpInfo(UUID id, UpdateSceneRequest updateSceneRequest) throws ApiException { - okhttp3.Call localVarCall = updateSceneValidateBeforeCall(id, updateSceneRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Update a `scene` camera and/or state. Once updated, view the scene via the renderScene API or with the Viewer SDK. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - * @param id The `scene` ID. (required) - * @param updateSceneRequest (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updateSceneAsync(UUID id, UpdateSceneRequest updateSceneRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updateSceneValidateBeforeCall(id, updateSceneRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/StreamKeysApi.java b/src/main/java/com/vertexvis/api/StreamKeysApi.java deleted file mode 100644 index 0725d14b..00000000 --- a/src/main/java/com/vertexvis/api/StreamKeysApi.java +++ /dev/null @@ -1,514 +0,0 @@ -/* - * 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.CreateStreamKeyRequest; -import com.vertexvis.model.Failure; -import com.vertexvis.model.StreamKey; -import com.vertexvis.model.StreamKeyList; -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 StreamKeysApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public StreamKeysApi() { - this(Configuration.getDefaultApiClient()); - } - - public StreamKeysApi(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 createSceneStreamKey - * @param id The `scene` ID. (required) - * @param createStreamKeyRequest (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createSceneStreamKeyCall(UUID id, CreateStreamKeyRequest createStreamKeyRequest, 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 = createStreamKeyRequest; - - // create path and map variables - String localVarPath = "/scenes/{id}/stream-keys" - .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 = { - "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 createSceneStreamKeyValidateBeforeCall(UUID id, CreateStreamKeyRequest createStreamKeyRequest, 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 createSceneStreamKey(Async)"); - } - - // verify the required parameter 'createStreamKeyRequest' is set - if (createStreamKeyRequest == null) { - throw new ApiException("Missing the required parameter 'createStreamKeyRequest' when calling createSceneStreamKey(Async)"); - } - - - okhttp3.Call localVarCall = createSceneStreamKeyCall(id, createStreamKeyRequest, _callback); - return localVarCall; - - } - - /** - * - * Create a `stream-key` for a `scene`. - * @param id The `scene` ID. (required) - * @param createStreamKeyRequest (required) - * @return StreamKey - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public StreamKey createSceneStreamKey(UUID id, CreateStreamKeyRequest createStreamKeyRequest) throws ApiException { - ApiResponse localVarResp = createSceneStreamKeyWithHttpInfo(id, createStreamKeyRequest); - return localVarResp.getData(); - } - - /** - * - * Create a `stream-key` for a `scene`. - * @param id The `scene` ID. (required) - * @param createStreamKeyRequest (required) - * @return ApiResponse<StreamKey> - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse createSceneStreamKeyWithHttpInfo(UUID id, CreateStreamKeyRequest createStreamKeyRequest) throws ApiException { - okhttp3.Call localVarCall = createSceneStreamKeyValidateBeforeCall(id, createStreamKeyRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create a `stream-key` for a `scene`. - * @param id The `scene` ID. (required) - * @param createStreamKeyRequest (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call createSceneStreamKeyAsync(UUID id, CreateStreamKeyRequest createStreamKeyRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createSceneStreamKeyValidateBeforeCall(id, createStreamKeyRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for deleteStreamKey - * @param id The `stream-key` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteStreamKeyCall(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 = "/stream-keys/{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 deleteStreamKeyValidateBeforeCall(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 deleteStreamKey(Async)"); - } - - - okhttp3.Call localVarCall = deleteStreamKeyCall(id, _callback); - return localVarCall; - - } - - /** - * - * Delete a `stream-key`. - * @param id The `stream-key` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public void deleteStreamKey(UUID id) throws ApiException { - deleteStreamKeyWithHttpInfo(id); - } - - /** - * - * Delete a `stream-key`. - * @param id The `stream-key` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse deleteStreamKeyWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = deleteStreamKeyValidateBeforeCall(id, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * Delete a `stream-key`. - * @param id The `stream-key` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteStreamKeyAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteStreamKeyValidateBeforeCall(id, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getStreamKeys - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterKey Stream key to filter on. (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 -
415 Unsupported Media Type -
- */ - public okhttp3.Call getStreamKeysCall(String pageCursor, Integer pageSize, String filterKey, 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 = "/stream-keys"; - - 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)); - } - - if (filterKey != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[key]", filterKey)); - } - - 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 getStreamKeysValidateBeforeCall(String pageCursor, Integer pageSize, String filterKey, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getStreamKeysCall(pageCursor, pageSize, filterKey, _callback); - return localVarCall; - - } - - /** - * - * Get `stream-key`s. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterKey Stream key to filter on. (optional) - * @return StreamKeyList - * @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 -
415 Unsupported Media Type -
- */ - public StreamKeyList getStreamKeys(String pageCursor, Integer pageSize, String filterKey) throws ApiException { - ApiResponse localVarResp = getStreamKeysWithHttpInfo(pageCursor, pageSize, filterKey); - return localVarResp.getData(); - } - - /** - * - * Get `stream-key`s. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterKey Stream key to filter on. (optional) - * @return ApiResponse<StreamKeyList> - * @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 -
415 Unsupported Media Type -
- */ - public ApiResponse getStreamKeysWithHttpInfo(String pageCursor, Integer pageSize, String filterKey) throws ApiException { - okhttp3.Call localVarCall = getStreamKeysValidateBeforeCall(pageCursor, pageSize, filterKey, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get `stream-key`s. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterKey Stream key 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 - * @http.response.details - - - - - -
Status Code Description Response Headers
200 OK -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call getStreamKeysAsync(String pageCursor, Integer pageSize, String filterKey, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getStreamKeysValidateBeforeCall(pageCursor, pageSize, filterKey, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/TranslationInspectionsApi.java b/src/main/java/com/vertexvis/api/TranslationInspectionsApi.java deleted file mode 100644 index 15781d54..00000000 --- a/src/main/java/com/vertexvis/api/TranslationInspectionsApi.java +++ /dev/null @@ -1,995 +0,0 @@ -/* - * 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.CreateTranslationInspectionRequest; -import com.vertexvis.model.Failure; -import com.vertexvis.model.FilterExpression; -import com.vertexvis.model.QueuedJob; -import com.vertexvis.model.QueuedJobList; -import com.vertexvis.model.QueuedTranslationJob; -import com.vertexvis.model.TranslationInspectionJob; -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 TranslationInspectionsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public TranslationInspectionsApi() { - this(Configuration.getDefaultApiClient()); - } - - public TranslationInspectionsApi(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 createTranslationInspection - * @param createTranslationInspectionRequest (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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call createTranslationInspectionCall(CreateTranslationInspectionRequest createTranslationInspectionRequest, 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 = createTranslationInspectionRequest; - - // create path and map variables - String localVarPath = "/translation-inspections"; - - 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 createTranslationInspectionValidateBeforeCall(CreateTranslationInspectionRequest createTranslationInspectionRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'createTranslationInspectionRequest' is set - if (createTranslationInspectionRequest == null) { - throw new ApiException("Missing the required parameter 'createTranslationInspectionRequest' when calling createTranslationInspection(Async)"); - } - - - okhttp3.Call localVarCall = createTranslationInspectionCall(createTranslationInspectionRequest, _callback); - return localVarCall; - - } - - /** - * - * Create a `translation-inspection`. - * @param createTranslationInspectionRequest (required) - * @return TranslationInspectionJob - * @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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public TranslationInspectionJob createTranslationInspection(CreateTranslationInspectionRequest createTranslationInspectionRequest) throws ApiException { - ApiResponse localVarResp = createTranslationInspectionWithHttpInfo(createTranslationInspectionRequest); - return localVarResp.getData(); - } - - /** - * - * Create a `translation-inspection`. - * @param createTranslationInspectionRequest (required) - * @return ApiResponse<TranslationInspectionJob> - * @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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public ApiResponse createTranslationInspectionWithHttpInfo(CreateTranslationInspectionRequest createTranslationInspectionRequest) throws ApiException { - okhttp3.Call localVarCall = createTranslationInspectionValidateBeforeCall(createTranslationInspectionRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create a `translation-inspection`. - * @param createTranslationInspectionRequest (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 -
400 Bad Request -
401 Unauthorized -
415 Unsupported Media Type -
- */ - public okhttp3.Call createTranslationInspectionAsync(CreateTranslationInspectionRequest createTranslationInspectionRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createTranslationInspectionValidateBeforeCall(createTranslationInspectionRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getInspectionJob - * @param id The `translation-inspection` 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 getInspectionJobCall(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 = "/translation-inspections/{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 getInspectionJobValidateBeforeCall(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 getInspectionJob(Async)"); - } - - - okhttp3.Call localVarCall = getInspectionJobCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `translation-inspection` by ID. - * @param id The `translation-inspection` ID. (required) - * @return TranslationInspectionJob - * @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 TranslationInspectionJob getInspectionJob(UUID id) throws ApiException { - ApiResponse localVarResp = getInspectionJobWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `translation-inspection` by ID. - * @param id The `translation-inspection` ID. (required) - * @return ApiResponse<TranslationInspectionJob> - * @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 getInspectionJobWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getInspectionJobValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `translation-inspection` by ID. - * @param id The `translation-inspection` 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 getInspectionJobAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getInspectionJobValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getQueuedTranslation - * @param id The `queued-translation` 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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- * @deprecated - */ - @Deprecated - public okhttp3.Call getQueuedTranslationCall(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 = "/queued-translations/{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); - } - - @Deprecated - @SuppressWarnings("rawtypes") - private okhttp3.Call getQueuedTranslationValidateBeforeCall(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 getQueuedTranslation(Async)"); - } - - - okhttp3.Call localVarCall = getQueuedTranslationCall(id, _callback); - return localVarCall; - - } - - /** - * - * This has been deprecated and replaced by **queued-translation-jobs/{id}** - Get a `queued-translation`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `part-revision`. Once created, create scenes via the createScene API. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - * @param id The `queued-translation` ID. (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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- * @deprecated - */ - @Deprecated - public QueuedJob getQueuedTranslation(UUID id) throws ApiException { - ApiResponse localVarResp = getQueuedTranslationWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * This has been deprecated and replaced by **queued-translation-jobs/{id}** - Get a `queued-translation`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `part-revision`. Once created, create scenes via the createScene API. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - * @param id The `queued-translation` ID. (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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- * @deprecated - */ - @Deprecated - public ApiResponse getQueuedTranslationWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getQueuedTranslationValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * This has been deprecated and replaced by **queued-translation-jobs/{id}** - Get a `queued-translation`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `part-revision`. Once created, create scenes via the createScene API. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - * @param id The `queued-translation` 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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- * @deprecated - */ - @Deprecated - public okhttp3.Call getQueuedTranslationAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getQueuedTranslationValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getQueuedTranslationJob - * @param id The `queued-translation` 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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getQueuedTranslationJobCall(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 = "/queued-translation-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 getQueuedTranslationJobValidateBeforeCall(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 getQueuedTranslationJob(Async)"); - } - - - okhttp3.Call localVarCall = getQueuedTranslationJobCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `queued-translation-job`. The response is either the status if `running` or `error` or, upon completion, the `part-revision` that was created. Once created, create scenes via the createScene API. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - * @param id The `queued-translation` ID. (required) - * @return QueuedTranslationJob - * @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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public QueuedTranslationJob getQueuedTranslationJob(UUID id) throws ApiException { - ApiResponse localVarResp = getQueuedTranslationJobWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `queued-translation-job`. The response is either the status if `running` or `error` or, upon completion, the `part-revision` that was created. Once created, create scenes via the createScene API. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - * @param id The `queued-translation` ID. (required) - * @return ApiResponse<QueuedTranslationJob> - * @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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse getQueuedTranslationJobWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getQueuedTranslationJobValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `queued-translation-job`. The response is either the status if `running` or `error` or, upon completion, the `part-revision` that was created. Once created, create scenes via the createScene API. For details, see our [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes) guide. - * @param id The `queued-translation` 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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getQueuedTranslationJobAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getQueuedTranslationJobValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getQueuedTranslationJobs - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param sort A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order. (optional) - * @param filterStatus Status to filter on. (optional) - * @param filterCompletedAt The completion date and time to filter on. (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getQueuedTranslationJobsCall(String pageCursor, Integer pageSize, String sort, String filterStatus, FilterExpression filterCompletedAt, 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 = "/queued-translation-jobs"; - - 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)); - } - - if (sort != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); - } - - if (filterStatus != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[status]", filterStatus)); - } - - if (filterCompletedAt != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[completedAt]", filterCompletedAt)); - } - - 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 getQueuedTranslationJobsValidateBeforeCall(String pageCursor, Integer pageSize, String sort, String filterStatus, FilterExpression filterCompletedAt, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getQueuedTranslationJobsCall(pageCursor, pageSize, sort, filterStatus, filterCompletedAt, _callback); - return localVarCall; - - } - - /** - * - * Get all current translation jobs in progress. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param sort A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order. (optional) - * @param filterStatus Status to filter on. (optional) - * @param filterCompletedAt The completion date and time to filter on. (optional) - * @return QueuedJobList - * @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 QueuedJobList getQueuedTranslationJobs(String pageCursor, Integer pageSize, String sort, String filterStatus, FilterExpression filterCompletedAt) throws ApiException { - ApiResponse localVarResp = getQueuedTranslationJobsWithHttpInfo(pageCursor, pageSize, sort, filterStatus, filterCompletedAt); - return localVarResp.getData(); - } - - /** - * - * Get all current translation jobs in progress. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param sort A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order. (optional) - * @param filterStatus Status to filter on. (optional) - * @param filterCompletedAt The completion date and time to filter on. (optional) - * @return ApiResponse<QueuedJobList> - * @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 getQueuedTranslationJobsWithHttpInfo(String pageCursor, Integer pageSize, String sort, String filterStatus, FilterExpression filterCompletedAt) throws ApiException { - okhttp3.Call localVarCall = getQueuedTranslationJobsValidateBeforeCall(pageCursor, pageSize, sort, filterStatus, filterCompletedAt, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get all current translation jobs in progress. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param sort A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order. (optional) - * @param filterStatus Status to filter on. (optional) - * @param filterCompletedAt The completion date and time 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 - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call getQueuedTranslationJobsAsync(String pageCursor, Integer pageSize, String sort, String filterStatus, FilterExpression filterCompletedAt, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getQueuedTranslationJobsValidateBeforeCall(pageCursor, pageSize, sort, filterStatus, filterCompletedAt, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getQueuedTranslations - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterStatus Status to filter on. (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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- * @deprecated - */ - @Deprecated - public okhttp3.Call getQueuedTranslationsCall(String pageCursor, Integer pageSize, String filterStatus, 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 = "/queued-translations"; - - 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)); - } - - if (filterStatus != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter[status]", filterStatus)); - } - - 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); - } - - @Deprecated - @SuppressWarnings("rawtypes") - private okhttp3.Call getQueuedTranslationsValidateBeforeCall(String pageCursor, Integer pageSize, String filterStatus, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getQueuedTranslationsCall(pageCursor, pageSize, filterStatus, _callback); - return localVarCall; - - } - - /** - * - * This has been deprecated and replaced by **queued-translation-jobs** - Get `queued-translation`s. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterStatus Status to filter on. (optional) - * @return QueuedJobList - * @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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- * @deprecated - */ - @Deprecated - public QueuedJobList getQueuedTranslations(String pageCursor, Integer pageSize, String filterStatus) throws ApiException { - ApiResponse localVarResp = getQueuedTranslationsWithHttpInfo(pageCursor, pageSize, filterStatus); - return localVarResp.getData(); - } - - /** - * - * This has been deprecated and replaced by **queued-translation-jobs** - Get `queued-translation`s. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterStatus Status to filter on. (optional) - * @return ApiResponse<QueuedJobList> - * @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 -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- * @deprecated - */ - @Deprecated - public ApiResponse getQueuedTranslationsWithHttpInfo(String pageCursor, Integer pageSize, String filterStatus) throws ApiException { - okhttp3.Call localVarCall = getQueuedTranslationsValidateBeforeCall(pageCursor, pageSize, filterStatus, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * This has been deprecated and replaced by **queued-translation-jobs** - Get `queued-translation`s. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @param filterStatus Status 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 - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 OK -
301 Moved Permanently -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- * @deprecated - */ - @Deprecated - public okhttp3.Call getQueuedTranslationsAsync(String pageCursor, Integer pageSize, String filterStatus, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getQueuedTranslationsValidateBeforeCall(pageCursor, pageSize, filterStatus, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/api/WebhookSubscriptionsApi.java b/src/main/java/com/vertexvis/api/WebhookSubscriptionsApi.java deleted file mode 100644 index 1471b23f..00000000 --- a/src/main/java/com/vertexvis/api/WebhookSubscriptionsApi.java +++ /dev/null @@ -1,786 +0,0 @@ -/* - * 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.CreateWebhookSubscriptionRequest; -import com.vertexvis.model.Failure; -import java.util.UUID; -import com.vertexvis.model.UpdateWebhookSubscriptionRequest; -import com.vertexvis.model.WebhookSubscription; -import com.vertexvis.model.WebhookSubscriptionList; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class WebhookSubscriptionsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public WebhookSubscriptionsApi() { - this(Configuration.getDefaultApiClient()); - } - - public WebhookSubscriptionsApi(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 createWebhookSubscription - * @param createWebhookSubscriptionRequest (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 createWebhookSubscriptionCall(CreateWebhookSubscriptionRequest createWebhookSubscriptionRequest, 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 = createWebhookSubscriptionRequest; - - // create path and map variables - String localVarPath = "/webhook-subscriptions"; - - 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 createWebhookSubscriptionValidateBeforeCall(CreateWebhookSubscriptionRequest createWebhookSubscriptionRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'createWebhookSubscriptionRequest' is set - if (createWebhookSubscriptionRequest == null) { - throw new ApiException("Missing the required parameter 'createWebhookSubscriptionRequest' when calling createWebhookSubscription(Async)"); - } - - - okhttp3.Call localVarCall = createWebhookSubscriptionCall(createWebhookSubscriptionRequest, _callback); - return localVarCall; - - } - - /** - * - * Create a `webhook-subscription` - * @param createWebhookSubscriptionRequest (required) - * @return WebhookSubscription - * @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 WebhookSubscription createWebhookSubscription(CreateWebhookSubscriptionRequest createWebhookSubscriptionRequest) throws ApiException { - ApiResponse localVarResp = createWebhookSubscriptionWithHttpInfo(createWebhookSubscriptionRequest); - return localVarResp.getData(); - } - - /** - * - * Create a `webhook-subscription` - * @param createWebhookSubscriptionRequest (required) - * @return ApiResponse<WebhookSubscription> - * @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 createWebhookSubscriptionWithHttpInfo(CreateWebhookSubscriptionRequest createWebhookSubscriptionRequest) throws ApiException { - okhttp3.Call localVarCall = createWebhookSubscriptionValidateBeforeCall(createWebhookSubscriptionRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Create a `webhook-subscription` - * @param createWebhookSubscriptionRequest (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 createWebhookSubscriptionAsync(CreateWebhookSubscriptionRequest createWebhookSubscriptionRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createWebhookSubscriptionValidateBeforeCall(createWebhookSubscriptionRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for deleteWebhookSubscription - * @param id The `webhook-subscription` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteWebhookSubscriptionCall(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 = "/webhook-subscriptions/{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 deleteWebhookSubscriptionValidateBeforeCall(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 deleteWebhookSubscription(Async)"); - } - - - okhttp3.Call localVarCall = deleteWebhookSubscriptionCall(id, _callback); - return localVarCall; - - } - - /** - * - * Delete a `webhook-subscription`. - * @param id The `webhook-subscription` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public void deleteWebhookSubscription(UUID id) throws ApiException { - deleteWebhookSubscriptionWithHttpInfo(id); - } - - /** - * - * Delete a `webhook-subscription`. - * @param id The `webhook-subscription` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse deleteWebhookSubscriptionWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = deleteWebhookSubscriptionValidateBeforeCall(id, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * Delete a `webhook-subscription`. - * @param id The `webhook-subscription` 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 -
401 Unauthorized -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call deleteWebhookSubscriptionAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteWebhookSubscriptionValidateBeforeCall(id, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getWebhookSubscription - * @param id The `webhook-subscription` 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 getWebhookSubscriptionCall(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 = "/webhook-subscriptions/{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 getWebhookSubscriptionValidateBeforeCall(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 getWebhookSubscription(Async)"); - } - - - okhttp3.Call localVarCall = getWebhookSubscriptionCall(id, _callback); - return localVarCall; - - } - - /** - * - * Get a `webhook-subscription`. - * @param id The `webhook-subscription` ID. (required) - * @return WebhookSubscription - * @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 WebhookSubscription getWebhookSubscription(UUID id) throws ApiException { - ApiResponse localVarResp = getWebhookSubscriptionWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * Get a `webhook-subscription`. - * @param id The `webhook-subscription` ID. (required) - * @return ApiResponse<WebhookSubscription> - * @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 getWebhookSubscriptionWithHttpInfo(UUID id) throws ApiException { - okhttp3.Call localVarCall = getWebhookSubscriptionValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get a `webhook-subscription`. - * @param id The `webhook-subscription` 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 getWebhookSubscriptionAsync(UUID id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getWebhookSubscriptionValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getWebhookSubscriptions - * @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 -
415 Unsupported Media Type -
- */ - public okhttp3.Call getWebhookSubscriptionsCall(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 = "/webhook-subscriptions"; - - 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 getWebhookSubscriptionsValidateBeforeCall(String pageCursor, Integer pageSize, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getWebhookSubscriptionsCall(pageCursor, pageSize, _callback); - return localVarCall; - - } - - /** - * - * Get `webhook-subscription`s. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @return WebhookSubscriptionList - * @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 -
415 Unsupported Media Type -
- */ - public WebhookSubscriptionList getWebhookSubscriptions(String pageCursor, Integer pageSize) throws ApiException { - ApiResponse localVarResp = getWebhookSubscriptionsWithHttpInfo(pageCursor, pageSize); - return localVarResp.getData(); - } - - /** - * - * Get `webhook-subscription`s. - * @param pageCursor The cursor for the next page of items. (optional) - * @param pageSize The number of items to return. (optional) - * @return ApiResponse<WebhookSubscriptionList> - * @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 -
415 Unsupported Media Type -
- */ - public ApiResponse getWebhookSubscriptionsWithHttpInfo(String pageCursor, Integer pageSize) throws ApiException { - okhttp3.Call localVarCall = getWebhookSubscriptionsValidateBeforeCall(pageCursor, pageSize, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Get `webhook-subscription`s. - * @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 -
415 Unsupported Media Type -
- */ - public okhttp3.Call getWebhookSubscriptionsAsync(String pageCursor, Integer pageSize, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getWebhookSubscriptionsValidateBeforeCall(pageCursor, pageSize, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for updateWebhookSubscription - * @param id The `webhook-subscription` ID. (required) - * @param updateWebhookSubscriptionRequest (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updateWebhookSubscriptionCall(UUID id, UpdateWebhookSubscriptionRequest updateWebhookSubscriptionRequest, 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 = updateWebhookSubscriptionRequest; - - // create path and map variables - String localVarPath = "/webhook-subscriptions/{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 = { - "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, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call updateWebhookSubscriptionValidateBeforeCall(UUID id, UpdateWebhookSubscriptionRequest updateWebhookSubscriptionRequest, 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 updateWebhookSubscription(Async)"); - } - - // verify the required parameter 'updateWebhookSubscriptionRequest' is set - if (updateWebhookSubscriptionRequest == null) { - throw new ApiException("Missing the required parameter 'updateWebhookSubscriptionRequest' when calling updateWebhookSubscription(Async)"); - } - - - okhttp3.Call localVarCall = updateWebhookSubscriptionCall(id, updateWebhookSubscriptionRequest, _callback); - return localVarCall; - - } - - /** - * - * Update a `webhook-subscription`. - * @param id The `webhook-subscription` ID. (required) - * @param updateWebhookSubscriptionRequest (required) - * @return WebhookSubscription - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public WebhookSubscription updateWebhookSubscription(UUID id, UpdateWebhookSubscriptionRequest updateWebhookSubscriptionRequest) throws ApiException { - ApiResponse localVarResp = updateWebhookSubscriptionWithHttpInfo(id, updateWebhookSubscriptionRequest); - return localVarResp.getData(); - } - - /** - * - * Update a `webhook-subscription`. - * @param id The `webhook-subscription` ID. (required) - * @param updateWebhookSubscriptionRequest (required) - * @return ApiResponse<WebhookSubscription> - * @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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public ApiResponse updateWebhookSubscriptionWithHttpInfo(UUID id, UpdateWebhookSubscriptionRequest updateWebhookSubscriptionRequest) throws ApiException { - okhttp3.Call localVarCall = updateWebhookSubscriptionValidateBeforeCall(id, updateWebhookSubscriptionRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * Update a `webhook-subscription`. - * @param id The `webhook-subscription` ID. (required) - * @param updateWebhookSubscriptionRequest (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 -
404 Not Found -
415 Unsupported Media Type -
- */ - public okhttp3.Call updateWebhookSubscriptionAsync(UUID id, UpdateWebhookSubscriptionRequest updateWebhookSubscriptionRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updateWebhookSubscriptionValidateBeforeCall(id, updateWebhookSubscriptionRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/vertexvis/auth/ApiKeyAuth.java b/src/main/java/com/vertexvis/auth/ApiKeyAuth.java deleted file mode 100644 index ac77f0cb..00000000 --- a/src/main/java/com/vertexvis/auth/ApiKeyAuth.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * 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.auth; - -import com.vertexvis.ApiException; -import com.vertexvis.Pair; - -import java.net.URI; -import java.util.Map; -import java.util.List; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ApiKeyAuth implements Authentication { - private final String location; - private final String paramName; - - private String apiKey; - private String apiKeyPrefix; - - public ApiKeyAuth(String location, String paramName) { - this.location = location; - this.paramName = paramName; - } - - public String getLocation() { - return location; - } - - public String getParamName() { - return paramName; - } - - public String getApiKey() { - return apiKey; - } - - public void setApiKey(String apiKey) { - this.apiKey = apiKey; - } - - public String getApiKeyPrefix() { - return apiKeyPrefix; - } - - public void setApiKeyPrefix(String apiKeyPrefix) { - this.apiKeyPrefix = apiKeyPrefix; - } - - @Override - public void applyToParams(List queryParams, Map headerParams, Map cookieParams, - String payload, String method, URI uri) throws ApiException { - if (apiKey == null) { - return; - } - String value; - if (apiKeyPrefix != null) { - value = apiKeyPrefix + " " + apiKey; - } else { - value = apiKey; - } - if ("query".equals(location)) { - queryParams.add(new Pair(paramName, value)); - } else if ("header".equals(location)) { - headerParams.put(paramName, value); - } else if ("cookie".equals(location)) { - cookieParams.put(paramName, value); - } - } -} diff --git a/src/main/java/com/vertexvis/auth/Authentication.java b/src/main/java/com/vertexvis/auth/Authentication.java deleted file mode 100644 index 03962f38..00000000 --- a/src/main/java/com/vertexvis/auth/Authentication.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.auth; - -import com.vertexvis.Pair; -import com.vertexvis.ApiException; - -import java.net.URI; -import java.util.Map; -import java.util.List; - -public interface Authentication { - /** - * Apply authentication settings to header and query params. - * - * @param queryParams List of query parameters - * @param headerParams Map of header parameters - * @param cookieParams Map of cookie parameters - * @param payload HTTP request body - * @param method HTTP method - * @param uri URI - * @throws ApiException if failed to update the parameters - */ - void applyToParams(List queryParams, Map headerParams, Map cookieParams, String payload, String method, URI uri) throws ApiException; -} diff --git a/src/main/java/com/vertexvis/auth/HttpBasicAuth.java b/src/main/java/com/vertexvis/auth/HttpBasicAuth.java deleted file mode 100644 index 335f8877..00000000 --- a/src/main/java/com/vertexvis/auth/HttpBasicAuth.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * 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.auth; - -import com.vertexvis.Pair; -import com.vertexvis.ApiException; - -import okhttp3.Credentials; - -import java.net.URI; -import java.util.Map; -import java.util.List; - -import java.io.UnsupportedEncodingException; - -public class HttpBasicAuth implements Authentication { - private String username; - private String password; - - public String getUsername() { - return username; - } - - public void setUsername(String username) { - this.username = username; - } - - public String getPassword() { - return password; - } - - public void setPassword(String password) { - this.password = password; - } - - @Override - public void applyToParams(List queryParams, Map headerParams, Map cookieParams, - String payload, String method, URI uri) throws ApiException { - if (username == null && password == null) { - return; - } - headerParams.put("Authorization", Credentials.basic( - username == null ? "" : username, - password == null ? "" : password)); - } -} diff --git a/src/main/java/com/vertexvis/auth/HttpBearerAuth.java b/src/main/java/com/vertexvis/auth/HttpBearerAuth.java deleted file mode 100644 index 9e45f450..00000000 --- a/src/main/java/com/vertexvis/auth/HttpBearerAuth.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * 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.auth; - -import com.vertexvis.ApiException; -import com.vertexvis.Pair; - -import java.net.URI; -import java.util.Map; -import java.util.List; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class HttpBearerAuth implements Authentication { - private final String scheme; - private String bearerToken; - - public HttpBearerAuth(String scheme) { - this.scheme = scheme; - } - - /** - * Gets the token, which together with the scheme, will be sent as the value of the Authorization header. - * - * @return The bearer token - */ - public String getBearerToken() { - return bearerToken; - } - - /** - * Sets the token, which together with the scheme, will be sent as the value of the Authorization header. - * - * @param bearerToken The bearer token to send in the Authorization header - */ - public void setBearerToken(String bearerToken) { - this.bearerToken = bearerToken; - } - - @Override - public void applyToParams(List queryParams, Map headerParams, Map cookieParams, - String payload, String method, URI uri) throws ApiException { - if (bearerToken == null) { - return; - } - - headerParams.put("Authorization", (scheme != null ? upperCaseBearer(scheme) + " " : "") + bearerToken); - } - - private static String upperCaseBearer(String scheme) { - return ("bearer".equalsIgnoreCase(scheme)) ? "Bearer" : scheme; - } -} diff --git a/src/main/java/com/vertexvis/auth/OAuth.java b/src/main/java/com/vertexvis/auth/OAuth.java deleted file mode 100644 index 28edcbe2..00000000 --- a/src/main/java/com/vertexvis/auth/OAuth.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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.auth; - -import com.vertexvis.Pair; -import com.vertexvis.ApiException; - -import java.net.URI; -import java.util.Map; -import java.util.List; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class OAuth implements Authentication { - private String accessToken; - - public String getAccessToken() { - return accessToken; - } - - public void setAccessToken(String accessToken) { - this.accessToken = accessToken; - } - - @Override - public void applyToParams(List queryParams, Map headerParams, Map cookieParams, - String payload, String method, URI uri) throws ApiException { - if (accessToken != null) { - headerParams.put("Authorization", "Bearer " + accessToken); - } - } -} diff --git a/src/main/java/com/vertexvis/auth/OAuthFlow.java b/src/main/java/com/vertexvis/auth/OAuthFlow.java deleted file mode 100644 index 140db097..00000000 --- a/src/main/java/com/vertexvis/auth/OAuthFlow.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * 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.auth; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public enum OAuthFlow { - accessCode, //called authorizationCode in OpenAPI 3.0 - implicit, - password, - application //called clientCredentials in OpenAPI 3.0 -} diff --git a/src/main/java/com/vertexvis/auth/OAuthOkHttpClient.java b/src/main/java/com/vertexvis/auth/OAuthOkHttpClient.java deleted file mode 100644 index 2378ed8c..00000000 --- a/src/main/java/com/vertexvis/auth/OAuthOkHttpClient.java +++ /dev/null @@ -1,68 +0,0 @@ -package com.vertexvis.auth; - -import okhttp3.OkHttpClient; -import okhttp3.MediaType; -import okhttp3.Request; -import okhttp3.RequestBody; -import okhttp3.Response; - -import org.apache.oltu.oauth2.client.HttpClient; -import org.apache.oltu.oauth2.client.request.OAuthClientRequest; -import org.apache.oltu.oauth2.client.response.OAuthClientResponse; -import org.apache.oltu.oauth2.client.response.OAuthClientResponseFactory; -import org.apache.oltu.oauth2.common.exception.OAuthProblemException; -import org.apache.oltu.oauth2.common.exception.OAuthSystemException; - -import java.io.IOException; -import java.util.Map; -import java.util.Map.Entry; - -public class OAuthOkHttpClient implements HttpClient { - private OkHttpClient client; - - public OAuthOkHttpClient() { - this.client = new OkHttpClient(); - } - - public OAuthOkHttpClient(OkHttpClient client) { - this.client = client; - } - - @Override - public T execute(OAuthClientRequest request, Map headers, - String requestMethod, Class responseClass) - throws OAuthSystemException, OAuthProblemException { - - MediaType mediaType = MediaType.parse("application/json"); - Request.Builder requestBuilder = new Request.Builder().url(request.getLocationUri()); - - if(headers != null) { - for (Entry entry : headers.entrySet()) { - if (entry.getKey().equalsIgnoreCase("Content-Type")) { - mediaType = MediaType.parse(entry.getValue()); - } else { - requestBuilder.addHeader(entry.getKey(), entry.getValue()); - } - } - } - - RequestBody body = request.getBody() != null ? RequestBody.create(request.getBody(), mediaType) : null; - requestBuilder.method(requestMethod, body); - - try { - Response response = client.newCall(requestBuilder.build()).execute(); - return OAuthClientResponseFactory.createCustomResponse( - response.body().string(), - response.body().contentType().toString(), - response.code(), - responseClass); - } catch (IOException e) { - throw new OAuthSystemException(e); - } - } - - @Override - public void shutdown() { - // Nothing to do here - } -} diff --git a/src/main/java/com/vertexvis/example/JobPoller.java b/src/main/java/com/vertexvis/example/JobPoller.java deleted file mode 100644 index fda88530..00000000 --- a/src/main/java/com/vertexvis/example/JobPoller.java +++ /dev/null @@ -1,54 +0,0 @@ -package com.vertexvis.example; - -import com.vertexvis.model.QueuedJob; - -import java.util.UUID; -import java.util.concurrent.CompletableFuture; -import java.util.concurrent.Executors; -import java.util.concurrent.ScheduledExecutorService; -import java.util.concurrent.TimeUnit; -import java.util.function.Supplier; - -class JobPoller { - private static final long DEFAULT_WAIT_TIME_MS = 3000; - - private static final ScheduledExecutorService scheduler = - Executors.newScheduledThreadPool(4); - - public static CompletableFuture pollUntilJobDoneAsync(String type, - Supplier> f) { - CompletableFuture cf = new CompletableFuture<>(); - - startChecking(cf, type, f); - - return cf; - } - - public static UUID pollUntilJobDone(String type, Supplier f) - throws InterruptedException { - // Don't do this -- use a proper scheduler - Thread.sleep(DEFAULT_WAIT_TIME_MS); - - QueuedJob qj = f.get(); - - if (qj.getData().getType().equals(type)) { - return qj.getData().getId(); - } else { - return pollUntilJobDone(type, f); - } - } - - private static void startChecking(CompletableFuture resultF, String type, - Supplier> f) { - scheduler.schedule(() -> { - f.get().thenAccept(qj -> { - if (qj.getData().getType().equals(type)) { - resultF.complete(qj.getData().getId()); - } else { - startChecking(resultF, type, f); - } - }); - - }, DEFAULT_WAIT_TIME_MS, TimeUnit.MILLISECONDS); - } -} diff --git a/src/main/java/com/vertexvis/model/Account.java b/src/main/java/com/vertexvis/model/Account.java deleted file mode 100644 index ae53ddf0..00000000 --- a/src/main/java/com/vertexvis/model/Account.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.AccountData; -import com.vertexvis.model.Link; -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; - -/** - * Account - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Account { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private AccountData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public Account() { - } - - public Account data(AccountData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public AccountData getData() { - return data; - } - - - public void setData(AccountData data) { - this.data = data; - } - - - public Account links(Map links) { - - this.links = links; - return this; - } - - public Account 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; - } - Account account = (Account) o; - return Objects.equals(this.data, account.data) && - Objects.equals(this.links, account.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Account {\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/AccountData.java b/src/main/java/com/vertexvis/model/AccountData.java deleted file mode 100644 index 01bb895d..00000000 --- a/src/main/java/com/vertexvis/model/AccountData.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * 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.AccountDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.UUID; - -/** - * AccountData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class AccountData { - 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 AccountDataAttributes attributes; - - public AccountData() { - } - - public AccountData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "account", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public AccountData 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 AccountData attributes(AccountDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public AccountDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(AccountDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AccountData accountData = (AccountData) o; - return Objects.equals(this.type, accountData.type) && - Objects.equals(this.id, accountData.id) && - Objects.equals(this.attributes, accountData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AccountData {\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/AccountDataAttributes.java b/src/main/java/com/vertexvis/model/AccountDataAttributes.java deleted file mode 100644 index 2aa1d143..00000000 --- a/src/main/java/com/vertexvis/model/AccountDataAttributes.java +++ /dev/null @@ -1,159 +0,0 @@ -/* - * 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.time.OffsetDateTime; - -/** - * AccountDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class AccountDataAttributes { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private String status; - - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public AccountDataAttributes() { - } - - public AccountDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "some-string", required = true, value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public AccountDataAttributes status(String status) { - - this.status = status; - return this; - } - - /** - * Get status - * @return status - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "active", value = "") - - public String getStatus() { - return status; - } - - - public void setStatus(String status) { - this.status = status; - } - - - public AccountDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AccountDataAttributes accountDataAttributes = (AccountDataAttributes) o; - return Objects.equals(this.name, accountDataAttributes.name) && - Objects.equals(this.status, accountDataAttributes.status) && - Objects.equals(this.created, accountDataAttributes.created); - } - - @Override - public int hashCode() { - return Objects.hash(name, status, created); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AccountDataAttributes {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).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/AdminConsentAcceptRequest.java b/src/main/java/com/vertexvis/model/AdminConsentAcceptRequest.java deleted file mode 100644 index 8fa05272..00000000 --- a/src/main/java/com/vertexvis/model/AdminConsentAcceptRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.AdminConsentAcceptRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * AdminConsentAcceptRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class AdminConsentAcceptRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private AdminConsentAcceptRequestData data; - - public AdminConsentAcceptRequest() { - } - - public AdminConsentAcceptRequest data(AdminConsentAcceptRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public AdminConsentAcceptRequestData getData() { - return data; - } - - - public void setData(AdminConsentAcceptRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AdminConsentAcceptRequest adminConsentAcceptRequest = (AdminConsentAcceptRequest) o; - return Objects.equals(this.data, adminConsentAcceptRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AdminConsentAcceptRequest {\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/AdminConsentAcceptRequestData.java b/src/main/java/com/vertexvis/model/AdminConsentAcceptRequestData.java deleted file mode 100644 index 34b0ed10..00000000 --- a/src/main/java/com/vertexvis/model/AdminConsentAcceptRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.AdminConsentAcceptRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * AdminConsentAcceptRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class AdminConsentAcceptRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private AdminConsentAcceptRequestDataAttributes attributes; - - public AdminConsentAcceptRequestData() { - } - - public AdminConsentAcceptRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public AdminConsentAcceptRequestData attributes(AdminConsentAcceptRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public AdminConsentAcceptRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(AdminConsentAcceptRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AdminConsentAcceptRequestData adminConsentAcceptRequestData = (AdminConsentAcceptRequestData) o; - return Objects.equals(this.type, adminConsentAcceptRequestData.type) && - Objects.equals(this.attributes, adminConsentAcceptRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AdminConsentAcceptRequestData {\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/AdminConsentAcceptRequestDataAttributes.java b/src/main/java/com/vertexvis/model/AdminConsentAcceptRequestDataAttributes.java deleted file mode 100644 index ab3e5215..00000000 --- a/src/main/java/com/vertexvis/model/AdminConsentAcceptRequestDataAttributes.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * 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; - -/** - * AdminConsentAcceptRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class AdminConsentAcceptRequestDataAttributes { - public static final String SERIALIZED_NAME_SESSION = "session"; - @SerializedName(SERIALIZED_NAME_SESSION) - private Object session; - - public AdminConsentAcceptRequestDataAttributes() { - } - - public AdminConsentAcceptRequestDataAttributes session(Object session) { - - this.session = session; - return this; - } - - /** - * Get session - * @return session - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Object getSession() { - return session; - } - - - public void setSession(Object session) { - this.session = session; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AdminConsentAcceptRequestDataAttributes adminConsentAcceptRequestDataAttributes = (AdminConsentAcceptRequestDataAttributes) o; - return Objects.equals(this.session, adminConsentAcceptRequestDataAttributes.session); - } - - @Override - public int hashCode() { - return Objects.hash(session); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AdminConsentAcceptRequestDataAttributes {\n"); - sb.append(" session: ").append(toIndentedString(session)).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/AdminCreateApplicationRequest.java b/src/main/java/com/vertexvis/model/AdminCreateApplicationRequest.java deleted file mode 100644 index 2944e528..00000000 --- a/src/main/java/com/vertexvis/model/AdminCreateApplicationRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.AdminCreateApplicationRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * AdminCreateApplicationRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class AdminCreateApplicationRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private AdminCreateApplicationRequestData data; - - public AdminCreateApplicationRequest() { - } - - public AdminCreateApplicationRequest data(AdminCreateApplicationRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public AdminCreateApplicationRequestData getData() { - return data; - } - - - public void setData(AdminCreateApplicationRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AdminCreateApplicationRequest adminCreateApplicationRequest = (AdminCreateApplicationRequest) o; - return Objects.equals(this.data, adminCreateApplicationRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AdminCreateApplicationRequest {\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/AdminCreateApplicationRequestData.java b/src/main/java/com/vertexvis/model/AdminCreateApplicationRequestData.java deleted file mode 100644 index 061ed8a2..00000000 --- a/src/main/java/com/vertexvis/model/AdminCreateApplicationRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.AdminCreateApplicationRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * AdminCreateApplicationRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class AdminCreateApplicationRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private AdminCreateApplicationRequestDataAttributes attributes; - - public AdminCreateApplicationRequestData() { - } - - public AdminCreateApplicationRequestData 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 AdminCreateApplicationRequestData attributes(AdminCreateApplicationRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public AdminCreateApplicationRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(AdminCreateApplicationRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AdminCreateApplicationRequestData adminCreateApplicationRequestData = (AdminCreateApplicationRequestData) o; - return Objects.equals(this.type, adminCreateApplicationRequestData.type) && - Objects.equals(this.attributes, adminCreateApplicationRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AdminCreateApplicationRequestData {\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/AdminCreateApplicationRequestDataAttributes.java b/src/main/java/com/vertexvis/model/AdminCreateApplicationRequestDataAttributes.java deleted file mode 100644 index 38079d83..00000000 --- a/src/main/java/com/vertexvis/model/AdminCreateApplicationRequestDataAttributes.java +++ /dev/null @@ -1,176 +0,0 @@ -/* - * 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; - -/** - * AdminCreateApplicationRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class AdminCreateApplicationRequestDataAttributes { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_SCOPES = "scopes"; - @SerializedName(SERIALIZED_NAME_SCOPES) - private List scopes = null; - - public static final String SERIALIZED_NAME_REDIRECT_URIS = "redirect_uris"; - @SerializedName(SERIALIZED_NAME_REDIRECT_URIS) - private List redirectUris = null; - - public AdminCreateApplicationRequestDataAttributes() { - } - - public AdminCreateApplicationRequestDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "some-string", required = true, value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public AdminCreateApplicationRequestDataAttributes scopes(List scopes) { - - this.scopes = scopes; - return this; - } - - public AdminCreateApplicationRequestDataAttributes addScopesItem(String scopesItem) { - if (this.scopes == null) { - this.scopes = new ArrayList<>(); - } - this.scopes.add(scopesItem); - return this; - } - - /** - * Get scopes - * @return scopes - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getScopes() { - return scopes; - } - - - public void setScopes(List scopes) { - this.scopes = scopes; - } - - - public AdminCreateApplicationRequestDataAttributes redirectUris(List redirectUris) { - - this.redirectUris = redirectUris; - return this; - } - - public AdminCreateApplicationRequestDataAttributes addRedirectUrisItem(String redirectUrisItem) { - if (this.redirectUris == null) { - this.redirectUris = new ArrayList<>(); - } - this.redirectUris.add(redirectUrisItem); - return this; - } - - /** - * Get redirectUris - * @return redirectUris - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getRedirectUris() { - return redirectUris; - } - - - public void setRedirectUris(List redirectUris) { - this.redirectUris = redirectUris; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AdminCreateApplicationRequestDataAttributes adminCreateApplicationRequestDataAttributes = (AdminCreateApplicationRequestDataAttributes) o; - return Objects.equals(this.name, adminCreateApplicationRequestDataAttributes.name) && - Objects.equals(this.scopes, adminCreateApplicationRequestDataAttributes.scopes) && - Objects.equals(this.redirectUris, adminCreateApplicationRequestDataAttributes.redirectUris); - } - - @Override - public int hashCode() { - return Objects.hash(name, scopes, redirectUris); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AdminCreateApplicationRequestDataAttributes {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" scopes: ").append(toIndentedString(scopes)).append("\n"); - sb.append(" redirectUris: ").append(toIndentedString(redirectUris)).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/AdminLoginAcceptRequest.java b/src/main/java/com/vertexvis/model/AdminLoginAcceptRequest.java deleted file mode 100644 index db8f5068..00000000 --- a/src/main/java/com/vertexvis/model/AdminLoginAcceptRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.AdminLoginAcceptRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * AdminLoginAcceptRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class AdminLoginAcceptRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private AdminLoginAcceptRequestData data; - - public AdminLoginAcceptRequest() { - } - - public AdminLoginAcceptRequest data(AdminLoginAcceptRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public AdminLoginAcceptRequestData getData() { - return data; - } - - - public void setData(AdminLoginAcceptRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AdminLoginAcceptRequest adminLoginAcceptRequest = (AdminLoginAcceptRequest) o; - return Objects.equals(this.data, adminLoginAcceptRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AdminLoginAcceptRequest {\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/AdminLoginAcceptRequestData.java b/src/main/java/com/vertexvis/model/AdminLoginAcceptRequestData.java deleted file mode 100644 index 46c8149c..00000000 --- a/src/main/java/com/vertexvis/model/AdminLoginAcceptRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.AdminLoginAcceptRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * AdminLoginAcceptRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class AdminLoginAcceptRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private AdminLoginAcceptRequestDataAttributes attributes; - - public AdminLoginAcceptRequestData() { - } - - public AdminLoginAcceptRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public AdminLoginAcceptRequestData attributes(AdminLoginAcceptRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public AdminLoginAcceptRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(AdminLoginAcceptRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AdminLoginAcceptRequestData adminLoginAcceptRequestData = (AdminLoginAcceptRequestData) o; - return Objects.equals(this.type, adminLoginAcceptRequestData.type) && - Objects.equals(this.attributes, adminLoginAcceptRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AdminLoginAcceptRequestData {\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/AdminLoginAcceptRequestDataAttributes.java b/src/main/java/com/vertexvis/model/AdminLoginAcceptRequestDataAttributes.java deleted file mode 100644 index 0876f467..00000000 --- a/src/main/java/com/vertexvis/model/AdminLoginAcceptRequestDataAttributes.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * 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; - -/** - * AdminLoginAcceptRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class AdminLoginAcceptRequestDataAttributes { - public static final String SERIALIZED_NAME_SUBJECT = "subject"; - @SerializedName(SERIALIZED_NAME_SUBJECT) - private String subject; - - public AdminLoginAcceptRequestDataAttributes() { - } - - public AdminLoginAcceptRequestDataAttributes subject(String subject) { - - this.subject = subject; - return this; - } - - /** - * Get subject - * @return subject - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "some-string", required = true, value = "") - - public String getSubject() { - return subject; - } - - - public void setSubject(String subject) { - this.subject = subject; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AdminLoginAcceptRequestDataAttributes adminLoginAcceptRequestDataAttributes = (AdminLoginAcceptRequestDataAttributes) o; - return Objects.equals(this.subject, adminLoginAcceptRequestDataAttributes.subject); - } - - @Override - public int hashCode() { - return Objects.hash(subject); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AdminLoginAcceptRequestDataAttributes {\n"); - sb.append(" subject: ").append(toIndentedString(subject)).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/AdminRedirectTo.java b/src/main/java/com/vertexvis/model/AdminRedirectTo.java deleted file mode 100644 index 69ae6211..00000000 --- a/src/main/java/com/vertexvis/model/AdminRedirectTo.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * 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; - -/** - * AdminRedirectTo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class AdminRedirectTo { - public static final String SERIALIZED_NAME_REDIRECT_TO = "redirectTo"; - @SerializedName(SERIALIZED_NAME_REDIRECT_TO) - private String redirectTo; - - public AdminRedirectTo() { - } - - public AdminRedirectTo redirectTo(String redirectTo) { - - this.redirectTo = redirectTo; - return this; - } - - /** - * Get redirectTo - * @return redirectTo - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "some-string", required = true, value = "") - - public String getRedirectTo() { - return redirectTo; - } - - - public void setRedirectTo(String redirectTo) { - this.redirectTo = redirectTo; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AdminRedirectTo adminRedirectTo = (AdminRedirectTo) o; - return Objects.equals(this.redirectTo, adminRedirectTo.redirectTo); - } - - @Override - public int hashCode() { - return Objects.hash(redirectTo); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AdminRedirectTo {\n"); - sb.append(" redirectTo: ").append(toIndentedString(redirectTo)).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/AnyOfCameraCameraFit.java b/src/main/java/com/vertexvis/model/AnyOfCameraCameraFit.java deleted file mode 100644 index 62e8dbed..00000000 --- a/src/main/java/com/vertexvis/model/AnyOfCameraCameraFit.java +++ /dev/null @@ -1,37 +0,0 @@ -package com.vertexvis.model; - -import javax.annotation.Nullable; - -public class AnyOfCameraCameraFit { - private OneOfPerspectiveCameraOrthographicCamera camera; - private CameraFit cameraFit; - - public AnyOfCameraCameraFit(OneOfPerspectiveCameraOrthographicCamera camera) { - this.camera = camera; - } - - public AnyOfCameraCameraFit(CameraFit cameraFit) { - this.cameraFit = cameraFit; - } - - public Object getCam() { - if (this.camera != null) { - return this.camera; - } - if (this.cameraFit != null) { - return this.cameraFit; - } - - return null; - } - - @Nullable - public OneOfPerspectiveCameraOrthographicCamera getCamera() { - return this.camera; - } - - @Nullable - public CameraFit getCameraFit() { - return this.cameraFit; - } -} diff --git a/src/main/java/com/vertexvis/model/AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp.java b/src/main/java/com/vertexvis/model/AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp.java deleted file mode 100644 index 71848916..00000000 --- a/src/main/java/com/vertexvis/model/AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp.java +++ /dev/null @@ -1,109 +0,0 @@ -package com.vertexvis.model; - -import javax.annotation.Nullable; - -public class AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp { - private ChangeVisibilityOp changeVisibilityOperation; - private ChangeMaterialOp changeMaterialOperation; - private ClearMaterialOp clearMaterialOperation; - private ChangeTransformOp changeTransformOperation; - private ClearTransformOp clearTransformOperation; - private SelectOp selectOperation; - private DeselectOperation deselectOperation; - - public AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp( - ChangeVisibilityOp changeVisibilityOperation) { - this.changeVisibilityOperation = changeVisibilityOperation; - } - - public AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp( - ChangeMaterialOp changeMaterialOperation) { - this.changeMaterialOperation = changeMaterialOperation; - } - - public AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp( - ClearMaterialOp clearMaterialOperation) { - this.clearMaterialOperation = clearMaterialOperation; - } - - public AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp( - ChangeTransformOp changeTransformOperation) { - this.changeTransformOperation = changeTransformOperation; - } - - public AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp( - ClearTransformOp clearTransformOperation) { - this.clearTransformOperation = clearTransformOperation; - } - - public AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp( - SelectOp selectOperation) { - this.selectOperation = selectOperation; - } - - public AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp( - DeselectOperation deselectOperation) { - this.deselectOperation = deselectOperation; - } - - public Object getOperation() { - if (this.changeVisibilityOperation != null) { - return this.changeVisibilityOperation; - } - if (this.changeMaterialOperation != null) { - return this.changeMaterialOperation; - } - if (this.clearMaterialOperation != null) { - return this.clearMaterialOperation; - } - if (this.changeTransformOperation != null) { - return this.changeTransformOperation; - } - if (this.clearTransformOperation != null) { - return this.clearTransformOperation; - } - if (this.selectOperation != null) { - return this.selectOperation; - } - if (this.deselectOperation != null) { - return this.deselectOperation; - } - - return null; - } - - @Nullable - public ChangeVisibilityOp getChangeVisibilityOperation() { - return this.changeVisibilityOperation; - } - - @Nullable - public ChangeMaterialOp getChangeMaterialOperation() { - return this.changeMaterialOperation; - } - - @Nullable - public ClearMaterialOp getClearMaterialOperation() { - return this.clearMaterialOperation; - } - - @Nullable - public ChangeTransformOp getChangeTransformOperation() { - return this.changeTransformOperation; - } - - @Nullable - public ClearTransformOp getClearTransformOperation() { - return this.clearTransformOperation; - } - - @Nullable - public SelectOp getSelectOperation() { - return this.selectOperation; - } - - @Nullable - public DeselectOperation getDeselectOperation() { - return this.deselectOperation; - } -} diff --git a/src/main/java/com/vertexvis/model/AnyOfCreateSceneItemRequestData.java b/src/main/java/com/vertexvis/model/AnyOfCreateSceneItemRequestData.java deleted file mode 100644 index d707eaad..00000000 --- a/src/main/java/com/vertexvis/model/AnyOfCreateSceneItemRequestData.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.vertexvis.model; - -import javax.annotation.Nullable; - -public class AnyOfCreateSceneItemRequestData { - private final CreateSceneItemRequestData createSceneItemRequestData; - - public AnyOfCreateSceneItemRequestData(CreateSceneItemRequestData createSceneItemRequestData) { - this.createSceneItemRequestData = createSceneItemRequestData; - } - - public Object getObj() { - return this.createSceneItemRequestData; - } - - @Nullable - public CreateSceneItemRequestData getCreateSceneItemRequestData() { - return this.createSceneItemRequestData; - } -} diff --git a/src/main/java/com/vertexvis/model/AnyOfFileRelationshipPartAssemblyRelationship.java b/src/main/java/com/vertexvis/model/AnyOfFileRelationshipPartAssemblyRelationship.java deleted file mode 100644 index ff7e2ba8..00000000 --- a/src/main/java/com/vertexvis/model/AnyOfFileRelationshipPartAssemblyRelationship.java +++ /dev/null @@ -1,38 +0,0 @@ -package com.vertexvis.model; - -import java.util.Objects; - -public class AnyOfFileRelationshipPartAssemblyRelationship { - - @Override - public boolean equals(Object o) { - if (this == o) return true; - if (o == null || getClass() != o.getClass()) return false; - AnyOfFileRelationshipPartAssemblyRelationship that = (AnyOfFileRelationshipPartAssemblyRelationship) o; - return Objects.equals(fileRelationship, that.fileRelationship) && Objects.equals(partAssemblyRelationship, that.partAssemblyRelationship); - } - - @Override - public int hashCode() { - return Objects.hash(fileRelationship, partAssemblyRelationship); - } - - private FileRelationship fileRelationship; - private PartAssemblyRelationship partAssemblyRelationship; - - public AnyOfFileRelationshipPartAssemblyRelationship(FileRelationship rel){ - this.fileRelationship = rel; - } - - public AnyOfFileRelationshipPartAssemblyRelationship(PartAssemblyRelationship rel){ - this.partAssemblyRelationship = rel; - } - public FileRelationship getFileRelationship() { - return fileRelationship; - } - - public PartAssemblyRelationship getPartAssemblyRelationship() { - return partAssemblyRelationship; - } - -} diff --git a/src/main/java/com/vertexvis/model/AnyOfGeometrySetDataPartRevisionDataPartRenditionData.java b/src/main/java/com/vertexvis/model/AnyOfGeometrySetDataPartRevisionDataPartRenditionData.java deleted file mode 100644 index 34b77f6b..00000000 --- a/src/main/java/com/vertexvis/model/AnyOfGeometrySetDataPartRevisionDataPartRenditionData.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.vertexvis.model; - -public class AnyOfGeometrySetDataPartRevisionDataPartRenditionData { - private Object value = null; - - public AnyOfGeometrySetDataPartRevisionDataPartRenditionData() { - } - - public AnyOfGeometrySetDataPartRevisionDataPartRenditionData(GeometrySetData value) { - this.value = value; - } - - public AnyOfGeometrySetDataPartRevisionDataPartRenditionData(PartRevisionData value) { - this.value = value; - } - - public AnyOfGeometrySetDataPartRevisionDataPartRenditionData(PartRenditionData value) { - this.value = value; - } - - public Object getRel() { - return value; - } - - public boolean isGeometrySetData() { - return value != null && value instanceof GeometrySetData; - } - - public boolean isPartRevisionData() { - return value != null && value instanceof PartRevisionData; - } - - public boolean isPartRenditionData() { - return value != null && value instanceof PartRenditionData; - } - - public GeometrySetData getGeometrySetData() { - return isGeometrySetData() ? (GeometrySetData) value : null; - } - - public PartRevisionData getPartRevisionData() { - return isPartRevisionData() ? (PartRevisionData) value : null; - } - - public PartRenditionData getPartRenditionData() { - return isPartRenditionData() ? (PartRenditionData) value : null; - } -} diff --git a/src/main/java/com/vertexvis/model/AnyOfGeometrySetRelationshipPartRevisionRelationship.java b/src/main/java/com/vertexvis/model/AnyOfGeometrySetRelationshipPartRevisionRelationship.java deleted file mode 100644 index 4c866cf0..00000000 --- a/src/main/java/com/vertexvis/model/AnyOfGeometrySetRelationshipPartRevisionRelationship.java +++ /dev/null @@ -1,41 +0,0 @@ -package com.vertexvis.model; - -public class AnyOfGeometrySetRelationshipPartRevisionRelationship { - private GeometrySetRelationship gsRel = null; - private PartRevisionRelationship prRel = null; - - public AnyOfGeometrySetRelationshipPartRevisionRelationship(GeometrySetRelationship gsRel) { - this.gsRel = gsRel; - } - - public AnyOfGeometrySetRelationshipPartRevisionRelationship(PartRevisionRelationship prRel) { - this.prRel = prRel; - } - - public Object getRel() { - if (this.gsRel != null) { - return this.gsRel; - } - if (this.prRel != null) { - return this.prRel; - } - - return null; - } - - public boolean isGeometrySetRel() { - return this.gsRel != null; - } - - public boolean isPartRevisionRel() { - return this.prRel != null; - } - - public GeometrySetRelationship getGeometrySetRel() { - return gsRel; - } - - public PartRevisionRelationship getPartRevisionRel() { - return prRel; - } -} diff --git a/src/main/java/com/vertexvis/model/AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship.java b/src/main/java/com/vertexvis/model/AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship.java deleted file mode 100644 index 98de3b7f..00000000 --- a/src/main/java/com/vertexvis/model/AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.vertexvis.model; - -public class AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship { - private GeometrySetRelationship gsRel = null; - private PartRevisionRelationship prRel = null; - private SceneRelationship sRel = null; - private PartRenditionRelationship partRenRel = null; - - public AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship( - GeometrySetRelationship gsRel) { - this.gsRel = gsRel; - } - - public AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship( - PartRevisionRelationship prRel) { - this.prRel = prRel; - } - - public AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship( - SceneRelationship sRel) { - this.sRel = sRel; - } - - public AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship( - PartRenditionRelationship partRenRel) { - this.partRenRel = partRenRel; - } - - public Object getRel() { - if (this.gsRel != null) { - return this.gsRel; - } - if (this.prRel != null) { - return this.prRel; - } - if (this.sRel != null) { - return this.sRel; - } - if (this.partRenRel != null) { - return this.partRenRel; - } - - return null; - } - - public boolean isGeometrySetRel() { - return this.gsRel != null; - } - - public boolean isPartRevisionRel() { - return this.prRel != null; - } - - public boolean isSceneRel() { - return this.sRel != null; - } - - public GeometrySetRelationship getGeometrySetRel() { - return gsRel; - } - - public PartRevisionRelationship getPartRevisionRel() { - return prRel; - } - - public SceneRelationship getSceneRel() { - return sRel; - } - - public PartRenditionRelationship getPartRenditionRel() { - return partRenRel; - } -} diff --git a/src/main/java/com/vertexvis/model/AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType.java b/src/main/java/com/vertexvis/model/AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType.java deleted file mode 100644 index 742d53e7..00000000 --- a/src/main/java/com/vertexvis/model/AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType.java +++ /dev/null @@ -1,84 +0,0 @@ -package com.vertexvis.model; - -import javax.annotation.Nullable; - -public class AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType { - private Object value = null; - - public AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType() { - } - - public AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( - MetadataLongType value) { - this.value = value; - } - - public AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( - MetadataFloatType value) { - this.value = value; - } - - public AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( - MetadataDateType value) { - this.value = value; - } - - public AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( - MetadataStringType value) { - this.value = value; - } - - public AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( - MetadataNullType value) { - this.value = value; - } - - public Object getValue() { - return value; - } - - public boolean isMetadataLongType() { - return this.value != null && this.value instanceof MetadataLongType; - } - - public boolean isMetadataFloatType() { - return this.value != null && this.value instanceof MetadataFloatType; - } - - public boolean isMetadataDateType() { - return this.value != null && this.value instanceof MetadataDateType; - } - - public boolean isMetadataStringType() { - return this.value != null && this.value instanceof MetadataStringType; - } - - public boolean isMetadataNullType() { - return this.value != null && this.value instanceof MetadataNullType; - } - - @Nullable - public MetadataLongType getMetadataLongType() { - return isMetadataLongType() ? (MetadataLongType) this.value : null; - } - - @Nullable - public MetadataFloatType getMetadataFloatType() { - return isMetadataFloatType() ? (MetadataFloatType) this.value : null; - } - - @Nullable - public MetadataDateType getMetadataDateType() { - return isMetadataDateType() ? (MetadataDateType) this.value : null; - } - - @Nullable - public MetadataStringType getMetadataStringType() { - return isMetadataStringType() ? (MetadataStringType) this.value : null; - } - - @Nullable - public MetadataNullType getMetadataNullType() { - return isMetadataNullType() ? (MetadataNullType) this.value : null; - } -} diff --git a/src/main/java/com/vertexvis/model/AnyOfPerspectiveCameraOrthographicCameraCameraFit.java b/src/main/java/com/vertexvis/model/AnyOfPerspectiveCameraOrthographicCameraCameraFit.java deleted file mode 100644 index d2100cdf..00000000 --- a/src/main/java/com/vertexvis/model/AnyOfPerspectiveCameraOrthographicCameraCameraFit.java +++ /dev/null @@ -1,52 +0,0 @@ -package com.vertexvis.model; - -import javax.annotation.Nullable; - -public class AnyOfPerspectiveCameraOrthographicCameraCameraFit { - private PerspectiveCamera perspectiveCamera; - private OrthographicCamera orthographicCamera; - private CameraFit cameraFit; - - public AnyOfPerspectiveCameraOrthographicCameraCameraFit(PerspectiveCamera perspectiveCamera) { - this.perspectiveCamera = perspectiveCamera; - } - - public AnyOfPerspectiveCameraOrthographicCameraCameraFit(OrthographicCamera orthographicCamera) { - this.orthographicCamera = orthographicCamera; - } - - public AnyOfPerspectiveCameraOrthographicCameraCameraFit(CameraFit cameraFit) { - this.cameraFit = cameraFit; - } - - public Object getAnyOfCameraFit() { - if (orthographicCamera != null) { - return this.orthographicCamera; - } - if (perspectiveCamera != null) { - return this.perspectiveCamera; - } - - if (this.cameraFit != null) { - return this.cameraFit; - } - - return null; - } - - @Nullable - public PerspectiveCamera getPerspectiveCamera() { - return this.perspectiveCamera; - } - - @Nullable - public OrthographicCamera getOrthographicCamera() { - return this.orthographicCamera; - } - - @Nullable - public CameraFit getCameraFit() { - return this.cameraFit; - } -} - diff --git a/src/main/java/com/vertexvis/model/AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship.java b/src/main/java/com/vertexvis/model/AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship.java deleted file mode 100644 index 99db3ef3..00000000 --- a/src/main/java/com/vertexvis/model/AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship.java +++ /dev/null @@ -1,75 +0,0 @@ -package com.vertexvis.model; - -public class AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship { - private PropertySetRelationship psRel = null; - private PartRevisionRelationship prRel = null; - private SceneItemRelationship siRel = null; - private PartInstanceRelationship piRel = null; - - public AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship( - PropertySetRelationship psRel) { - this.psRel = psRel; - } - - public AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship( - PartRevisionRelationship prRel) { - this.prRel = prRel; - } - - public AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship( - SceneItemRelationship siRel) { - this.siRel = siRel; - } - - public AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship( - PartInstanceRelationship piRel) { - this.piRel = piRel; - } - - public Object getRel() { - if (this.psRel != null) { - return this.psRel; - } - if (this.prRel != null) { - return this.prRel; - } - if (this.siRel != null) { - return this.siRel; - } - if (this.piRel != null) { - return this.piRel; - } - - return null; - } - - public boolean isPropertySetRel() { - return this.psRel != null; - } - - public boolean isPartRevisionRel() { - return this.prRel != null; - } - - public boolean isSceneItemRel() { - return this.siRel != null; - } - - public boolean isPartInstanceRel() { - return this.piRel != null; - } - - public PropertySetRelationship getPropertySetRel() { - return psRel; - } - - public PartRevisionRelationship getPartRevisionRel() { - return prRel; - } - - public SceneItemRelationship getSceneItemRel() { - return siRel; - } - - public PartInstanceRelationship getPartInstanceRel() { return piRel; } -} diff --git a/src/main/java/com/vertexvis/model/AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType.java b/src/main/java/com/vertexvis/model/AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType.java deleted file mode 100644 index 88d7cae2..00000000 --- a/src/main/java/com/vertexvis/model/AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType.java +++ /dev/null @@ -1,69 +0,0 @@ -package com.vertexvis.model; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.11.0") -public class AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType { - private PropertyStringType stringType= null; - private PropertyDoubleType doubleType= null; - private PropertyLongType longType= null; - private PropertyDateType dateType= null; - - public AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType(PropertyStringType stringType) { - this.stringType= stringType; - } - - public AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType(PropertyDoubleType doubleType) { - this.doubleType= doubleType; - } - - public AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType(PropertyLongType longType) { - this.longType= longType; - } - - public AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType(PropertyDateType dateType) { - this.dateType= dateType; - } - - public Object getPropertyObject() { - if (stringType != null) { - return stringType; - } else if (doubleType != null) { - return doubleType; - } else if (longType != null) { - return longType; - } - return dateType; - } - - public boolean isPropertyStringType() { - return stringType != null; - } - - public boolean isPropertyDoubleType() { - return doubleType != null; - } - - public boolean isPropertyLongType() { - return longType != null; - } - - public boolean isPropertyDateType() { - return dateType != null; - } - - public PropertyStringType getPropertyStringType() { - return stringType; - } - - public PropertyDoubleType getPropertyDoubleType() { - return doubleType; - } - - public PropertyLongType getPropertyLongType(){ - return longType; - } - - public PropertyDateType getPropertyDateType() { - return dateType; - } -} - diff --git a/src/main/java/com/vertexvis/model/AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject.java b/src/main/java/com/vertexvis/model/AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject.java deleted file mode 100644 index 3b6927a0..00000000 --- a/src/main/java/com/vertexvis/model/AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject.java +++ /dev/null @@ -1,69 +0,0 @@ -package com.vertexvis.model; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.11.0") -public class AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject { - private PropertyStringType stringType= null; - private PropertyDoubleType doubleType= null; - private PropertyLongType longType= null; - private PropertyDateType dateType= null; - - public AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject(PropertyStringType stringType) { - this.stringType= stringType; - } - - public AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject(PropertyDoubleType doubleType) { - this.doubleType= doubleType; - } - - public AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject(PropertyLongType longType) { - this.longType= longType; - } - - public AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject(PropertyDateType dateType) { - this.dateType= dateType; - } - - public Object getPropertyObject() { - if (stringType != null) { - return stringType; - } else if (doubleType != null) { - return doubleType; - } else if (longType != null) { - return longType; - } - return dateType; - } - - public boolean isPropertyStringType() { - return stringType != null; - } - - public boolean isPropertyDoubleType() { - return doubleType != null; - } - - public boolean isPropertyLongType() { - return longType != null; - } - - public boolean isPropertyDateType() { - return dateType != null; - } - - public PropertyStringType getPropertyStringType() { - return stringType; - } - - public PropertyDoubleType getPropertyDoubleType() { - return doubleType; - } - - public PropertyLongType getPropertyLongType(){ - return longType; - } - - public PropertyDateType getPropertyDateType() { - return dateType; - } -} - diff --git a/src/main/java/com/vertexvis/model/AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata.java b/src/main/java/com/vertexvis/model/AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata.java deleted file mode 100644 index 53cb0fd5..00000000 --- a/src/main/java/com/vertexvis/model/AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata.java +++ /dev/null @@ -1,63 +0,0 @@ -package com.vertexvis.model; - -import javax.annotation.Nullable; - -public class AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata { - private QueryById queryById; - private QueryByCollection queryByCollection; - private QueryAll queryAll; - private QueryByMetadata queryByMetadata; - - public AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata(QueryById queryById) { - this.queryById = queryById; - } - - public AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata(QueryByCollection queryByCollection) { - this.queryByCollection = queryByCollection; - } - - public AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata(QueryAll queryAll) { - this.queryAll = queryAll; - } - - public AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata(QueryByMetadata queryByMetadata) { - this.queryByMetadata = queryByMetadata; - } - - public Object getQuery() { - if (queryById != null) { - return this.queryById; - } - if (queryByCollection != null) { - return this.queryByCollection; - } - if (queryAll != null) { - return this.queryAll; - } - if (queryByMetadata != null) { - return this.queryByMetadata; - } - - return null; - } - - @Nullable - public QueryById getQueryById() { - return this.queryById; - } - - @Nullable - public QueryByCollection getQueryByCollection() { - return this.queryByCollection; - } - - @Nullable - public QueryAll getQueryAll() { - return this.queryAll; - } - - @Nullable - public QueryByMetadata getQueryByMetadata() { - return this.queryByMetadata; - } -} diff --git a/src/main/java/com/vertexvis/model/AnyOfRelationshipDataApiError.java b/src/main/java/com/vertexvis/model/AnyOfRelationshipDataApiError.java deleted file mode 100644 index a98c3d39..00000000 --- a/src/main/java/com/vertexvis/model/AnyOfRelationshipDataApiError.java +++ /dev/null @@ -1,37 +0,0 @@ -package com.vertexvis.model; - -import javax.annotation.Nullable; - -public class AnyOfRelationshipDataApiError { - private RelationshipData relationshipData; - private ApiError apiError; - - public AnyOfRelationshipDataApiError(RelationshipData relationshipData) { - this.relationshipData = relationshipData; - } - - public AnyOfRelationshipDataApiError(ApiError apiError) { - this.apiError = apiError; - } - - public Object getObj() { - if (this.relationshipData != null) { - return this.relationshipData; - } - if (this.apiError != null) { - return this.apiError; - } - - return null; - } - - @Nullable - public RelationshipData getRelationshipData() { - return this.relationshipData; - } - - @Nullable - public ApiError getApiError() { - return this.apiError; - } -} diff --git a/src/main/java/com/vertexvis/model/ApiError.java b/src/main/java/com/vertexvis/model/ApiError.java deleted file mode 100644 index be4d50b0..00000000 --- a/src/main/java/com/vertexvis/model/ApiError.java +++ /dev/null @@ -1,324 +0,0 @@ -/* - * 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.ApiErrorSource; -import com.vertexvis.model.Link; -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; - -/** - * ApiError - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ApiError { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private String status; - - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private String code; - - public static final String SERIALIZED_NAME_TITLE = "title"; - @SerializedName(SERIALIZED_NAME_TITLE) - private String title; - - public static final String SERIALIZED_NAME_DETAIL = "detail"; - @SerializedName(SERIALIZED_NAME_DETAIL) - private String detail; - - public static final String SERIALIZED_NAME_SOURCE = "source"; - @SerializedName(SERIALIZED_NAME_SOURCE) - private ApiErrorSource source; - - public static final String SERIALIZED_NAME_META = "meta"; - @SerializedName(SERIALIZED_NAME_META) - private Map meta = null; - - public ApiError() { - } - - public ApiError id(String id) { - - this.id = id; - return this; - } - - /** - * Get id - * @return id - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "7c46d4c3-e065-4eae-87ec-08233cf8743b", value = "") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - public ApiError links(Map links) { - - this.links = links; - return this; - } - - public ApiError 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; - } - - - public ApiError status(String status) { - - this.status = status; - return this; - } - - /** - * Get status - * @return status - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "400", value = "") - - public String getStatus() { - return status; - } - - - public void setStatus(String status) { - this.status = status; - } - - - public ApiError code(String code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "ValidationError", value = "") - - public String getCode() { - return code; - } - - - public void setCode(String code) { - this.code = code; - } - - - public ApiError title(String title) { - - this.title = title; - return this; - } - - /** - * Get title - * @return title - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "A validation error occurred.", value = "") - - public String getTitle() { - return title; - } - - - public void setTitle(String title) { - this.title = title; - } - - - public ApiError detail(String detail) { - - this.detail = detail; - return this; - } - - /** - * Get detail - * @return detail - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "$.data.attributes.suppliedId: is missing but it is required", value = "") - - public String getDetail() { - return detail; - } - - - public void setDetail(String detail) { - this.detail = detail; - } - - - public ApiError source(ApiErrorSource source) { - - this.source = source; - return this; - } - - /** - * Get source - * @return source - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public ApiErrorSource getSource() { - return source; - } - - - public void setSource(ApiErrorSource source) { - this.source = source; - } - - - public ApiError meta(Map meta) { - - this.meta = meta; - return this; - } - - public ApiError putMetaItem(String key, String metaItem) { - if (this.meta == null) { - this.meta = new HashMap<>(); - } - this.meta.put(key, metaItem); - return this; - } - - /** - * Get meta - * @return meta - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Map getMeta() { - return meta; - } - - - public void setMeta(Map meta) { - this.meta = meta; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ApiError apiError = (ApiError) o; - return Objects.equals(this.id, apiError.id) && - Objects.equals(this.links, apiError.links) && - Objects.equals(this.status, apiError.status) && - Objects.equals(this.code, apiError.code) && - Objects.equals(this.title, apiError.title) && - Objects.equals(this.detail, apiError.detail) && - Objects.equals(this.source, apiError.source) && - Objects.equals(this.meta, apiError.meta); - } - - @Override - public int hashCode() { - return Objects.hash(id, links, status, code, title, detail, source, meta); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ApiError {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" detail: ").append(toIndentedString(detail)).append("\n"); - sb.append(" source: ").append(toIndentedString(source)).append("\n"); - sb.append(" meta: ").append(toIndentedString(meta)).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/ApiErrorSource.java b/src/main/java/com/vertexvis/model/ApiErrorSource.java deleted file mode 100644 index 0e63bfd1..00000000 --- a/src/main/java/com/vertexvis/model/ApiErrorSource.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * 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; - -/** - * ApiErrorSource - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ApiErrorSource { - public static final String SERIALIZED_NAME_POINTER = "pointer"; - @SerializedName(SERIALIZED_NAME_POINTER) - private String pointer; - - public static final String SERIALIZED_NAME_PARAMETER = "parameter"; - @SerializedName(SERIALIZED_NAME_PARAMETER) - private String parameter; - - public ApiErrorSource() { - } - - public ApiErrorSource pointer(String pointer) { - - this.pointer = pointer; - return this; - } - - /** - * Get pointer - * @return pointer - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "/body/data/attributes", value = "") - - public String getPointer() { - return pointer; - } - - - public void setPointer(String pointer) { - this.pointer = pointer; - } - - - public ApiErrorSource parameter(String parameter) { - - this.parameter = parameter; - return this; - } - - /** - * Get parameter - * @return parameter - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "page[cursor]", value = "") - - public String getParameter() { - return parameter; - } - - - public void setParameter(String parameter) { - this.parameter = parameter; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ApiErrorSource apiErrorSource = (ApiErrorSource) o; - return Objects.equals(this.pointer, apiErrorSource.pointer) && - Objects.equals(this.parameter, apiErrorSource.parameter); - } - - @Override - public int hashCode() { - return Objects.hash(pointer, parameter); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ApiErrorSource {\n"); - sb.append(" pointer: ").append(toIndentedString(pointer)).append("\n"); - sb.append(" parameter: ").append(toIndentedString(parameter)).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/Application.java b/src/main/java/com/vertexvis/model/Application.java deleted file mode 100644 index 51b43fd7..00000000 --- a/src/main/java/com/vertexvis/model/Application.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.ApplicationData; -import com.vertexvis.model.Link; -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; - -/** - * Application - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Application { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private ApplicationData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public Application() { - } - - public Application data(ApplicationData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public ApplicationData getData() { - return data; - } - - - public void setData(ApplicationData data) { - this.data = data; - } - - - public Application links(Map links) { - - this.links = links; - return this; - } - - public Application 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; - } - Application application = (Application) o; - return Objects.equals(this.data, application.data) && - Objects.equals(this.links, application.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Application {\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/ApplicationData.java b/src/main/java/com/vertexvis/model/ApplicationData.java deleted file mode 100644 index af792084..00000000 --- a/src/main/java/com/vertexvis/model/ApplicationData.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * 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.ApplicationDataAttributes; -import com.vertexvis.model.Link; -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; - -/** - * ApplicationData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ApplicationData { - 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 ApplicationDataAttributes attributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public ApplicationData() { - } - - public ApplicationData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "application", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public ApplicationData 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 ApplicationData attributes(ApplicationDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public ApplicationDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(ApplicationDataAttributes attributes) { - this.attributes = attributes; - } - - - public ApplicationData links(Map links) { - - this.links = links; - return this; - } - - public ApplicationData 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; - } - ApplicationData applicationData = (ApplicationData) o; - return Objects.equals(this.type, applicationData.type) && - Objects.equals(this.id, applicationData.id) && - Objects.equals(this.attributes, applicationData.attributes) && - Objects.equals(this.links, applicationData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ApplicationData {\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(" 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/ApplicationDataAttributes.java b/src/main/java/com/vertexvis/model/ApplicationDataAttributes.java deleted file mode 100644 index 2c6484bf..00000000 --- a/src/main/java/com/vertexvis/model/ApplicationDataAttributes.java +++ /dev/null @@ -1,229 +0,0 @@ -/* - * 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.time.OffsetDateTime; -import java.util.ArrayList; -import java.util.List; - -/** - * ApplicationDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ApplicationDataAttributes { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_CLIENT_ID = "clientId"; - @SerializedName(SERIALIZED_NAME_CLIENT_ID) - private String clientId; - - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_SCOPES = "scopes"; - @SerializedName(SERIALIZED_NAME_SCOPES) - private List scopes = new ArrayList<>(); - - public static final String SERIALIZED_NAME_REDIRECT_URIS = "redirectUris"; - @SerializedName(SERIALIZED_NAME_REDIRECT_URIS) - private List redirectUris = new ArrayList<>(); - - public ApplicationDataAttributes() { - } - - public ApplicationDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "some-string", required = true, value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public ApplicationDataAttributes clientId(String clientId) { - - this.clientId = clientId; - return this; - } - - /** - * Get clientId - * @return clientId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "some-string", required = true, value = "") - - public String getClientId() { - return clientId; - } - - - public void setClientId(String clientId) { - this.clientId = clientId; - } - - - public ApplicationDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - public ApplicationDataAttributes scopes(List scopes) { - - this.scopes = scopes; - return this; - } - - public ApplicationDataAttributes addScopesItem(String scopesItem) { - this.scopes.add(scopesItem); - return this; - } - - /** - * Get scopes - * @return scopes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getScopes() { - return scopes; - } - - - public void setScopes(List scopes) { - this.scopes = scopes; - } - - - public ApplicationDataAttributes redirectUris(List redirectUris) { - - this.redirectUris = redirectUris; - return this; - } - - public ApplicationDataAttributes addRedirectUrisItem(String redirectUrisItem) { - this.redirectUris.add(redirectUrisItem); - return this; - } - - /** - * Get redirectUris - * @return redirectUris - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getRedirectUris() { - return redirectUris; - } - - - public void setRedirectUris(List redirectUris) { - this.redirectUris = redirectUris; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ApplicationDataAttributes applicationDataAttributes = (ApplicationDataAttributes) o; - return Objects.equals(this.name, applicationDataAttributes.name) && - Objects.equals(this.clientId, applicationDataAttributes.clientId) && - Objects.equals(this.created, applicationDataAttributes.created) && - Objects.equals(this.scopes, applicationDataAttributes.scopes) && - Objects.equals(this.redirectUris, applicationDataAttributes.redirectUris); - } - - @Override - public int hashCode() { - return Objects.hash(name, clientId, created, scopes, redirectUris); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ApplicationDataAttributes {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" scopes: ").append(toIndentedString(scopes)).append("\n"); - sb.append(" redirectUris: ").append(toIndentedString(redirectUris)).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/ApplicationList.java b/src/main/java/com/vertexvis/model/ApplicationList.java deleted file mode 100644 index 586c0618..00000000 --- a/src/main/java/com/vertexvis/model/ApplicationList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.ApplicationData; -import com.vertexvis.model.Link; -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; - -/** - * ApplicationList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ApplicationList { - 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 ApplicationList() { - } - - public ApplicationList data(List data) { - - this.data = data; - return this; - } - - public ApplicationList addDataItem(ApplicationData 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 ApplicationList links(Map links) { - - this.links = links; - return this; - } - - public ApplicationList 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; - } - ApplicationList applicationList = (ApplicationList) o; - return Objects.equals(this.data, applicationList.data) && - Objects.equals(this.links, applicationList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ApplicationList {\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/Batch.java b/src/main/java/com/vertexvis/model/Batch.java deleted file mode 100644 index 80f59195..00000000 --- a/src/main/java/com/vertexvis/model/Batch.java +++ /dev/null @@ -1,108 +0,0 @@ -/* - * 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.AnyOfRelationshipDataApiError; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * Batch - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Batch { - public static final String SERIALIZED_NAME_VERTEXVIS_BATCH_COLON_RESULTS = "vertexvis/batch:results"; - @SerializedName(SERIALIZED_NAME_VERTEXVIS_BATCH_COLON_RESULTS) - private List vertexvisBatchColonResults = new ArrayList<>(); - - public Batch() { - } - - public Batch vertexvisBatchColonResults(List vertexvisBatchColonResults) { - - this.vertexvisBatchColonResults = vertexvisBatchColonResults; - return this; - } - - public Batch addVertexvisBatchColonResultsItem(AnyOfRelationshipDataApiError vertexvisBatchColonResultsItem) { - this.vertexvisBatchColonResults.add(vertexvisBatchColonResultsItem); - return this; - } - - /** - * List of operation results. - * @return vertexvisBatchColonResults - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "List of operation results.") - - public List getVertexvisBatchColonResults() { - return vertexvisBatchColonResults; - } - - - public void setVertexvisBatchColonResults(List vertexvisBatchColonResults) { - this.vertexvisBatchColonResults = vertexvisBatchColonResults; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Batch batch = (Batch) o; - return Objects.equals(this.vertexvisBatchColonResults, batch.vertexvisBatchColonResults); - } - - @Override - public int hashCode() { - return Objects.hash(vertexvisBatchColonResults); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Batch {\n"); - sb.append(" vertexvisBatchColonResults: ").append(toIndentedString(vertexvisBatchColonResults)).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/BatchOperation.java b/src/main/java/com/vertexvis/model/BatchOperation.java deleted file mode 100644 index fc39ec9b..00000000 --- a/src/main/java/com/vertexvis/model/BatchOperation.java +++ /dev/null @@ -1,204 +0,0 @@ -/* - * 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.BatchOperationRef; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * BatchOperation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class BatchOperation { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private AnyOfCreateSceneItemRequestData data; - - /** - * Batch operation type type. - */ - @JsonAdapter(OpEnum.Adapter.class) - public enum OpEnum { - ADD("add"); - - private String value; - - OpEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static OpEnum fromValue(String value) { - for (OpEnum b : OpEnum.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 OpEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public OpEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return OpEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_OP = "op"; - @SerializedName(SERIALIZED_NAME_OP) - private OpEnum op; - - public static final String SERIALIZED_NAME_REF = "ref"; - @SerializedName(SERIALIZED_NAME_REF) - private BatchOperationRef ref; - - public BatchOperation() { - } - - public BatchOperation data(AnyOfCreateSceneItemRequestData data) { - - this.data = data; - return this; - } - - /** - * Operation's primary data. - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(required = true, value = "Operation's primary data.") - - public AnyOfCreateSceneItemRequestData getData() { - return data; - } - - - public void setData(AnyOfCreateSceneItemRequestData data) { - this.data = data; - } - - - public BatchOperation op(OpEnum op) { - - this.op = op; - return this; - } - - /** - * Batch operation type type. - * @return op - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "add", required = true, value = "Batch operation type type.") - - public OpEnum getOp() { - return op; - } - - - public void setOp(OpEnum op) { - this.op = op; - } - - - public BatchOperation ref(BatchOperationRef ref) { - - this.ref = ref; - return this; - } - - /** - * Get ref - * @return ref - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public BatchOperationRef getRef() { - return ref; - } - - - public void setRef(BatchOperationRef ref) { - this.ref = ref; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - BatchOperation batchOperation = (BatchOperation) o; - return Objects.equals(this.data, batchOperation.data) && - Objects.equals(this.op, batchOperation.op) && - Objects.equals(this.ref, batchOperation.ref); - } - - @Override - public int hashCode() { - return Objects.hash(data, op, ref); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class BatchOperation {\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" op: ").append(toIndentedString(op)).append("\n"); - sb.append(" ref: ").append(toIndentedString(ref)).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/BatchOperationRef.java b/src/main/java/com/vertexvis/model/BatchOperationRef.java deleted file mode 100644 index ed2f6600..00000000 --- a/src/main/java/com/vertexvis/model/BatchOperationRef.java +++ /dev/null @@ -1,176 +0,0 @@ -/* - * 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; - -/** - * Target of batch operation. - */ -@ApiModel(description = "Target of batch operation.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class BatchOperationRef { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - SCENE("scene"); - - 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 BatchOperationRef() { - } - - public BatchOperationRef type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public BatchOperationRef 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; - } - BatchOperationRef batchOperationRef = (BatchOperationRef) o; - return Objects.equals(this.type, batchOperationRef.type) && - Objects.equals(this.id, batchOperationRef.id); - } - - @Override - public int hashCode() { - return Objects.hash(type, id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class BatchOperationRef {\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/BoundingBox.java b/src/main/java/com/vertexvis/model/BoundingBox.java deleted file mode 100644 index d570059b..00000000 --- a/src/main/java/com/vertexvis/model/BoundingBox.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * 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.Vector3; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * 3D bounding-box - */ -@ApiModel(description = "3D bounding-box") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class BoundingBox { - public static final String SERIALIZED_NAME_MIN = "min"; - @SerializedName(SERIALIZED_NAME_MIN) - private Vector3 min; - - public static final String SERIALIZED_NAME_MAX = "max"; - @SerializedName(SERIALIZED_NAME_MAX) - private Vector3 max; - - public BoundingBox() { - } - - public BoundingBox min(Vector3 min) { - - this.min = min; - return this; - } - - /** - * Get min - * @return min - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector3 getMin() { - return min; - } - - - public void setMin(Vector3 min) { - this.min = min; - } - - - public BoundingBox max(Vector3 max) { - - this.max = max; - return this; - } - - /** - * Get max - * @return max - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector3 getMax() { - return max; - } - - - public void setMax(Vector3 max) { - this.max = max; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - BoundingBox boundingBox = (BoundingBox) o; - return Objects.equals(this.min, boundingBox.min) && - Objects.equals(this.max, boundingBox.max); - } - - @Override - public int hashCode() { - return Objects.hash(min, max); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class BoundingBox {\n"); - sb.append(" min: ").append(toIndentedString(min)).append("\n"); - sb.append(" max: ").append(toIndentedString(max)).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/CADExportConfig.java b/src/main/java/com/vertexvis/model/CADExportConfig.java deleted file mode 100644 index ac16fccd..00000000 --- a/src/main/java/com/vertexvis/model/CADExportConfig.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * 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.ExportConfig; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Describes the options for configuring a CAD file export. - */ -@ApiModel(description = "Describes the options for configuring a CAD file export.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CADExportConfig extends ExportConfig { - public CADExportConfig() { - this.format = this.getClass().getSimpleName(); - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - return super.equals(o); - } - - @Override - public int hashCode() { - return Objects.hash(super.hashCode()); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CADExportConfig {\n"); - sb.append(" ").append(toIndentedString(super.toString())).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/Camera.java b/src/main/java/com/vertexvis/model/Camera.java deleted file mode 100644 index d7572ec6..00000000 --- a/src/main/java/com/vertexvis/model/Camera.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.vertexvis.model; - -import com.google.gson.annotations.SerializedName; -import io.swagger.annotations.ApiModelProperty; - -// Created class for deserializing the OneOfOrthographicPerspective camera adapter. -public class Camera extends OrthographicCamera { - public static final String SERIALIZED_NAME_POSITION = "position"; - @SerializedName(SERIALIZED_NAME_POSITION) - private Vector3 position; - public Camera position(Vector3 position) { - - this.position = position; - return this; - } - - /** - * Get position - * @return position - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector3 getPosition() { - return position; - } -} diff --git a/src/main/java/com/vertexvis/model/CameraFit.java b/src/main/java/com/vertexvis/model/CameraFit.java deleted file mode 100644 index dc73e91f..00000000 --- a/src/main/java/com/vertexvis/model/CameraFit.java +++ /dev/null @@ -1,148 +0,0 @@ -/* - * 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; - -/** - * Fit camera in 3D space based on items in scene. - */ -@ApiModel(description = "Fit camera in 3D space based on items in scene.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CameraFit { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - FIT_VISIBLE_SCENE_ITEMS("fit-visible-scene-items"), - - RESET("reset"); - - 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 CameraFit() { - } - - public CameraFit type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "fit-visible-scene-items", 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; - } - CameraFit cameraFit = (CameraFit) o; - return Objects.equals(this.type, cameraFit.type); - } - - @Override - public int hashCode() { - return Objects.hash(type); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CameraFit {\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/ChangeMaterialOp.java b/src/main/java/com/vertexvis/model/ChangeMaterialOp.java deleted file mode 100644 index 3b1ad7cc..00000000 --- a/src/main/java/com/vertexvis/model/ChangeMaterialOp.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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.ColorMaterial; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * ChangeMaterialOp - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ChangeMaterialOp { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - CHANGE_MATERIAL("change-material"); - - 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_MATERIAL = "material"; - @SerializedName(SERIALIZED_NAME_MATERIAL) - private ColorMaterial material; - - public ChangeMaterialOp() { - } - - public ChangeMaterialOp type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "change-material", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public ChangeMaterialOp material(ColorMaterial material) { - - this.material = material; - return this; - } - - /** - * Get material - * @return material - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public ColorMaterial getMaterial() { - return material; - } - - - public void setMaterial(ColorMaterial material) { - this.material = material; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ChangeMaterialOp changeMaterialOp = (ChangeMaterialOp) o; - return Objects.equals(this.type, changeMaterialOp.type) && - Objects.equals(this.material, changeMaterialOp.material); - } - - @Override - public int hashCode() { - return Objects.hash(type, material); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ChangeMaterialOp {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" material: ").append(toIndentedString(material)).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/ChangeTransformOp.java b/src/main/java/com/vertexvis/model/ChangeTransformOp.java deleted file mode 100644 index 1f5577a9..00000000 --- a/src/main/java/com/vertexvis/model/ChangeTransformOp.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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.Matrix4; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * ChangeTransformOp - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ChangeTransformOp { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - CHANGE_TRANSFORM("change-transform"); - - 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_TRANSFORM = "transform"; - @SerializedName(SERIALIZED_NAME_TRANSFORM) - private Matrix4 transform; - - public ChangeTransformOp() { - } - - public ChangeTransformOp type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "change-transform", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public ChangeTransformOp transform(Matrix4 transform) { - - this.transform = transform; - return this; - } - - /** - * Get transform - * @return transform - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Matrix4 getTransform() { - return transform; - } - - - public void setTransform(Matrix4 transform) { - this.transform = transform; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ChangeTransformOp changeTransformOp = (ChangeTransformOp) o; - return Objects.equals(this.type, changeTransformOp.type) && - Objects.equals(this.transform, changeTransformOp.transform); - } - - @Override - public int hashCode() { - return Objects.hash(type, transform); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ChangeTransformOp {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" transform: ").append(toIndentedString(transform)).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/ChangeVisibilityOp.java b/src/main/java/com/vertexvis/model/ChangeVisibilityOp.java deleted file mode 100644 index 50eed658..00000000 --- a/src/main/java/com/vertexvis/model/ChangeVisibilityOp.java +++ /dev/null @@ -1,174 +0,0 @@ -/* - * 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; - -/** - * ChangeVisibilityOp - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ChangeVisibilityOp { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - CHANGE_VISIBILITY("change-visibility"); - - 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_VISIBLE = "visible"; - @SerializedName(SERIALIZED_NAME_VISIBLE) - private Boolean visible; - - public ChangeVisibilityOp() { - } - - public ChangeVisibilityOp type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "change-visibility", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public ChangeVisibilityOp visible(Boolean visible) { - - this.visible = visible; - return this; - } - - /** - * Item visibility. - * @return visible - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "true", required = true, value = "Item visibility.") - - public Boolean getVisible() { - return visible; - } - - - public void setVisible(Boolean visible) { - this.visible = visible; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ChangeVisibilityOp changeVisibilityOp = (ChangeVisibilityOp) o; - return Objects.equals(this.type, changeVisibilityOp.type) && - Objects.equals(this.visible, changeVisibilityOp.visible); - } - - @Override - public int hashCode() { - return Objects.hash(type, visible); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ChangeVisibilityOp {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" visible: ").append(toIndentedString(visible)).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/ClearMaterialOp.java b/src/main/java/com/vertexvis/model/ClearMaterialOp.java deleted file mode 100644 index 4f3f6417..00000000 --- a/src/main/java/com/vertexvis/model/ClearMaterialOp.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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; - -/** - * ClearMaterialOp - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ClearMaterialOp { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - CLEAR_MATERIAL("clear-material"); - - 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 ClearMaterialOp() { - } - - public ClearMaterialOp type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "clear-material", 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; - } - ClearMaterialOp clearMaterialOp = (ClearMaterialOp) o; - return Objects.equals(this.type, clearMaterialOp.type); - } - - @Override - public int hashCode() { - return Objects.hash(type); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ClearMaterialOp {\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/ClearRenOp.java b/src/main/java/com/vertexvis/model/ClearRenOp.java deleted file mode 100644 index 633ecc1f..00000000 --- a/src/main/java/com/vertexvis/model/ClearRenOp.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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; - -/** - * ClearRenOp - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ClearRenOp { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - CLEAR_RENDITION("clear-rendition"); - - 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 ClearRenOp() { - } - - public ClearRenOp type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "clear-rendition", 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; - } - ClearRenOp clearRenOp = (ClearRenOp) o; - return Objects.equals(this.type, clearRenOp.type); - } - - @Override - public int hashCode() { - return Objects.hash(type); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ClearRenOp {\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/ClearRepOp.java b/src/main/java/com/vertexvis/model/ClearRepOp.java deleted file mode 100644 index 63aa7194..00000000 --- a/src/main/java/com/vertexvis/model/ClearRepOp.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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; - -/** - * ClearRepOp - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ClearRepOp { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - CLEAR_REPRESENTATION("clear-representation"); - - 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 ClearRepOp() { - } - - public ClearRepOp type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "clear-representation", 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; - } - ClearRepOp clearRepOp = (ClearRepOp) o; - return Objects.equals(this.type, clearRepOp.type); - } - - @Override - public int hashCode() { - return Objects.hash(type); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ClearRepOp {\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/ClearTransformOp.java b/src/main/java/com/vertexvis/model/ClearTransformOp.java deleted file mode 100644 index 1e80065a..00000000 --- a/src/main/java/com/vertexvis/model/ClearTransformOp.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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; - -/** - * ClearTransformOp - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ClearTransformOp { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - CLEAR_TRANSFORM("clear-transform"); - - 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 ClearTransformOp() { - } - - public ClearTransformOp type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "clear-transform", 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; - } - ClearTransformOp clearTransformOp = (ClearTransformOp) o; - return Objects.equals(this.type, clearTransformOp.type); - } - - @Override - public int hashCode() { - return Objects.hash(type); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ClearTransformOp {\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/Color3.java b/src/main/java/com/vertexvis/model/Color3.java deleted file mode 100644 index 1a0ae111..00000000 --- a/src/main/java/com/vertexvis/model/Color3.java +++ /dev/null @@ -1,165 +0,0 @@ -/* - * 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; - -/** - * RGB color. - */ -@ApiModel(description = "RGB color.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Color3 { - public static final String SERIALIZED_NAME_R = "r"; - @SerializedName(SERIALIZED_NAME_R) - private Integer r; - - public static final String SERIALIZED_NAME_G = "g"; - @SerializedName(SERIALIZED_NAME_G) - private Integer g; - - public static final String SERIALIZED_NAME_B = "b"; - @SerializedName(SERIALIZED_NAME_B) - private Integer b; - - public Color3() { - } - - public Color3 r(Integer r) { - - this.r = r; - return this; - } - - /** - * Color value from 0 to 255. - * minimum: 0 - * maximum: 255 - * @return r - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "255", required = true, value = "Color value from 0 to 255.") - - public Integer getR() { - return r; - } - - - public void setR(Integer r) { - this.r = r; - } - - - public Color3 g(Integer g) { - - this.g = g; - return this; - } - - /** - * Color value from 0 to 255. - * minimum: 0 - * maximum: 255 - * @return g - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "255", required = true, value = "Color value from 0 to 255.") - - public Integer getG() { - return g; - } - - - public void setG(Integer g) { - this.g = g; - } - - - public Color3 b(Integer b) { - - this.b = b; - return this; - } - - /** - * Color value from 0 to 255. - * minimum: 0 - * maximum: 255 - * @return b - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "255", required = true, value = "Color value from 0 to 255.") - - public Integer getB() { - return b; - } - - - public void setB(Integer b) { - this.b = b; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Color3 color3 = (Color3) o; - return Objects.equals(this.r, color3.r) && - Objects.equals(this.g, color3.g) && - Objects.equals(this.b, color3.b); - } - - @Override - public int hashCode() { - return Objects.hash(r, g, b); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Color3 {\n"); - sb.append(" r: ").append(toIndentedString(r)).append("\n"); - sb.append(" g: ").append(toIndentedString(g)).append("\n"); - sb.append(" b: ").append(toIndentedString(b)).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/ColorMaterial.java b/src/main/java/com/vertexvis/model/ColorMaterial.java deleted file mode 100644 index 231afa9d..00000000 --- a/src/main/java/com/vertexvis/model/ColorMaterial.java +++ /dev/null @@ -1,251 +0,0 @@ -/* - * 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.Color3; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Color properties describing how a material looks. - */ -@ApiModel(description = "Color properties describing how a material looks.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ColorMaterial { - public static final String SERIALIZED_NAME_OPACITY = "opacity"; - @SerializedName(SERIALIZED_NAME_OPACITY) - private Integer opacity; - - public static final String SERIALIZED_NAME_GLOSSINESS = "glossiness"; - @SerializedName(SERIALIZED_NAME_GLOSSINESS) - private Integer glossiness; - - public static final String SERIALIZED_NAME_AMBIENT = "ambient"; - @SerializedName(SERIALIZED_NAME_AMBIENT) - private Color3 ambient; - - public static final String SERIALIZED_NAME_DIFFUSE = "diffuse"; - @SerializedName(SERIALIZED_NAME_DIFFUSE) - private Color3 diffuse; - - public static final String SERIALIZED_NAME_SPECULAR = "specular"; - @SerializedName(SERIALIZED_NAME_SPECULAR) - private Color3 specular; - - public static final String SERIALIZED_NAME_EMISSIVE = "emissive"; - @SerializedName(SERIALIZED_NAME_EMISSIVE) - private Color3 emissive; - - public ColorMaterial() { - } - - public ColorMaterial opacity(Integer opacity) { - - this.opacity = opacity; - return this; - } - - /** - * An opacity value from 0 to 255. - * minimum: 0 - * maximum: 255 - * @return opacity - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "255", required = true, value = "An opacity value from 0 to 255.") - - public Integer getOpacity() { - return opacity; - } - - - public void setOpacity(Integer opacity) { - this.opacity = opacity; - } - - - public ColorMaterial glossiness(Integer glossiness) { - - this.glossiness = glossiness; - return this; - } - - /** - * Glossiness from 0 to 128. - * minimum: 0 - * maximum: 128 - * @return glossiness - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "0", required = true, value = "Glossiness from 0 to 128.") - - public Integer getGlossiness() { - return glossiness; - } - - - public void setGlossiness(Integer glossiness) { - this.glossiness = glossiness; - } - - - public ColorMaterial ambient(Color3 ambient) { - - this.ambient = ambient; - return this; - } - - /** - * Get ambient - * @return ambient - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Color3 getAmbient() { - return ambient; - } - - - public void setAmbient(Color3 ambient) { - this.ambient = ambient; - } - - - public ColorMaterial diffuse(Color3 diffuse) { - - this.diffuse = diffuse; - return this; - } - - /** - * Get diffuse - * @return diffuse - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Color3 getDiffuse() { - return diffuse; - } - - - public void setDiffuse(Color3 diffuse) { - this.diffuse = diffuse; - } - - - public ColorMaterial specular(Color3 specular) { - - this.specular = specular; - return this; - } - - /** - * Get specular - * @return specular - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Color3 getSpecular() { - return specular; - } - - - public void setSpecular(Color3 specular) { - this.specular = specular; - } - - - public ColorMaterial emissive(Color3 emissive) { - - this.emissive = emissive; - return this; - } - - /** - * Get emissive - * @return emissive - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Color3 getEmissive() { - return emissive; - } - - - public void setEmissive(Color3 emissive) { - this.emissive = emissive; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ColorMaterial colorMaterial = (ColorMaterial) o; - return Objects.equals(this.opacity, colorMaterial.opacity) && - Objects.equals(this.glossiness, colorMaterial.glossiness) && - Objects.equals(this.ambient, colorMaterial.ambient) && - Objects.equals(this.diffuse, colorMaterial.diffuse) && - Objects.equals(this.specular, colorMaterial.specular) && - Objects.equals(this.emissive, colorMaterial.emissive); - } - - @Override - public int hashCode() { - return Objects.hash(opacity, glossiness, ambient, diffuse, specular, emissive); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ColorMaterial {\n"); - sb.append(" opacity: ").append(toIndentedString(opacity)).append("\n"); - sb.append(" glossiness: ").append(toIndentedString(glossiness)).append("\n"); - sb.append(" ambient: ").append(toIndentedString(ambient)).append("\n"); - sb.append(" diffuse: ").append(toIndentedString(diffuse)).append("\n"); - sb.append(" specular: ").append(toIndentedString(specular)).append("\n"); - sb.append(" emissive: ").append(toIndentedString(emissive)).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/ColorMaterialNullable.java b/src/main/java/com/vertexvis/model/ColorMaterialNullable.java deleted file mode 100644 index 82a6ec85..00000000 --- a/src/main/java/com/vertexvis/model/ColorMaterialNullable.java +++ /dev/null @@ -1,251 +0,0 @@ -/* - * 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.Color3; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Color properties describing how a material looks. - */ -@ApiModel(description = "Color properties describing how a material looks.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ColorMaterialNullable { - public static final String SERIALIZED_NAME_OPACITY = "opacity"; - @SerializedName(SERIALIZED_NAME_OPACITY) - private Integer opacity; - - public static final String SERIALIZED_NAME_GLOSSINESS = "glossiness"; - @SerializedName(SERIALIZED_NAME_GLOSSINESS) - private Integer glossiness; - - public static final String SERIALIZED_NAME_AMBIENT = "ambient"; - @SerializedName(SERIALIZED_NAME_AMBIENT) - private Color3 ambient; - - public static final String SERIALIZED_NAME_DIFFUSE = "diffuse"; - @SerializedName(SERIALIZED_NAME_DIFFUSE) - private Color3 diffuse; - - public static final String SERIALIZED_NAME_SPECULAR = "specular"; - @SerializedName(SERIALIZED_NAME_SPECULAR) - private Color3 specular; - - public static final String SERIALIZED_NAME_EMISSIVE = "emissive"; - @SerializedName(SERIALIZED_NAME_EMISSIVE) - private Color3 emissive; - - public ColorMaterialNullable() { - } - - public ColorMaterialNullable opacity(Integer opacity) { - - this.opacity = opacity; - return this; - } - - /** - * An opacity value from 0 to 255. - * minimum: 0 - * maximum: 255 - * @return opacity - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "255", required = true, value = "An opacity value from 0 to 255.") - - public Integer getOpacity() { - return opacity; - } - - - public void setOpacity(Integer opacity) { - this.opacity = opacity; - } - - - public ColorMaterialNullable glossiness(Integer glossiness) { - - this.glossiness = glossiness; - return this; - } - - /** - * Glossiness from 0 to 128. - * minimum: 0 - * maximum: 128 - * @return glossiness - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "0", required = true, value = "Glossiness from 0 to 128.") - - public Integer getGlossiness() { - return glossiness; - } - - - public void setGlossiness(Integer glossiness) { - this.glossiness = glossiness; - } - - - public ColorMaterialNullable ambient(Color3 ambient) { - - this.ambient = ambient; - return this; - } - - /** - * Get ambient - * @return ambient - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Color3 getAmbient() { - return ambient; - } - - - public void setAmbient(Color3 ambient) { - this.ambient = ambient; - } - - - public ColorMaterialNullable diffuse(Color3 diffuse) { - - this.diffuse = diffuse; - return this; - } - - /** - * Get diffuse - * @return diffuse - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Color3 getDiffuse() { - return diffuse; - } - - - public void setDiffuse(Color3 diffuse) { - this.diffuse = diffuse; - } - - - public ColorMaterialNullable specular(Color3 specular) { - - this.specular = specular; - return this; - } - - /** - * Get specular - * @return specular - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Color3 getSpecular() { - return specular; - } - - - public void setSpecular(Color3 specular) { - this.specular = specular; - } - - - public ColorMaterialNullable emissive(Color3 emissive) { - - this.emissive = emissive; - return this; - } - - /** - * Get emissive - * @return emissive - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Color3 getEmissive() { - return emissive; - } - - - public void setEmissive(Color3 emissive) { - this.emissive = emissive; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ColorMaterialNullable colorMaterialNullable = (ColorMaterialNullable) o; - return Objects.equals(this.opacity, colorMaterialNullable.opacity) && - Objects.equals(this.glossiness, colorMaterialNullable.glossiness) && - Objects.equals(this.ambient, colorMaterialNullable.ambient) && - Objects.equals(this.diffuse, colorMaterialNullable.diffuse) && - Objects.equals(this.specular, colorMaterialNullable.specular) && - Objects.equals(this.emissive, colorMaterialNullable.emissive); - } - - @Override - public int hashCode() { - return Objects.hash(opacity, glossiness, ambient, diffuse, specular, emissive); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ColorMaterialNullable {\n"); - sb.append(" opacity: ").append(toIndentedString(opacity)).append("\n"); - sb.append(" glossiness: ").append(toIndentedString(glossiness)).append("\n"); - sb.append(" ambient: ").append(toIndentedString(ambient)).append("\n"); - sb.append(" diffuse: ").append(toIndentedString(diffuse)).append("\n"); - sb.append(" specular: ").append(toIndentedString(specular)).append("\n"); - sb.append(" emissive: ").append(toIndentedString(emissive)).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/CreateAccountRequest.java b/src/main/java/com/vertexvis/model/CreateAccountRequest.java deleted file mode 100644 index e2c349a9..00000000 --- a/src/main/java/com/vertexvis/model/CreateAccountRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateAccountRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateAccountRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateAccountRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateAccountRequestData data; - - public CreateAccountRequest() { - } - - public CreateAccountRequest data(CreateAccountRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateAccountRequestData getData() { - return data; - } - - - public void setData(CreateAccountRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateAccountRequest createAccountRequest = (CreateAccountRequest) o; - return Objects.equals(this.data, createAccountRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateAccountRequest {\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/CreateAccountRequestData.java b/src/main/java/com/vertexvis/model/CreateAccountRequestData.java deleted file mode 100644 index 234f151d..00000000 --- a/src/main/java/com/vertexvis/model/CreateAccountRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.CreateAccountRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateAccountRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateAccountRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreateAccountRequestDataAttributes attributes; - - public CreateAccountRequestData() { - } - - public CreateAccountRequestData 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 CreateAccountRequestData attributes(CreateAccountRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateAccountRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateAccountRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateAccountRequestData createAccountRequestData = (CreateAccountRequestData) o; - return Objects.equals(this.type, createAccountRequestData.type) && - Objects.equals(this.attributes, createAccountRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateAccountRequestData {\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/CreateAccountRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateAccountRequestDataAttributes.java deleted file mode 100644 index ac1c5e37..00000000 --- a/src/main/java/com/vertexvis/model/CreateAccountRequestDataAttributes.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * 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; - -/** - * CreateAccountRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateAccountRequestDataAttributes { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public CreateAccountRequestDataAttributes() { - } - - public CreateAccountRequestDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "some-string", required = true, value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateAccountRequestDataAttributes createAccountRequestDataAttributes = (CreateAccountRequestDataAttributes) o; - return Objects.equals(this.name, createAccountRequestDataAttributes.name); - } - - @Override - public int hashCode() { - return Objects.hash(name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateAccountRequestDataAttributes {\n"); - sb.append(" name: ").append(toIndentedString(name)).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/CreateApplicationRequest.java b/src/main/java/com/vertexvis/model/CreateApplicationRequest.java deleted file mode 100644 index 05aa0737..00000000 --- a/src/main/java/com/vertexvis/model/CreateApplicationRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateAccountRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateApplicationRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateApplicationRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateAccountRequestData data; - - public CreateApplicationRequest() { - } - - public CreateApplicationRequest data(CreateAccountRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateAccountRequestData getData() { - return data; - } - - - public void setData(CreateAccountRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateApplicationRequest createApplicationRequest = (CreateApplicationRequest) o; - return Objects.equals(this.data, createApplicationRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateApplicationRequest {\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/CreateBatchRequest.java b/src/main/java/com/vertexvis/model/CreateBatchRequest.java deleted file mode 100644 index 7067ac0d..00000000 --- a/src/main/java/com/vertexvis/model/CreateBatchRequest.java +++ /dev/null @@ -1,108 +0,0 @@ -/* - * 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.BatchOperation; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * CreateBatchRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateBatchRequest { - public static final String SERIALIZED_NAME_VERTEXVIS_BATCH_COLON_OPERATIONS = "vertexvis/batch:operations"; - @SerializedName(SERIALIZED_NAME_VERTEXVIS_BATCH_COLON_OPERATIONS) - private List vertexvisBatchColonOperations = new ArrayList<>(); - - public CreateBatchRequest() { - } - - public CreateBatchRequest vertexvisBatchColonOperations(List vertexvisBatchColonOperations) { - - this.vertexvisBatchColonOperations = vertexvisBatchColonOperations; - return this; - } - - public CreateBatchRequest addVertexvisBatchColonOperationsItem(BatchOperation vertexvisBatchColonOperationsItem) { - this.vertexvisBatchColonOperations.add(vertexvisBatchColonOperationsItem); - return this; - } - - /** - * List of operations to perform as a batch. - * @return vertexvisBatchColonOperations - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "List of operations to perform as a batch.") - - public List getVertexvisBatchColonOperations() { - return vertexvisBatchColonOperations; - } - - - public void setVertexvisBatchColonOperations(List vertexvisBatchColonOperations) { - this.vertexvisBatchColonOperations = vertexvisBatchColonOperations; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateBatchRequest createBatchRequest = (CreateBatchRequest) o; - return Objects.equals(this.vertexvisBatchColonOperations, createBatchRequest.vertexvisBatchColonOperations); - } - - @Override - public int hashCode() { - return Objects.hash(vertexvisBatchColonOperations); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateBatchRequest {\n"); - sb.append(" vertexvisBatchColonOperations: ").append(toIndentedString(vertexvisBatchColonOperations)).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/CreateDownloadRequest.java b/src/main/java/com/vertexvis/model/CreateDownloadRequest.java deleted file mode 100644 index 8e02e6af..00000000 --- a/src/main/java/com/vertexvis/model/CreateDownloadRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateDownloadRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateDownloadRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateDownloadRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateDownloadRequestData data; - - public CreateDownloadRequest() { - } - - public CreateDownloadRequest data(CreateDownloadRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateDownloadRequestData getData() { - return data; - } - - - public void setData(CreateDownloadRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateDownloadRequest createDownloadRequest = (CreateDownloadRequest) o; - return Objects.equals(this.data, createDownloadRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateDownloadRequest {\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/CreateDownloadRequestData.java b/src/main/java/com/vertexvis/model/CreateDownloadRequestData.java deleted file mode 100644 index c011e94d..00000000 --- a/src/main/java/com/vertexvis/model/CreateDownloadRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.CreateDownloadRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateDownloadRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateDownloadRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreateDownloadRequestDataAttributes attributes; - - public CreateDownloadRequestData() { - } - - public CreateDownloadRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "download-url", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreateDownloadRequestData attributes(CreateDownloadRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateDownloadRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateDownloadRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateDownloadRequestData createDownloadRequestData = (CreateDownloadRequestData) o; - return Objects.equals(this.type, createDownloadRequestData.type) && - Objects.equals(this.attributes, createDownloadRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateDownloadRequestData {\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/CreateDownloadRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateDownloadRequestDataAttributes.java deleted file mode 100644 index c70a770a..00000000 --- a/src/main/java/com/vertexvis/model/CreateDownloadRequestDataAttributes.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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; - -/** - * CreateDownloadRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateDownloadRequestDataAttributes { - public static final String SERIALIZED_NAME_EXPIRY = "expiry"; - @SerializedName(SERIALIZED_NAME_EXPIRY) - private Integer expiry; - - public CreateDownloadRequestDataAttributes() { - } - - public CreateDownloadRequestDataAttributes expiry(Integer expiry) { - - this.expiry = expiry; - return this; - } - - /** - * Specifies the duration for which this pre-signed request should be valid. After this time has expired, attempting to use the presigned request will fail. (Defaults to 1 hour, max value is 24 hours) - * minimum: 1 - * maximum: 86400 - * @return expiry - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "3600", value = "Specifies the duration for which this pre-signed request should be valid. After this time has expired, attempting to use the presigned request will fail. (Defaults to 1 hour, max value is 24 hours)") - - 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; - } - CreateDownloadRequestDataAttributes createDownloadRequestDataAttributes = (CreateDownloadRequestDataAttributes) o; - return Objects.equals(this.expiry, createDownloadRequestDataAttributes.expiry); - } - - @Override - public int hashCode() { - return Objects.hash(expiry); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateDownloadRequestDataAttributes {\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/CreateExportRequest.java b/src/main/java/com/vertexvis/model/CreateExportRequest.java deleted file mode 100644 index 9a38ff4d..00000000 --- a/src/main/java/com/vertexvis/model/CreateExportRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateExportRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateExportRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateExportRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateExportRequestData data; - - public CreateExportRequest() { - } - - public CreateExportRequest data(CreateExportRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateExportRequestData getData() { - return data; - } - - - public void setData(CreateExportRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateExportRequest createExportRequest = (CreateExportRequest) o; - return Objects.equals(this.data, createExportRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateExportRequest {\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/CreateExportRequestData.java b/src/main/java/com/vertexvis/model/CreateExportRequestData.java deleted file mode 100644 index b8209f66..00000000 --- a/src/main/java/com/vertexvis/model/CreateExportRequestData.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * 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.CreateExportRequestDataAttributes; -import com.vertexvis.model.CreateExportRequestDataRelationships; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateExportRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateExportRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreateExportRequestDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private CreateExportRequestDataRelationships relationships; - - public CreateExportRequestData() { - } - - public CreateExportRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "export", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreateExportRequestData attributes(CreateExportRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateExportRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateExportRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - public CreateExportRequestData relationships(CreateExportRequestDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateExportRequestDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(CreateExportRequestDataRelationships relationships) { - this.relationships = relationships; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateExportRequestData createExportRequestData = (CreateExportRequestData) o; - return Objects.equals(this.type, createExportRequestData.type) && - Objects.equals(this.attributes, createExportRequestData.attributes) && - Objects.equals(this.relationships, createExportRequestData.relationships); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes, relationships); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateExportRequestData {\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/CreateExportRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateExportRequestDataAttributes.java deleted file mode 100644 index 8ed0f0db..00000000 --- a/src/main/java/com/vertexvis/model/CreateExportRequestDataAttributes.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.CADExportConfig; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateExportRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateExportRequestDataAttributes { - public static final String SERIALIZED_NAME_CONFIG = "config"; - @SerializedName(SERIALIZED_NAME_CONFIG) - private OneOfCADExportConfig config; - - public static final String SERIALIZED_NAME_FILE_NAME = "fileName"; - @SerializedName(SERIALIZED_NAME_FILE_NAME) - private String fileName; - - public CreateExportRequestDataAttributes() { - } - - public CreateExportRequestDataAttributes config(OneOfCADExportConfig config) { - - this.config = config; - return this; - } - - /** - * Specifies the export format and options to configure the export. - * @return config - **/ - @javax.annotation.Nullable - @ApiModelProperty(required = true, value = "Specifies the export format and options to configure the export.") - - public OneOfCADExportConfig getConfig() { - return config; - } - - - public void setConfig(OneOfCADExportConfig config) { - this.config = config; - } - - - public CreateExportRequestDataAttributes fileName(String fileName) { - - this.fileName = fileName; - return this; - } - - /** - * Optional file name to use for the resulting export - * @return fileName - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "exportedScene", value = "Optional file name to use for the resulting export") - - public String getFileName() { - return fileName; - } - - - public void setFileName(String fileName) { - this.fileName = fileName; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateExportRequestDataAttributes createExportRequestDataAttributes = (CreateExportRequestDataAttributes) o; - return Objects.equals(this.config, createExportRequestDataAttributes.config) && - Objects.equals(this.fileName, createExportRequestDataAttributes.fileName); - } - - @Override - public int hashCode() { - return Objects.hash(config, fileName); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateExportRequestDataAttributes {\n"); - sb.append(" config: ").append(toIndentedString(config)).append("\n"); - sb.append(" fileName: ").append(toIndentedString(fileName)).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/CreateExportRequestDataRelationships.java b/src/main/java/com/vertexvis/model/CreateExportRequestDataRelationships.java deleted file mode 100644 index ea3e1101..00000000 --- a/src/main/java/com/vertexvis/model/CreateExportRequestDataRelationships.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * 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.ExportRelationship; -import com.vertexvis.model.ExportStateRelationship; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateExportRequestDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateExportRequestDataRelationships { - public static final String SERIALIZED_NAME_SOURCE = "source"; - @SerializedName(SERIALIZED_NAME_SOURCE) - private ExportRelationship source; - - public static final String SERIALIZED_NAME_STATE = "state"; - @SerializedName(SERIALIZED_NAME_STATE) - private ExportStateRelationship state; - - public CreateExportRequestDataRelationships() { - } - - public CreateExportRequestDataRelationships source(ExportRelationship source) { - - this.source = source; - return this; - } - - /** - * Get source - * @return source - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public ExportRelationship getSource() { - return source; - } - - - public void setSource(ExportRelationship source) { - this.source = source; - } - - - public CreateExportRequestDataRelationships state(ExportStateRelationship state) { - - this.state = state; - return this; - } - - /** - * Get state - * @return state - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public ExportStateRelationship getState() { - return state; - } - - - public void setState(ExportStateRelationship state) { - this.state = state; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateExportRequestDataRelationships createExportRequestDataRelationships = (CreateExportRequestDataRelationships) o; - return Objects.equals(this.source, createExportRequestDataRelationships.source) && - Objects.equals(this.state, createExportRequestDataRelationships.state); - } - - @Override - public int hashCode() { - return Objects.hash(source, state); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateExportRequestDataRelationships {\n"); - sb.append(" source: ").append(toIndentedString(source)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).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/CreateFileCollectionRequest.java b/src/main/java/com/vertexvis/model/CreateFileCollectionRequest.java deleted file mode 100644 index a790f55a..00000000 --- a/src/main/java/com/vertexvis/model/CreateFileCollectionRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateFileCollectionRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateFileCollectionRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateFileCollectionRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateFileCollectionRequestData data; - - public CreateFileCollectionRequest() { - } - - public CreateFileCollectionRequest data(CreateFileCollectionRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateFileCollectionRequestData getData() { - return data; - } - - - public void setData(CreateFileCollectionRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateFileCollectionRequest createFileCollectionRequest = (CreateFileCollectionRequest) o; - return Objects.equals(this.data, createFileCollectionRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateFileCollectionRequest {\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/CreateFileCollectionRequestData.java b/src/main/java/com/vertexvis/model/CreateFileCollectionRequestData.java deleted file mode 100644 index e5cba78a..00000000 --- a/src/main/java/com/vertexvis/model/CreateFileCollectionRequestData.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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.CreateFileCollectionRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateFileCollectionRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateFileCollectionRequestData { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - FILE_COLLECTION("file-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_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreateFileCollectionRequestDataAttributes attributes; - - public CreateFileCollectionRequestData() { - } - - public CreateFileCollectionRequestData type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "file-collection", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public CreateFileCollectionRequestData attributes(CreateFileCollectionRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateFileCollectionRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateFileCollectionRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateFileCollectionRequestData createFileCollectionRequestData = (CreateFileCollectionRequestData) o; - return Objects.equals(this.type, createFileCollectionRequestData.type) && - Objects.equals(this.attributes, createFileCollectionRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateFileCollectionRequestData {\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/CreateFileCollectionRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateFileCollectionRequestDataAttributes.java deleted file mode 100644 index a09e2ea7..00000000 --- a/src/main/java/com/vertexvis/model/CreateFileCollectionRequestDataAttributes.java +++ /dev/null @@ -1,199 +0,0 @@ -/* - * 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.HashMap; -import java.util.List; -import java.util.Map; - -/** - * CreateFileCollectionRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateFileCollectionRequestDataAttributes { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public static final String SERIALIZED_NAME_EXPIRY = "expiry"; - @SerializedName(SERIALIZED_NAME_EXPIRY) - private Integer expiry; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public CreateFileCollectionRequestDataAttributes() { - } - - public CreateFileCollectionRequestDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public CreateFileCollectionRequestDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * ID provided for correlation with external systems, e.g. a PLM system. - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "GRP12345", value = "ID provided for correlation with external systems, e.g. a PLM system.") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - public CreateFileCollectionRequestDataAttributes expiry(Integer expiry) { - - this.expiry = expiry; - return this; - } - - /** - * Number of seconds before expiration - * minimum: 1 - * @return expiry - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "600", value = "Number of seconds before expiration") - - public Integer getExpiry() { - return expiry; - } - - - public void setExpiry(Integer expiry) { - this.expiry = expiry; - } - - - public CreateFileCollectionRequestDataAttributes metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public CreateFileCollectionRequestDataAttributes putMetadataItem(String key, String metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap<>(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * User supplied key-value pairs for a file-collection. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "User supplied key-value pairs for a file-collection. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. ") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateFileCollectionRequestDataAttributes createFileCollectionRequestDataAttributes = (CreateFileCollectionRequestDataAttributes) o; - return Objects.equals(this.name, createFileCollectionRequestDataAttributes.name) && - Objects.equals(this.suppliedId, createFileCollectionRequestDataAttributes.suppliedId) && - Objects.equals(this.expiry, createFileCollectionRequestDataAttributes.expiry) && - Objects.equals(this.metadata, createFileCollectionRequestDataAttributes.metadata); - } - - @Override - public int hashCode() { - return Objects.hash(name, suppliedId, expiry, metadata); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateFileCollectionRequestDataAttributes {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).append("\n"); - sb.append(" expiry: ").append(toIndentedString(expiry)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).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/CreateFileRequest.java b/src/main/java/com/vertexvis/model/CreateFileRequest.java deleted file mode 100644 index 9b0fa293..00000000 --- a/src/main/java/com/vertexvis/model/CreateFileRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateFileRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateFileRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateFileRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateFileRequestData data; - - public CreateFileRequest() { - } - - public CreateFileRequest data(CreateFileRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateFileRequestData getData() { - return data; - } - - - public void setData(CreateFileRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateFileRequest createFileRequest = (CreateFileRequest) o; - return Objects.equals(this.data, createFileRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateFileRequest {\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/CreateFileRequestData.java b/src/main/java/com/vertexvis/model/CreateFileRequestData.java deleted file mode 100644 index 80fedc2e..00000000 --- a/src/main/java/com/vertexvis/model/CreateFileRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.CreateFileRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateFileRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateFileRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreateFileRequestDataAttributes attributes; - - public CreateFileRequestData() { - } - - public CreateFileRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "file", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreateFileRequestData attributes(CreateFileRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateFileRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateFileRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateFileRequestData createFileRequestData = (CreateFileRequestData) o; - return Objects.equals(this.type, createFileRequestData.type) && - Objects.equals(this.attributes, createFileRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateFileRequestData {\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/CreateFileRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateFileRequestDataAttributes.java deleted file mode 100644 index f6834bd8..00000000 --- a/src/main/java/com/vertexvis/model/CreateFileRequestDataAttributes.java +++ /dev/null @@ -1,228 +0,0 @@ -/* - * 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.HashMap; -import java.util.List; -import java.util.Map; - -/** - * CreateFileRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateFileRequestDataAttributes { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public static final String SERIALIZED_NAME_ROOT_FILE_NAME = "rootFileName"; - @SerializedName(SERIALIZED_NAME_ROOT_FILE_NAME) - private String rootFileName; - - public static final String SERIALIZED_NAME_EXPIRY = "expiry"; - @SerializedName(SERIALIZED_NAME_EXPIRY) - private Integer expiry; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public CreateFileRequestDataAttributes() { - } - - public CreateFileRequestDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Name matching that of the file you are uploading, including file extension. - * @return name - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "model.zip", required = true, value = "Name matching that of the file you are uploading, including file extension.") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public CreateFileRequestDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * ID provided for correlation. For example, an existing ID from a PLM system. - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "PN12345", value = "ID provided for correlation. For example, an existing ID from a PLM system.") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - public CreateFileRequestDataAttributes rootFileName(String rootFileName) { - - this.rootFileName = rootFileName; - return this; - } - - /** - * File name of the root part or assembly, including file extension. Required if `name` references an archive file extension, ignored otherwise. - * @return rootFileName - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "root-assembly.prt.1", value = "File name of the root part or assembly, including file extension. Required if `name` references an archive file extension, ignored otherwise.") - - public String getRootFileName() { - return rootFileName; - } - - - public void setRootFileName(String rootFileName) { - this.rootFileName = rootFileName; - } - - - public CreateFileRequestDataAttributes expiry(Integer expiry) { - - this.expiry = expiry; - return this; - } - - /** - * Number of seconds before the file is deleted. - * minimum: 1 - * @return expiry - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "600", value = "Number of seconds before the file is deleted.") - - public Integer getExpiry() { - return expiry; - } - - - public void setExpiry(Integer expiry) { - this.expiry = expiry; - } - - - public CreateFileRequestDataAttributes metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public CreateFileRequestDataAttributes putMetadataItem(String key, String metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap<>(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * User supplied key-value pairs for a file. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "User supplied key-value pairs for a file. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. ") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateFileRequestDataAttributes createFileRequestDataAttributes = (CreateFileRequestDataAttributes) o; - return Objects.equals(this.name, createFileRequestDataAttributes.name) && - Objects.equals(this.suppliedId, createFileRequestDataAttributes.suppliedId) && - Objects.equals(this.rootFileName, createFileRequestDataAttributes.rootFileName) && - Objects.equals(this.expiry, createFileRequestDataAttributes.expiry) && - Objects.equals(this.metadata, createFileRequestDataAttributes.metadata); - } - - @Override - public int hashCode() { - return Objects.hash(name, suppliedId, rootFileName, expiry, metadata); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateFileRequestDataAttributes {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).append("\n"); - sb.append(" rootFileName: ").append(toIndentedString(rootFileName)).append("\n"); - sb.append(" expiry: ").append(toIndentedString(expiry)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).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/CreateGeometrySetRequest.java b/src/main/java/com/vertexvis/model/CreateGeometrySetRequest.java deleted file mode 100644 index 39f0ccb9..00000000 --- a/src/main/java/com/vertexvis/model/CreateGeometrySetRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateGeometrySetRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateGeometrySetRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateGeometrySetRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateGeometrySetRequestData data; - - public CreateGeometrySetRequest() { - } - - public CreateGeometrySetRequest data(CreateGeometrySetRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateGeometrySetRequestData getData() { - return data; - } - - - public void setData(CreateGeometrySetRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateGeometrySetRequest createGeometrySetRequest = (CreateGeometrySetRequest) o; - return Objects.equals(this.data, createGeometrySetRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateGeometrySetRequest {\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/CreateGeometrySetRequestData.java b/src/main/java/com/vertexvis/model/CreateGeometrySetRequestData.java deleted file mode 100644 index 1ab3c251..00000000 --- a/src/main/java/com/vertexvis/model/CreateGeometrySetRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.CreateGeometrySetRequestDataRelationships; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateGeometrySetRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateGeometrySetRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private CreateGeometrySetRequestDataRelationships relationships; - - public CreateGeometrySetRequestData() { - } - - public CreateGeometrySetRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "geometry-set", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreateGeometrySetRequestData relationships(CreateGeometrySetRequestDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateGeometrySetRequestDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(CreateGeometrySetRequestDataRelationships relationships) { - this.relationships = relationships; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateGeometrySetRequestData createGeometrySetRequestData = (CreateGeometrySetRequestData) o; - return Objects.equals(this.type, createGeometrySetRequestData.type) && - Objects.equals(this.relationships, createGeometrySetRequestData.relationships); - } - - @Override - public int hashCode() { - return Objects.hash(type, relationships); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateGeometrySetRequestData {\n"); - sb.append(" type: ").append(toIndentedString(type)).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/CreateGeometrySetRequestDataRelationships.java b/src/main/java/com/vertexvis/model/CreateGeometrySetRequestDataRelationships.java deleted file mode 100644 index ec5f0baf..00000000 --- a/src/main/java/com/vertexvis/model/CreateGeometrySetRequestDataRelationships.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.FileRelationship; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateGeometrySetRequestDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateGeometrySetRequestDataRelationships { - public static final String SERIALIZED_NAME_SOURCE = "source"; - @SerializedName(SERIALIZED_NAME_SOURCE) - private FileRelationship source; - - public CreateGeometrySetRequestDataRelationships() { - } - - public CreateGeometrySetRequestDataRelationships source(FileRelationship source) { - - this.source = source; - return this; - } - - /** - * Get source - * @return source - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public FileRelationship getSource() { - return source; - } - - - public void setSource(FileRelationship source) { - this.source = source; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateGeometrySetRequestDataRelationships createGeometrySetRequestDataRelationships = (CreateGeometrySetRequestDataRelationships) o; - return Objects.equals(this.source, createGeometrySetRequestDataRelationships.source); - } - - @Override - public int hashCode() { - return Objects.hash(source); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateGeometrySetRequestDataRelationships {\n"); - sb.append(" source: ").append(toIndentedString(source)).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/CreateHitRequest.java b/src/main/java/com/vertexvis/model/CreateHitRequest.java deleted file mode 100644 index 33502dce..00000000 --- a/src/main/java/com/vertexvis/model/CreateHitRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateHitRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateHitRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateHitRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateHitRequestData data; - - public CreateHitRequest() { - } - - public CreateHitRequest data(CreateHitRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateHitRequestData getData() { - return data; - } - - - public void setData(CreateHitRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateHitRequest createHitRequest = (CreateHitRequest) o; - return Objects.equals(this.data, createHitRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateHitRequest {\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/CreateHitRequestData.java b/src/main/java/com/vertexvis/model/CreateHitRequestData.java deleted file mode 100644 index b701e4ac..00000000 --- a/src/main/java/com/vertexvis/model/CreateHitRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.CreateHitRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateHitRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateHitRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreateHitRequestDataAttributes attributes; - - public CreateHitRequestData() { - } - - public CreateHitRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "hit", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreateHitRequestData attributes(CreateHitRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateHitRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateHitRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateHitRequestData createHitRequestData = (CreateHitRequestData) o; - return Objects.equals(this.type, createHitRequestData.type) && - Objects.equals(this.attributes, createHitRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateHitRequestData {\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/CreateHitRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateHitRequestDataAttributes.java deleted file mode 100644 index 7ae8c788..00000000 --- a/src/main/java/com/vertexvis/model/CreateHitRequestDataAttributes.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * 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.Dimensions; -import com.vertexvis.model.Point; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateHitRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateHitRequestDataAttributes { - public static final String SERIALIZED_NAME_POINT = "point"; - @SerializedName(SERIALIZED_NAME_POINT) - private Point point; - - public static final String SERIALIZED_NAME_VIEWPORT = "viewport"; - @SerializedName(SERIALIZED_NAME_VIEWPORT) - private Dimensions viewport; - - public CreateHitRequestDataAttributes() { - } - - public CreateHitRequestDataAttributes point(Point point) { - - this.point = point; - return this; - } - - /** - * Get point - * @return point - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Point getPoint() { - return point; - } - - - public void setPoint(Point point) { - this.point = point; - } - - - public CreateHitRequestDataAttributes viewport(Dimensions viewport) { - - this.viewport = viewport; - return this; - } - - /** - * Get viewport - * @return viewport - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Dimensions getViewport() { - return viewport; - } - - - public void setViewport(Dimensions viewport) { - this.viewport = viewport; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateHitRequestDataAttributes createHitRequestDataAttributes = (CreateHitRequestDataAttributes) o; - return Objects.equals(this.point, createHitRequestDataAttributes.point) && - Objects.equals(this.viewport, createHitRequestDataAttributes.viewport); - } - - @Override - public int hashCode() { - return Objects.hash(point, viewport); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateHitRequestDataAttributes {\n"); - sb.append(" point: ").append(toIndentedString(point)).append("\n"); - sb.append(" viewport: ").append(toIndentedString(viewport)).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/CreatePartRenditionRequest.java b/src/main/java/com/vertexvis/model/CreatePartRenditionRequest.java deleted file mode 100644 index fca3e59d..00000000 --- a/src/main/java/com/vertexvis/model/CreatePartRenditionRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreatePartRenditionRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreatePartRenditionRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreatePartRenditionRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreatePartRenditionRequestData data; - - public CreatePartRenditionRequest() { - } - - public CreatePartRenditionRequest data(CreatePartRenditionRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreatePartRenditionRequestData getData() { - return data; - } - - - public void setData(CreatePartRenditionRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreatePartRenditionRequest createPartRenditionRequest = (CreatePartRenditionRequest) o; - return Objects.equals(this.data, createPartRenditionRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreatePartRenditionRequest {\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/CreatePartRenditionRequestData.java b/src/main/java/com/vertexvis/model/CreatePartRenditionRequestData.java deleted file mode 100644 index 75be706e..00000000 --- a/src/main/java/com/vertexvis/model/CreatePartRenditionRequestData.java +++ /dev/null @@ -1,161 +0,0 @@ -/* - * 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.CreateGeometrySetRequestDataRelationships; -import com.vertexvis.model.CreatePartRenditionRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Create a new part rendition. This endpoint includes multiple successful response codes: [`201`, `202`]. When not given a relationship, this endpoint will create a part rendition with an empty geometry and return a `201` status code. When given a relationship to translate, this endpoint will return a `202` status code with the location of a `queued-translation`. The status of the translation can be queried via `getQueuedTranslation`. After the translation is complete, the returned value will include a `part-rendition` that references the translated geometry. - */ -@ApiModel(description = "Create a new part rendition. This endpoint includes multiple successful response codes: [`201`, `202`]. When not given a relationship, this endpoint will create a part rendition with an empty geometry and return a `201` status code. When given a relationship to translate, this endpoint will return a `202` status code with the location of a `queued-translation`. The status of the translation can be queried via `getQueuedTranslation`. After the translation is complete, the returned value will include a `part-rendition` that references the translated geometry. ") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreatePartRenditionRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreatePartRenditionRequestDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private CreateGeometrySetRequestDataRelationships relationships; - - public CreatePartRenditionRequestData() { - } - - public CreatePartRenditionRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "part-rendition", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreatePartRenditionRequestData attributes(CreatePartRenditionRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreatePartRenditionRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreatePartRenditionRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - public CreatePartRenditionRequestData relationships(CreateGeometrySetRequestDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public CreateGeometrySetRequestDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(CreateGeometrySetRequestDataRelationships relationships) { - this.relationships = relationships; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreatePartRenditionRequestData createPartRenditionRequestData = (CreatePartRenditionRequestData) o; - return Objects.equals(this.type, createPartRenditionRequestData.type) && - Objects.equals(this.attributes, createPartRenditionRequestData.attributes) && - Objects.equals(this.relationships, createPartRenditionRequestData.relationships); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes, relationships); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreatePartRenditionRequestData {\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/CreatePartRenditionRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreatePartRenditionRequestDataAttributes.java deleted file mode 100644 index 66ac5a14..00000000 --- a/src/main/java/com/vertexvis/model/CreatePartRenditionRequestDataAttributes.java +++ /dev/null @@ -1,158 +0,0 @@ -/* - * 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; - -/** - * CreatePartRenditionRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreatePartRenditionRequestDataAttributes { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public static final String SERIALIZED_NAME_MAKE_DEFAULT = "makeDefault"; - @SerializedName(SERIALIZED_NAME_MAKE_DEFAULT) - private Boolean makeDefault; - - public CreatePartRenditionRequestDataAttributes() { - } - - public CreatePartRenditionRequestDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1/2in. Washer (flat)", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public CreatePartRenditionRequestDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * ID provided for correlation. For example, an existing ID from a PLM system. - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "PN12345", value = "ID provided for correlation. For example, an existing ID from a PLM system.") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - public CreatePartRenditionRequestDataAttributes makeDefault(Boolean makeDefault) { - - this.makeDefault = makeDefault; - return this; - } - - /** - * Whether or not to replace the default rendition for the part revision with the newly created rendition. - * @return makeDefault - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "false", value = "Whether or not to replace the default rendition for the part revision with the newly created rendition.") - - public Boolean getMakeDefault() { - return makeDefault; - } - - - public void setMakeDefault(Boolean makeDefault) { - this.makeDefault = makeDefault; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreatePartRenditionRequestDataAttributes createPartRenditionRequestDataAttributes = (CreatePartRenditionRequestDataAttributes) o; - return Objects.equals(this.name, createPartRenditionRequestDataAttributes.name) && - Objects.equals(this.suppliedId, createPartRenditionRequestDataAttributes.suppliedId) && - Objects.equals(this.makeDefault, createPartRenditionRequestDataAttributes.makeDefault); - } - - @Override - public int hashCode() { - return Objects.hash(name, suppliedId, makeDefault); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreatePartRenditionRequestDataAttributes {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).append("\n"); - sb.append(" makeDefault: ").append(toIndentedString(makeDefault)).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/CreatePartRequest.java b/src/main/java/com/vertexvis/model/CreatePartRequest.java deleted file mode 100644 index 856fcaf9..00000000 --- a/src/main/java/com/vertexvis/model/CreatePartRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreatePartRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreatePartRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreatePartRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreatePartRequestData data; - - public CreatePartRequest() { - } - - public CreatePartRequest data(CreatePartRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreatePartRequestData getData() { - return data; - } - - - public void setData(CreatePartRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreatePartRequest createPartRequest = (CreatePartRequest) o; - return Objects.equals(this.data, createPartRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreatePartRequest {\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/CreatePartRequestData.java b/src/main/java/com/vertexvis/model/CreatePartRequestData.java deleted file mode 100644 index 7911d44b..00000000 --- a/src/main/java/com/vertexvis/model/CreatePartRequestData.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * 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.CreatePartRequestDataAttributes; -import com.vertexvis.model.CreatePartRequestDataRelationships; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreatePartRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreatePartRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreatePartRequestDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private CreatePartRequestDataRelationships relationships; - - public CreatePartRequestData() { - } - - public CreatePartRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. Specify one and only one of suppliedId or suppliedIdKey and one and only one of suppliedRevisionId or suppliedRevisionIdKey. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "part", required = true, value = "Resource object type. Specify one and only one of suppliedId or suppliedIdKey and one and only one of suppliedRevisionId or suppliedRevisionIdKey.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreatePartRequestData attributes(CreatePartRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreatePartRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreatePartRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - public CreatePartRequestData relationships(CreatePartRequestDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public CreatePartRequestDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(CreatePartRequestDataRelationships relationships) { - this.relationships = relationships; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreatePartRequestData createPartRequestData = (CreatePartRequestData) o; - return Objects.equals(this.type, createPartRequestData.type) && - Objects.equals(this.attributes, createPartRequestData.attributes) && - Objects.equals(this.relationships, createPartRequestData.relationships); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes, relationships); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreatePartRequestData {\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/CreatePartRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreatePartRequestDataAttributes.java deleted file mode 100644 index 010e3ba7..00000000 --- a/src/main/java/com/vertexvis/model/CreatePartRequestDataAttributes.java +++ /dev/null @@ -1,373 +0,0 @@ -/* - * 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.AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType; -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; - -/** - * CreatePartRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreatePartRequestDataAttributes { - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public static final String SERIALIZED_NAME_SUPPLIED_REVISION_ID = "suppliedRevisionId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_REVISION_ID) - private String suppliedRevisionId; - - public static final String SERIALIZED_NAME_SUPPLIED_ITERATION_ID = "suppliedIterationId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ITERATION_ID) - private String suppliedIterationId; - - public static final String SERIALIZED_NAME_INDEX_METADATA = "indexMetadata"; - @SerializedName(SERIALIZED_NAME_INDEX_METADATA) - private Boolean indexMetadata; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_REVISION_NAME = "revisionName"; - @SerializedName(SERIALIZED_NAME_REVISION_NAME) - private String revisionName; - - public static final String SERIALIZED_NAME_SUPPLIED_ID_KEY = "suppliedIdKey"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID_KEY) - private String suppliedIdKey; - - public static final String SERIALIZED_NAME_SUPPLIED_REVISION_ID_KEY = "suppliedRevisionIdKey"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_REVISION_ID_KEY) - private String suppliedRevisionIdKey; - - public static final String SERIALIZED_NAME_SUPPLIED_INSTANCE_ID_KEY = "suppliedInstanceIdKey"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_INSTANCE_ID_KEY) - private String suppliedInstanceIdKey; - - public CreatePartRequestDataAttributes() { - } - - public CreatePartRequestDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * ID provided for correlation. For example, an existing ID from a PLM system. - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "PN12345", value = "ID provided for correlation. For example, an existing ID from a PLM system. ") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - public CreatePartRequestDataAttributes suppliedRevisionId(String suppliedRevisionId) { - - this.suppliedRevisionId = suppliedRevisionId; - return this; - } - - /** - * ID provided for correlation. For example, an existing ID from a PLM system. Sending a new suppliedRevisionId combined with an existing suppliedId will create a new part revision for an existing part. - * @return suppliedRevisionId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "RevA", value = "ID provided for correlation. For example, an existing ID from a PLM system. Sending a new suppliedRevisionId combined with an existing suppliedId will create a new part revision for an existing part. ") - - public String getSuppliedRevisionId() { - return suppliedRevisionId; - } - - - public void setSuppliedRevisionId(String suppliedRevisionId) { - this.suppliedRevisionId = suppliedRevisionId; - } - - - public CreatePartRequestDataAttributes suppliedIterationId(String suppliedIterationId) { - - this.suppliedIterationId = suppliedIterationId; - return this; - } - - /** - * ID provided for correlation of the revision. This is an optional ID to be able to create a version of a revision. For example, if and existing revision in a PLM system is modified, the suppliedIterationId can be used to allow creating a new part revision having an already existing suppliedId and suppliedRevisionId. This can be used when modification to an existing revision is made in the PLM system before the revision is released. - * @return suppliedIterationId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Ver1", value = "ID provided for correlation of the revision. This is an optional ID to be able to create a version of a revision. For example, if and existing revision in a PLM system is modified, the suppliedIterationId can be used to allow creating a new part revision having an already existing suppliedId and suppliedRevisionId. This can be used when modification to an existing revision is made in the PLM system before the revision is released. ") - - public String getSuppliedIterationId() { - return suppliedIterationId; - } - - - public void setSuppliedIterationId(String suppliedIterationId) { - this.suppliedIterationId = suppliedIterationId; - } - - - public CreatePartRequestDataAttributes indexMetadata(Boolean indexMetadata) { - - this.indexMetadata = indexMetadata; - return this; - } - - /** - * Whether or not to index metadata in the part file. To ignore metadata from the part file and add your own, pass `false` for `indexMetadata` and supply custom metadata using the `metadata` field. - * @return indexMetadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "false", value = "Whether or not to index metadata in the part file. To ignore metadata from the part file and add your own, pass `false` for `indexMetadata` and supply custom metadata using the `metadata` field. ") - - public Boolean getIndexMetadata() { - return indexMetadata; - } - - - public void setIndexMetadata(Boolean indexMetadata) { - this.indexMetadata = indexMetadata; - } - - - public CreatePartRequestDataAttributes metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public CreatePartRequestDataAttributes putMetadataItem(String key, AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap<>(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * 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. - * @return metadata - **/ - @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. ") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - public CreatePartRequestDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Name to be used for the root part. - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1/2in. Flat Washer", value = "Name to be used for the root part.") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public CreatePartRequestDataAttributes revisionName(String revisionName) { - - this.revisionName = revisionName; - return this; - } - - /** - * Optional name to be used for the part revision. - * @return revisionName - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1/2in. Flat Washer - A", value = "Optional name to be used for the part revision.") - - public String getRevisionName() { - return revisionName; - } - - - public void setRevisionName(String revisionName) { - this.revisionName = revisionName; - } - - - public CreatePartRequestDataAttributes suppliedIdKey(String suppliedIdKey) { - - this.suppliedIdKey = suppliedIdKey; - return this; - } - - /** - * Metadata key used to extract an ID used for correlation. - * @return suppliedIdKey - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "ProductNumber", value = "Metadata key used to extract an ID used for correlation.") - - public String getSuppliedIdKey() { - return suppliedIdKey; - } - - - public void setSuppliedIdKey(String suppliedIdKey) { - this.suppliedIdKey = suppliedIdKey; - } - - - public CreatePartRequestDataAttributes suppliedRevisionIdKey(String suppliedRevisionIdKey) { - - this.suppliedRevisionIdKey = suppliedRevisionIdKey; - return this; - } - - /** - * Metadata key used to extract an ID used for correlation. - * @return suppliedRevisionIdKey - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "RevisionId", value = "Metadata key used to extract an ID used for correlation.") - - public String getSuppliedRevisionIdKey() { - return suppliedRevisionIdKey; - } - - - public void setSuppliedRevisionIdKey(String suppliedRevisionIdKey) { - this.suppliedRevisionIdKey = suppliedRevisionIdKey; - } - - - public CreatePartRequestDataAttributes suppliedInstanceIdKey(String suppliedInstanceIdKey) { - - this.suppliedInstanceIdKey = suppliedInstanceIdKey; - return this; - } - - /** - * Metadata key used to extract an ID used for correlation. - * @return suppliedInstanceIdKey - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "InstanceId", value = "Metadata key used to extract an ID used for correlation.") - - public String getSuppliedInstanceIdKey() { - return suppliedInstanceIdKey; - } - - - public void setSuppliedInstanceIdKey(String suppliedInstanceIdKey) { - this.suppliedInstanceIdKey = suppliedInstanceIdKey; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreatePartRequestDataAttributes createPartRequestDataAttributes = (CreatePartRequestDataAttributes) o; - return Objects.equals(this.suppliedId, createPartRequestDataAttributes.suppliedId) && - Objects.equals(this.suppliedRevisionId, createPartRequestDataAttributes.suppliedRevisionId) && - Objects.equals(this.suppliedIterationId, createPartRequestDataAttributes.suppliedIterationId) && - Objects.equals(this.indexMetadata, createPartRequestDataAttributes.indexMetadata) && - Objects.equals(this.metadata, createPartRequestDataAttributes.metadata) && - Objects.equals(this.name, createPartRequestDataAttributes.name) && - Objects.equals(this.revisionName, createPartRequestDataAttributes.revisionName) && - Objects.equals(this.suppliedIdKey, createPartRequestDataAttributes.suppliedIdKey) && - Objects.equals(this.suppliedRevisionIdKey, createPartRequestDataAttributes.suppliedRevisionIdKey) && - Objects.equals(this.suppliedInstanceIdKey, createPartRequestDataAttributes.suppliedInstanceIdKey); - } - - @Override - public int hashCode() { - return Objects.hash(suppliedId, suppliedRevisionId, suppliedIterationId, indexMetadata, metadata, name, revisionName, suppliedIdKey, suppliedRevisionIdKey, suppliedInstanceIdKey); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreatePartRequestDataAttributes {\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).append("\n"); - sb.append(" suppliedRevisionId: ").append(toIndentedString(suppliedRevisionId)).append("\n"); - sb.append(" suppliedIterationId: ").append(toIndentedString(suppliedIterationId)).append("\n"); - sb.append(" indexMetadata: ").append(toIndentedString(indexMetadata)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" revisionName: ").append(toIndentedString(revisionName)).append("\n"); - sb.append(" suppliedIdKey: ").append(toIndentedString(suppliedIdKey)).append("\n"); - sb.append(" suppliedRevisionIdKey: ").append(toIndentedString(suppliedRevisionIdKey)).append("\n"); - sb.append(" suppliedInstanceIdKey: ").append(toIndentedString(suppliedInstanceIdKey)).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/CreatePartRequestDataRelationships.java b/src/main/java/com/vertexvis/model/CreatePartRequestDataRelationships.java deleted file mode 100644 index e521dbd1..00000000 --- a/src/main/java/com/vertexvis/model/CreatePartRequestDataRelationships.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * 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; - -/** - * CreatePartRequestDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreatePartRequestDataRelationships { - public static final String SERIALIZED_NAME_SOURCE = "source"; - @SerializedName(SERIALIZED_NAME_SOURCE) - private AnyOfFileRelationshipPartAssemblyRelationship source; - - public CreatePartRequestDataRelationships() { - } - - public CreatePartRequestDataRelationships source(AnyOfFileRelationshipPartAssemblyRelationship source) { - - this.source = source; - return this; - } - - /** - * Get source - * @return source - **/ - @javax.annotation.Nullable - @ApiModelProperty(required = true, value = "") - - public AnyOfFileRelationshipPartAssemblyRelationship getSource() { - return source; - } - - - public void setSource(AnyOfFileRelationshipPartAssemblyRelationship source) { - this.source = source; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreatePartRequestDataRelationships createPartRequestDataRelationships = (CreatePartRequestDataRelationships) o; - return Objects.equals(this.source, createPartRequestDataRelationships.source); - } - - @Override - public int hashCode() { - return Objects.hash(source); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreatePartRequestDataRelationships {\n"); - sb.append(" source: ").append(toIndentedString(source)).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 deleted file mode 100644 index 7142fe88..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneAlterationRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateSceneAlterationRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneAlterationRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneAlterationRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateSceneAlterationRequestData data; - - public CreateSceneAlterationRequest() { - } - - public CreateSceneAlterationRequest data(CreateSceneAlterationRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneAlterationRequestData getData() { - return data; - } - - - public void setData(CreateSceneAlterationRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneAlterationRequest createSceneAlterationRequest = (CreateSceneAlterationRequest) o; - return Objects.equals(this.data, createSceneAlterationRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneAlterationRequest {\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/CreateSceneAlterationRequestData.java b/src/main/java/com/vertexvis/model/CreateSceneAlterationRequestData.java deleted file mode 100644 index 719c0aff..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneAlterationRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.CreateSceneAlterationRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneAlterationRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneAlterationRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreateSceneAlterationRequestDataAttributes attributes; - - public CreateSceneAlterationRequestData() { - } - - public CreateSceneAlterationRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-alteration", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreateSceneAlterationRequestData attributes(CreateSceneAlterationRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneAlterationRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateSceneAlterationRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneAlterationRequestData createSceneAlterationRequestData = (CreateSceneAlterationRequestData) o; - return Objects.equals(this.type, createSceneAlterationRequestData.type) && - Objects.equals(this.attributes, createSceneAlterationRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneAlterationRequestData {\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/CreateSceneAlterationRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateSceneAlterationRequestDataAttributes.java deleted file mode 100644 index cb7a5760..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneAlterationRequestDataAttributes.java +++ /dev/null @@ -1,108 +0,0 @@ -/* - * 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.SceneOperation; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * CreateSceneAlterationRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneAlterationRequestDataAttributes { - public static final String SERIALIZED_NAME_ALTERATIONS = "alterations"; - @SerializedName(SERIALIZED_NAME_ALTERATIONS) - private List alterations = new ArrayList<>(); - - public CreateSceneAlterationRequestDataAttributes() { - } - - public CreateSceneAlterationRequestDataAttributes alterations(List alterations) { - - this.alterations = alterations; - return this; - } - - public CreateSceneAlterationRequestDataAttributes addAlterationsItem(SceneOperation alterationsItem) { - this.alterations.add(alterationsItem); - return this; - } - - /** - * List of alterations to apply. - * @return alterations - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "List of alterations to apply.") - - public List getAlterations() { - return alterations; - } - - - public void setAlterations(List alterations) { - this.alterations = alterations; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneAlterationRequestDataAttributes createSceneAlterationRequestDataAttributes = (CreateSceneAlterationRequestDataAttributes) o; - return Objects.equals(this.alterations, createSceneAlterationRequestDataAttributes.alterations); - } - - @Override - public int hashCode() { - return Objects.hash(alterations); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneAlterationRequestDataAttributes {\n"); - sb.append(" alterations: ").append(toIndentedString(alterations)).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/CreateSceneAnnotationRequest.java b/src/main/java/com/vertexvis/model/CreateSceneAnnotationRequest.java deleted file mode 100644 index f1f67a6f..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneAnnotationRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateSceneAnnotationRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneAnnotationRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneAnnotationRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateSceneAnnotationRequestData data; - - public CreateSceneAnnotationRequest() { - } - - public CreateSceneAnnotationRequest data(CreateSceneAnnotationRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneAnnotationRequestData getData() { - return data; - } - - - public void setData(CreateSceneAnnotationRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneAnnotationRequest createSceneAnnotationRequest = (CreateSceneAnnotationRequest) o; - return Objects.equals(this.data, createSceneAnnotationRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneAnnotationRequest {\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/CreateSceneAnnotationRequestData.java b/src/main/java/com/vertexvis/model/CreateSceneAnnotationRequestData.java deleted file mode 100644 index a9169056..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneAnnotationRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.CreateSceneAnnotationRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneAnnotationRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneAnnotationRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreateSceneAnnotationRequestDataAttributes attributes; - - public CreateSceneAnnotationRequestData() { - } - - public CreateSceneAnnotationRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-annotation", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreateSceneAnnotationRequestData attributes(CreateSceneAnnotationRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneAnnotationRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateSceneAnnotationRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneAnnotationRequestData createSceneAnnotationRequestData = (CreateSceneAnnotationRequestData) o; - return Objects.equals(this.type, createSceneAnnotationRequestData.type) && - Objects.equals(this.attributes, createSceneAnnotationRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneAnnotationRequestData {\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/CreateSceneAnnotationRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateSceneAnnotationRequestDataAttributes.java deleted file mode 100644 index 1af1a471..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneAnnotationRequestDataAttributes.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * 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.SceneAnnotationCalloutDataType; -import com.vertexvis.model.SceneAnnotationCustomDataType; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneAnnotationRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneAnnotationRequestDataAttributes { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType data; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public CreateSceneAnnotationRequestDataAttributes() { - } - - public CreateSceneAnnotationRequestDataAttributes data(OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType data) { - - this.data = data; - return this; - } - - /** - * The data describing how to render this annotation. - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(required = true, value = "The data describing how to render this annotation.") - - public OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType getData() { - return data; - } - - - public void setData(OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType data) { - this.data = data; - } - - - public CreateSceneAnnotationRequestDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * A customer provided ID used for correlation. - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "PN12345", value = "A customer provided ID used for correlation.") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneAnnotationRequestDataAttributes createSceneAnnotationRequestDataAttributes = (CreateSceneAnnotationRequestDataAttributes) o; - return Objects.equals(this.data, createSceneAnnotationRequestDataAttributes.data) && - Objects.equals(this.suppliedId, createSceneAnnotationRequestDataAttributes.suppliedId); - } - - @Override - public int hashCode() { - return Objects.hash(data, suppliedId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneAnnotationRequestDataAttributes {\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).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/CreateSceneAnnotationSetRequest.java b/src/main/java/com/vertexvis/model/CreateSceneAnnotationSetRequest.java deleted file mode 100644 index f2df97f6..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneAnnotationSetRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateSceneAnnotationSetRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneAnnotationSetRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneAnnotationSetRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateSceneAnnotationSetRequestData data; - - public CreateSceneAnnotationSetRequest() { - } - - public CreateSceneAnnotationSetRequest data(CreateSceneAnnotationSetRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneAnnotationSetRequestData getData() { - return data; - } - - - public void setData(CreateSceneAnnotationSetRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneAnnotationSetRequest createSceneAnnotationSetRequest = (CreateSceneAnnotationSetRequest) o; - return Objects.equals(this.data, createSceneAnnotationSetRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneAnnotationSetRequest {\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/CreateSceneAnnotationSetRequestData.java b/src/main/java/com/vertexvis/model/CreateSceneAnnotationSetRequestData.java deleted file mode 100644 index d238d508..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneAnnotationSetRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.CreateSceneAnnotationSetRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneAnnotationSetRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneAnnotationSetRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreateSceneAnnotationSetRequestDataAttributes attributes; - - public CreateSceneAnnotationSetRequestData() { - } - - public CreateSceneAnnotationSetRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-annotation-set", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreateSceneAnnotationSetRequestData attributes(CreateSceneAnnotationSetRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneAnnotationSetRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateSceneAnnotationSetRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneAnnotationSetRequestData createSceneAnnotationSetRequestData = (CreateSceneAnnotationSetRequestData) o; - return Objects.equals(this.type, createSceneAnnotationSetRequestData.type) && - Objects.equals(this.attributes, createSceneAnnotationSetRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneAnnotationSetRequestData {\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/CreateSceneAnnotationSetRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateSceneAnnotationSetRequestDataAttributes.java deleted file mode 100644 index c775fedf..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneAnnotationSetRequestDataAttributes.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * 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; - -/** - * CreateSceneAnnotationSetRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneAnnotationSetRequestDataAttributes { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public CreateSceneAnnotationSetRequestDataAttributes() { - } - - public CreateSceneAnnotationSetRequestDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public CreateSceneAnnotationSetRequestDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * A customer provided ID used for correlation. - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "PN12345", value = "A customer provided ID used for correlation.") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneAnnotationSetRequestDataAttributes createSceneAnnotationSetRequestDataAttributes = (CreateSceneAnnotationSetRequestDataAttributes) o; - return Objects.equals(this.name, createSceneAnnotationSetRequestDataAttributes.name) && - Objects.equals(this.suppliedId, createSceneAnnotationSetRequestDataAttributes.suppliedId); - } - - @Override - public int hashCode() { - return Objects.hash(name, suppliedId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneAnnotationSetRequestDataAttributes {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).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/CreateSceneItemOverrideRequest.java b/src/main/java/com/vertexvis/model/CreateSceneItemOverrideRequest.java deleted file mode 100644 index eb3303f3..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneItemOverrideRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateSceneItemOverrideRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneItemOverrideRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneItemOverrideRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateSceneItemOverrideRequestData data; - - public CreateSceneItemOverrideRequest() { - } - - public CreateSceneItemOverrideRequest data(CreateSceneItemOverrideRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneItemOverrideRequestData getData() { - return data; - } - - - public void setData(CreateSceneItemOverrideRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneItemOverrideRequest createSceneItemOverrideRequest = (CreateSceneItemOverrideRequest) o; - return Objects.equals(this.data, createSceneItemOverrideRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneItemOverrideRequest {\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/CreateSceneItemOverrideRequestData.java b/src/main/java/com/vertexvis/model/CreateSceneItemOverrideRequestData.java deleted file mode 100644 index 853e9bc0..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneItemOverrideRequestData.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * 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.CreateSceneItemOverrideRequestDataAttributes; -import com.vertexvis.model.CreateSceneItemOverrideRequestDataRelationships; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneItemOverrideRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneItemOverrideRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreateSceneItemOverrideRequestDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private CreateSceneItemOverrideRequestDataRelationships relationships; - - public CreateSceneItemOverrideRequestData() { - } - - public CreateSceneItemOverrideRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-item-override", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreateSceneItemOverrideRequestData attributes(CreateSceneItemOverrideRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneItemOverrideRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateSceneItemOverrideRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - public CreateSceneItemOverrideRequestData relationships(CreateSceneItemOverrideRequestDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneItemOverrideRequestDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(CreateSceneItemOverrideRequestDataRelationships relationships) { - this.relationships = relationships; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneItemOverrideRequestData createSceneItemOverrideRequestData = (CreateSceneItemOverrideRequestData) o; - return Objects.equals(this.type, createSceneItemOverrideRequestData.type) && - Objects.equals(this.attributes, createSceneItemOverrideRequestData.attributes) && - Objects.equals(this.relationships, createSceneItemOverrideRequestData.relationships); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes, relationships); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneItemOverrideRequestData {\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/CreateSceneItemOverrideRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateSceneItemOverrideRequestDataAttributes.java deleted file mode 100644 index ccb9ede7..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneItemOverrideRequestDataAttributes.java +++ /dev/null @@ -1,247 +0,0 @@ -/* - * 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.ColorMaterial; -import com.vertexvis.model.Matrix4; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneItemOverrideRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneItemOverrideRequestDataAttributes { - public static final String SERIALIZED_NAME_VISIBLE = "visible"; - @SerializedName(SERIALIZED_NAME_VISIBLE) - private Boolean visible; - - public static final String SERIALIZED_NAME_TRANSFORM = "transform"; - @SerializedName(SERIALIZED_NAME_TRANSFORM) - private Matrix4 transform; - - public static final String SERIALIZED_NAME_MATERIAL = "material"; - @SerializedName(SERIALIZED_NAME_MATERIAL) - private ColorMaterial material; - - public static final String SERIALIZED_NAME_SELECTED = "selected"; - @SerializedName(SERIALIZED_NAME_SELECTED) - private Boolean selected; - - public static final String SERIALIZED_NAME_PHANTOM = "phantom"; - @SerializedName(SERIALIZED_NAME_PHANTOM) - private Boolean phantom; - - public static final String SERIALIZED_NAME_END_ITEM = "endItem"; - @SerializedName(SERIALIZED_NAME_END_ITEM) - private Boolean endItem; - - public CreateSceneItemOverrideRequestDataAttributes() { - } - - public CreateSceneItemOverrideRequestDataAttributes visible(Boolean visible) { - - this.visible = visible; - return this; - } - - /** - * Item visibility. - * @return visible - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "true", value = "Item visibility.") - - public Boolean getVisible() { - return visible; - } - - - public void setVisible(Boolean visible) { - this.visible = visible; - } - - - public CreateSceneItemOverrideRequestDataAttributes transform(Matrix4 transform) { - - this.transform = transform; - return this; - } - - /** - * Get transform - * @return transform - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Matrix4 getTransform() { - return transform; - } - - - public void setTransform(Matrix4 transform) { - this.transform = transform; - } - - - public CreateSceneItemOverrideRequestDataAttributes material(ColorMaterial material) { - - this.material = material; - return this; - } - - /** - * Get material - * @return material - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public ColorMaterial getMaterial() { - return material; - } - - - public void setMaterial(ColorMaterial material) { - this.material = material; - } - - - public CreateSceneItemOverrideRequestDataAttributes selected(Boolean selected) { - - this.selected = selected; - return this; - } - - /** - * Get selected - * @return selected - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getSelected() { - return selected; - } - - - public void setSelected(Boolean selected) { - this.selected = selected; - } - - - public CreateSceneItemOverrideRequestDataAttributes phantom(Boolean phantom) { - - this.phantom = phantom; - return this; - } - - /** - * Phantom state of the item. - * @return phantom - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Phantom state of the item.") - - public Boolean getPhantom() { - return phantom; - } - - - public void setPhantom(Boolean phantom) { - this.phantom = phantom; - } - - - public CreateSceneItemOverrideRequestDataAttributes endItem(Boolean endItem) { - - this.endItem = endItem; - return this; - } - - /** - * Whether this item is an end item. - * @return endItem - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Whether this item is an end item.") - - public Boolean getEndItem() { - return endItem; - } - - - public void setEndItem(Boolean endItem) { - this.endItem = endItem; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneItemOverrideRequestDataAttributes createSceneItemOverrideRequestDataAttributes = (CreateSceneItemOverrideRequestDataAttributes) o; - return Objects.equals(this.visible, createSceneItemOverrideRequestDataAttributes.visible) && - Objects.equals(this.transform, createSceneItemOverrideRequestDataAttributes.transform) && - Objects.equals(this.material, createSceneItemOverrideRequestDataAttributes.material) && - Objects.equals(this.selected, createSceneItemOverrideRequestDataAttributes.selected) && - Objects.equals(this.phantom, createSceneItemOverrideRequestDataAttributes.phantom) && - Objects.equals(this.endItem, createSceneItemOverrideRequestDataAttributes.endItem); - } - - @Override - public int hashCode() { - return Objects.hash(visible, transform, material, selected, phantom, endItem); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneItemOverrideRequestDataAttributes {\n"); - sb.append(" visible: ").append(toIndentedString(visible)).append("\n"); - sb.append(" transform: ").append(toIndentedString(transform)).append("\n"); - sb.append(" material: ").append(toIndentedString(material)).append("\n"); - sb.append(" selected: ").append(toIndentedString(selected)).append("\n"); - sb.append(" phantom: ").append(toIndentedString(phantom)).append("\n"); - sb.append(" endItem: ").append(toIndentedString(endItem)).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/CreateSceneItemOverrideRequestDataRelationships.java b/src/main/java/com/vertexvis/model/CreateSceneItemOverrideRequestDataRelationships.java deleted file mode 100644 index 63476139..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneItemOverrideRequestDataRelationships.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.SceneItemRelationship; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneItemOverrideRequestDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneItemOverrideRequestDataRelationships { - public static final String SERIALIZED_NAME_SCENE_ITEM = "sceneItem"; - @SerializedName(SERIALIZED_NAME_SCENE_ITEM) - private SceneItemRelationship sceneItem; - - public CreateSceneItemOverrideRequestDataRelationships() { - } - - public CreateSceneItemOverrideRequestDataRelationships sceneItem(SceneItemRelationship sceneItem) { - - this.sceneItem = sceneItem; - return this; - } - - /** - * Get sceneItem - * @return sceneItem - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneItemRelationship getSceneItem() { - return sceneItem; - } - - - public void setSceneItem(SceneItemRelationship sceneItem) { - this.sceneItem = sceneItem; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneItemOverrideRequestDataRelationships createSceneItemOverrideRequestDataRelationships = (CreateSceneItemOverrideRequestDataRelationships) o; - return Objects.equals(this.sceneItem, createSceneItemOverrideRequestDataRelationships.sceneItem); - } - - @Override - public int hashCode() { - return Objects.hash(sceneItem); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneItemOverrideRequestDataRelationships {\n"); - sb.append(" sceneItem: ").append(toIndentedString(sceneItem)).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/CreateSceneItemRequest.java b/src/main/java/com/vertexvis/model/CreateSceneItemRequest.java deleted file mode 100644 index 51e1dfca..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneItemRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateSceneItemRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneItemRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneItemRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateSceneItemRequestData data; - - public CreateSceneItemRequest() { - } - - public CreateSceneItemRequest data(CreateSceneItemRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneItemRequestData getData() { - return data; - } - - - public void setData(CreateSceneItemRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneItemRequest createSceneItemRequest = (CreateSceneItemRequest) o; - return Objects.equals(this.data, createSceneItemRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneItemRequest {\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/CreateSceneItemRequestData.java b/src/main/java/com/vertexvis/model/CreateSceneItemRequestData.java deleted file mode 100644 index b4c75abf..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneItemRequestData.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * 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.CreateSceneItemRequestDataAttributes; -import com.vertexvis.model.CreateSceneItemRequestDataRelationships; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneItemRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneItemRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreateSceneItemRequestDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private CreateSceneItemRequestDataRelationships relationships; - - public CreateSceneItemRequestData() { - } - - public CreateSceneItemRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-item", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreateSceneItemRequestData attributes(CreateSceneItemRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneItemRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateSceneItemRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - public CreateSceneItemRequestData relationships(CreateSceneItemRequestDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneItemRequestDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(CreateSceneItemRequestDataRelationships relationships) { - this.relationships = relationships; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneItemRequestData createSceneItemRequestData = (CreateSceneItemRequestData) o; - return Objects.equals(this.type, createSceneItemRequestData.type) && - Objects.equals(this.attributes, createSceneItemRequestData.attributes) && - Objects.equals(this.relationships, createSceneItemRequestData.relationships); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes, relationships); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneItemRequestData {\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/CreateSceneItemRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateSceneItemRequestDataAttributes.java deleted file mode 100644 index 1cbc77c3..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneItemRequestDataAttributes.java +++ /dev/null @@ -1,550 +0,0 @@ -/* - * 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.AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType; -import com.vertexvis.model.ColorMaterial; -import com.vertexvis.model.Matrix4; -import com.vertexvis.model.PartRevisionSuppliedId; -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; - -/** - * CreateSceneItemRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneItemRequestDataAttributes { - public static final String SERIALIZED_NAME_MATERIAL_OVERRIDE = "materialOverride"; - @SerializedName(SERIALIZED_NAME_MATERIAL_OVERRIDE) - private ColorMaterial materialOverride; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_ORDINAL = "ordinal"; - @SerializedName(SERIALIZED_NAME_ORDINAL) - private Integer ordinal; - - public static final String SERIALIZED_NAME_PARENT = "parent"; - @SerializedName(SERIALIZED_NAME_PARENT) - private String parent; - - public static final String SERIALIZED_NAME_PART_INSTANCE_SUPPLIED_IDS_AS_SUPPLIED_IDS = "partInstanceSuppliedIdsAsSuppliedIds"; - @SerializedName(SERIALIZED_NAME_PART_INSTANCE_SUPPLIED_IDS_AS_SUPPLIED_IDS) - private Boolean partInstanceSuppliedIdsAsSuppliedIds; - - /** - * Optional rule to guide the part-revision resolution algorithm in cases where required qualifiers are not explicitly specified by the query. In the case of assembly parts, the resolution rule also applies recursively to the resolution of the child parts. 'as-specified' (the default) directs the resolution algorithm to use only the ids specified in this query. An incomplete specification will result in an error. 'latest-iteration' directs the resolution algorithm to select, within the scope of the specified part-revision, the iteration possessing the newest creation timestamp. Any iteration identifiers specified by this query are ignored. Failure to specify a part-revision will result in an error. 'latest-revision' directs the resolution algorithm to select the part-revision possessing the newest creation timestamp. 'latest-revision' implies 'latest-iteration' resolution logic. - */ - @JsonAdapter(ResolutionRuleEnum.Adapter.class) - public enum ResolutionRuleEnum { - AS_SPECIFIED("as-specified"), - - LATEST_ITERATION("latest-iteration"), - - LATEST_REVISION("latest-revision"); - - private String value; - - ResolutionRuleEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static ResolutionRuleEnum fromValue(String value) { - for (ResolutionRuleEnum b : ResolutionRuleEnum.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 ResolutionRuleEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public ResolutionRuleEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return ResolutionRuleEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_RESOLUTION_RULE = "resolutionRule"; - @SerializedName(SERIALIZED_NAME_RESOLUTION_RULE) - private ResolutionRuleEnum resolutionRule; - - public static final String SERIALIZED_NAME_SOURCE = "source"; - @SerializedName(SERIALIZED_NAME_SOURCE) - private PartRevisionSuppliedId source; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public static final String SERIALIZED_NAME_TRANSFORM = "transform"; - @SerializedName(SERIALIZED_NAME_TRANSFORM) - private Matrix4 transform; - - public static final String SERIALIZED_NAME_VISIBLE = "visible"; - @SerializedName(SERIALIZED_NAME_VISIBLE) - private Boolean visible; - - public static final String SERIALIZED_NAME_PHANTOM = "phantom"; - @SerializedName(SERIALIZED_NAME_PHANTOM) - private Boolean phantom; - - public static final String SERIALIZED_NAME_END_ITEM = "endItem"; - @SerializedName(SERIALIZED_NAME_END_ITEM) - private Boolean endItem; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public static final String SERIALIZED_NAME_EXPERIMENTAL_SOURCE_METADATA_KEYS = "experimentalSourceMetadataKeys"; - @SerializedName(SERIALIZED_NAME_EXPERIMENTAL_SOURCE_METADATA_KEYS) - private List experimentalSourceMetadataKeys = null; - - public CreateSceneItemRequestDataAttributes() { - } - - public CreateSceneItemRequestDataAttributes materialOverride(ColorMaterial materialOverride) { - - this.materialOverride = materialOverride; - return this; - } - - /** - * Get materialOverride - * @return materialOverride - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public ColorMaterial getMaterialOverride() { - return materialOverride; - } - - - public void setMaterialOverride(ColorMaterial materialOverride) { - this.materialOverride = materialOverride; - } - - - public CreateSceneItemRequestDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public CreateSceneItemRequestDataAttributes ordinal(Integer ordinal) { - - this.ordinal = ordinal; - return this; - } - - /** - * A 0-based index used for defining a consistent ordering amongst sibling scene items. - * @return ordinal - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "A 0-based index used for defining a consistent ordering amongst sibling scene items.") - - public Integer getOrdinal() { - return ordinal; - } - - - public void setOrdinal(Integer ordinal) { - this.ordinal = ordinal; - } - - - public CreateSceneItemRequestDataAttributes parent(String parent) { - - this.parent = parent; - return this; - } - - /** - * Optional ability to specify a parent scene item by scene item supplied ID. For example, an existing ID from a PLM system. This approach is an alternative to providing a specific scene item ID with the relationship parent property. - * @return parent - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "PN12345", value = "Optional ability to specify a parent scene item by scene item supplied ID. For example, an existing ID from a PLM system. This approach is an alternative to providing a specific scene item ID with the relationship parent property. ") - - public String getParent() { - return parent; - } - - - public void setParent(String parent) { - this.parent = parent; - } - - - public CreateSceneItemRequestDataAttributes partInstanceSuppliedIdsAsSuppliedIds(Boolean partInstanceSuppliedIdsAsSuppliedIds) { - - this.partInstanceSuppliedIdsAsSuppliedIds = partInstanceSuppliedIdsAsSuppliedIds; - return this; - } - - /** - * Whether or not to use part instance supplied IDs as scene item supplied IDs. - * @return partInstanceSuppliedIdsAsSuppliedIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "false", value = "Whether or not to use part instance supplied IDs as scene item supplied IDs.") - - public Boolean getPartInstanceSuppliedIdsAsSuppliedIds() { - return partInstanceSuppliedIdsAsSuppliedIds; - } - - - public void setPartInstanceSuppliedIdsAsSuppliedIds(Boolean partInstanceSuppliedIdsAsSuppliedIds) { - this.partInstanceSuppliedIdsAsSuppliedIds = partInstanceSuppliedIdsAsSuppliedIds; - } - - - public CreateSceneItemRequestDataAttributes resolutionRule(ResolutionRuleEnum resolutionRule) { - - this.resolutionRule = resolutionRule; - return this; - } - - /** - * Optional rule to guide the part-revision resolution algorithm in cases where required qualifiers are not explicitly specified by the query. In the case of assembly parts, the resolution rule also applies recursively to the resolution of the child parts. 'as-specified' (the default) directs the resolution algorithm to use only the ids specified in this query. An incomplete specification will result in an error. 'latest-iteration' directs the resolution algorithm to select, within the scope of the specified part-revision, the iteration possessing the newest creation timestamp. Any iteration identifiers specified by this query are ignored. Failure to specify a part-revision will result in an error. 'latest-revision' directs the resolution algorithm to select the part-revision possessing the newest creation timestamp. 'latest-revision' implies 'latest-iteration' resolution logic. - * @return resolutionRule - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Optional rule to guide the part-revision resolution algorithm in cases where required qualifiers are not explicitly specified by the query. In the case of assembly parts, the resolution rule also applies recursively to the resolution of the child parts. 'as-specified' (the default) directs the resolution algorithm to use only the ids specified in this query. An incomplete specification will result in an error. 'latest-iteration' directs the resolution algorithm to select, within the scope of the specified part-revision, the iteration possessing the newest creation timestamp. Any iteration identifiers specified by this query are ignored. Failure to specify a part-revision will result in an error. 'latest-revision' directs the resolution algorithm to select the part-revision possessing the newest creation timestamp. 'latest-revision' implies 'latest-iteration' resolution logic. ") - - public ResolutionRuleEnum getResolutionRule() { - return resolutionRule; - } - - - public void setResolutionRule(ResolutionRuleEnum resolutionRule) { - this.resolutionRule = resolutionRule; - } - - - public CreateSceneItemRequestDataAttributes source(PartRevisionSuppliedId source) { - - this.source = source; - return this; - } - - /** - * Get source - * @return source - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public PartRevisionSuppliedId getSource() { - return source; - } - - - public void setSource(PartRevisionSuppliedId source) { - this.source = source; - } - - - public CreateSceneItemRequestDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * ID provided for correlation. For example, an existing ID from a PLM system. - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "PN12345", value = "ID provided for correlation. For example, an existing ID from a PLM system.") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - public CreateSceneItemRequestDataAttributes transform(Matrix4 transform) { - - this.transform = transform; - return this; - } - - /** - * Get transform - * @return transform - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Matrix4 getTransform() { - return transform; - } - - - public void setTransform(Matrix4 transform) { - this.transform = transform; - } - - - public CreateSceneItemRequestDataAttributes visible(Boolean visible) { - - this.visible = visible; - return this; - } - - /** - * Item visibility. - * @return visible - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "true", value = "Item visibility.") - - public Boolean getVisible() { - return visible; - } - - - public void setVisible(Boolean visible) { - this.visible = visible; - } - - - public CreateSceneItemRequestDataAttributes phantom(Boolean phantom) { - - this.phantom = phantom; - return this; - } - - /** - * Phantom state of the item. - * @return phantom - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Phantom state of the item.") - - public Boolean getPhantom() { - return phantom; - } - - - public void setPhantom(Boolean phantom) { - this.phantom = phantom; - } - - - public CreateSceneItemRequestDataAttributes endItem(Boolean endItem) { - - this.endItem = endItem; - return this; - } - - /** - * Whether this item is an end item. - * @return endItem - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Whether this item is an end item.") - - public Boolean getEndItem() { - return endItem; - } - - - public void setEndItem(Boolean endItem) { - this.endItem = endItem; - } - - - public CreateSceneItemRequestDataAttributes metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public CreateSceneItemRequestDataAttributes putMetadataItem(String key, AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap<>(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * Additional metadata for the scene-item. This metadata will take precedence over any metadata that belongs to the part file. - * @return metadata - **/ - @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. ") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - public CreateSceneItemRequestDataAttributes experimentalSourceMetadataKeys(List experimentalSourceMetadataKeys) { - - this.experimentalSourceMetadataKeys = experimentalSourceMetadataKeys; - return this; - } - - public CreateSceneItemRequestDataAttributes addExperimentalSourceMetadataKeysItem(String experimentalSourceMetadataKeysItem) { - if (this.experimentalSourceMetadataKeys == null) { - this.experimentalSourceMetadataKeys = new ArrayList<>(); - } - this.experimentalSourceMetadataKeys.add(experimentalSourceMetadataKeysItem); - return this; - } - - /** - * Specifies which metadata keys should be copied from the source item. Sending null will default to all keys. Sending an empty string will copy none of the sources' metadata. Sending an array of [\"KEY1\", \"KEY2] will include KEY1 and KEY2 from the source in the scene item creation. This is marked experimental since future releases are expected to prevent copying metadata entirely. - * @return experimentalSourceMetadataKeys - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Specifies which metadata keys should be copied from the source item. Sending null will default to all keys. Sending an empty string will copy none of the sources' metadata. Sending an array of [\"KEY1\", \"KEY2] will include KEY1 and KEY2 from the source in the scene item creation. This is marked experimental since future releases are expected to prevent copying metadata entirely. ") - - public List getExperimentalSourceMetadataKeys() { - return experimentalSourceMetadataKeys; - } - - - public void setExperimentalSourceMetadataKeys(List experimentalSourceMetadataKeys) { - this.experimentalSourceMetadataKeys = experimentalSourceMetadataKeys; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneItemRequestDataAttributes createSceneItemRequestDataAttributes = (CreateSceneItemRequestDataAttributes) o; - return Objects.equals(this.materialOverride, createSceneItemRequestDataAttributes.materialOverride) && - Objects.equals(this.name, createSceneItemRequestDataAttributes.name) && - Objects.equals(this.ordinal, createSceneItemRequestDataAttributes.ordinal) && - Objects.equals(this.parent, createSceneItemRequestDataAttributes.parent) && - Objects.equals(this.partInstanceSuppliedIdsAsSuppliedIds, createSceneItemRequestDataAttributes.partInstanceSuppliedIdsAsSuppliedIds) && - Objects.equals(this.resolutionRule, createSceneItemRequestDataAttributes.resolutionRule) && - Objects.equals(this.source, createSceneItemRequestDataAttributes.source) && - Objects.equals(this.suppliedId, createSceneItemRequestDataAttributes.suppliedId) && - Objects.equals(this.transform, createSceneItemRequestDataAttributes.transform) && - Objects.equals(this.visible, createSceneItemRequestDataAttributes.visible) && - Objects.equals(this.phantom, createSceneItemRequestDataAttributes.phantom) && - Objects.equals(this.endItem, createSceneItemRequestDataAttributes.endItem) && - Objects.equals(this.metadata, createSceneItemRequestDataAttributes.metadata) && - Objects.equals(this.experimentalSourceMetadataKeys, createSceneItemRequestDataAttributes.experimentalSourceMetadataKeys); - } - - @Override - public int hashCode() { - return Objects.hash(materialOverride, name, ordinal, parent, partInstanceSuppliedIdsAsSuppliedIds, resolutionRule, source, suppliedId, transform, visible, phantom, endItem, metadata, experimentalSourceMetadataKeys); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneItemRequestDataAttributes {\n"); - sb.append(" materialOverride: ").append(toIndentedString(materialOverride)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" ordinal: ").append(toIndentedString(ordinal)).append("\n"); - sb.append(" parent: ").append(toIndentedString(parent)).append("\n"); - sb.append(" partInstanceSuppliedIdsAsSuppliedIds: ").append(toIndentedString(partInstanceSuppliedIdsAsSuppliedIds)).append("\n"); - sb.append(" resolutionRule: ").append(toIndentedString(resolutionRule)).append("\n"); - sb.append(" source: ").append(toIndentedString(source)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).append("\n"); - sb.append(" transform: ").append(toIndentedString(transform)).append("\n"); - sb.append(" visible: ").append(toIndentedString(visible)).append("\n"); - sb.append(" phantom: ").append(toIndentedString(phantom)).append("\n"); - sb.append(" endItem: ").append(toIndentedString(endItem)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" experimentalSourceMetadataKeys: ").append(toIndentedString(experimentalSourceMetadataKeys)).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/CreateSceneItemRequestDataRelationships.java b/src/main/java/com/vertexvis/model/CreateSceneItemRequestDataRelationships.java deleted file mode 100644 index ee03421b..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneItemRequestDataRelationships.java +++ /dev/null @@ -1,171 +0,0 @@ -/* - * 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.SceneItemRelationship; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.jackson.nullable.JsonNullable; - -/** - * CreateSceneItemRequestDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneItemRequestDataRelationships { - public static final String SERIALIZED_NAME_PARENT = "parent"; - @SerializedName(SERIALIZED_NAME_PARENT) - private SceneItemRelationship parent; - - public static final String SERIALIZED_NAME_SOURCE = "source"; - @SerializedName(SERIALIZED_NAME_SOURCE) - private AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship source; - - public static final String SERIALIZED_NAME_REFERENCE_TREE = "referenceTree"; - @SerializedName(SERIALIZED_NAME_REFERENCE_TREE) - private SceneItemRelationship referenceTree; - - public CreateSceneItemRequestDataRelationships() { - } - - public CreateSceneItemRequestDataRelationships parent(SceneItemRelationship parent) { - - this.parent = parent; - return this; - } - - /** - * Get parent - * @return parent - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public SceneItemRelationship getParent() { - return parent; - } - - - public void setParent(SceneItemRelationship parent) { - this.parent = parent; - } - - - public CreateSceneItemRequestDataRelationships source(AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship source) { - - this.source = source; - return this; - } - - /** - * Relationship to a `geometry-set`, `part-revision`, `part-rendition`, or `scene`. - * @return source - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Relationship to a `geometry-set`, `part-revision`, `part-rendition`, or `scene`.") - - public AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship getSource() { - return source; - } - - - public void setSource(AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship source) { - this.source = source; - } - - - public CreateSceneItemRequestDataRelationships referenceTree(SceneItemRelationship referenceTree) { - - this.referenceTree = referenceTree; - return this; - } - - /** - * Get referenceTree - * @return referenceTree - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public SceneItemRelationship getReferenceTree() { - return referenceTree; - } - - - public void setReferenceTree(SceneItemRelationship referenceTree) { - this.referenceTree = referenceTree; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneItemRequestDataRelationships createSceneItemRequestDataRelationships = (CreateSceneItemRequestDataRelationships) o; - return Objects.equals(this.parent, createSceneItemRequestDataRelationships.parent) && - Objects.equals(this.source, createSceneItemRequestDataRelationships.source) && - Objects.equals(this.referenceTree, createSceneItemRequestDataRelationships.referenceTree); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(parent, source, referenceTree); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneItemRequestDataRelationships {\n"); - sb.append(" parent: ").append(toIndentedString(parent)).append("\n"); - sb.append(" source: ").append(toIndentedString(source)).append("\n"); - sb.append(" referenceTree: ").append(toIndentedString(referenceTree)).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/CreateSceneRequest.java b/src/main/java/com/vertexvis/model/CreateSceneRequest.java deleted file mode 100644 index ec582c3d..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateSceneRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateSceneRequestData data; - - public CreateSceneRequest() { - } - - public CreateSceneRequest data(CreateSceneRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneRequestData getData() { - return data; - } - - - public void setData(CreateSceneRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneRequest createSceneRequest = (CreateSceneRequest) o; - return Objects.equals(this.data, createSceneRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneRequest {\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/CreateSceneRequestData.java b/src/main/java/com/vertexvis/model/CreateSceneRequestData.java deleted file mode 100644 index 0b1757c8..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneRequestData.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * 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.CreateSceneRequestDataAttributes; -import com.vertexvis.model.CreateSceneRequestDataRelationships; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreateSceneRequestDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private CreateSceneRequestDataRelationships relationships; - - public CreateSceneRequestData() { - } - - public CreateSceneRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreateSceneRequestData attributes(CreateSceneRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateSceneRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - public CreateSceneRequestData relationships(CreateSceneRequestDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public CreateSceneRequestDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(CreateSceneRequestDataRelationships relationships) { - this.relationships = relationships; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneRequestData createSceneRequestData = (CreateSceneRequestData) o; - return Objects.equals(this.type, createSceneRequestData.type) && - Objects.equals(this.attributes, createSceneRequestData.attributes) && - Objects.equals(this.relationships, createSceneRequestData.relationships); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes, relationships); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneRequestData {\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/CreateSceneRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateSceneRequestDataAttributes.java deleted file mode 100644 index cab8fb74..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneRequestDataAttributes.java +++ /dev/null @@ -1,301 +0,0 @@ -/* - * 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.Orientation; -import com.vertexvis.model.OrthographicCamera; -import com.vertexvis.model.PerspectiveCamera; -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 org.openapitools.jackson.nullable.JsonNullable; - -/** - * CreateSceneRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneRequestDataAttributes { - public static final String SERIALIZED_NAME_CAMERA = "camera"; - @SerializedName(SERIALIZED_NAME_CAMERA) - private OneOfPerspectiveCameraOrthographicCamera camera; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_TREE_ENABLED = "treeEnabled"; - @SerializedName(SERIALIZED_NAME_TREE_ENABLED) - private Boolean treeEnabled; - - public static final String SERIALIZED_NAME_WORLD_ORIENTATION = "worldOrientation"; - @SerializedName(SERIALIZED_NAME_WORLD_ORIENTATION) - private Orientation worldOrientation; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public static final String SERIALIZED_NAME_EXPIRY = "expiry"; - @SerializedName(SERIALIZED_NAME_EXPIRY) - private Integer expiry; - - public CreateSceneRequestDataAttributes() { - } - - public CreateSceneRequestDataAttributes camera(OneOfPerspectiveCameraOrthographicCamera camera) { - - this.camera = camera; - return this; - } - - /** - * Get camera - * @return camera - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public OneOfPerspectiveCameraOrthographicCamera getCamera() { - return camera; - } - - - public void setCamera(OneOfPerspectiveCameraOrthographicCamera camera) { - this.camera = camera; - } - - - public CreateSceneRequestDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * ID provided for correlation. For example, an existing ID from a PLM system. - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "PN12345", value = "ID provided for correlation. For example, an existing ID from a PLM system.") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - public CreateSceneRequestDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public CreateSceneRequestDataAttributes treeEnabled(Boolean treeEnabled) { - - this.treeEnabled = treeEnabled; - return this; - } - - /** - * Get treeEnabled - * @return treeEnabled - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "false", value = "") - - public Boolean getTreeEnabled() { - return treeEnabled; - } - - - public void setTreeEnabled(Boolean treeEnabled) { - this.treeEnabled = treeEnabled; - } - - - public CreateSceneRequestDataAttributes worldOrientation(Orientation worldOrientation) { - - this.worldOrientation = worldOrientation; - return this; - } - - /** - * Get worldOrientation - * @return worldOrientation - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Orientation getWorldOrientation() { - return worldOrientation; - } - - - public void setWorldOrientation(Orientation worldOrientation) { - this.worldOrientation = worldOrientation; - } - - - public CreateSceneRequestDataAttributes metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public CreateSceneRequestDataAttributes putMetadataItem(String key, String metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap<>(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * User supplied key-value pairs for a scene. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. A null value will delete the entry in the map, all other key/value pairs provided here will be inserted or updated into the existing scene metadata. - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "User supplied key-value pairs for a scene. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. A null value will delete the entry in the map, all other key/value pairs provided here will be inserted or updated into the existing scene metadata. ") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - public CreateSceneRequestDataAttributes expiry(Integer expiry) { - - this.expiry = expiry; - return this; - } - - /** - * Number of seconds before expiration - * minimum: 1 - * @return expiry - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "600", value = "Number of seconds before expiration") - - 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; - } - CreateSceneRequestDataAttributes createSceneRequestDataAttributes = (CreateSceneRequestDataAttributes) o; - return Objects.equals(this.camera, createSceneRequestDataAttributes.camera) && - Objects.equals(this.suppliedId, createSceneRequestDataAttributes.suppliedId) && - Objects.equals(this.name, createSceneRequestDataAttributes.name) && - Objects.equals(this.treeEnabled, createSceneRequestDataAttributes.treeEnabled) && - Objects.equals(this.worldOrientation, createSceneRequestDataAttributes.worldOrientation) && - Objects.equals(this.metadata, createSceneRequestDataAttributes.metadata) && - Objects.equals(this.expiry, createSceneRequestDataAttributes.expiry); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(camera, suppliedId, name, treeEnabled, worldOrientation, metadata, expiry); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneRequestDataAttributes {\n"); - sb.append(" camera: ").append(toIndentedString(camera)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" treeEnabled: ").append(toIndentedString(treeEnabled)).append("\n"); - sb.append(" worldOrientation: ").append(toIndentedString(worldOrientation)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\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/CreateSceneRequestDataRelationships.java b/src/main/java/com/vertexvis/model/CreateSceneRequestDataRelationships.java deleted file mode 100644 index 91dc0e87..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneRequestDataRelationships.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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; - -/** - * CreateSceneRequestDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneRequestDataRelationships { - public static final String SERIALIZED_NAME_SOURCE = "source"; - @SerializedName(SERIALIZED_NAME_SOURCE) - private SceneRelationship source; - - public CreateSceneRequestDataRelationships() { - } - - public CreateSceneRequestDataRelationships source(SceneRelationship source) { - - this.source = source; - return this; - } - - /** - * Get source - * @return source - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneRelationship getSource() { - return source; - } - - - public void setSource(SceneRelationship source) { - this.source = source; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneRequestDataRelationships createSceneRequestDataRelationships = (CreateSceneRequestDataRelationships) o; - return Objects.equals(this.source, createSceneRequestDataRelationships.source); - } - - @Override - public int hashCode() { - return Objects.hash(source); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneRequestDataRelationships {\n"); - sb.append(" source: ").append(toIndentedString(source)).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/CreateSceneSyncRequest.java b/src/main/java/com/vertexvis/model/CreateSceneSyncRequest.java deleted file mode 100644 index 32e86792..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneSyncRequest.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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.UpdateItemToDefaultRenditionOperation; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * An operation to perform on a Scene. - */ -@ApiModel(description = "An operation to perform on a Scene.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneSyncRequest { - public static final String SERIALIZED_NAME_OPERATION = "operation"; - @SerializedName(SERIALIZED_NAME_OPERATION) - private OneOfUpdateItemToDefaultRenditionOperation operation; - - public CreateSceneSyncRequest() { - } - - public CreateSceneSyncRequest operation(OneOfUpdateItemToDefaultRenditionOperation operation) { - - this.operation = operation; - return this; - } - - /** - * Get operation - * @return operation - **/ - @javax.annotation.Nullable - @ApiModelProperty(required = true, value = "") - - public OneOfUpdateItemToDefaultRenditionOperation getOperation() { - return operation; - } - - - public void setOperation(OneOfUpdateItemToDefaultRenditionOperation operation) { - this.operation = operation; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneSyncRequest createSceneSyncRequest = (CreateSceneSyncRequest) o; - return Objects.equals(this.operation, createSceneSyncRequest.operation); - } - - @Override - public int hashCode() { - return Objects.hash(operation); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneSyncRequest {\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/CreateSceneViewRequest.java b/src/main/java/com/vertexvis/model/CreateSceneViewRequest.java deleted file mode 100644 index 10391b25..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneViewRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateSceneViewRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneViewRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneViewRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateSceneViewRequestData data; - - public CreateSceneViewRequest() { - } - - public CreateSceneViewRequest data(CreateSceneViewRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneViewRequestData getData() { - return data; - } - - - public void setData(CreateSceneViewRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneViewRequest createSceneViewRequest = (CreateSceneViewRequest) o; - return Objects.equals(this.data, createSceneViewRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneViewRequest {\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/CreateSceneViewRequestData.java b/src/main/java/com/vertexvis/model/CreateSceneViewRequestData.java deleted file mode 100644 index a3b2e183..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneViewRequestData.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * 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.CreateSceneViewRequestDataAttributes; -import com.vertexvis.model.CreateSceneViewRequestDataRelationships; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneViewRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneViewRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreateSceneViewRequestDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private CreateSceneViewRequestDataRelationships relationships; - - public CreateSceneViewRequestData() { - } - - public CreateSceneViewRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-view", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreateSceneViewRequestData attributes(CreateSceneViewRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneViewRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateSceneViewRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - public CreateSceneViewRequestData relationships(CreateSceneViewRequestDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public CreateSceneViewRequestDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(CreateSceneViewRequestDataRelationships relationships) { - this.relationships = relationships; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneViewRequestData createSceneViewRequestData = (CreateSceneViewRequestData) o; - return Objects.equals(this.type, createSceneViewRequestData.type) && - Objects.equals(this.attributes, createSceneViewRequestData.attributes) && - Objects.equals(this.relationships, createSceneViewRequestData.relationships); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes, relationships); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneViewRequestData {\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/CreateSceneViewRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateSceneViewRequestDataAttributes.java deleted file mode 100644 index 59c45302..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneViewRequestDataAttributes.java +++ /dev/null @@ -1,173 +0,0 @@ -/* - * 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.CrossSectioning; -import com.vertexvis.model.OrthographicCamera; -import com.vertexvis.model.PerspectiveCamera; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.jackson.nullable.JsonNullable; - -/** - * CreateSceneViewRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneViewRequestDataAttributes { - public static final String SERIALIZED_NAME_CAMERA = "camera"; - @SerializedName(SERIALIZED_NAME_CAMERA) - private OneOfPerspectiveCameraOrthographicCamera camera; - - public static final String SERIALIZED_NAME_CROSS_SECTIONING = "crossSectioning"; - @SerializedName(SERIALIZED_NAME_CROSS_SECTIONING) - private CrossSectioning crossSectioning; - - public static final String SERIALIZED_NAME_EXCLUDE_PRUNED_ITEMS = "excludePrunedItems"; - @SerializedName(SERIALIZED_NAME_EXCLUDE_PRUNED_ITEMS) - private Boolean excludePrunedItems; - - public CreateSceneViewRequestDataAttributes() { - } - - public CreateSceneViewRequestDataAttributes camera(OneOfPerspectiveCameraOrthographicCamera camera) { - - this.camera = camera; - return this; - } - - /** - * Get camera - * @return camera - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public OneOfPerspectiveCameraOrthographicCamera getCamera() { - return camera; - } - - - public void setCamera(OneOfPerspectiveCameraOrthographicCamera camera) { - this.camera = camera; - } - - - public CreateSceneViewRequestDataAttributes crossSectioning(CrossSectioning crossSectioning) { - - this.crossSectioning = crossSectioning; - return this; - } - - /** - * Get crossSectioning - * @return crossSectioning - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public CrossSectioning getCrossSectioning() { - return crossSectioning; - } - - - public void setCrossSectioning(CrossSectioning crossSectioning) { - this.crossSectioning = crossSectioning; - } - - - public CreateSceneViewRequestDataAttributes excludePrunedItems(Boolean excludePrunedItems) { - - this.excludePrunedItems = excludePrunedItems; - return this; - } - - /** - * Whether to exclude non-visible items in the view - * @return excludePrunedItems - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "true", value = "Whether to exclude non-visible items in the view") - - public Boolean getExcludePrunedItems() { - return excludePrunedItems; - } - - - public void setExcludePrunedItems(Boolean excludePrunedItems) { - this.excludePrunedItems = excludePrunedItems; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneViewRequestDataAttributes createSceneViewRequestDataAttributes = (CreateSceneViewRequestDataAttributes) o; - return Objects.equals(this.camera, createSceneViewRequestDataAttributes.camera) && - Objects.equals(this.crossSectioning, createSceneViewRequestDataAttributes.crossSectioning) && - Objects.equals(this.excludePrunedItems, createSceneViewRequestDataAttributes.excludePrunedItems); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(camera, crossSectioning, excludePrunedItems); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneViewRequestDataAttributes {\n"); - sb.append(" camera: ").append(toIndentedString(camera)).append("\n"); - sb.append(" crossSectioning: ").append(toIndentedString(crossSectioning)).append("\n"); - sb.append(" excludePrunedItems: ").append(toIndentedString(excludePrunedItems)).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/CreateSceneViewRequestDataRelationships.java b/src/main/java/com/vertexvis/model/CreateSceneViewRequestDataRelationships.java deleted file mode 100644 index f8d642f9..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneViewRequestDataRelationships.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.SceneViewStateRelationship; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneViewRequestDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneViewRequestDataRelationships { - public static final String SERIALIZED_NAME_SCENE_VIEW_STATE = "sceneViewState"; - @SerializedName(SERIALIZED_NAME_SCENE_VIEW_STATE) - private SceneViewStateRelationship sceneViewState; - - public CreateSceneViewRequestDataRelationships() { - } - - public CreateSceneViewRequestDataRelationships sceneViewState(SceneViewStateRelationship sceneViewState) { - - this.sceneViewState = sceneViewState; - return this; - } - - /** - * Get sceneViewState - * @return sceneViewState - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public SceneViewStateRelationship getSceneViewState() { - return sceneViewState; - } - - - public void setSceneViewState(SceneViewStateRelationship sceneViewState) { - this.sceneViewState = sceneViewState; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneViewRequestDataRelationships createSceneViewRequestDataRelationships = (CreateSceneViewRequestDataRelationships) o; - return Objects.equals(this.sceneViewState, createSceneViewRequestDataRelationships.sceneViewState); - } - - @Override - public int hashCode() { - return Objects.hash(sceneViewState); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneViewRequestDataRelationships {\n"); - sb.append(" sceneViewState: ").append(toIndentedString(sceneViewState)).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/CreateSceneViewStateRequest.java b/src/main/java/com/vertexvis/model/CreateSceneViewStateRequest.java deleted file mode 100644 index 61ad470a..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneViewStateRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateSceneViewStateRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneViewStateRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneViewStateRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateSceneViewStateRequestData data; - - public CreateSceneViewStateRequest() { - } - - public CreateSceneViewStateRequest data(CreateSceneViewStateRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneViewStateRequestData getData() { - return data; - } - - - public void setData(CreateSceneViewStateRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneViewStateRequest createSceneViewStateRequest = (CreateSceneViewStateRequest) o; - return Objects.equals(this.data, createSceneViewStateRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneViewStateRequest {\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/CreateSceneViewStateRequestData.java b/src/main/java/com/vertexvis/model/CreateSceneViewStateRequestData.java deleted file mode 100644 index 9689fbea..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneViewStateRequestData.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * 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.CreateSceneViewStateRequestDataAttributes; -import com.vertexvis.model.CreateSceneViewStateRequestDataRelationships; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneViewStateRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneViewStateRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreateSceneViewStateRequestDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private CreateSceneViewStateRequestDataRelationships relationships; - - public CreateSceneViewStateRequestData() { - } - - public CreateSceneViewStateRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-view-state", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreateSceneViewStateRequestData attributes(CreateSceneViewStateRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneViewStateRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateSceneViewStateRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - public CreateSceneViewStateRequestData relationships(CreateSceneViewStateRequestDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneViewStateRequestDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(CreateSceneViewStateRequestDataRelationships relationships) { - this.relationships = relationships; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneViewStateRequestData createSceneViewStateRequestData = (CreateSceneViewStateRequestData) o; - return Objects.equals(this.type, createSceneViewStateRequestData.type) && - Objects.equals(this.attributes, createSceneViewStateRequestData.attributes) && - Objects.equals(this.relationships, createSceneViewStateRequestData.relationships); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes, relationships); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneViewStateRequestData {\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/CreateSceneViewStateRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateSceneViewStateRequestDataAttributes.java deleted file mode 100644 index 92947d17..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneViewStateRequestDataAttributes.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * 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; - -/** - * CreateSceneViewStateRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneViewStateRequestDataAttributes { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public CreateSceneViewStateRequestDataAttributes() { - } - - public CreateSceneViewStateRequestDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public CreateSceneViewStateRequestDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * ID provided for correlation. For example, an existing ID from a PLM system. - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "PN12345", value = "ID provided for correlation. For example, an existing ID from a PLM system.") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneViewStateRequestDataAttributes createSceneViewStateRequestDataAttributes = (CreateSceneViewStateRequestDataAttributes) o; - return Objects.equals(this.name, createSceneViewStateRequestDataAttributes.name) && - Objects.equals(this.suppliedId, createSceneViewStateRequestDataAttributes.suppliedId); - } - - @Override - public int hashCode() { - return Objects.hash(name, suppliedId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneViewStateRequestDataAttributes {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).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/CreateSceneViewStateRequestDataRelationships.java b/src/main/java/com/vertexvis/model/CreateSceneViewStateRequestDataRelationships.java deleted file mode 100644 index d531d435..00000000 --- a/src/main/java/com/vertexvis/model/CreateSceneViewStateRequestDataRelationships.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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.SceneViewRelationship; -import com.vertexvis.model.SceneViewStateRelationship; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateSceneViewStateRequestDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateSceneViewStateRequestDataRelationships { - public static final String SERIALIZED_NAME_SOURCE = "source"; - @SerializedName(SERIALIZED_NAME_SOURCE) - private OneOfSceneViewRelationshipSceneViewStateRelationship source; - - public CreateSceneViewStateRequestDataRelationships() { - } - - public CreateSceneViewStateRequestDataRelationships source(OneOfSceneViewRelationshipSceneViewStateRelationship source) { - - this.source = source; - return this; - } - - /** - * Get source - * @return source - **/ - @javax.annotation.Nullable - @ApiModelProperty(required = true, value = "") - - public OneOfSceneViewRelationshipSceneViewStateRelationship getSource() { - return source; - } - - - public void setSource(OneOfSceneViewRelationshipSceneViewStateRelationship source) { - this.source = source; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateSceneViewStateRequestDataRelationships createSceneViewStateRequestDataRelationships = (CreateSceneViewStateRequestDataRelationships) o; - return Objects.equals(this.source, createSceneViewStateRequestDataRelationships.source); - } - - @Override - public int hashCode() { - return Objects.hash(source); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateSceneViewStateRequestDataRelationships {\n"); - sb.append(" source: ").append(toIndentedString(source)).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/CreateStreamKeyRequest.java b/src/main/java/com/vertexvis/model/CreateStreamKeyRequest.java deleted file mode 100644 index aa151e79..00000000 --- a/src/main/java/com/vertexvis/model/CreateStreamKeyRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateStreamKeyRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateStreamKeyRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateStreamKeyRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateStreamKeyRequestData data; - - public CreateStreamKeyRequest() { - } - - public CreateStreamKeyRequest data(CreateStreamKeyRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateStreamKeyRequestData getData() { - return data; - } - - - public void setData(CreateStreamKeyRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateStreamKeyRequest createStreamKeyRequest = (CreateStreamKeyRequest) o; - return Objects.equals(this.data, createStreamKeyRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateStreamKeyRequest {\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/CreateStreamKeyRequestData.java b/src/main/java/com/vertexvis/model/CreateStreamKeyRequestData.java deleted file mode 100644 index 18b65583..00000000 --- a/src/main/java/com/vertexvis/model/CreateStreamKeyRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.CreateStreamKeyRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateStreamKeyRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateStreamKeyRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreateStreamKeyRequestDataAttributes attributes; - - public CreateStreamKeyRequestData() { - } - - public CreateStreamKeyRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "stream-key", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreateStreamKeyRequestData attributes(CreateStreamKeyRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateStreamKeyRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateStreamKeyRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateStreamKeyRequestData createStreamKeyRequestData = (CreateStreamKeyRequestData) o; - return Objects.equals(this.type, createStreamKeyRequestData.type) && - Objects.equals(this.attributes, createStreamKeyRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateStreamKeyRequestData {\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/CreateStreamKeyRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateStreamKeyRequestDataAttributes.java deleted file mode 100644 index edb4618c..00000000 --- a/src/main/java/com/vertexvis/model/CreateStreamKeyRequestDataAttributes.java +++ /dev/null @@ -1,219 +0,0 @@ -/* - * 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; - -/** - * CreateStreamKeyRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateStreamKeyRequestDataAttributes { - public static final String SERIALIZED_NAME_EXPIRY = "expiry"; - @SerializedName(SERIALIZED_NAME_EXPIRY) - private Integer expiry; - - public static final String SERIALIZED_NAME_EXCLUDE_PRUNED_ITEMS = "excludePrunedItems"; - @SerializedName(SERIALIZED_NAME_EXCLUDE_PRUNED_ITEMS) - private Boolean excludePrunedItems; - - public static final String SERIALIZED_NAME_SCENE_VIEW_STATE_SUPPLIED_ID = "sceneViewStateSuppliedId"; - @SerializedName(SERIALIZED_NAME_SCENE_VIEW_STATE_SUPPLIED_ID) - private String sceneViewStateSuppliedId; - - public static final String SERIALIZED_NAME_SCENE_VIEW_STATE_ID = "sceneViewStateId"; - @SerializedName(SERIALIZED_NAME_SCENE_VIEW_STATE_ID) - private UUID sceneViewStateId; - - public static final String SERIALIZED_NAME_WITH_SEARCH_SESSION = "withSearchSession"; - @SerializedName(SERIALIZED_NAME_WITH_SEARCH_SESSION) - private Boolean withSearchSession; - - public CreateStreamKeyRequestDataAttributes() { - } - - public CreateStreamKeyRequestDataAttributes expiry(Integer expiry) { - - this.expiry = expiry; - return this; - } - - /** - * Number of seconds before the `stream-key` expires. - * minimum: 1 - * maximum: 31557600 - * @return expiry - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "600", value = "Number of seconds before the `stream-key` expires.") - - public Integer getExpiry() { - return expiry; - } - - - public void setExpiry(Integer expiry) { - this.expiry = expiry; - } - - - public CreateStreamKeyRequestDataAttributes excludePrunedItems(Boolean excludePrunedItems) { - - this.excludePrunedItems = excludePrunedItems; - return this; - } - - /** - * Whether to exclude non-visible items in the view. - * @return excludePrunedItems - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "true", value = "Whether to exclude non-visible items in the view.") - - public Boolean getExcludePrunedItems() { - return excludePrunedItems; - } - - - public void setExcludePrunedItems(Boolean excludePrunedItems) { - this.excludePrunedItems = excludePrunedItems; - } - - - public CreateStreamKeyRequestDataAttributes sceneViewStateSuppliedId(String sceneViewStateSuppliedId) { - - this.sceneViewStateSuppliedId = sceneViewStateSuppliedId; - return this; - } - - /** - * An optional supplied ID specifying the `scene-view-state` to initialize `scene-view`s created using this `stream-key` to. Mutually exclusive with `sceneViewStateId`. - * @return sceneViewStateSuppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "An optional supplied ID specifying the `scene-view-state` to initialize `scene-view`s created using this `stream-key` to. Mutually exclusive with `sceneViewStateId`.") - - public String getSceneViewStateSuppliedId() { - return sceneViewStateSuppliedId; - } - - - public void setSceneViewStateSuppliedId(String sceneViewStateSuppliedId) { - this.sceneViewStateSuppliedId = sceneViewStateSuppliedId; - } - - - public CreateStreamKeyRequestDataAttributes sceneViewStateId(UUID sceneViewStateId) { - - this.sceneViewStateId = sceneViewStateId; - return this; - } - - /** - * An optional ID specifying the `scene-view-state` to initialize `scene-view`s created using this `stream-key` to. Mutually exclusive with `sceneViewStateSuppliedId`. - * @return sceneViewStateId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "f79d4760-0b71-44e4-ad0b-22743fdd4ca3", value = "An optional ID specifying the `scene-view-state` to initialize `scene-view`s created using this `stream-key` to. Mutually exclusive with `sceneViewStateSuppliedId`.") - - public UUID getSceneViewStateId() { - return sceneViewStateId; - } - - - public void setSceneViewStateId(UUID sceneViewStateId) { - this.sceneViewStateId = sceneViewStateId; - } - - - public CreateStreamKeyRequestDataAttributes withSearchSession(Boolean withSearchSession) { - - this.withSearchSession = withSearchSession; - return this; - } - - /** - * Optionally enables or disables the creation of a search session for the view. - * @return withSearchSession - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "true", value = "Optionally enables or disables the creation of a search session for the view.") - - public Boolean getWithSearchSession() { - return withSearchSession; - } - - - public void setWithSearchSession(Boolean withSearchSession) { - this.withSearchSession = withSearchSession; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateStreamKeyRequestDataAttributes createStreamKeyRequestDataAttributes = (CreateStreamKeyRequestDataAttributes) o; - return Objects.equals(this.expiry, createStreamKeyRequestDataAttributes.expiry) && - Objects.equals(this.excludePrunedItems, createStreamKeyRequestDataAttributes.excludePrunedItems) && - Objects.equals(this.sceneViewStateSuppliedId, createStreamKeyRequestDataAttributes.sceneViewStateSuppliedId) && - Objects.equals(this.sceneViewStateId, createStreamKeyRequestDataAttributes.sceneViewStateId) && - Objects.equals(this.withSearchSession, createStreamKeyRequestDataAttributes.withSearchSession); - } - - @Override - public int hashCode() { - return Objects.hash(expiry, excludePrunedItems, sceneViewStateSuppliedId, sceneViewStateId, withSearchSession); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateStreamKeyRequestDataAttributes {\n"); - sb.append(" expiry: ").append(toIndentedString(expiry)).append("\n"); - sb.append(" excludePrunedItems: ").append(toIndentedString(excludePrunedItems)).append("\n"); - sb.append(" sceneViewStateSuppliedId: ").append(toIndentedString(sceneViewStateSuppliedId)).append("\n"); - sb.append(" sceneViewStateId: ").append(toIndentedString(sceneViewStateId)).append("\n"); - sb.append(" withSearchSession: ").append(toIndentedString(withSearchSession)).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/CreateTranslationInspectionRequest.java b/src/main/java/com/vertexvis/model/CreateTranslationInspectionRequest.java deleted file mode 100644 index 5a4eba2d..00000000 --- a/src/main/java/com/vertexvis/model/CreateTranslationInspectionRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateTranslationInspectionRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateTranslationInspectionRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateTranslationInspectionRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateTranslationInspectionRequestData data; - - public CreateTranslationInspectionRequest() { - } - - public CreateTranslationInspectionRequest data(CreateTranslationInspectionRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateTranslationInspectionRequestData getData() { - return data; - } - - - public void setData(CreateTranslationInspectionRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateTranslationInspectionRequest createTranslationInspectionRequest = (CreateTranslationInspectionRequest) o; - return Objects.equals(this.data, createTranslationInspectionRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateTranslationInspectionRequest {\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/CreateTranslationInspectionRequestData.java b/src/main/java/com/vertexvis/model/CreateTranslationInspectionRequestData.java deleted file mode 100644 index fa664e13..00000000 --- a/src/main/java/com/vertexvis/model/CreateTranslationInspectionRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.CreateGeometrySetRequestDataRelationships; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateTranslationInspectionRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateTranslationInspectionRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private CreateGeometrySetRequestDataRelationships relationships; - - public CreateTranslationInspectionRequestData() { - } - - public CreateTranslationInspectionRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "translation-inspection", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreateTranslationInspectionRequestData relationships(CreateGeometrySetRequestDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateGeometrySetRequestDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(CreateGeometrySetRequestDataRelationships relationships) { - this.relationships = relationships; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateTranslationInspectionRequestData createTranslationInspectionRequestData = (CreateTranslationInspectionRequestData) o; - return Objects.equals(this.type, createTranslationInspectionRequestData.type) && - Objects.equals(this.relationships, createTranslationInspectionRequestData.relationships); - } - - @Override - public int hashCode() { - return Objects.hash(type, relationships); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateTranslationInspectionRequestData {\n"); - sb.append(" type: ").append(toIndentedString(type)).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/CreateWebhookSubscriptionRequest.java b/src/main/java/com/vertexvis/model/CreateWebhookSubscriptionRequest.java deleted file mode 100644 index af56e4bb..00000000 --- a/src/main/java/com/vertexvis/model/CreateWebhookSubscriptionRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreateWebhookSubscriptionRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateWebhookSubscriptionRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateWebhookSubscriptionRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreateWebhookSubscriptionRequestData data; - - public CreateWebhookSubscriptionRequest() { - } - - public CreateWebhookSubscriptionRequest data(CreateWebhookSubscriptionRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateWebhookSubscriptionRequestData getData() { - return data; - } - - - public void setData(CreateWebhookSubscriptionRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateWebhookSubscriptionRequest createWebhookSubscriptionRequest = (CreateWebhookSubscriptionRequest) o; - return Objects.equals(this.data, createWebhookSubscriptionRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateWebhookSubscriptionRequest {\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/CreateWebhookSubscriptionRequestData.java b/src/main/java/com/vertexvis/model/CreateWebhookSubscriptionRequestData.java deleted file mode 100644 index 727d184f..00000000 --- a/src/main/java/com/vertexvis/model/CreateWebhookSubscriptionRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.CreateWebhookSubscriptionRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreateWebhookSubscriptionRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateWebhookSubscriptionRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreateWebhookSubscriptionRequestDataAttributes attributes; - - public CreateWebhookSubscriptionRequestData() { - } - - public CreateWebhookSubscriptionRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "webhook-subscription", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreateWebhookSubscriptionRequestData attributes(CreateWebhookSubscriptionRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateWebhookSubscriptionRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateWebhookSubscriptionRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateWebhookSubscriptionRequestData createWebhookSubscriptionRequestData = (CreateWebhookSubscriptionRequestData) o; - return Objects.equals(this.type, createWebhookSubscriptionRequestData.type) && - Objects.equals(this.attributes, createWebhookSubscriptionRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateWebhookSubscriptionRequestData {\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/CreateWebhookSubscriptionRequestDataAttributes.java b/src/main/java/com/vertexvis/model/CreateWebhookSubscriptionRequestDataAttributes.java deleted file mode 100644 index a15dfc84..00000000 --- a/src/main/java/com/vertexvis/model/CreateWebhookSubscriptionRequestDataAttributes.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * 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; - -/** - * CreateWebhookSubscriptionRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreateWebhookSubscriptionRequestDataAttributes { - public static final String SERIALIZED_NAME_URL = "url"; - @SerializedName(SERIALIZED_NAME_URL) - private String url; - - public static final String SERIALIZED_NAME_TOPICS = "topics"; - @SerializedName(SERIALIZED_NAME_TOPICS) - private List topics = new ArrayList<>(); - - public CreateWebhookSubscriptionRequestDataAttributes() { - } - - public CreateWebhookSubscriptionRequestDataAttributes url(String url) { - - this.url = url; - return this; - } - - /** - * Get url - * @return url - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "some-string", required = true, value = "") - - public String getUrl() { - return url; - } - - - public void setUrl(String url) { - this.url = url; - } - - - public CreateWebhookSubscriptionRequestDataAttributes topics(List topics) { - - this.topics = topics; - return this; - } - - public CreateWebhookSubscriptionRequestDataAttributes addTopicsItem(String topicsItem) { - this.topics.add(topicsItem); - return this; - } - - /** - * Get topics - * @return topics - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getTopics() { - return topics; - } - - - public void setTopics(List topics) { - this.topics = topics; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateWebhookSubscriptionRequestDataAttributes createWebhookSubscriptionRequestDataAttributes = (CreateWebhookSubscriptionRequestDataAttributes) o; - return Objects.equals(this.url, createWebhookSubscriptionRequestDataAttributes.url) && - Objects.equals(this.topics, createWebhookSubscriptionRequestDataAttributes.topics); - } - - @Override - public int hashCode() { - return Objects.hash(url, topics); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateWebhookSubscriptionRequestDataAttributes {\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" topics: ").append(toIndentedString(topics)).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/CreatedApplication.java b/src/main/java/com/vertexvis/model/CreatedApplication.java deleted file mode 100644 index e12509a4..00000000 --- a/src/main/java/com/vertexvis/model/CreatedApplication.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.CreatedApplicationData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CreatedApplication - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreatedApplication { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private CreatedApplicationData data; - - public CreatedApplication() { - } - - public CreatedApplication data(CreatedApplicationData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreatedApplicationData getData() { - return data; - } - - - public void setData(CreatedApplicationData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreatedApplication createdApplication = (CreatedApplication) o; - return Objects.equals(this.data, createdApplication.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreatedApplication {\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/CreatedApplicationData.java b/src/main/java/com/vertexvis/model/CreatedApplicationData.java deleted file mode 100644 index 9719583d..00000000 --- a/src/main/java/com/vertexvis/model/CreatedApplicationData.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * 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.CreatedApplicationDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.UUID; - -/** - * CreatedApplicationData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreatedApplicationData { - 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 CreatedApplicationDataAttributes attributes; - - public CreatedApplicationData() { - } - - public CreatedApplicationData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "application", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public CreatedApplicationData 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 CreatedApplicationData attributes(CreatedApplicationDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreatedApplicationDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreatedApplicationDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreatedApplicationData createdApplicationData = (CreatedApplicationData) o; - return Objects.equals(this.type, createdApplicationData.type) && - Objects.equals(this.id, createdApplicationData.id) && - Objects.equals(this.attributes, createdApplicationData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreatedApplicationData {\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/CreatedApplicationDataAttributes.java b/src/main/java/com/vertexvis/model/CreatedApplicationDataAttributes.java deleted file mode 100644 index 237cfa4f..00000000 --- a/src/main/java/com/vertexvis/model/CreatedApplicationDataAttributes.java +++ /dev/null @@ -1,258 +0,0 @@ -/* - * 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.time.OffsetDateTime; -import java.util.ArrayList; -import java.util.List; - -/** - * CreatedApplicationDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CreatedApplicationDataAttributes { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_CLIENT_ID = "clientId"; - @SerializedName(SERIALIZED_NAME_CLIENT_ID) - private String clientId; - - public static final String SERIALIZED_NAME_SECRET = "secret"; - @SerializedName(SERIALIZED_NAME_SECRET) - private String secret; - - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_SCOPES = "scopes"; - @SerializedName(SERIALIZED_NAME_SCOPES) - private List scopes = new ArrayList<>(); - - public static final String SERIALIZED_NAME_REDIRECT_URIS = "redirect_uris"; - @SerializedName(SERIALIZED_NAME_REDIRECT_URIS) - private List redirectUris = new ArrayList<>(); - - public CreatedApplicationDataAttributes() { - } - - public CreatedApplicationDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "some-string", required = true, value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public CreatedApplicationDataAttributes clientId(String clientId) { - - this.clientId = clientId; - return this; - } - - /** - * Get clientId - * @return clientId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "some-string", required = true, value = "") - - public String getClientId() { - return clientId; - } - - - public void setClientId(String clientId) { - this.clientId = clientId; - } - - - public CreatedApplicationDataAttributes secret(String secret) { - - this.secret = secret; - return this; - } - - /** - * Get secret - * @return secret - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "some-string", required = true, value = "") - - public String getSecret() { - return secret; - } - - - public void setSecret(String secret) { - this.secret = secret; - } - - - public CreatedApplicationDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - public CreatedApplicationDataAttributes scopes(List scopes) { - - this.scopes = scopes; - return this; - } - - public CreatedApplicationDataAttributes addScopesItem(String scopesItem) { - this.scopes.add(scopesItem); - return this; - } - - /** - * Get scopes - * @return scopes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getScopes() { - return scopes; - } - - - public void setScopes(List scopes) { - this.scopes = scopes; - } - - - public CreatedApplicationDataAttributes redirectUris(List redirectUris) { - - this.redirectUris = redirectUris; - return this; - } - - public CreatedApplicationDataAttributes addRedirectUrisItem(String redirectUrisItem) { - this.redirectUris.add(redirectUrisItem); - return this; - } - - /** - * Get redirectUris - * @return redirectUris - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getRedirectUris() { - return redirectUris; - } - - - public void setRedirectUris(List redirectUris) { - this.redirectUris = redirectUris; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreatedApplicationDataAttributes createdApplicationDataAttributes = (CreatedApplicationDataAttributes) o; - return Objects.equals(this.name, createdApplicationDataAttributes.name) && - Objects.equals(this.clientId, createdApplicationDataAttributes.clientId) && - Objects.equals(this.secret, createdApplicationDataAttributes.secret) && - Objects.equals(this.created, createdApplicationDataAttributes.created) && - Objects.equals(this.scopes, createdApplicationDataAttributes.scopes) && - Objects.equals(this.redirectUris, createdApplicationDataAttributes.redirectUris); - } - - @Override - public int hashCode() { - return Objects.hash(name, clientId, secret, created, scopes, redirectUris); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreatedApplicationDataAttributes {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n"); - sb.append(" secret: ").append(toIndentedString(secret)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" scopes: ").append(toIndentedString(scopes)).append("\n"); - sb.append(" redirectUris: ").append(toIndentedString(redirectUris)).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/CrossSectioning.java b/src/main/java/com/vertexvis/model/CrossSectioning.java deleted file mode 100644 index 08034a04..00000000 --- a/src/main/java/com/vertexvis/model/CrossSectioning.java +++ /dev/null @@ -1,108 +0,0 @@ -/* - * 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.SectionPlane; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * CrossSectioning - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CrossSectioning { - public static final String SERIALIZED_NAME_PLANES = "planes"; - @SerializedName(SERIALIZED_NAME_PLANES) - private List planes = new ArrayList<>(); - - public CrossSectioning() { - } - - public CrossSectioning planes(List planes) { - - this.planes = planes; - return this; - } - - public CrossSectioning addPlanesItem(SectionPlane planesItem) { - this.planes.add(planesItem); - return this; - } - - /** - * Get planes - * @return planes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getPlanes() { - return planes; - } - - - public void setPlanes(List planes) { - this.planes = planes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CrossSectioning crossSectioning = (CrossSectioning) o; - return Objects.equals(this.planes, crossSectioning.planes); - } - - @Override - public int hashCode() { - return Objects.hash(planes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CrossSectioning {\n"); - sb.append(" planes: ").append(toIndentedString(planes)).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/DeselectOperation.java b/src/main/java/com/vertexvis/model/DeselectOperation.java deleted file mode 100644 index d3209b3a..00000000 --- a/src/main/java/com/vertexvis/model/DeselectOperation.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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; - -/** - * DeselectOperation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class DeselectOperation { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - DESELECT("deselect"); - - 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 DeselectOperation() { - } - - public DeselectOperation type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "deselect", 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; - } - DeselectOperation deselectOperation = (DeselectOperation) o; - return Objects.equals(this.type, deselectOperation.type); - } - - @Override - public int hashCode() { - return Objects.hash(type); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class DeselectOperation {\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/Dimensions.java b/src/main/java/com/vertexvis/model/Dimensions.java deleted file mode 100644 index a55e2724..00000000 --- a/src/main/java/com/vertexvis/model/Dimensions.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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; - -/** - * An item's height and width. - */ -@ApiModel(description = "An item's height and width.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Dimensions { - public static final String SERIALIZED_NAME_HEIGHT = "height"; - @SerializedName(SERIALIZED_NAME_HEIGHT) - private Integer height; - - public static final String SERIALIZED_NAME_WIDTH = "width"; - @SerializedName(SERIALIZED_NAME_WIDTH) - private Integer width; - - public Dimensions() { - } - - public Dimensions height(Integer height) { - - this.height = height; - return this; - } - - /** - * Item's height. - * @return height - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "10", required = true, value = "Item's height.") - - public Integer getHeight() { - return height; - } - - - public void setHeight(Integer height) { - this.height = height; - } - - - public Dimensions width(Integer width) { - - this.width = width; - return this; - } - - /** - * Item's width. - * @return width - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "10", required = true, value = "Item's width.") - - public Integer getWidth() { - return width; - } - - - public void setWidth(Integer width) { - this.width = width; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Dimensions dimensions = (Dimensions) o; - return Objects.equals(this.height, dimensions.height) && - Objects.equals(this.width, dimensions.width); - } - - @Override - public int hashCode() { - return Objects.hash(height, width); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Dimensions {\n"); - sb.append(" height: ").append(toIndentedString(height)).append("\n"); - sb.append(" width: ").append(toIndentedString(width)).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/DownloadUrl.java b/src/main/java/com/vertexvis/model/DownloadUrl.java deleted file mode 100644 index fb4f6528..00000000 --- a/src/main/java/com/vertexvis/model/DownloadUrl.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.DownloadUrlData; -import com.vertexvis.model.Link; -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; - -/** - * DownloadUrl - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class DownloadUrl { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private DownloadUrlData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public DownloadUrl() { - } - - public DownloadUrl data(DownloadUrlData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public DownloadUrlData getData() { - return data; - } - - - public void setData(DownloadUrlData data) { - this.data = data; - } - - - public DownloadUrl links(Map links) { - - this.links = links; - return this; - } - - public DownloadUrl 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; - } - DownloadUrl downloadUrl = (DownloadUrl) o; - return Objects.equals(this.data, downloadUrl.data) && - Objects.equals(this.links, downloadUrl.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class DownloadUrl {\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/DownloadUrlData.java b/src/main/java/com/vertexvis/model/DownloadUrlData.java deleted file mode 100644 index 507f84ee..00000000 --- a/src/main/java/com/vertexvis/model/DownloadUrlData.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * 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.DownloadUrlDataAttributes; -import com.vertexvis.model.Link; -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; - -/** - * DownloadUrlData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class DownloadUrlData { - 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 DownloadUrlDataAttributes attributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public DownloadUrlData() { - } - - public DownloadUrlData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "download-url", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public DownloadUrlData 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 DownloadUrlData attributes(DownloadUrlDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public DownloadUrlDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(DownloadUrlDataAttributes attributes) { - this.attributes = attributes; - } - - - public DownloadUrlData links(Map links) { - - this.links = links; - return this; - } - - public DownloadUrlData 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; - } - DownloadUrlData downloadUrlData = (DownloadUrlData) o; - return Objects.equals(this.type, downloadUrlData.type) && - Objects.equals(this.id, downloadUrlData.id) && - Objects.equals(this.attributes, downloadUrlData.attributes) && - Objects.equals(this.links, downloadUrlData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class DownloadUrlData {\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(" 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/DownloadUrlDataAttributes.java b/src/main/java/com/vertexvis/model/DownloadUrlDataAttributes.java deleted file mode 100644 index 573b6d40..00000000 --- a/src/main/java/com/vertexvis/model/DownloadUrlDataAttributes.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * 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; - -/** - * DownloadUrlDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class DownloadUrlDataAttributes { - public static final String SERIALIZED_NAME_DOWNLOAD_URL = "downloadUrl"; - @SerializedName(SERIALIZED_NAME_DOWNLOAD_URL) - private String downloadUrl; - - public DownloadUrlDataAttributes() { - } - - public DownloadUrlDataAttributes downloadUrl(String downloadUrl) { - - this.downloadUrl = downloadUrl; - return this; - } - - /** - * Get downloadUrl - * @return downloadUrl - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "https://example.com/path/to/file.zip", required = true, value = "") - - public String getDownloadUrl() { - return downloadUrl; - } - - - public void setDownloadUrl(String downloadUrl) { - this.downloadUrl = downloadUrl; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - DownloadUrlDataAttributes downloadUrlDataAttributes = (DownloadUrlDataAttributes) o; - return Objects.equals(this.downloadUrl, downloadUrlDataAttributes.downloadUrl); - } - - @Override - public int hashCode() { - return Objects.hash(downloadUrl); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class DownloadUrlDataAttributes {\n"); - sb.append(" downloadUrl: ").append(toIndentedString(downloadUrl)).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/Export.java b/src/main/java/com/vertexvis/model/Export.java deleted file mode 100644 index c3495834..00000000 --- a/src/main/java/com/vertexvis/model/Export.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.ExportData; -import com.vertexvis.model.Link; -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; - -/** - * Export - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Export { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private ExportData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public Export() { - } - - public Export data(ExportData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public ExportData getData() { - return data; - } - - - public void setData(ExportData data) { - this.data = data; - } - - - public Export links(Map links) { - - this.links = links; - return this; - } - - public Export 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; - } - Export export = (Export) o; - return Objects.equals(this.data, export.data) && - Objects.equals(this.links, export.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Export {\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/ExportConfig.java b/src/main/java/com/vertexvis/model/ExportConfig.java deleted file mode 100644 index e823a495..00000000 --- a/src/main/java/com/vertexvis/model/ExportConfig.java +++ /dev/null @@ -1,103 +0,0 @@ -/* - * 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.CADExportConfig; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Describes the options for configuring a file export. - */ -@ApiModel(description = "Describes the options for configuring a file export.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ExportConfig { - public static final String SERIALIZED_NAME_FORMAT = "format"; - @SerializedName(SERIALIZED_NAME_FORMAT) - protected String format; - - public ExportConfig() { - this.format = this.getClass().getSimpleName(); - } - - public ExportConfig format(String format) { - - this.format = format; - return this; - } - - /** - * Get format - * @return format - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "jt", required = true, value = "") - - public String getFormat() { - return format; - } - - - public void setFormat(String format) { - this.format = format; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ExportConfig exportConfig = (ExportConfig) o; - return Objects.equals(this.format, exportConfig.format); - } - - @Override - public int hashCode() { - return Objects.hash(format); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ExportConfig {\n"); - sb.append(" format: ").append(toIndentedString(format)).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/ExportData.java b/src/main/java/com/vertexvis/model/ExportData.java deleted file mode 100644 index c6f55228..00000000 --- a/src/main/java/com/vertexvis/model/ExportData.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * 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.ExportDataAttributes; -import com.vertexvis.model.Link; -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; - -/** - * ExportData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ExportData { - 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 ExportDataAttributes attributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public ExportData() { - } - - public ExportData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "export", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public ExportData 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 ExportData attributes(ExportDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public ExportDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(ExportDataAttributes attributes) { - this.attributes = attributes; - } - - - public ExportData links(Map links) { - - this.links = links; - return this; - } - - public ExportData 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; - } - ExportData exportData = (ExportData) o; - return Objects.equals(this.type, exportData.type) && - Objects.equals(this.id, exportData.id) && - Objects.equals(this.attributes, exportData.attributes) && - Objects.equals(this.links, exportData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ExportData {\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(" 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/ExportDataAttributes.java b/src/main/java/com/vertexvis/model/ExportDataAttributes.java deleted file mode 100644 index 73d81c0d..00000000 --- a/src/main/java/com/vertexvis/model/ExportDataAttributes.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.time.OffsetDateTime; - -/** - * ExportDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ExportDataAttributes { - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_DOWNLOAD_URL = "downloadUrl"; - @SerializedName(SERIALIZED_NAME_DOWNLOAD_URL) - private String downloadUrl; - - public ExportDataAttributes() { - } - - public ExportDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - public ExportDataAttributes downloadUrl(String downloadUrl) { - - this.downloadUrl = downloadUrl; - return this; - } - - /** - * Get downloadUrl - * @return downloadUrl - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "https://example.com/path/to/file.jt", required = true, value = "") - - public String getDownloadUrl() { - return downloadUrl; - } - - - public void setDownloadUrl(String downloadUrl) { - this.downloadUrl = downloadUrl; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ExportDataAttributes exportDataAttributes = (ExportDataAttributes) o; - return Objects.equals(this.created, exportDataAttributes.created) && - Objects.equals(this.downloadUrl, exportDataAttributes.downloadUrl); - } - - @Override - public int hashCode() { - return Objects.hash(created, downloadUrl); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ExportDataAttributes {\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" downloadUrl: ").append(toIndentedString(downloadUrl)).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/ExportRelationship.java b/src/main/java/com/vertexvis/model/ExportRelationship.java deleted file mode 100644 index 869f7fe7..00000000 --- a/src/main/java/com/vertexvis/model/ExportRelationship.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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.ExportRelationshipData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Relationship to an `export`. - */ -@ApiModel(description = "Relationship to an `export`.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ExportRelationship { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private ExportRelationshipData data; - - public ExportRelationship() { - } - - public ExportRelationship data(ExportRelationshipData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public ExportRelationshipData getData() { - return data; - } - - - public void setData(ExportRelationshipData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ExportRelationship exportRelationship = (ExportRelationship) o; - return Objects.equals(this.data, exportRelationship.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ExportRelationship {\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/ExportRelationshipData.java b/src/main/java/com/vertexvis/model/ExportRelationshipData.java deleted file mode 100644 index d9eef842..00000000 --- a/src/main/java/com/vertexvis/model/ExportRelationshipData.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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; - -/** - * ExportRelationshipData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ExportRelationshipData { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - SCENE("scene"); - - 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 ExportRelationshipData() { - } - - public ExportRelationshipData type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public ExportRelationshipData 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; - } - ExportRelationshipData exportRelationshipData = (ExportRelationshipData) o; - return Objects.equals(this.type, exportRelationshipData.type) && - Objects.equals(this.id, exportRelationshipData.id); - } - - @Override - public int hashCode() { - return Objects.hash(type, id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ExportRelationshipData {\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/ExportStateRelationship.java b/src/main/java/com/vertexvis/model/ExportStateRelationship.java deleted file mode 100644 index b8e6f32a..00000000 --- a/src/main/java/com/vertexvis/model/ExportStateRelationship.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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.ExportStateRelationshipData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Relationship to an `export`. - */ -@ApiModel(description = "Relationship to an `export`.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ExportStateRelationship { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private ExportStateRelationshipData data; - - public ExportStateRelationship() { - } - - public ExportStateRelationship data(ExportStateRelationshipData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public ExportStateRelationshipData getData() { - return data; - } - - - public void setData(ExportStateRelationshipData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ExportStateRelationship exportStateRelationship = (ExportStateRelationship) o; - return Objects.equals(this.data, exportStateRelationship.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ExportStateRelationship {\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/ExportStateRelationshipData.java b/src/main/java/com/vertexvis/model/ExportStateRelationshipData.java deleted file mode 100644 index 3ae7a5f3..00000000 --- a/src/main/java/com/vertexvis/model/ExportStateRelationshipData.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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; - -/** - * ExportStateRelationshipData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ExportStateRelationshipData { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - SCENE_VIEW_STATE("scene-view-state"); - - 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 ExportStateRelationshipData() { - } - - public ExportStateRelationshipData type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-view-state", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public ExportStateRelationshipData 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; - } - ExportStateRelationshipData exportStateRelationshipData = (ExportStateRelationshipData) o; - return Objects.equals(this.type, exportStateRelationshipData.type) && - Objects.equals(this.id, exportStateRelationshipData.id); - } - - @Override - public int hashCode() { - return Objects.hash(type, id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ExportStateRelationshipData {\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/Failure.java b/src/main/java/com/vertexvis/model/Failure.java deleted file mode 100644 index a217cef3..00000000 --- a/src/main/java/com/vertexvis/model/Failure.java +++ /dev/null @@ -1,186 +0,0 @@ -/* - * 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.ApiError; -import com.vertexvis.model.Link; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.HashMap; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -/** - * Failure - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Failure { - public static final String SERIALIZED_NAME_ERRORS = "errors"; - @SerializedName(SERIALIZED_NAME_ERRORS) - private Set errors = new LinkedHashSet<>(); - - public static final String SERIALIZED_NAME_META = "meta"; - @SerializedName(SERIALIZED_NAME_META) - private Map meta = null; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public Failure() { - } - - public Failure errors(Set errors) { - - this.errors = errors; - return this; - } - - public Failure addErrorsItem(ApiError errorsItem) { - this.errors.add(errorsItem); - return this; - } - - /** - * Get errors - * @return errors - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Set getErrors() { - return errors; - } - - - public void setErrors(Set errors) { - this.errors = errors; - } - - - public Failure meta(Map meta) { - - this.meta = meta; - return this; - } - - public Failure putMetaItem(String key, String metaItem) { - if (this.meta == null) { - this.meta = new HashMap<>(); - } - this.meta.put(key, metaItem); - return this; - } - - /** - * Get meta - * @return meta - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Map getMeta() { - return meta; - } - - - public void setMeta(Map meta) { - this.meta = meta; - } - - - public Failure links(Map links) { - - this.links = links; - return this; - } - - public Failure 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; - } - Failure failure = (Failure) o; - return Objects.equals(this.errors, failure.errors) && - Objects.equals(this.meta, failure.meta) && - Objects.equals(this.links, failure.links); - } - - @Override - public int hashCode() { - return Objects.hash(errors, meta, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Failure {\n"); - sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); - sb.append(" meta: ").append(toIndentedString(meta)).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/FeatureLines.java b/src/main/java/com/vertexvis/model/FeatureLines.java deleted file mode 100644 index 80d38d1f..00000000 --- a/src/main/java/com/vertexvis/model/FeatureLines.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * 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.Color3; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -/** - * FeatureLines - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FeatureLines { - public static final String SERIALIZED_NAME_COLOR = "color"; - @SerializedName(SERIALIZED_NAME_COLOR) - private Color3 color; - - public static final String SERIALIZED_NAME_WIDTH = "width"; - @SerializedName(SERIALIZED_NAME_WIDTH) - private BigDecimal width; - - public FeatureLines() { - } - - public FeatureLines color(Color3 color) { - - this.color = color; - return this; - } - - /** - * Get color - * @return color - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Color3 getColor() { - return color; - } - - - public void setColor(Color3 color) { - this.color = color; - } - - - public FeatureLines width(BigDecimal width) { - - this.width = width; - return this; - } - - /** - * Get width - * @return width - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public BigDecimal getWidth() { - return width; - } - - - public void setWidth(BigDecimal width) { - this.width = width; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - FeatureLines featureLines = (FeatureLines) o; - return Objects.equals(this.color, featureLines.color) && - Objects.equals(this.width, featureLines.width); - } - - @Override - public int hashCode() { - return Objects.hash(color, width); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FeatureLines {\n"); - sb.append(" color: ").append(toIndentedString(color)).append("\n"); - sb.append(" width: ").append(toIndentedString(width)).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/FileCollectionList.java b/src/main/java/com/vertexvis/model/FileCollectionList.java deleted file mode 100644 index 0f39a455..00000000 --- a/src/main/java/com/vertexvis/model/FileCollectionList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.FileCollectionMetadataData; -import com.vertexvis.model.Link; -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; - -/** - * FileCollectionList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FileCollectionList { - 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 FileCollectionList() { - } - - public FileCollectionList data(List data) { - - this.data = data; - return this; - } - - public FileCollectionList addDataItem(FileCollectionMetadataData 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 FileCollectionList links(Map links) { - - this.links = links; - return this; - } - - public FileCollectionList 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; - } - FileCollectionList fileCollectionList = (FileCollectionList) o; - return Objects.equals(this.data, fileCollectionList.data) && - Objects.equals(this.links, fileCollectionList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FileCollectionList {\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/FileCollectionMetadata.java b/src/main/java/com/vertexvis/model/FileCollectionMetadata.java deleted file mode 100644 index 55778d67..00000000 --- a/src/main/java/com/vertexvis/model/FileCollectionMetadata.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.FileCollectionMetadataData; -import com.vertexvis.model.Link; -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; - -/** - * FileCollectionMetadata - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FileCollectionMetadata { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private FileCollectionMetadataData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public FileCollectionMetadata() { - } - - public FileCollectionMetadata data(FileCollectionMetadataData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public FileCollectionMetadataData getData() { - return data; - } - - - public void setData(FileCollectionMetadataData data) { - this.data = data; - } - - - public FileCollectionMetadata links(Map links) { - - this.links = links; - return this; - } - - public FileCollectionMetadata 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; - } - FileCollectionMetadata fileCollectionMetadata = (FileCollectionMetadata) o; - return Objects.equals(this.data, fileCollectionMetadata.data) && - Objects.equals(this.links, fileCollectionMetadata.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FileCollectionMetadata {\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/FileCollectionMetadataData.java b/src/main/java/com/vertexvis/model/FileCollectionMetadataData.java deleted file mode 100644 index 4292001e..00000000 --- a/src/main/java/com/vertexvis/model/FileCollectionMetadataData.java +++ /dev/null @@ -1,246 +0,0 @@ -/* - * 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.FileCollectionMetadataDataAttributes; -import com.vertexvis.model.Link; -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; - -/** - * FileCollectionMetadataData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FileCollectionMetadataData { - /** - * Gets or Sets type - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - FILE_COLLECTION("file-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_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private UUID id; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private FileCollectionMetadataDataAttributes attributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public FileCollectionMetadataData() { - } - - public FileCollectionMetadataData type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "file-collection", required = true, value = "") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public FileCollectionMetadataData 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 FileCollectionMetadataData attributes(FileCollectionMetadataDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public FileCollectionMetadataDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(FileCollectionMetadataDataAttributes attributes) { - this.attributes = attributes; - } - - - public FileCollectionMetadataData links(Map links) { - - this.links = links; - return this; - } - - public FileCollectionMetadataData 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; - } - FileCollectionMetadataData fileCollectionMetadataData = (FileCollectionMetadataData) o; - return Objects.equals(this.type, fileCollectionMetadataData.type) && - Objects.equals(this.id, fileCollectionMetadataData.id) && - Objects.equals(this.attributes, fileCollectionMetadataData.attributes) && - Objects.equals(this.links, fileCollectionMetadataData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FileCollectionMetadataData {\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(" 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/FileCollectionMetadataDataAttributes.java b/src/main/java/com/vertexvis/model/FileCollectionMetadataDataAttributes.java deleted file mode 100644 index 4772592a..00000000 --- a/src/main/java/com/vertexvis/model/FileCollectionMetadataDataAttributes.java +++ /dev/null @@ -1,199 +0,0 @@ -/* - * 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.time.OffsetDateTime; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * FileCollectionMetadataDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FileCollectionMetadataDataAttributes { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public FileCollectionMetadataDataAttributes() { - } - - public FileCollectionMetadataDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public FileCollectionMetadataDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * ID provided for correlation with external systems, e.g. a PLM system. - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "GRP12345", value = "ID provided for correlation with external systems, e.g. a PLM system.") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - public FileCollectionMetadataDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - public FileCollectionMetadataDataAttributes metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public FileCollectionMetadataDataAttributes putMetadataItem(String key, String metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap<>(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - FileCollectionMetadataDataAttributes fileCollectionMetadataDataAttributes = (FileCollectionMetadataDataAttributes) o; - return Objects.equals(this.name, fileCollectionMetadataDataAttributes.name) && - Objects.equals(this.suppliedId, fileCollectionMetadataDataAttributes.suppliedId) && - Objects.equals(this.created, fileCollectionMetadataDataAttributes.created) && - Objects.equals(this.metadata, fileCollectionMetadataDataAttributes.metadata); - } - - @Override - public int hashCode() { - return Objects.hash(name, suppliedId, created, metadata); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FileCollectionMetadataDataAttributes {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).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/FileIdList.java b/src/main/java/com/vertexvis/model/FileIdList.java deleted file mode 100644 index f6012730..00000000 --- a/src/main/java/com/vertexvis/model/FileIdList.java +++ /dev/null @@ -1,108 +0,0 @@ -/* - * 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; -import java.util.UUID; - -/** - * FileIdList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FileIdList { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private List data = new ArrayList<>(); - - public FileIdList() { - } - - public FileIdList data(List data) { - - this.data = data; - return this; - } - - public FileIdList addDataItem(UUID 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; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - FileIdList fileIdList = (FileIdList) o; - return Objects.equals(this.data, fileIdList.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FileIdList {\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/FileList.java b/src/main/java/com/vertexvis/model/FileList.java deleted file mode 100644 index 32da1749..00000000 --- a/src/main/java/com/vertexvis/model/FileList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.FileMetadataData; -import com.vertexvis.model.Link; -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; - -/** - * FileList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FileList { - 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 FileList() { - } - - public FileList data(List data) { - - this.data = data; - return this; - } - - public FileList addDataItem(FileMetadataData 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 FileList links(Map links) { - - this.links = links; - return this; - } - - public FileList 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; - } - FileList fileList = (FileList) o; - return Objects.equals(this.data, fileList.data) && - Objects.equals(this.links, fileList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FileList {\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/FileMetadata.java b/src/main/java/com/vertexvis/model/FileMetadata.java deleted file mode 100644 index ddf1faa8..00000000 --- a/src/main/java/com/vertexvis/model/FileMetadata.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.FileMetadataData; -import com.vertexvis.model.Link; -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; - -/** - * FileMetadata - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FileMetadata { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private FileMetadataData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public FileMetadata() { - } - - public FileMetadata data(FileMetadataData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public FileMetadataData getData() { - return data; - } - - - public void setData(FileMetadataData data) { - this.data = data; - } - - - public FileMetadata links(Map links) { - - this.links = links; - return this; - } - - public FileMetadata 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; - } - FileMetadata fileMetadata = (FileMetadata) o; - return Objects.equals(this.data, fileMetadata.data) && - Objects.equals(this.links, fileMetadata.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FileMetadata {\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/FileMetadataData.java b/src/main/java/com/vertexvis/model/FileMetadataData.java deleted file mode 100644 index 23cc1380..00000000 --- a/src/main/java/com/vertexvis/model/FileMetadataData.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * 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.FileMetadataDataAttributes; -import com.vertexvis.model.Link; -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; - -/** - * FileMetadataData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FileMetadataData { - 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 FileMetadataDataAttributes attributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public FileMetadataData() { - } - - public FileMetadataData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "file", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public FileMetadataData 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 FileMetadataData attributes(FileMetadataDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public FileMetadataDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(FileMetadataDataAttributes attributes) { - this.attributes = attributes; - } - - - public FileMetadataData links(Map links) { - - this.links = links; - return this; - } - - public FileMetadataData 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; - } - FileMetadataData fileMetadataData = (FileMetadataData) o; - return Objects.equals(this.type, fileMetadataData.type) && - Objects.equals(this.id, fileMetadataData.id) && - Objects.equals(this.attributes, fileMetadataData.attributes) && - Objects.equals(this.links, fileMetadataData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FileMetadataData {\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(" 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/FileMetadataDataAttributes.java b/src/main/java/com/vertexvis/model/FileMetadataDataAttributes.java deleted file mode 100644 index 5e104f86..00000000 --- a/src/main/java/com/vertexvis/model/FileMetadataDataAttributes.java +++ /dev/null @@ -1,315 +0,0 @@ -/* - * 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.time.OffsetDateTime; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * FileMetadataDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FileMetadataDataAttributes { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private String status; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public static final String SERIALIZED_NAME_ROOT_FILE_NAME = "rootFileName"; - @SerializedName(SERIALIZED_NAME_ROOT_FILE_NAME) - private String rootFileName; - - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_UPLOADED = "uploaded"; - @SerializedName(SERIALIZED_NAME_UPLOADED) - private OffsetDateTime uploaded; - - public static final String SERIALIZED_NAME_SIZE = "size"; - @SerializedName(SERIALIZED_NAME_SIZE) - private Long size; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public FileMetadataDataAttributes() { - } - - public FileMetadataDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "some-string", required = true, value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public FileMetadataDataAttributes status(String status) { - - this.status = status; - return this; - } - - /** - * Get status - * @return status - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "complete", required = true, value = "") - - public String getStatus() { - return status; - } - - - public void setStatus(String status) { - this.status = status; - } - - - public FileMetadataDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * Get suppliedId - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - public FileMetadataDataAttributes rootFileName(String rootFileName) { - - this.rootFileName = rootFileName; - return this; - } - - /** - * Get rootFileName - * @return rootFileName - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getRootFileName() { - return rootFileName; - } - - - public void setRootFileName(String rootFileName) { - this.rootFileName = rootFileName; - } - - - public FileMetadataDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - public FileMetadataDataAttributes uploaded(OffsetDateTime uploaded) { - - this.uploaded = uploaded; - return this; - } - - /** - * Get uploaded - * @return uploaded - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2020-01-01T12:00Z", value = "") - - public OffsetDateTime getUploaded() { - return uploaded; - } - - - public void setUploaded(OffsetDateTime uploaded) { - this.uploaded = uploaded; - } - - - public FileMetadataDataAttributes size(Long size) { - - this.size = size; - return this; - } - - /** - * Get size - * @return size - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Long getSize() { - return size; - } - - - public void setSize(Long size) { - this.size = size; - } - - - public FileMetadataDataAttributes metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public FileMetadataDataAttributes putMetadataItem(String key, String metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap<>(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - FileMetadataDataAttributes fileMetadataDataAttributes = (FileMetadataDataAttributes) o; - return Objects.equals(this.name, fileMetadataDataAttributes.name) && - Objects.equals(this.status, fileMetadataDataAttributes.status) && - Objects.equals(this.suppliedId, fileMetadataDataAttributes.suppliedId) && - Objects.equals(this.rootFileName, fileMetadataDataAttributes.rootFileName) && - Objects.equals(this.created, fileMetadataDataAttributes.created) && - Objects.equals(this.uploaded, fileMetadataDataAttributes.uploaded) && - Objects.equals(this.size, fileMetadataDataAttributes.size) && - Objects.equals(this.metadata, fileMetadataDataAttributes.metadata); - } - - @Override - public int hashCode() { - return Objects.hash(name, status, suppliedId, rootFileName, created, uploaded, size, metadata); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FileMetadataDataAttributes {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).append("\n"); - sb.append(" rootFileName: ").append(toIndentedString(rootFileName)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" uploaded: ").append(toIndentedString(uploaded)).append("\n"); - sb.append(" size: ").append(toIndentedString(size)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).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/FileRelationship.java b/src/main/java/com/vertexvis/model/FileRelationship.java deleted file mode 100644 index 57a3c9be..00000000 --- a/src/main/java/com/vertexvis/model/FileRelationship.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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.FileRelationshipData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Relationship to a `file`. - */ -@ApiModel(description = "Relationship to a `file`.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FileRelationship { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private FileRelationshipData data; - - public FileRelationship() { - } - - public FileRelationship data(FileRelationshipData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public FileRelationshipData getData() { - return data; - } - - - public void setData(FileRelationshipData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - FileRelationship fileRelationship = (FileRelationship) o; - return Objects.equals(this.data, fileRelationship.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FileRelationship {\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/FileRelationshipData.java b/src/main/java/com/vertexvis/model/FileRelationshipData.java deleted file mode 100644 index fb510888..00000000 --- a/src/main/java/com/vertexvis/model/FileRelationshipData.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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; - -/** - * FileRelationshipData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FileRelationshipData { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - FILE("file"); - - 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 FileRelationshipData() { - } - - public FileRelationshipData type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "file", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public FileRelationshipData 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; - } - FileRelationshipData fileRelationshipData = (FileRelationshipData) o; - return Objects.equals(this.type, fileRelationshipData.type) && - Objects.equals(this.id, fileRelationshipData.id); - } - - @Override - public int hashCode() { - return Objects.hash(type, id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FileRelationshipData {\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/FilterExpression.java b/src/main/java/com/vertexvis/model/FilterExpression.java deleted file mode 100644 index 0d0ed539..00000000 --- a/src/main/java/com/vertexvis/model/FilterExpression.java +++ /dev/null @@ -1,246 +0,0 @@ -/* - * 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; - -/** - * Describes how an attribute should be filtered. - */ -@ApiModel(description = "Describes how an attribute should be filtered.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FilterExpression { - public static final String SERIALIZED_NAME_EQ = "eq"; - @SerializedName(SERIALIZED_NAME_EQ) - private String eq; - - public static final String SERIALIZED_NAME_NEQ = "neq"; - @SerializedName(SERIALIZED_NAME_NEQ) - private String neq; - - public static final String SERIALIZED_NAME_GT = "gt"; - @SerializedName(SERIALIZED_NAME_GT) - private String gt; - - public static final String SERIALIZED_NAME_GTE = "gte"; - @SerializedName(SERIALIZED_NAME_GTE) - private String gte; - - public static final String SERIALIZED_NAME_LT = "lt"; - @SerializedName(SERIALIZED_NAME_LT) - private String lt; - - public static final String SERIALIZED_NAME_LTE = "lte"; - @SerializedName(SERIALIZED_NAME_LTE) - private String lte; - - public FilterExpression() { - } - - public FilterExpression eq(String eq) { - - this.eq = eq; - return this; - } - - /** - * A value of a filter. - * @return eq - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "A value of a filter.") - - public String getEq() { - return eq; - } - - - public void setEq(String eq) { - this.eq = eq; - } - - - public FilterExpression neq(String neq) { - - this.neq = neq; - return this; - } - - /** - * A value of a filter. - * @return neq - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "A value of a filter.") - - public String getNeq() { - return neq; - } - - - public void setNeq(String neq) { - this.neq = neq; - } - - - public FilterExpression gt(String gt) { - - this.gt = gt; - return this; - } - - /** - * A value of a filter. - * @return gt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "A value of a filter.") - - public String getGt() { - return gt; - } - - - public void setGt(String gt) { - this.gt = gt; - } - - - public FilterExpression gte(String gte) { - - this.gte = gte; - return this; - } - - /** - * A value of a filter. - * @return gte - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "A value of a filter.") - - public String getGte() { - return gte; - } - - - public void setGte(String gte) { - this.gte = gte; - } - - - public FilterExpression lt(String lt) { - - this.lt = lt; - return this; - } - - /** - * A value of a filter. - * @return lt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "A value of a filter.") - - public String getLt() { - return lt; - } - - - public void setLt(String lt) { - this.lt = lt; - } - - - public FilterExpression lte(String lte) { - - this.lte = lte; - return this; - } - - /** - * A value of a filter. - * @return lte - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "A value of a filter.") - - public String getLte() { - return lte; - } - - - public void setLte(String lte) { - this.lte = lte; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - FilterExpression filterExpression = (FilterExpression) o; - return Objects.equals(this.eq, filterExpression.eq) && - Objects.equals(this.neq, filterExpression.neq) && - Objects.equals(this.gt, filterExpression.gt) && - Objects.equals(this.gte, filterExpression.gte) && - Objects.equals(this.lt, filterExpression.lt) && - Objects.equals(this.lte, filterExpression.lte); - } - - @Override - public int hashCode() { - return Objects.hash(eq, neq, gt, gte, lt, lte); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FilterExpression {\n"); - sb.append(" eq: ").append(toIndentedString(eq)).append("\n"); - sb.append(" neq: ").append(toIndentedString(neq)).append("\n"); - sb.append(" gt: ").append(toIndentedString(gt)).append("\n"); - 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("}"); - 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/GeometrySet.java b/src/main/java/com/vertexvis/model/GeometrySet.java deleted file mode 100644 index cb77692d..00000000 --- a/src/main/java/com/vertexvis/model/GeometrySet.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.GeometrySetData; -import com.vertexvis.model.Link; -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; - -/** - * GeometrySet - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class GeometrySet { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private GeometrySetData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public GeometrySet() { - } - - public GeometrySet data(GeometrySetData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public GeometrySetData getData() { - return data; - } - - - public void setData(GeometrySetData data) { - this.data = data; - } - - - public GeometrySet links(Map links) { - - this.links = links; - return this; - } - - public GeometrySet 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; - } - GeometrySet geometrySet = (GeometrySet) o; - return Objects.equals(this.data, geometrySet.data) && - Objects.equals(this.links, geometrySet.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GeometrySet {\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/GeometrySetData.java b/src/main/java/com/vertexvis/model/GeometrySetData.java deleted file mode 100644 index e02c7dd0..00000000 --- a/src/main/java/com/vertexvis/model/GeometrySetData.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * 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.HitDataAttributes; -import com.vertexvis.model.Link; -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; - -/** - * GeometrySetData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class GeometrySetData { - 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 HitDataAttributes attributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public GeometrySetData() { - } - - public GeometrySetData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "geometry-set", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public GeometrySetData 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 GeometrySetData attributes(HitDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public HitDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(HitDataAttributes attributes) { - this.attributes = attributes; - } - - - public GeometrySetData links(Map links) { - - this.links = links; - return this; - } - - public GeometrySetData 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; - } - GeometrySetData geometrySetData = (GeometrySetData) o; - return Objects.equals(this.type, geometrySetData.type) && - Objects.equals(this.id, geometrySetData.id) && - Objects.equals(this.attributes, geometrySetData.attributes) && - Objects.equals(this.links, geometrySetData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GeometrySetData {\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(" 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/GeometrySetList.java b/src/main/java/com/vertexvis/model/GeometrySetList.java deleted file mode 100644 index 6c4bf10a..00000000 --- a/src/main/java/com/vertexvis/model/GeometrySetList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.GeometrySetData; -import com.vertexvis.model.Link; -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; - -/** - * GeometrySetList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class GeometrySetList { - 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 GeometrySetList() { - } - - public GeometrySetList data(List data) { - - this.data = data; - return this; - } - - public GeometrySetList addDataItem(GeometrySetData 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 GeometrySetList links(Map links) { - - this.links = links; - return this; - } - - public GeometrySetList 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; - } - GeometrySetList geometrySetList = (GeometrySetList) o; - return Objects.equals(this.data, geometrySetList.data) && - Objects.equals(this.links, geometrySetList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GeometrySetList {\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/GeometrySetRelationship.java b/src/main/java/com/vertexvis/model/GeometrySetRelationship.java deleted file mode 100644 index 58d5f18f..00000000 --- a/src/main/java/com/vertexvis/model/GeometrySetRelationship.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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.GeometrySetRelationshipData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Relationship to a `geometry-set`. - */ -@ApiModel(description = "Relationship to a `geometry-set`.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class GeometrySetRelationship { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private GeometrySetRelationshipData data; - - public GeometrySetRelationship() { - } - - public GeometrySetRelationship data(GeometrySetRelationshipData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public GeometrySetRelationshipData getData() { - return data; - } - - - public void setData(GeometrySetRelationshipData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - GeometrySetRelationship geometrySetRelationship = (GeometrySetRelationship) o; - return Objects.equals(this.data, geometrySetRelationship.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GeometrySetRelationship {\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/GeometrySetRelationshipData.java b/src/main/java/com/vertexvis/model/GeometrySetRelationshipData.java deleted file mode 100644 index e16b45ba..00000000 --- a/src/main/java/com/vertexvis/model/GeometrySetRelationshipData.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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; - -/** - * GeometrySetRelationshipData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class GeometrySetRelationshipData { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - GEOMETRY_SET("geometry-set"); - - 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 GeometrySetRelationshipData() { - } - - public GeometrySetRelationshipData type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "geometry-set", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public GeometrySetRelationshipData 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; - } - GeometrySetRelationshipData geometrySetRelationshipData = (GeometrySetRelationshipData) o; - return Objects.equals(this.type, geometrySetRelationshipData.type) && - Objects.equals(this.id, geometrySetRelationshipData.id); - } - - @Override - public int hashCode() { - return Objects.hash(type, id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GeometrySetRelationshipData {\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/Hit.java b/src/main/java/com/vertexvis/model/Hit.java deleted file mode 100644 index c744814a..00000000 --- a/src/main/java/com/vertexvis/model/Hit.java +++ /dev/null @@ -1,181 +0,0 @@ -/* - * 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.HitData; -import com.vertexvis.model.HitResultData; -import com.vertexvis.model.Link; -import com.vertexvis.model.OneOfHitResultDataSceneItemDataPartRevisionData; -import com.vertexvis.model.PartRevisionData; -import com.vertexvis.model.SceneItemData; -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; - -/** - * Hit - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Hit { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private HitData data; - - public static final String SERIALIZED_NAME_INCLUDED = "included"; - @SerializedName(SERIALIZED_NAME_INCLUDED) - private List included = new ArrayList<>(); - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public Hit() { - } - - public Hit data(HitData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public HitData getData() { - return data; - } - - - public void setData(HitData data) { - this.data = data; - } - - - public Hit included(List included) { - - this.included = included; - return this; - } - - public Hit addIncludedItem(OneOfHitResultDataSceneItemDataPartRevisionData includedItem) { - this.included.add(includedItem); - return this; - } - - /** - * Get included - * @return included - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getIncluded() { - return included; - } - - - public void setIncluded(List included) { - this.included = included; - } - - - public Hit links(Map links) { - - this.links = links; - return this; - } - - public Hit 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; - } - Hit hit = (Hit) o; - return Objects.equals(this.data, hit.data) && - Objects.equals(this.included, hit.included) && - Objects.equals(this.links, hit.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, included, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Hit {\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" included: ").append(toIndentedString(included)).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/HitData.java b/src/main/java/com/vertexvis/model/HitData.java deleted file mode 100644 index 28a389ab..00000000 --- a/src/main/java/com/vertexvis/model/HitData.java +++ /dev/null @@ -1,190 +0,0 @@ -/* - * 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.HitDataAttributes; -import com.vertexvis.model.HitDataRelationships; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.UUID; - -/** - * HitData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class HitData { - 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 HitDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private HitDataRelationships relationships; - - public HitData() { - } - - public HitData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "hit", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public HitData 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 HitData attributes(HitDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public HitDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(HitDataAttributes attributes) { - this.attributes = attributes; - } - - - public HitData relationships(HitDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public HitDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(HitDataRelationships relationships) { - this.relationships = relationships; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - HitData hitData = (HitData) o; - return Objects.equals(this.type, hitData.type) && - Objects.equals(this.id, hitData.id) && - Objects.equals(this.attributes, hitData.attributes) && - Objects.equals(this.relationships, hitData.relationships); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, relationships); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class HitData {\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("}"); - 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/HitDataAttributes.java b/src/main/java/com/vertexvis/model/HitDataAttributes.java deleted file mode 100644 index 0117e413..00000000 --- a/src/main/java/com/vertexvis/model/HitDataAttributes.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.time.OffsetDateTime; - -/** - * HitDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class HitDataAttributes { - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public HitDataAttributes() { - } - - public HitDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - HitDataAttributes hitDataAttributes = (HitDataAttributes) o; - return Objects.equals(this.created, hitDataAttributes.created); - } - - @Override - public int hashCode() { - return Objects.hash(created); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class HitDataAttributes {\n"); - sb.append(" created: ").append(toIndentedString(created)).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/HitDataRelationships.java b/src/main/java/com/vertexvis/model/HitDataRelationships.java deleted file mode 100644 index 3ea3253c..00000000 --- a/src/main/java/com/vertexvis/model/HitDataRelationships.java +++ /dev/null @@ -1,108 +0,0 @@ -/* - * 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.RelationshipData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * HitDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class HitDataRelationships { - public static final String SERIALIZED_NAME_RESULTS = "results"; - @SerializedName(SERIALIZED_NAME_RESULTS) - private List results = new ArrayList<>(); - - public HitDataRelationships() { - } - - public HitDataRelationships results(List results) { - - this.results = results; - return this; - } - - public HitDataRelationships addResultsItem(RelationshipData resultsItem) { - this.results.add(resultsItem); - return this; - } - - /** - * Get results - * @return results - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getResults() { - return results; - } - - - public void setResults(List results) { - this.results = results; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - HitDataRelationships hitDataRelationships = (HitDataRelationships) o; - return Objects.equals(this.results, hitDataRelationships.results); - } - - @Override - public int hashCode() { - return Objects.hash(results); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class HitDataRelationships {\n"); - sb.append(" results: ").append(toIndentedString(results)).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/HitResultData.java b/src/main/java/com/vertexvis/model/HitResultData.java deleted file mode 100644 index 7f7e686a..00000000 --- a/src/main/java/com/vertexvis/model/HitResultData.java +++ /dev/null @@ -1,190 +0,0 @@ -/* - * 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.HitResultDataAttributes; -import com.vertexvis.model.HitResultDataRelationships; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.UUID; - -/** - * HitResultData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class HitResultData { - 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 HitResultDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private HitResultDataRelationships relationships; - - public HitResultData() { - } - - public HitResultData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "hit", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public HitResultData 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 HitResultData attributes(HitResultDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public HitResultDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(HitResultDataAttributes attributes) { - this.attributes = attributes; - } - - - public HitResultData relationships(HitResultDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public HitResultDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(HitResultDataRelationships relationships) { - this.relationships = relationships; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - HitResultData hitResultData = (HitResultData) o; - return Objects.equals(this.type, hitResultData.type) && - Objects.equals(this.id, hitResultData.id) && - Objects.equals(this.attributes, hitResultData.attributes) && - Objects.equals(this.relationships, hitResultData.relationships); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, relationships); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class HitResultData {\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("}"); - 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/HitResultDataAttributes.java b/src/main/java/com/vertexvis/model/HitResultDataAttributes.java deleted file mode 100644 index 5b2593c6..00000000 --- a/src/main/java/com/vertexvis/model/HitResultDataAttributes.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.Vector3; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * HitResultDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class HitResultDataAttributes { - public static final String SERIALIZED_NAME_POINT = "point"; - @SerializedName(SERIALIZED_NAME_POINT) - private Vector3 point; - - public static final String SERIALIZED_NAME_NORMAL = "normal"; - @SerializedName(SERIALIZED_NAME_NORMAL) - private Vector3 normal; - - public HitResultDataAttributes() { - } - - public HitResultDataAttributes point(Vector3 point) { - - this.point = point; - return this; - } - - /** - * Get point - * @return point - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector3 getPoint() { - return point; - } - - - public void setPoint(Vector3 point) { - this.point = point; - } - - - public HitResultDataAttributes normal(Vector3 normal) { - - this.normal = normal; - return this; - } - - /** - * Get normal - * @return normal - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector3 getNormal() { - return normal; - } - - - public void setNormal(Vector3 normal) { - this.normal = normal; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - HitResultDataAttributes hitResultDataAttributes = (HitResultDataAttributes) o; - return Objects.equals(this.point, hitResultDataAttributes.point) && - Objects.equals(this.normal, hitResultDataAttributes.normal); - } - - @Override - public int hashCode() { - return Objects.hash(point, normal); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class HitResultDataAttributes {\n"); - sb.append(" point: ").append(toIndentedString(point)).append("\n"); - sb.append(" normal: ").append(toIndentedString(normal)).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/HitResultDataRelationships.java b/src/main/java/com/vertexvis/model/HitResultDataRelationships.java deleted file mode 100644 index 581b4f85..00000000 --- a/src/main/java/com/vertexvis/model/HitResultDataRelationships.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.RelationshipData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * HitResultDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class HitResultDataRelationships { - public static final String SERIALIZED_NAME_SCENE_ITEM = "sceneItem"; - @SerializedName(SERIALIZED_NAME_SCENE_ITEM) - private RelationshipData sceneItem; - - public HitResultDataRelationships() { - } - - public HitResultDataRelationships sceneItem(RelationshipData sceneItem) { - - this.sceneItem = sceneItem; - return this; - } - - /** - * Get sceneItem - * @return sceneItem - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public RelationshipData getSceneItem() { - return sceneItem; - } - - - public void setSceneItem(RelationshipData sceneItem) { - this.sceneItem = sceneItem; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - HitResultDataRelationships hitResultDataRelationships = (HitResultDataRelationships) o; - return Objects.equals(this.sceneItem, hitResultDataRelationships.sceneItem); - } - - @Override - public int hashCode() { - return Objects.hash(sceneItem); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class HitResultDataRelationships {\n"); - sb.append(" sceneItem: ").append(toIndentedString(sceneItem)).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/Link.java b/src/main/java/com/vertexvis/model/Link.java deleted file mode 100644 index b4402a2b..00000000 --- a/src/main/java/com/vertexvis/model/Link.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * 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; - -/** - * Link - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Link { - public static final String SERIALIZED_NAME_HREF = "href"; - @SerializedName(SERIALIZED_NAME_HREF) - private String href; - - public Link() { - } - - public Link href(String href) { - - this.href = href; - return this; - } - - /** - * Get href - * @return href - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "/some-resource/d98d621a-23da-49fe-af96-6be709abb718", required = true, value = "") - - public String getHref() { - return href; - } - - - public void setHref(String href) { - this.href = href; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Link link = (Link) o; - return Objects.equals(this.href, link.href); - } - - @Override - public int hashCode() { - return Objects.hash(href); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Link {\n"); - sb.append(" href: ").append(toIndentedString(href)).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/MaterialOverride.java b/src/main/java/com/vertexvis/model/MaterialOverride.java deleted file mode 100644 index 126475d9..00000000 --- a/src/main/java/com/vertexvis/model/MaterialOverride.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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.ColorMaterial; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Color material override. - */ -@ApiModel(description = "Color material override.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class MaterialOverride { - public static final String SERIALIZED_NAME_VALUE = "value"; - @SerializedName(SERIALIZED_NAME_VALUE) - private ColorMaterial value; - - public MaterialOverride() { - } - - public MaterialOverride value(ColorMaterial value) { - - this.value = value; - return this; - } - - /** - * Get value - * @return value - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public ColorMaterial getValue() { - return value; - } - - - public void setValue(ColorMaterial value) { - this.value = value; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MaterialOverride materialOverride = (MaterialOverride) o; - return Objects.equals(this.value, materialOverride.value); - } - - @Override - public int hashCode() { - return Objects.hash(value); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MaterialOverride {\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/Matrix4.java b/src/main/java/com/vertexvis/model/Matrix4.java deleted file mode 100644 index b72ca873..00000000 --- a/src/main/java/com/vertexvis/model/Matrix4.java +++ /dev/null @@ -1,189 +0,0 @@ -/* - * 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.Vector4; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * 4x4 affine transformation matrix, see [Matrix transformations](https://developer.vertexvis.com/docs/guides/matrix-transformations) for details. - */ -@ApiModel(description = "4x4 affine transformation matrix, see [Matrix transformations](https://developer.vertexvis.com/docs/guides/matrix-transformations) for details.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Matrix4 { - public static final String SERIALIZED_NAME_R0 = "r0"; - @SerializedName(SERIALIZED_NAME_R0) - private Vector4 r0; - - public static final String SERIALIZED_NAME_R1 = "r1"; - @SerializedName(SERIALIZED_NAME_R1) - private Vector4 r1; - - public static final String SERIALIZED_NAME_R2 = "r2"; - @SerializedName(SERIALIZED_NAME_R2) - private Vector4 r2; - - public static final String SERIALIZED_NAME_R3 = "r3"; - @SerializedName(SERIALIZED_NAME_R3) - private Vector4 r3; - - public Matrix4() { - } - - public Matrix4 r0(Vector4 r0) { - - this.r0 = r0; - return this; - } - - /** - * Get r0 - * @return r0 - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector4 getR0() { - return r0; - } - - - public void setR0(Vector4 r0) { - this.r0 = r0; - } - - - public Matrix4 r1(Vector4 r1) { - - this.r1 = r1; - return this; - } - - /** - * Get r1 - * @return r1 - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector4 getR1() { - return r1; - } - - - public void setR1(Vector4 r1) { - this.r1 = r1; - } - - - public Matrix4 r2(Vector4 r2) { - - this.r2 = r2; - return this; - } - - /** - * Get r2 - * @return r2 - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector4 getR2() { - return r2; - } - - - public void setR2(Vector4 r2) { - this.r2 = r2; - } - - - public Matrix4 r3(Vector4 r3) { - - this.r3 = r3; - return this; - } - - /** - * Get r3 - * @return r3 - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector4 getR3() { - return r3; - } - - - public void setR3(Vector4 r3) { - this.r3 = r3; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Matrix4 matrix4 = (Matrix4) o; - return Objects.equals(this.r0, matrix4.r0) && - Objects.equals(this.r1, matrix4.r1) && - Objects.equals(this.r2, matrix4.r2) && - Objects.equals(this.r3, matrix4.r3); - } - - @Override - public int hashCode() { - return Objects.hash(r0, r1, r2, r3); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Matrix4 {\n"); - sb.append(" r0: ").append(toIndentedString(r0)).append("\n"); - sb.append(" r1: ").append(toIndentedString(r1)).append("\n"); - sb.append(" r2: ").append(toIndentedString(r2)).append("\n"); - sb.append(" r3: ").append(toIndentedString(r3)).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/Matrix4Nullable.java b/src/main/java/com/vertexvis/model/Matrix4Nullable.java deleted file mode 100644 index 2361e8ec..00000000 --- a/src/main/java/com/vertexvis/model/Matrix4Nullable.java +++ /dev/null @@ -1,189 +0,0 @@ -/* - * 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.Vector4; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * 4x4 affine transformation matrix, see [Matrix transformations](https://developer.vertexvis.com/docs/guides/matrix-transformations) for details. - */ -@ApiModel(description = "4x4 affine transformation matrix, see [Matrix transformations](https://developer.vertexvis.com/docs/guides/matrix-transformations) for details.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Matrix4Nullable { - public static final String SERIALIZED_NAME_R0 = "r0"; - @SerializedName(SERIALIZED_NAME_R0) - private Vector4 r0; - - public static final String SERIALIZED_NAME_R1 = "r1"; - @SerializedName(SERIALIZED_NAME_R1) - private Vector4 r1; - - public static final String SERIALIZED_NAME_R2 = "r2"; - @SerializedName(SERIALIZED_NAME_R2) - private Vector4 r2; - - public static final String SERIALIZED_NAME_R3 = "r3"; - @SerializedName(SERIALIZED_NAME_R3) - private Vector4 r3; - - public Matrix4Nullable() { - } - - public Matrix4Nullable r0(Vector4 r0) { - - this.r0 = r0; - return this; - } - - /** - * Get r0 - * @return r0 - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector4 getR0() { - return r0; - } - - - public void setR0(Vector4 r0) { - this.r0 = r0; - } - - - public Matrix4Nullable r1(Vector4 r1) { - - this.r1 = r1; - return this; - } - - /** - * Get r1 - * @return r1 - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector4 getR1() { - return r1; - } - - - public void setR1(Vector4 r1) { - this.r1 = r1; - } - - - public Matrix4Nullable r2(Vector4 r2) { - - this.r2 = r2; - return this; - } - - /** - * Get r2 - * @return r2 - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector4 getR2() { - return r2; - } - - - public void setR2(Vector4 r2) { - this.r2 = r2; - } - - - public Matrix4Nullable r3(Vector4 r3) { - - this.r3 = r3; - return this; - } - - /** - * Get r3 - * @return r3 - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector4 getR3() { - return r3; - } - - - public void setR3(Vector4 r3) { - this.r3 = r3; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Matrix4Nullable matrix4Nullable = (Matrix4Nullable) o; - return Objects.equals(this.r0, matrix4Nullable.r0) && - Objects.equals(this.r1, matrix4Nullable.r1) && - Objects.equals(this.r2, matrix4Nullable.r2) && - Objects.equals(this.r3, matrix4Nullable.r3); - } - - @Override - public int hashCode() { - return Objects.hash(r0, r1, r2, r3); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Matrix4Nullable {\n"); - sb.append(" r0: ").append(toIndentedString(r0)).append("\n"); - sb.append(" r1: ").append(toIndentedString(r1)).append("\n"); - sb.append(" r2: ").append(toIndentedString(r2)).append("\n"); - sb.append(" r3: ").append(toIndentedString(r3)).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/MetadataDateType.java b/src/main/java/com/vertexvis/model/MetadataDateType.java deleted file mode 100644 index 159bf528..00000000 --- a/src/main/java/com/vertexvis/model/MetadataDateType.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.time.OffsetDateTime; - -/** - * MetadataDateType - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class MetadataDateType { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_VALUE = "value"; - @SerializedName(SERIALIZED_NAME_VALUE) - private OffsetDateTime value; - - public MetadataDateType() { - } - - public MetadataDateType type(String type) { - - this.type = type; - return this; - } - - /** - * Type of metadata value. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "date", required = true, value = "Type of metadata value.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public MetadataDateType value(OffsetDateTime value) { - - this.value = value; - return this; - } - - /** - * A date value. - * @return value - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2022-02-22T10:11:12Z", required = true, value = "A date value.") - - public OffsetDateTime getValue() { - return value; - } - - - public void setValue(OffsetDateTime value) { - this.value = value; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MetadataDateType metadataDateType = (MetadataDateType) o; - return Objects.equals(this.type, metadataDateType.type) && - Objects.equals(this.value, metadataDateType.value); - } - - @Override - public int hashCode() { - return Objects.hash(type, value); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MetadataDateType {\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/MetadataFloatType.java b/src/main/java/com/vertexvis/model/MetadataFloatType.java deleted file mode 100644 index 79d30280..00000000 --- a/src/main/java/com/vertexvis/model/MetadataFloatType.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * 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; - -/** - * MetadataFloatType - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class MetadataFloatType { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_VALUE = "value"; - @SerializedName(SERIALIZED_NAME_VALUE) - private Float value; - - public MetadataFloatType() { - } - - public MetadataFloatType type(String type) { - - this.type = type; - return this; - } - - /** - * Type of metadata value. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "float", required = true, value = "Type of metadata value.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public MetadataFloatType value(Float value) { - - this.value = value; - return this; - } - - /** - * A numerical floating-point value. - * @return value - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "A numerical floating-point value.") - - public Float getValue() { - return value; - } - - - public void setValue(Float value) { - this.value = value; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MetadataFloatType metadataFloatType = (MetadataFloatType) o; - return Objects.equals(this.type, metadataFloatType.type) && - Objects.equals(this.value, metadataFloatType.value); - } - - @Override - public int hashCode() { - return Objects.hash(type, value); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MetadataFloatType {\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/MetadataLongType.java b/src/main/java/com/vertexvis/model/MetadataLongType.java deleted file mode 100644 index 218abba1..00000000 --- a/src/main/java/com/vertexvis/model/MetadataLongType.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * 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; - -/** - * MetadataLongType - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class MetadataLongType { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_VALUE = "value"; - @SerializedName(SERIALIZED_NAME_VALUE) - private Long value; - - public MetadataLongType() { - } - - public MetadataLongType type(String type) { - - this.type = type; - return this; - } - - /** - * Type of metadata value. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "long", required = true, value = "Type of metadata value.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public MetadataLongType value(Long value) { - - this.value = value; - return this; - } - - /** - * A numerical long value. - * @return value - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "A numerical long value.") - - public Long getValue() { - return value; - } - - - public void setValue(Long value) { - this.value = value; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MetadataLongType metadataLongType = (MetadataLongType) o; - return Objects.equals(this.type, metadataLongType.type) && - Objects.equals(this.value, metadataLongType.value); - } - - @Override - public int hashCode() { - return Objects.hash(type, value); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MetadataLongType {\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/MetadataNullType.java b/src/main/java/com/vertexvis/model/MetadataNullType.java deleted file mode 100644 index 0b38b1c6..00000000 --- a/src/main/java/com/vertexvis/model/MetadataNullType.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * 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; - -/** - * MetadataNullType - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class MetadataNullType { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public MetadataNullType() { - } - - public MetadataNullType type(String type) { - - this.type = type; - return this; - } - - /** - * Type of metadata value. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "null", required = true, value = "Type of metadata value.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MetadataNullType metadataNullType = (MetadataNullType) o; - return Objects.equals(this.type, metadataNullType.type); - } - - @Override - public int hashCode() { - return Objects.hash(type); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MetadataNullType {\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/MetadataStringType.java b/src/main/java/com/vertexvis/model/MetadataStringType.java deleted file mode 100644 index 8a411409..00000000 --- a/src/main/java/com/vertexvis/model/MetadataStringType.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * 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; - -/** - * MetadataStringType - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class MetadataStringType { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_VALUE = "value"; - @SerializedName(SERIALIZED_NAME_VALUE) - private String value; - - public MetadataStringType() { - } - - public MetadataStringType type(String type) { - - this.type = type; - return this; - } - - /** - * Type of metadata value. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "string", required = true, value = "Type of metadata value.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public MetadataStringType value(String value) { - - this.value = value; - return this; - } - - /** - * A string value. - * @return value - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "Some value", required = true, value = "A string value.") - - 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; - } - MetadataStringType metadataStringType = (MetadataStringType) o; - return Objects.equals(this.type, metadataStringType.type) && - Objects.equals(this.value, metadataStringType.value); - } - - @Override - public int hashCode() { - return Objects.hash(type, value); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MetadataStringType {\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/ModelView.java b/src/main/java/com/vertexvis/model/ModelView.java deleted file mode 100644 index 370d4faf..00000000 --- a/src/main/java/com/vertexvis/model/ModelView.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.ModelViewData; -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; - -/** - * ModelView - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ModelView { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private ModelViewData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public ModelView() { - } - - public ModelView data(ModelViewData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public ModelViewData getData() { - return data; - } - - - public void setData(ModelViewData data) { - this.data = data; - } - - - public ModelView links(Map links) { - - this.links = links; - return this; - } - - public ModelView 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; - } - ModelView modelView = (ModelView) o; - return Objects.equals(this.data, modelView.data) && - Objects.equals(this.links, modelView.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ModelView {\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/ModelViewData.java b/src/main/java/com/vertexvis/model/ModelViewData.java deleted file mode 100644 index 0950a0a8..00000000 --- a/src/main/java/com/vertexvis/model/ModelViewData.java +++ /dev/null @@ -1,231 +0,0 @@ -/* - * 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.CreateAccountRequestDataAttributes; -import com.vertexvis.model.Link; -import com.vertexvis.model.ModelViewDataRelationships; -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; - -/** - * ModelViewData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ModelViewData { - 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 CreateAccountRequestDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private ModelViewDataRelationships relationships; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public ModelViewData() { - } - - public ModelViewData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "model-view", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public ModelViewData 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 ModelViewData attributes(CreateAccountRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateAccountRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateAccountRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - public ModelViewData relationships(ModelViewDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public ModelViewDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(ModelViewDataRelationships relationships) { - this.relationships = relationships; - } - - - public ModelViewData links(Map links) { - - this.links = links; - return this; - } - - public ModelViewData 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; - } - ModelViewData modelViewData = (ModelViewData) o; - return Objects.equals(this.type, modelViewData.type) && - Objects.equals(this.id, modelViewData.id) && - Objects.equals(this.attributes, modelViewData.attributes) && - Objects.equals(this.relationships, modelViewData.relationships) && - Objects.equals(this.links, modelViewData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, relationships, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ModelViewData {\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/ModelViewDataRelationships.java b/src/main/java/com/vertexvis/model/ModelViewDataRelationships.java deleted file mode 100644 index 61e04c76..00000000 --- a/src/main/java/com/vertexvis/model/ModelViewDataRelationships.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.PartRevisionRelationship; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * ModelViewDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ModelViewDataRelationships { - public static final String SERIALIZED_NAME_PART_REVISION = "partRevision"; - @SerializedName(SERIALIZED_NAME_PART_REVISION) - private PartRevisionRelationship partRevision; - - public ModelViewDataRelationships() { - } - - public ModelViewDataRelationships partRevision(PartRevisionRelationship partRevision) { - - this.partRevision = partRevision; - return this; - } - - /** - * Get partRevision - * @return partRevision - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PartRevisionRelationship getPartRevision() { - return partRevision; - } - - - public void setPartRevision(PartRevisionRelationship partRevision) { - this.partRevision = partRevision; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ModelViewDataRelationships modelViewDataRelationships = (ModelViewDataRelationships) o; - return Objects.equals(this.partRevision, modelViewDataRelationships.partRevision); - } - - @Override - public int hashCode() { - return Objects.hash(partRevision); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ModelViewDataRelationships {\n"); - sb.append(" partRevision: ").append(toIndentedString(partRevision)).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/ModelViewList.java b/src/main/java/com/vertexvis/model/ModelViewList.java deleted file mode 100644 index 49842590..00000000 --- a/src/main/java/com/vertexvis/model/ModelViewList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.ModelViewData; -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; - -/** - * ModelViewList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ModelViewList { - 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 ModelViewList() { - } - - public ModelViewList data(List data) { - - this.data = data; - return this; - } - - public ModelViewList addDataItem(ModelViewData 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 ModelViewList links(Map links) { - - this.links = links; - return this; - } - - public ModelViewList 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; - } - ModelViewList modelViewList = (ModelViewList) o; - return Objects.equals(this.data, modelViewList.data) && - Objects.equals(this.links, modelViewList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ModelViewList {\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/OAuth2BadRequest.java b/src/main/java/com/vertexvis/model/OAuth2BadRequest.java deleted file mode 100644 index b609f95d..00000000 --- a/src/main/java/com/vertexvis/model/OAuth2BadRequest.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * 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; - -/** - * OAuth2BadRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class OAuth2BadRequest { - public static final String SERIALIZED_NAME_ERROR = "error"; - @SerializedName(SERIALIZED_NAME_ERROR) - private String error; - - public OAuth2BadRequest() { - } - - public OAuth2BadRequest error(String error) { - - this.error = error; - return this; - } - - /** - * Get error - * @return error - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "some-string", required = true, value = "") - - public String getError() { - return error; - } - - - public void setError(String error) { - this.error = error; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OAuth2BadRequest oauth2BadRequest = (OAuth2BadRequest) o; - return Objects.equals(this.error, oauth2BadRequest.error); - } - - @Override - public int hashCode() { - return Objects.hash(error); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OAuth2BadRequest {\n"); - sb.append(" error: ").append(toIndentedString(error)).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/OAuth2Token.java b/src/main/java/com/vertexvis/model/OAuth2Token.java deleted file mode 100644 index bda40b86..00000000 --- a/src/main/java/com/vertexvis/model/OAuth2Token.java +++ /dev/null @@ -1,252 +0,0 @@ -/* - * 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; - -/** - * OAuth2Token - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class OAuth2Token { - public static final String SERIALIZED_NAME_ACCESS_TOKEN = "access_token"; - @SerializedName(SERIALIZED_NAME_ACCESS_TOKEN) - private String accessToken; - - public static final String SERIALIZED_NAME_TOKEN_TYPE = "token_type"; - @SerializedName(SERIALIZED_NAME_TOKEN_TYPE) - private String tokenType; - - public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id"; - @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private String accountId; - - public static final String SERIALIZED_NAME_EXPIRES_IN = "expires_in"; - @SerializedName(SERIALIZED_NAME_EXPIRES_IN) - private Integer expiresIn; - - public static final String SERIALIZED_NAME_SCOPES = "scopes"; - @SerializedName(SERIALIZED_NAME_SCOPES) - private List scopes = new ArrayList<>(); - - public static final String SERIALIZED_NAME_REFRESH_TOKEN = "refresh_token"; - @SerializedName(SERIALIZED_NAME_REFRESH_TOKEN) - private String refreshToken; - - public OAuth2Token() { - } - - public OAuth2Token accessToken(String accessToken) { - - this.accessToken = accessToken; - return this; - } - - /** - * Get accessToken - * @return accessToken - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "HnkQzHpk4iTaPfssu3zpI.PTbAxKdDIfrNcgrmsxQqg", required = true, value = "") - - public String getAccessToken() { - return accessToken; - } - - - public void setAccessToken(String accessToken) { - this.accessToken = accessToken; - } - - - public OAuth2Token tokenType(String tokenType) { - - this.tokenType = tokenType; - return this; - } - - /** - * Get tokenType - * @return tokenType - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "bearer", required = true, value = "") - - public String getTokenType() { - return tokenType; - } - - - public void setTokenType(String tokenType) { - this.tokenType = tokenType; - } - - - public OAuth2Token accountId(String accountId) { - - this.accountId = accountId; - return this; - } - - /** - * Get accountId - * @return accountId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "7b3f55e2-60f3-4bf3-82bc-f8afbce843b0", required = true, value = "") - - public String getAccountId() { - return accountId; - } - - - public void setAccountId(String accountId) { - this.accountId = accountId; - } - - - public OAuth2Token expiresIn(Integer expiresIn) { - - this.expiresIn = expiresIn; - return this; - } - - /** - * Get expiresIn - * @return expiresIn - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "3600", required = true, value = "") - - public Integer getExpiresIn() { - return expiresIn; - } - - - public void setExpiresIn(Integer expiresIn) { - this.expiresIn = expiresIn; - } - - - public OAuth2Token scopes(List scopes) { - - this.scopes = scopes; - return this; - } - - public OAuth2Token addScopesItem(String scopesItem) { - this.scopes.add(scopesItem); - return this; - } - - /** - * Get scopes - * @return scopes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getScopes() { - return scopes; - } - - - public void setScopes(List scopes) { - this.scopes = scopes; - } - - - public OAuth2Token refreshToken(String refreshToken) { - - this.refreshToken = refreshToken; - return this; - } - - /** - * Get refreshToken - * @return refreshToken - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "HnkQzHpk4iTaPfssu3zpI.PTbAxKdDIfrNcgrmsxQqg", value = "") - - public String getRefreshToken() { - return refreshToken; - } - - - public void setRefreshToken(String refreshToken) { - this.refreshToken = refreshToken; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OAuth2Token oauth2Token = (OAuth2Token) o; - return Objects.equals(this.accessToken, oauth2Token.accessToken) && - Objects.equals(this.tokenType, oauth2Token.tokenType) && - Objects.equals(this.accountId, oauth2Token.accountId) && - Objects.equals(this.expiresIn, oauth2Token.expiresIn) && - Objects.equals(this.scopes, oauth2Token.scopes) && - Objects.equals(this.refreshToken, oauth2Token.refreshToken); - } - - @Override - public int hashCode() { - return Objects.hash(accessToken, tokenType, accountId, expiresIn, scopes, refreshToken); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OAuth2Token {\n"); - sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n"); - sb.append(" tokenType: ").append(toIndentedString(tokenType)).append("\n"); - sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); - sb.append(" expiresIn: ").append(toIndentedString(expiresIn)).append("\n"); - sb.append(" scopes: ").append(toIndentedString(scopes)).append("\n"); - sb.append(" refreshToken: ").append(toIndentedString(refreshToken)).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/OneOfCADExportConfig.java b/src/main/java/com/vertexvis/model/OneOfCADExportConfig.java deleted file mode 100644 index 3610b733..00000000 --- a/src/main/java/com/vertexvis/model/OneOfCADExportConfig.java +++ /dev/null @@ -1,22 +0,0 @@ -package com.vertexvis.model; - -import java.util.Optional; - -/** - * Manually created class - */ -public class OneOfCADExportConfig { - private final CADExportConfig cadExportConfig; - - public OneOfCADExportConfig(CADExportConfig cadExportConfig) { - this.cadExportConfig = cadExportConfig; - } - - public boolean hasCADExportConfig() { - return cadExportConfig != null; - } - - public Optional getCADExportConfig() { - return Optional.ofNullable(cadExportConfig); - } -} diff --git a/src/main/java/com/vertexvis/model/OneOfHitResultDataSceneItemDataPartRevisionData.java b/src/main/java/com/vertexvis/model/OneOfHitResultDataSceneItemDataPartRevisionData.java deleted file mode 100644 index db2f9aa0..00000000 --- a/src/main/java/com/vertexvis/model/OneOfHitResultDataSceneItemDataPartRevisionData.java +++ /dev/null @@ -1,50 +0,0 @@ -package com.vertexvis.model; - -import javax.annotation.Nullable; - -public class OneOfHitResultDataSceneItemDataPartRevisionData { - private HitResultData hitResultData; - private SceneItemData sceneItemData; - private PartRevisionData partRevisionData; - - public OneOfHitResultDataSceneItemDataPartRevisionData(HitResultData hitResultData) { - this.hitResultData = hitResultData; - } - - public OneOfHitResultDataSceneItemDataPartRevisionData(SceneItemData sceneItemData) { - this.sceneItemData = sceneItemData; - } - - public OneOfHitResultDataSceneItemDataPartRevisionData(PartRevisionData partRevisionData) { - this.partRevisionData = partRevisionData; - } - - public Object getData() { - if (this.hitResultData != null) { - return this.hitResultData; - } - if (this.partRevisionData != null) { - return this.partRevisionData; - } - if (this.sceneItemData != null) { - return this.sceneItemData; - } - - return null; - } - - @Nullable - public HitResultData getHitResultData() { - return this.hitResultData; - } - - @Nullable - public SceneItemData getSceneItemData() { - return this.sceneItemData; - } - - @Nullable - public PartRevisionData getPartRevisionData() { - return this.partRevisionData; - } -} diff --git a/src/main/java/com/vertexvis/model/OneOfPerspectiveCameraOrthographicCamera.java b/src/main/java/com/vertexvis/model/OneOfPerspectiveCameraOrthographicCamera.java deleted file mode 100644 index 5fc5780d..00000000 --- a/src/main/java/com/vertexvis/model/OneOfPerspectiveCameraOrthographicCamera.java +++ /dev/null @@ -1,38 +0,0 @@ -package com.vertexvis.model; - -import javax.annotation.Nullable; - -public class OneOfPerspectiveCameraOrthographicCamera { - private PerspectiveCamera perspectiveCamera; - private OrthographicCamera orthographicCamera; - - public OneOfPerspectiveCameraOrthographicCamera(PerspectiveCamera perspectiveCamera) { - this.perspectiveCamera = perspectiveCamera; - } - - public OneOfPerspectiveCameraOrthographicCamera(OrthographicCamera orthographicCamera) { - this.orthographicCamera = orthographicCamera; - } - - public Object getData() { - if (this.perspectiveCamera != null) { - return this.perspectiveCamera; - } - if (this.orthographicCamera != null) { - return this.orthographicCamera; - } - - return null; - } - - @Nullable - public OrthographicCamera getOrthographicCamera() { - return this.orthographicCamera; - } - - @Nullable - public PerspectiveCamera getPerspectiveCamera() { - return this.perspectiveCamera; - } -} - diff --git a/src/main/java/com/vertexvis/model/OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType.java b/src/main/java/com/vertexvis/model/OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType.java deleted file mode 100644 index 4f87a35c..00000000 --- a/src/main/java/com/vertexvis/model/OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType.java +++ /dev/null @@ -1,31 +0,0 @@ -package com.vertexvis.model; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.11.0") -public class OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType { - private SceneAnnotationCalloutDataType calloutType; - private SceneAnnotationCustomDataType customType; - - public OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType(SceneAnnotationCalloutDataType calloutType) { - this.calloutType= calloutType; - } - - public OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType(SceneAnnotationCustomDataType customType) { - this.customType= customType; - } - - public Object getData() { - if (calloutType != null) { - return calloutType; - } - return customType; - } - - SceneAnnotationCalloutDataType getSceneAnnotationCalloutDataType() { - return calloutType; - } - - SceneAnnotationCustomDataType getSceneAnnotationCustomDataType() { - return customType; - } -} - diff --git a/src/main/java/com/vertexvis/model/OneOfSceneViewRelationshipSceneViewStateRelationship.java b/src/main/java/com/vertexvis/model/OneOfSceneViewRelationshipSceneViewStateRelationship.java deleted file mode 100644 index a2f880c0..00000000 --- a/src/main/java/com/vertexvis/model/OneOfSceneViewRelationshipSceneViewStateRelationship.java +++ /dev/null @@ -1,45 +0,0 @@ -package com.vertexvis.model; - -import javax.annotation.Nullable; - -public class OneOfSceneViewRelationshipSceneViewStateRelationship { - private SceneViewRelationship svRel; - private SceneViewStateRelationship svsRel; - - public OneOfSceneViewRelationshipSceneViewStateRelationship(SceneViewRelationship svRel) { - this.svRel = svRel; - } - - public OneOfSceneViewRelationshipSceneViewStateRelationship(SceneViewStateRelationship svsRel) { - this.svsRel = svsRel; - } - - public Object getRel() { - if (this.svRel != null) { - return this.svRel; - } - if (this.svsRel != null) { - return this.svsRel; - } - - return null; - } - - public boolean isSceneViewRel() { - return this.svRel != null; - } - - public boolean isSceneViewStateRel() { - return this.svsRel != null; - } - - @Nullable - public SceneViewRelationship getSceneViewRel() { - return this.svRel; - } - - @Nullable - public SceneViewStateRelationship getSceneViewStateRel() { - return this.svsRel; - } -} diff --git a/src/main/java/com/vertexvis/model/OneOfUpdateItemToDefaultRenditionOperation.java b/src/main/java/com/vertexvis/model/OneOfUpdateItemToDefaultRenditionOperation.java deleted file mode 100644 index 3ab8c2ae..00000000 --- a/src/main/java/com/vertexvis/model/OneOfUpdateItemToDefaultRenditionOperation.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.vertexvis.model; - -import javax.annotation.Nullable; - -public class OneOfUpdateItemToDefaultRenditionOperation { - private UpdateItemToDefaultRenditionOperation updateItemToDefaultRenditionOperation; - - public OneOfUpdateItemToDefaultRenditionOperation(UpdateItemToDefaultRenditionOperation updateItemToDefaultRenditionOperation) { - this.updateItemToDefaultRenditionOperation = updateItemToDefaultRenditionOperation; - } - - public Object getData() { - if (this.updateItemToDefaultRenditionOperation != null) { - return this.updateItemToDefaultRenditionOperation; - } - - return null; - } - - @Nullable - public UpdateItemToDefaultRenditionOperation getUpdateItemToDefaultRenditionOperation() { - return updateItemToDefaultRenditionOperation; - } -} diff --git a/src/main/java/com/vertexvis/model/OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedData.java b/src/main/java/com/vertexvis/model/OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedData.java deleted file mode 100644 index de270f4f..00000000 --- a/src/main/java/com/vertexvis/model/OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedData.java +++ /dev/null @@ -1,37 +0,0 @@ -package com.vertexvis.model; - -import javax.annotation.Nullable; - -public class OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedData { - - private WebhookEventSceneIncludedData sceneIncludedData; - private WebhookEventPartRevisionIncludedData partRevisionIncludedData; - - public OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedData(WebhookEventSceneIncludedData data) { - this.sceneIncludedData = data; - } - - public OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedData(WebhookEventPartRevisionIncludedData data) { - this.partRevisionIncludedData = data; - } - - public Object getData() { - if (this.sceneIncludedData != null) { - return this.sceneIncludedData; - } else if (this.partRevisionIncludedData != null) { - return this.partRevisionIncludedData; - } - - return null; - } - - @Nullable - public WebhookEventSceneIncludedData getSceneIncludedData() { - return this.sceneIncludedData; - } - - @Nullable - public WebhookEventPartRevisionIncludedData getPartRevisionIncludedData() { - return partRevisionIncludedData; - } -} diff --git a/src/main/java/com/vertexvis/model/Orientation.java b/src/main/java/com/vertexvis/model/Orientation.java deleted file mode 100644 index 07c4e3b2..00000000 --- a/src/main/java/com/vertexvis/model/Orientation.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * 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.Vector3; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Normals describing up & front directions - */ -@ApiModel(description = "Normals describing up & front directions") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Orientation { - public static final String SERIALIZED_NAME_UP = "up"; - @SerializedName(SERIALIZED_NAME_UP) - private Vector3 up; - - public static final String SERIALIZED_NAME_FRONT = "front"; - @SerializedName(SERIALIZED_NAME_FRONT) - private Vector3 front; - - public Orientation() { - } - - public Orientation up(Vector3 up) { - - this.up = up; - return this; - } - - /** - * Get up - * @return up - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector3 getUp() { - return up; - } - - - public void setUp(Vector3 up) { - this.up = up; - } - - - public Orientation front(Vector3 front) { - - this.front = front; - return this; - } - - /** - * Get front - * @return front - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector3 getFront() { - return front; - } - - - public void setFront(Vector3 front) { - this.front = front; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Orientation orientation = (Orientation) o; - return Objects.equals(this.up, orientation.up) && - Objects.equals(this.front, orientation.front); - } - - @Override - public int hashCode() { - return Objects.hash(up, front); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Orientation {\n"); - sb.append(" up: ").append(toIndentedString(up)).append("\n"); - sb.append(" front: ").append(toIndentedString(front)).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/OrthographicCamera.java b/src/main/java/com/vertexvis/model/OrthographicCamera.java deleted file mode 100644 index f0260d74..00000000 --- a/src/main/java/com/vertexvis/model/OrthographicCamera.java +++ /dev/null @@ -1,219 +0,0 @@ -/* - * 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.Vector3; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -/** - * A camera type where an object's size stays consistent regardless of its distance to the camera. - */ -@ApiModel(description = "A camera type where an object's size stays consistent regardless of its distance to the camera.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class OrthographicCamera { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_VIEW_VECTOR = "viewVector"; - @SerializedName(SERIALIZED_NAME_VIEW_VECTOR) - private Vector3 viewVector; - - public static final String SERIALIZED_NAME_LOOK_AT = "lookAt"; - @SerializedName(SERIALIZED_NAME_LOOK_AT) - private Vector3 lookAt; - - public static final String SERIALIZED_NAME_UP = "up"; - @SerializedName(SERIALIZED_NAME_UP) - private Vector3 up; - - public static final String SERIALIZED_NAME_FOV_HEIGHT = "fovHeight"; - @SerializedName(SERIALIZED_NAME_FOV_HEIGHT) - private BigDecimal fovHeight; - - public OrthographicCamera() { - } - - public OrthographicCamera type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "orthographic", value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public OrthographicCamera viewVector(Vector3 viewVector) { - - this.viewVector = viewVector; - return this; - } - - /** - * Get viewVector - * @return viewVector - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector3 getViewVector() { - return viewVector; - } - - - public void setViewVector(Vector3 viewVector) { - this.viewVector = viewVector; - } - - - public OrthographicCamera lookAt(Vector3 lookAt) { - - this.lookAt = lookAt; - return this; - } - - /** - * Get lookAt - * @return lookAt - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector3 getLookAt() { - return lookAt; - } - - - public void setLookAt(Vector3 lookAt) { - this.lookAt = lookAt; - } - - - public OrthographicCamera up(Vector3 up) { - - this.up = up; - return this; - } - - /** - * Get up - * @return up - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector3 getUp() { - return up; - } - - - public void setUp(Vector3 up) { - this.up = up; - } - - - public OrthographicCamera fovHeight(BigDecimal fovHeight) { - - this.fovHeight = fovHeight; - return this; - } - - /** - * Get fovHeight - * @return fovHeight - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public BigDecimal getFovHeight() { - return fovHeight; - } - - - public void setFovHeight(BigDecimal fovHeight) { - this.fovHeight = fovHeight; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrthographicCamera orthographicCamera = (OrthographicCamera) o; - return Objects.equals(this.type, orthographicCamera.type) && - Objects.equals(this.viewVector, orthographicCamera.viewVector) && - Objects.equals(this.lookAt, orthographicCamera.lookAt) && - Objects.equals(this.up, orthographicCamera.up) && - Objects.equals(this.fovHeight, orthographicCamera.fovHeight); - } - - @Override - public int hashCode() { - return Objects.hash(type, viewVector, lookAt, up, fovHeight); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrthographicCamera {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" viewVector: ").append(toIndentedString(viewVector)).append("\n"); - sb.append(" lookAt: ").append(toIndentedString(lookAt)).append("\n"); - sb.append(" up: ").append(toIndentedString(up)).append("\n"); - sb.append(" fovHeight: ").append(toIndentedString(fovHeight)).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/Part.java b/src/main/java/com/vertexvis/model/Part.java deleted file mode 100644 index c1a5a236..00000000 --- a/src/main/java/com/vertexvis/model/Part.java +++ /dev/null @@ -1,181 +0,0 @@ -/* - * 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.PartData; -import com.vertexvis.model.PartRevisionData; -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; - -/** - * Part - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Part { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private PartData data; - - public static final String SERIALIZED_NAME_INCLUDED = "included"; - @SerializedName(SERIALIZED_NAME_INCLUDED) - private List included = null; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public Part() { - } - - public Part data(PartData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PartData getData() { - return data; - } - - - public void setData(PartData data) { - this.data = data; - } - - - public Part included(List included) { - - this.included = included; - return this; - } - - public Part addIncludedItem(PartRevisionData includedItem) { - if (this.included == null) { - this.included = new ArrayList<>(); - } - this.included.add(includedItem); - return this; - } - - /** - * Get included - * @return included - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getIncluded() { - return included; - } - - - public void setIncluded(List included) { - this.included = included; - } - - - public Part links(Map links) { - - this.links = links; - return this; - } - - public Part 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; - } - Part part = (Part) o; - return Objects.equals(this.data, part.data) && - Objects.equals(this.included, part.included) && - Objects.equals(this.links, part.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, included, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Part {\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" included: ").append(toIndentedString(included)).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/PartAssemblyRelationship.java b/src/main/java/com/vertexvis/model/PartAssemblyRelationship.java deleted file mode 100644 index c4d8209a..00000000 --- a/src/main/java/com/vertexvis/model/PartAssemblyRelationship.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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.PartAssemblyRelationshipData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Create Part Assembly - */ -@ApiModel(description = "Create Part Assembly") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartAssemblyRelationship { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private PartAssemblyRelationshipData data; - - public PartAssemblyRelationship() { - } - - public PartAssemblyRelationship data(PartAssemblyRelationshipData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PartAssemblyRelationshipData getData() { - return data; - } - - - public void setData(PartAssemblyRelationshipData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PartAssemblyRelationship partAssemblyRelationship = (PartAssemblyRelationship) o; - return Objects.equals(this.data, partAssemblyRelationship.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartAssemblyRelationship {\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/PartAssemblyRelationshipData.java b/src/main/java/com/vertexvis/model/PartAssemblyRelationshipData.java deleted file mode 100644 index 48b0afec..00000000 --- a/src/main/java/com/vertexvis/model/PartAssemblyRelationshipData.java +++ /dev/null @@ -1,148 +0,0 @@ -/* - * 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.AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType; -import com.vertexvis.model.PartRevisionInstance; -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; - -/** - * PartAssemblyRelationshipData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartAssemblyRelationshipData { - public static final String SERIALIZED_NAME_CHILDREN = "children"; - @SerializedName(SERIALIZED_NAME_CHILDREN) - private List children = new ArrayList<>(); - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public PartAssemblyRelationshipData() { - } - - public PartAssemblyRelationshipData children(List children) { - - this.children = children; - return this; - } - - public PartAssemblyRelationshipData addChildrenItem(PartRevisionInstance childrenItem) { - this.children.add(childrenItem); - return this; - } - - /** - * Get children - * @return children - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getChildren() { - return children; - } - - - public void setChildren(List children) { - this.children = children; - } - - - public PartAssemblyRelationshipData metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public PartAssemblyRelationshipData putMetadataItem(String key, AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap<>(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * Additional metadata about the `part` and/or `part-revision`. - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Additional metadata about the `part` and/or `part-revision`. ") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PartAssemblyRelationshipData partAssemblyRelationshipData = (PartAssemblyRelationshipData) o; - return Objects.equals(this.children, partAssemblyRelationshipData.children) && - Objects.equals(this.metadata, partAssemblyRelationshipData.metadata); - } - - @Override - public int hashCode() { - return Objects.hash(children, metadata); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartAssemblyRelationshipData {\n"); - sb.append(" children: ").append(toIndentedString(children)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).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/PartData.java b/src/main/java/com/vertexvis/model/PartData.java deleted file mode 100644 index bfb53ec3..00000000 --- a/src/main/java/com/vertexvis/model/PartData.java +++ /dev/null @@ -1,231 +0,0 @@ -/* - * 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.PartDataAttributes; -import com.vertexvis.model.PartDataRelationships; -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; - -/** - * PartData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartData { - 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 PartDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private PartDataRelationships relationships; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public PartData() { - } - - public PartData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "part", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public PartData 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 PartData attributes(PartDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PartDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(PartDataAttributes attributes) { - this.attributes = attributes; - } - - - public PartData relationships(PartDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public PartDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(PartDataRelationships relationships) { - this.relationships = relationships; - } - - - public PartData links(Map links) { - - this.links = links; - return this; - } - - public PartData 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; - } - PartData partData = (PartData) o; - return Objects.equals(this.type, partData.type) && - Objects.equals(this.id, partData.id) && - Objects.equals(this.attributes, partData.attributes) && - Objects.equals(this.relationships, partData.relationships) && - Objects.equals(this.links, partData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, relationships, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartData {\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/PartDataAttributes.java b/src/main/java/com/vertexvis/model/PartDataAttributes.java deleted file mode 100644 index 13be1e31..00000000 --- a/src/main/java/com/vertexvis/model/PartDataAttributes.java +++ /dev/null @@ -1,159 +0,0 @@ -/* - * 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.time.OffsetDateTime; - -/** - * PartDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartDataAttributes { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public PartDataAttributes() { - } - - public PartDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "some-string", required = true, value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public PartDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * Get suppliedId - * @return suppliedId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "some-string", required = true, value = "") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - public PartDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PartDataAttributes partDataAttributes = (PartDataAttributes) o; - return Objects.equals(this.name, partDataAttributes.name) && - Objects.equals(this.suppliedId, partDataAttributes.suppliedId) && - Objects.equals(this.created, partDataAttributes.created); - } - - @Override - public int hashCode() { - return Objects.hash(name, suppliedId, created); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartDataAttributes {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).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/PartDataRelationships.java b/src/main/java/com/vertexvis/model/PartDataRelationships.java deleted file mode 100644 index 342b2cfa..00000000 --- a/src/main/java/com/vertexvis/model/PartDataRelationships.java +++ /dev/null @@ -1,108 +0,0 @@ -/* - * 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.PartDataRelationshipsPartRevisions; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * PartDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartDataRelationships { - public static final String SERIALIZED_NAME_PART_REVISIONS = "partRevisions"; - @SerializedName(SERIALIZED_NAME_PART_REVISIONS) - private List partRevisions = new ArrayList<>(); - - public PartDataRelationships() { - } - - public PartDataRelationships partRevisions(List partRevisions) { - - this.partRevisions = partRevisions; - return this; - } - - public PartDataRelationships addPartRevisionsItem(PartDataRelationshipsPartRevisions partRevisionsItem) { - this.partRevisions.add(partRevisionsItem); - return this; - } - - /** - * Get partRevisions - * @return partRevisions - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getPartRevisions() { - return partRevisions; - } - - - public void setPartRevisions(List partRevisions) { - this.partRevisions = partRevisions; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PartDataRelationships partDataRelationships = (PartDataRelationships) o; - return Objects.equals(this.partRevisions, partDataRelationships.partRevisions); - } - - @Override - public int hashCode() { - return Objects.hash(partRevisions); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartDataRelationships {\n"); - sb.append(" partRevisions: ").append(toIndentedString(partRevisions)).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/PartDataRelationshipsPartRevisions.java b/src/main/java/com/vertexvis/model/PartDataRelationshipsPartRevisions.java deleted file mode 100644 index fbdcc0f1..00000000 --- a/src/main/java/com/vertexvis/model/PartDataRelationshipsPartRevisions.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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; - -/** - * PartDataRelationshipsPartRevisions - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartDataRelationshipsPartRevisions { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - PART_REVISION("part-revision"); - - 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 PartDataRelationshipsPartRevisions() { - } - - public PartDataRelationshipsPartRevisions type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "part-revision", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public PartDataRelationshipsPartRevisions 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; - } - PartDataRelationshipsPartRevisions partDataRelationshipsPartRevisions = (PartDataRelationshipsPartRevisions) o; - return Objects.equals(this.type, partDataRelationshipsPartRevisions.type) && - Objects.equals(this.id, partDataRelationshipsPartRevisions.id); - } - - @Override - public int hashCode() { - return Objects.hash(type, id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartDataRelationshipsPartRevisions {\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/PartInstanceRelationship.java b/src/main/java/com/vertexvis/model/PartInstanceRelationship.java deleted file mode 100644 index c05c124f..00000000 --- a/src/main/java/com/vertexvis/model/PartInstanceRelationship.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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.PartInstanceRelationshipData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Relationship to a `part-instance`. - */ -@ApiModel(description = "Relationship to a `part-instance`.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartInstanceRelationship { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private PartInstanceRelationshipData data; - - public PartInstanceRelationship() { - } - - public PartInstanceRelationship data(PartInstanceRelationshipData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PartInstanceRelationshipData getData() { - return data; - } - - - public void setData(PartInstanceRelationshipData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PartInstanceRelationship partInstanceRelationship = (PartInstanceRelationship) o; - return Objects.equals(this.data, partInstanceRelationship.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartInstanceRelationship {\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/PartInstanceRelationshipData.java b/src/main/java/com/vertexvis/model/PartInstanceRelationshipData.java deleted file mode 100644 index de536b5d..00000000 --- a/src/main/java/com/vertexvis/model/PartInstanceRelationshipData.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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; - -/** - * PartInstanceRelationshipData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartInstanceRelationshipData { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - PART_INSTANCE("part-instance"); - - 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 PartInstanceRelationshipData() { - } - - public PartInstanceRelationshipData type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "part-instance", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public PartInstanceRelationshipData 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; - } - PartInstanceRelationshipData partInstanceRelationshipData = (PartInstanceRelationshipData) o; - return Objects.equals(this.type, partInstanceRelationshipData.type) && - Objects.equals(this.id, partInstanceRelationshipData.id); - } - - @Override - public int hashCode() { - return Objects.hash(type, id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartInstanceRelationshipData {\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/PartList.java b/src/main/java/com/vertexvis/model/PartList.java deleted file mode 100644 index 860e3759..00000000 --- a/src/main/java/com/vertexvis/model/PartList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.PartData; -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; - -/** - * PartList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartList { - 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 PartList() { - } - - public PartList data(List data) { - - this.data = data; - return this; - } - - public PartList addDataItem(PartData 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 PartList links(Map links) { - - this.links = links; - return this; - } - - public PartList 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; - } - PartList partList = (PartList) o; - return Objects.equals(this.data, partList.data) && - Objects.equals(this.links, partList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartList {\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/PartRelationshipData.java b/src/main/java/com/vertexvis/model/PartRelationshipData.java deleted file mode 100644 index a5dcc51a..00000000 --- a/src/main/java/com/vertexvis/model/PartRelationshipData.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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; - -/** - * PartRelationshipData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRelationshipData { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - PART("part"); - - 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 PartRelationshipData() { - } - - public PartRelationshipData type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "part", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public PartRelationshipData 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; - } - PartRelationshipData partRelationshipData = (PartRelationshipData) o; - return Objects.equals(this.type, partRelationshipData.type) && - Objects.equals(this.id, partRelationshipData.id); - } - - @Override - public int hashCode() { - return Objects.hash(type, id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRelationshipData {\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/PartRendition.java b/src/main/java/com/vertexvis/model/PartRendition.java deleted file mode 100644 index 34bcb7ec..00000000 --- a/src/main/java/com/vertexvis/model/PartRendition.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.PartRenditionData; -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; - -/** - * PartRendition - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRendition { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private PartRenditionData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public PartRendition() { - } - - public PartRendition data(PartRenditionData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PartRenditionData getData() { - return data; - } - - - public void setData(PartRenditionData data) { - this.data = data; - } - - - public PartRendition links(Map links) { - - this.links = links; - return this; - } - - public PartRendition 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; - } - PartRendition partRendition = (PartRendition) o; - return Objects.equals(this.data, partRendition.data) && - Objects.equals(this.links, partRendition.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRendition {\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/PartRenditionData.java b/src/main/java/com/vertexvis/model/PartRenditionData.java deleted file mode 100644 index 2457a9d9..00000000 --- a/src/main/java/com/vertexvis/model/PartRenditionData.java +++ /dev/null @@ -1,231 +0,0 @@ -/* - * 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.PartRenditionDataAttributes; -import com.vertexvis.model.PartRenditionDataRelationships; -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; - -/** - * PartRenditionData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRenditionData { - 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 PartRenditionDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private PartRenditionDataRelationships relationships; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public PartRenditionData() { - } - - public PartRenditionData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "part-rendition", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public PartRenditionData 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 PartRenditionData attributes(PartRenditionDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PartRenditionDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(PartRenditionDataAttributes attributes) { - this.attributes = attributes; - } - - - public PartRenditionData relationships(PartRenditionDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PartRenditionDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(PartRenditionDataRelationships relationships) { - this.relationships = relationships; - } - - - public PartRenditionData links(Map links) { - - this.links = links; - return this; - } - - public PartRenditionData 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; - } - PartRenditionData partRenditionData = (PartRenditionData) o; - return Objects.equals(this.type, partRenditionData.type) && - Objects.equals(this.id, partRenditionData.id) && - Objects.equals(this.attributes, partRenditionData.attributes) && - Objects.equals(this.relationships, partRenditionData.relationships) && - Objects.equals(this.links, partRenditionData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, relationships, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRenditionData {\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/PartRenditionDataAttributes.java b/src/main/java/com/vertexvis/model/PartRenditionDataAttributes.java deleted file mode 100644 index 2d144cf1..00000000 --- a/src/main/java/com/vertexvis/model/PartRenditionDataAttributes.java +++ /dev/null @@ -1,159 +0,0 @@ -/* - * 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.time.OffsetDateTime; - -/** - * PartRenditionDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRenditionDataAttributes { - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public PartRenditionDataAttributes() { - } - - public PartRenditionDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2020-01-01T12:00Z", value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - public PartRenditionDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * Get suppliedId - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - public PartRenditionDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PartRenditionDataAttributes partRenditionDataAttributes = (PartRenditionDataAttributes) o; - return Objects.equals(this.created, partRenditionDataAttributes.created) && - Objects.equals(this.suppliedId, partRenditionDataAttributes.suppliedId) && - Objects.equals(this.name, partRenditionDataAttributes.name); - } - - @Override - public int hashCode() { - return Objects.hash(created, suppliedId, name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRenditionDataAttributes {\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).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/PartRenditionDataRelationships.java b/src/main/java/com/vertexvis/model/PartRenditionDataRelationships.java deleted file mode 100644 index cc066451..00000000 --- a/src/main/java/com/vertexvis/model/PartRenditionDataRelationships.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * 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.GeometrySetRelationshipData; -import com.vertexvis.model.PartRevisionRelationship; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * PartRenditionDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRenditionDataRelationships { - public static final String SERIALIZED_NAME_GEOMETRY_SET = "geometrySet"; - @SerializedName(SERIALIZED_NAME_GEOMETRY_SET) - private GeometrySetRelationshipData geometrySet; - - public static final String SERIALIZED_NAME_PART_REVISION = "partRevision"; - @SerializedName(SERIALIZED_NAME_PART_REVISION) - private PartRevisionRelationship partRevision; - - public PartRenditionDataRelationships() { - } - - public PartRenditionDataRelationships geometrySet(GeometrySetRelationshipData geometrySet) { - - this.geometrySet = geometrySet; - return this; - } - - /** - * Get geometrySet - * @return geometrySet - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public GeometrySetRelationshipData getGeometrySet() { - return geometrySet; - } - - - public void setGeometrySet(GeometrySetRelationshipData geometrySet) { - this.geometrySet = geometrySet; - } - - - public PartRenditionDataRelationships partRevision(PartRevisionRelationship partRevision) { - - this.partRevision = partRevision; - return this; - } - - /** - * Get partRevision - * @return partRevision - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public PartRevisionRelationship getPartRevision() { - return partRevision; - } - - - public void setPartRevision(PartRevisionRelationship partRevision) { - this.partRevision = partRevision; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PartRenditionDataRelationships partRenditionDataRelationships = (PartRenditionDataRelationships) o; - return Objects.equals(this.geometrySet, partRenditionDataRelationships.geometrySet) && - Objects.equals(this.partRevision, partRenditionDataRelationships.partRevision); - } - - @Override - public int hashCode() { - return Objects.hash(geometrySet, partRevision); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRenditionDataRelationships {\n"); - sb.append(" geometrySet: ").append(toIndentedString(geometrySet)).append("\n"); - sb.append(" partRevision: ").append(toIndentedString(partRevision)).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/PartRenditionList.java b/src/main/java/com/vertexvis/model/PartRenditionList.java deleted file mode 100644 index b0bbfc74..00000000 --- a/src/main/java/com/vertexvis/model/PartRenditionList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.PartRenditionData; -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; - -/** - * PartRenditionList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRenditionList { - 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 PartRenditionList() { - } - - public PartRenditionList data(List data) { - - this.data = data; - return this; - } - - public PartRenditionList addDataItem(PartRenditionData 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 PartRenditionList links(Map links) { - - this.links = links; - return this; - } - - public PartRenditionList 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; - } - PartRenditionList partRenditionList = (PartRenditionList) o; - return Objects.equals(this.data, partRenditionList.data) && - Objects.equals(this.links, partRenditionList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRenditionList {\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/PartRenditionRelationship.java b/src/main/java/com/vertexvis/model/PartRenditionRelationship.java deleted file mode 100644 index e61fb63e..00000000 --- a/src/main/java/com/vertexvis/model/PartRenditionRelationship.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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.PartRenditionRelationshipData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Relationship to a `part-rendition`. - */ -@ApiModel(description = "Relationship to a `part-rendition`.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRenditionRelationship { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private PartRenditionRelationshipData data; - - public PartRenditionRelationship() { - } - - public PartRenditionRelationship data(PartRenditionRelationshipData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PartRenditionRelationshipData getData() { - return data; - } - - - public void setData(PartRenditionRelationshipData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PartRenditionRelationship partRenditionRelationship = (PartRenditionRelationship) o; - return Objects.equals(this.data, partRenditionRelationship.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRenditionRelationship {\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/PartRenditionRelationshipData.java b/src/main/java/com/vertexvis/model/PartRenditionRelationshipData.java deleted file mode 100644 index 5d412e94..00000000 --- a/src/main/java/com/vertexvis/model/PartRenditionRelationshipData.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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; - -/** - * PartRenditionRelationshipData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRenditionRelationshipData { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - PART_RENDITION("part-rendition"); - - 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 PartRenditionRelationshipData() { - } - - public PartRenditionRelationshipData type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "part-rendition", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public PartRenditionRelationshipData 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; - } - PartRenditionRelationshipData partRenditionRelationshipData = (PartRenditionRelationshipData) o; - return Objects.equals(this.type, partRenditionRelationshipData.type) && - Objects.equals(this.id, partRenditionRelationshipData.id); - } - - @Override - public int hashCode() { - return Objects.hash(type, id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRenditionRelationshipData {\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/PartRevision.java b/src/main/java/com/vertexvis/model/PartRevision.java deleted file mode 100644 index 9e28e972..00000000 --- a/src/main/java/com/vertexvis/model/PartRevision.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.PartRevisionData; -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; - -/** - * PartRevision - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRevision { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private PartRevisionData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public PartRevision() { - } - - public PartRevision data(PartRevisionData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PartRevisionData getData() { - return data; - } - - - public void setData(PartRevisionData data) { - this.data = data; - } - - - public PartRevision links(Map links) { - - this.links = links; - return this; - } - - public PartRevision 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; - } - PartRevision partRevision = (PartRevision) o; - return Objects.equals(this.data, partRevision.data) && - Objects.equals(this.links, partRevision.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRevision {\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/PartRevisionData.java b/src/main/java/com/vertexvis/model/PartRevisionData.java deleted file mode 100644 index 015f4249..00000000 --- a/src/main/java/com/vertexvis/model/PartRevisionData.java +++ /dev/null @@ -1,231 +0,0 @@ -/* - * 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.PartRevisionDataAttributes; -import com.vertexvis.model.PartRevisionDataRelationships; -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; - -/** - * PartRevisionData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRevisionData { - 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 PartRevisionDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private PartRevisionDataRelationships relationships; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public PartRevisionData() { - } - - public PartRevisionData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "part-revision", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public PartRevisionData 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 PartRevisionData attributes(PartRevisionDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PartRevisionDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(PartRevisionDataAttributes attributes) { - this.attributes = attributes; - } - - - public PartRevisionData relationships(PartRevisionDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PartRevisionDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(PartRevisionDataRelationships relationships) { - this.relationships = relationships; - } - - - public PartRevisionData links(Map links) { - - this.links = links; - return this; - } - - public PartRevisionData 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; - } - PartRevisionData partRevisionData = (PartRevisionData) o; - return Objects.equals(this.type, partRevisionData.type) && - Objects.equals(this.id, partRevisionData.id) && - Objects.equals(this.attributes, partRevisionData.attributes) && - Objects.equals(this.relationships, partRevisionData.relationships) && - Objects.equals(this.links, partRevisionData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, relationships, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRevisionData {\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/PartRevisionDataAttributes.java b/src/main/java/com/vertexvis/model/PartRevisionDataAttributes.java deleted file mode 100644 index 53a4a1d9..00000000 --- a/src/main/java/com/vertexvis/model/PartRevisionDataAttributes.java +++ /dev/null @@ -1,229 +0,0 @@ -/* - * 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.AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * PartRevisionDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRevisionDataAttributes { - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public static final String SERIALIZED_NAME_SUPPLIED_ITERATION_ID = "suppliedIterationId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ITERATION_ID) - private String suppliedIterationId; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public PartRevisionDataAttributes() { - } - - public PartRevisionDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2020-01-01T12:00Z", value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - public PartRevisionDataAttributes metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public PartRevisionDataAttributes putMetadataItem(String key, AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap<>(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - public PartRevisionDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * Get suppliedId - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - public PartRevisionDataAttributes suppliedIterationId(String suppliedIterationId) { - - this.suppliedIterationId = suppliedIterationId; - return this; - } - - /** - * Get suppliedIterationId - * @return suppliedIterationId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getSuppliedIterationId() { - return suppliedIterationId; - } - - - public void setSuppliedIterationId(String suppliedIterationId) { - this.suppliedIterationId = suppliedIterationId; - } - - - public PartRevisionDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PartRevisionDataAttributes partRevisionDataAttributes = (PartRevisionDataAttributes) o; - return Objects.equals(this.created, partRevisionDataAttributes.created) && - Objects.equals(this.metadata, partRevisionDataAttributes.metadata) && - Objects.equals(this.suppliedId, partRevisionDataAttributes.suppliedId) && - Objects.equals(this.suppliedIterationId, partRevisionDataAttributes.suppliedIterationId) && - Objects.equals(this.name, partRevisionDataAttributes.name); - } - - @Override - public int hashCode() { - return Objects.hash(created, metadata, suppliedId, suppliedIterationId, name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRevisionDataAttributes {\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).append("\n"); - sb.append(" suppliedIterationId: ").append(toIndentedString(suppliedIterationId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).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/PartRevisionDataRelationships.java b/src/main/java/com/vertexvis/model/PartRevisionDataRelationships.java deleted file mode 100644 index 15bb94a1..00000000 --- a/src/main/java/com/vertexvis/model/PartRevisionDataRelationships.java +++ /dev/null @@ -1,161 +0,0 @@ -/* - * 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.GeometrySetRelationshipData; -import com.vertexvis.model.PartRelationshipData; -import com.vertexvis.model.PartRenditionRelationship; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * PartRevisionDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRevisionDataRelationships { - public static final String SERIALIZED_NAME_GEOMETRY_SET = "geometrySet"; - @SerializedName(SERIALIZED_NAME_GEOMETRY_SET) - private GeometrySetRelationshipData geometrySet; - - public static final String SERIALIZED_NAME_PART = "part"; - @SerializedName(SERIALIZED_NAME_PART) - private PartRelationshipData part; - - public static final String SERIALIZED_NAME_DEFAULT_PART_RENDITION = "defaultPartRendition"; - @SerializedName(SERIALIZED_NAME_DEFAULT_PART_RENDITION) - private PartRenditionRelationship defaultPartRendition; - - public PartRevisionDataRelationships() { - } - - public PartRevisionDataRelationships geometrySet(GeometrySetRelationshipData geometrySet) { - - this.geometrySet = geometrySet; - return this; - } - - /** - * Get geometrySet - * @return geometrySet - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public GeometrySetRelationshipData getGeometrySet() { - return geometrySet; - } - - - public void setGeometrySet(GeometrySetRelationshipData geometrySet) { - this.geometrySet = geometrySet; - } - - - public PartRevisionDataRelationships part(PartRelationshipData part) { - - this.part = part; - return this; - } - - /** - * Get part - * @return part - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public PartRelationshipData getPart() { - return part; - } - - - public void setPart(PartRelationshipData part) { - this.part = part; - } - - - public PartRevisionDataRelationships defaultPartRendition(PartRenditionRelationship defaultPartRendition) { - - this.defaultPartRendition = defaultPartRendition; - return this; - } - - /** - * Get defaultPartRendition - * @return defaultPartRendition - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public PartRenditionRelationship getDefaultPartRendition() { - return defaultPartRendition; - } - - - public void setDefaultPartRendition(PartRenditionRelationship defaultPartRendition) { - this.defaultPartRendition = defaultPartRendition; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PartRevisionDataRelationships partRevisionDataRelationships = (PartRevisionDataRelationships) o; - return Objects.equals(this.geometrySet, partRevisionDataRelationships.geometrySet) && - Objects.equals(this.part, partRevisionDataRelationships.part) && - Objects.equals(this.defaultPartRendition, partRevisionDataRelationships.defaultPartRendition); - } - - @Override - public int hashCode() { - return Objects.hash(geometrySet, part, defaultPartRendition); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRevisionDataRelationships {\n"); - sb.append(" geometrySet: ").append(toIndentedString(geometrySet)).append("\n"); - sb.append(" part: ").append(toIndentedString(part)).append("\n"); - sb.append(" defaultPartRendition: ").append(toIndentedString(defaultPartRendition)).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/PartRevisionInstance.java b/src/main/java/com/vertexvis/model/PartRevisionInstance.java deleted file mode 100644 index 90bf898b..00000000 --- a/src/main/java/com/vertexvis/model/PartRevisionInstance.java +++ /dev/null @@ -1,191 +0,0 @@ -/* - * 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.Matrix4; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.UUID; - -/** - * A reference to an existing PartRevision. Specify one and only one of referenceId or suppliedReferenceId to refer to a revision. - */ -@ApiModel(description = "A reference to an existing PartRevision. Specify one and only one of referenceId or suppliedReferenceId to refer to a revision.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRevisionInstance { - public static final String SERIALIZED_NAME_ORDINAL = "ordinal"; - @SerializedName(SERIALIZED_NAME_ORDINAL) - private Integer ordinal; - - public static final String SERIALIZED_NAME_REVISION_ID = "revisionId"; - @SerializedName(SERIALIZED_NAME_REVISION_ID) - private UUID revisionId; - - public static final String SERIALIZED_NAME_SUPPLIED_REVISION_ID = "suppliedRevisionId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_REVISION_ID) - private String suppliedRevisionId; - - public static final String SERIALIZED_NAME_TRANSFORM = "transform"; - @SerializedName(SERIALIZED_NAME_TRANSFORM) - private Matrix4 transform; - - public PartRevisionInstance() { - } - - public PartRevisionInstance ordinal(Integer ordinal) { - - this.ordinal = ordinal; - return this; - } - - /** - * A 0-based index used for defining a consistent ordering for children of an assembly - * minimum: 0 - * @return ordinal - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "A 0-based index used for defining a consistent ordering for children of an assembly") - - public Integer getOrdinal() { - return ordinal; - } - - - public void setOrdinal(Integer ordinal) { - this.ordinal = ordinal; - } - - - public PartRevisionInstance revisionId(UUID revisionId) { - - this.revisionId = revisionId; - return this; - } - - /** - * ID of the resource. - * @return revisionId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "f79d4760-0b71-44e4-ad0b-22743fdd4ca3", value = "ID of the resource.") - - public UUID getRevisionId() { - return revisionId; - } - - - public void setRevisionId(UUID revisionId) { - this.revisionId = revisionId; - } - - - public PartRevisionInstance suppliedRevisionId(String suppliedRevisionId) { - - this.suppliedRevisionId = suppliedRevisionId; - return this; - } - - /** - * Get suppliedRevisionId - * @return suppliedRevisionId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getSuppliedRevisionId() { - return suppliedRevisionId; - } - - - public void setSuppliedRevisionId(String suppliedRevisionId) { - this.suppliedRevisionId = suppliedRevisionId; - } - - - public PartRevisionInstance transform(Matrix4 transform) { - - this.transform = transform; - return this; - } - - /** - * Get transform - * @return transform - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Matrix4 getTransform() { - return transform; - } - - - public void setTransform(Matrix4 transform) { - this.transform = transform; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PartRevisionInstance partRevisionInstance = (PartRevisionInstance) o; - return Objects.equals(this.ordinal, partRevisionInstance.ordinal) && - Objects.equals(this.revisionId, partRevisionInstance.revisionId) && - Objects.equals(this.suppliedRevisionId, partRevisionInstance.suppliedRevisionId) && - Objects.equals(this.transform, partRevisionInstance.transform); - } - - @Override - public int hashCode() { - return Objects.hash(ordinal, revisionId, suppliedRevisionId, transform); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRevisionInstance {\n"); - sb.append(" ordinal: ").append(toIndentedString(ordinal)).append("\n"); - sb.append(" revisionId: ").append(toIndentedString(revisionId)).append("\n"); - sb.append(" suppliedRevisionId: ").append(toIndentedString(suppliedRevisionId)).append("\n"); - sb.append(" transform: ").append(toIndentedString(transform)).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/PartRevisionInstanceData.java b/src/main/java/com/vertexvis/model/PartRevisionInstanceData.java deleted file mode 100644 index d6bb746b..00000000 --- a/src/main/java/com/vertexvis/model/PartRevisionInstanceData.java +++ /dev/null @@ -1,190 +0,0 @@ -/* - * 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.PartRevisionInstanceDataAttributes; -import com.vertexvis.model.PartRevisionInstanceDataRelationships; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.UUID; - -/** - * PartRevisionInstanceData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRevisionInstanceData { - 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 PartRevisionInstanceDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private PartRevisionInstanceDataRelationships relationships; - - public PartRevisionInstanceData() { - } - - public PartRevisionInstanceData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "part-revision-instance", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public PartRevisionInstanceData 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 PartRevisionInstanceData attributes(PartRevisionInstanceDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PartRevisionInstanceDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(PartRevisionInstanceDataAttributes attributes) { - this.attributes = attributes; - } - - - public PartRevisionInstanceData relationships(PartRevisionInstanceDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PartRevisionInstanceDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(PartRevisionInstanceDataRelationships relationships) { - this.relationships = relationships; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PartRevisionInstanceData partRevisionInstanceData = (PartRevisionInstanceData) o; - return Objects.equals(this.type, partRevisionInstanceData.type) && - Objects.equals(this.id, partRevisionInstanceData.id) && - Objects.equals(this.attributes, partRevisionInstanceData.attributes) && - Objects.equals(this.relationships, partRevisionInstanceData.relationships); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, relationships); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRevisionInstanceData {\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("}"); - 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/PartRevisionInstanceDataAttributes.java b/src/main/java/com/vertexvis/model/PartRevisionInstanceDataAttributes.java deleted file mode 100644 index 7dda1b7d..00000000 --- a/src/main/java/com/vertexvis/model/PartRevisionInstanceDataAttributes.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * 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.Matrix4; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * PartRevisionInstanceDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRevisionInstanceDataAttributes { - public static final String SERIALIZED_NAME_ORDINAL = "ordinal"; - @SerializedName(SERIALIZED_NAME_ORDINAL) - private Integer ordinal; - - public static final String SERIALIZED_NAME_TRANSFORM = "transform"; - @SerializedName(SERIALIZED_NAME_TRANSFORM) - private Matrix4 transform; - - public PartRevisionInstanceDataAttributes() { - } - - public PartRevisionInstanceDataAttributes ordinal(Integer ordinal) { - - this.ordinal = ordinal; - return this; - } - - /** - * A 0-based index used for defining a consistent ordering for children of an assembly - * minimum: 0 - * @return ordinal - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "A 0-based index used for defining a consistent ordering for children of an assembly") - - public Integer getOrdinal() { - return ordinal; - } - - - public void setOrdinal(Integer ordinal) { - this.ordinal = ordinal; - } - - - public PartRevisionInstanceDataAttributes transform(Matrix4 transform) { - - this.transform = transform; - return this; - } - - /** - * Get transform - * @return transform - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Matrix4 getTransform() { - return transform; - } - - - public void setTransform(Matrix4 transform) { - this.transform = transform; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PartRevisionInstanceDataAttributes partRevisionInstanceDataAttributes = (PartRevisionInstanceDataAttributes) o; - return Objects.equals(this.ordinal, partRevisionInstanceDataAttributes.ordinal) && - Objects.equals(this.transform, partRevisionInstanceDataAttributes.transform); - } - - @Override - public int hashCode() { - return Objects.hash(ordinal, transform); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRevisionInstanceDataAttributes {\n"); - sb.append(" ordinal: ").append(toIndentedString(ordinal)).append("\n"); - sb.append(" transform: ").append(toIndentedString(transform)).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/PartRevisionInstanceDataRelationships.java b/src/main/java/com/vertexvis/model/PartRevisionInstanceDataRelationships.java deleted file mode 100644 index 01adfc19..00000000 --- a/src/main/java/com/vertexvis/model/PartRevisionInstanceDataRelationships.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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.PartRevisionRelationship; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * This is the relationship from the instance to the parent revision - */ -@ApiModel(description = "This is the relationship from the instance to the parent revision") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRevisionInstanceDataRelationships { - public static final String SERIALIZED_NAME_PART_REVISION = "partRevision"; - @SerializedName(SERIALIZED_NAME_PART_REVISION) - private PartRevisionRelationship partRevision; - - public PartRevisionInstanceDataRelationships() { - } - - public PartRevisionInstanceDataRelationships partRevision(PartRevisionRelationship partRevision) { - - this.partRevision = partRevision; - return this; - } - - /** - * Get partRevision - * @return partRevision - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PartRevisionRelationship getPartRevision() { - return partRevision; - } - - - public void setPartRevision(PartRevisionRelationship partRevision) { - this.partRevision = partRevision; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PartRevisionInstanceDataRelationships partRevisionInstanceDataRelationships = (PartRevisionInstanceDataRelationships) o; - return Objects.equals(this.partRevision, partRevisionInstanceDataRelationships.partRevision); - } - - @Override - public int hashCode() { - return Objects.hash(partRevision); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRevisionInstanceDataRelationships {\n"); - sb.append(" partRevision: ").append(toIndentedString(partRevision)).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/PartRevisionInstanceList.java b/src/main/java/com/vertexvis/model/PartRevisionInstanceList.java deleted file mode 100644 index 62d319d6..00000000 --- a/src/main/java/com/vertexvis/model/PartRevisionInstanceList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.PartRevisionInstanceData; -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; - -/** - * PartRevisionInstanceList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRevisionInstanceList { - 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 PartRevisionInstanceList() { - } - - public PartRevisionInstanceList data(List data) { - - this.data = data; - return this; - } - - public PartRevisionInstanceList addDataItem(PartRevisionInstanceData 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 PartRevisionInstanceList links(Map links) { - - this.links = links; - return this; - } - - public PartRevisionInstanceList 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; - } - PartRevisionInstanceList partRevisionInstanceList = (PartRevisionInstanceList) o; - return Objects.equals(this.data, partRevisionInstanceList.data) && - Objects.equals(this.links, partRevisionInstanceList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRevisionInstanceList {\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/PartRevisionList.java b/src/main/java/com/vertexvis/model/PartRevisionList.java deleted file mode 100644 index 5e8d6a55..00000000 --- a/src/main/java/com/vertexvis/model/PartRevisionList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.PartRevisionData; -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; - -/** - * PartRevisionList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRevisionList { - 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 PartRevisionList() { - } - - public PartRevisionList data(List data) { - - this.data = data; - return this; - } - - public PartRevisionList addDataItem(PartRevisionData 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 PartRevisionList links(Map links) { - - this.links = links; - return this; - } - - public PartRevisionList 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; - } - PartRevisionList partRevisionList = (PartRevisionList) o; - return Objects.equals(this.data, partRevisionList.data) && - Objects.equals(this.links, partRevisionList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRevisionList {\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/PartRevisionRelationship.java b/src/main/java/com/vertexvis/model/PartRevisionRelationship.java deleted file mode 100644 index 36181fbd..00000000 --- a/src/main/java/com/vertexvis/model/PartRevisionRelationship.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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.PartDataRelationshipsPartRevisions; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Relationship to a `part-revision`. - */ -@ApiModel(description = "Relationship to a `part-revision`.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRevisionRelationship { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private PartDataRelationshipsPartRevisions data; - - public PartRevisionRelationship() { - } - - public PartRevisionRelationship data(PartDataRelationshipsPartRevisions data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PartDataRelationshipsPartRevisions getData() { - return data; - } - - - public void setData(PartDataRelationshipsPartRevisions data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PartRevisionRelationship partRevisionRelationship = (PartRevisionRelationship) o; - return Objects.equals(this.data, partRevisionRelationship.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRevisionRelationship {\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/PartRevisionSuppliedId.java b/src/main/java/com/vertexvis/model/PartRevisionSuppliedId.java deleted file mode 100644 index a088d79a..00000000 --- a/src/main/java/com/vertexvis/model/PartRevisionSuppliedId.java +++ /dev/null @@ -1,158 +0,0 @@ -/* - * 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; - -/** - * PartRevisionSuppliedId - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PartRevisionSuppliedId { - public static final String SERIALIZED_NAME_SUPPLIED_PART_ID = "suppliedPartId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_PART_ID) - private String suppliedPartId; - - public static final String SERIALIZED_NAME_SUPPLIED_REVISION_ID = "suppliedRevisionId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_REVISION_ID) - private String suppliedRevisionId; - - public static final String SERIALIZED_NAME_SUPPLIED_ITERATION_ID = "suppliedIterationId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ITERATION_ID) - private String suppliedIterationId; - - public PartRevisionSuppliedId() { - } - - public PartRevisionSuppliedId suppliedPartId(String suppliedPartId) { - - this.suppliedPartId = suppliedPartId; - return this; - } - - /** - * ID provided for correlation. For example, an existing ID from a PLM system. - * @return suppliedPartId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "ID provided for correlation. For example, an existing ID from a PLM system.") - - public String getSuppliedPartId() { - return suppliedPartId; - } - - - public void setSuppliedPartId(String suppliedPartId) { - this.suppliedPartId = suppliedPartId; - } - - - public PartRevisionSuppliedId suppliedRevisionId(String suppliedRevisionId) { - - this.suppliedRevisionId = suppliedRevisionId; - return this; - } - - /** - * ID provided for correlation. For example, an existing ID from a PLM system. - * @return suppliedRevisionId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "ID provided for correlation. For example, an existing ID from a PLM system.") - - public String getSuppliedRevisionId() { - return suppliedRevisionId; - } - - - public void setSuppliedRevisionId(String suppliedRevisionId) { - this.suppliedRevisionId = suppliedRevisionId; - } - - - public PartRevisionSuppliedId suppliedIterationId(String suppliedIterationId) { - - this.suppliedIterationId = suppliedIterationId; - return this; - } - - /** - * Optional iteration ID for the revision. For example, a generated version id from a PLM system to a specific revision. Used when a existing revision is modified. - * @return suppliedIterationId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Optional iteration ID for the revision. For example, a generated version id from a PLM system to a specific revision. Used when a existing revision is modified.") - - public String getSuppliedIterationId() { - return suppliedIterationId; - } - - - public void setSuppliedIterationId(String suppliedIterationId) { - this.suppliedIterationId = suppliedIterationId; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PartRevisionSuppliedId partRevisionSuppliedId = (PartRevisionSuppliedId) o; - return Objects.equals(this.suppliedPartId, partRevisionSuppliedId.suppliedPartId) && - Objects.equals(this.suppliedRevisionId, partRevisionSuppliedId.suppliedRevisionId) && - Objects.equals(this.suppliedIterationId, partRevisionSuppliedId.suppliedIterationId); - } - - @Override - public int hashCode() { - return Objects.hash(suppliedPartId, suppliedRevisionId, suppliedIterationId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PartRevisionSuppliedId {\n"); - sb.append(" suppliedPartId: ").append(toIndentedString(suppliedPartId)).append("\n"); - sb.append(" suppliedRevisionId: ").append(toIndentedString(suppliedRevisionId)).append("\n"); - sb.append(" suppliedIterationId: ").append(toIndentedString(suppliedIterationId)).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/PerspectiveCamera.java b/src/main/java/com/vertexvis/model/PerspectiveCamera.java deleted file mode 100644 index d59f4e0e..00000000 --- a/src/main/java/com/vertexvis/model/PerspectiveCamera.java +++ /dev/null @@ -1,221 +0,0 @@ -/* - * 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.Vector3; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -/** - * A camera type that mimics the way the human eye sees. - */ -@ApiModel(description = "A camera type that mimics the way the human eye sees.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PerspectiveCamera { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_POSITION = "position"; - @SerializedName(SERIALIZED_NAME_POSITION) - private Vector3 position; - - public static final String SERIALIZED_NAME_LOOK_AT = "lookAt"; - @SerializedName(SERIALIZED_NAME_LOOK_AT) - private Vector3 lookAt; - - public static final String SERIALIZED_NAME_UP = "up"; - @SerializedName(SERIALIZED_NAME_UP) - private Vector3 up; - - public static final String SERIALIZED_NAME_FOV_Y = "fovY"; - @SerializedName(SERIALIZED_NAME_FOV_Y) - private BigDecimal fovY; - - public PerspectiveCamera() { - } - - public PerspectiveCamera type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "perspective", value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public PerspectiveCamera position(Vector3 position) { - - this.position = position; - return this; - } - - /** - * Get position - * @return position - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector3 getPosition() { - return position; - } - - - public void setPosition(Vector3 position) { - this.position = position; - } - - - public PerspectiveCamera lookAt(Vector3 lookAt) { - - this.lookAt = lookAt; - return this; - } - - /** - * Get lookAt - * @return lookAt - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector3 getLookAt() { - return lookAt; - } - - - public void setLookAt(Vector3 lookAt) { - this.lookAt = lookAt; - } - - - public PerspectiveCamera up(Vector3 up) { - - this.up = up; - return this; - } - - /** - * Get up - * @return up - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector3 getUp() { - return up; - } - - - public void setUp(Vector3 up) { - this.up = up; - } - - - public PerspectiveCamera fovY(BigDecimal fovY) { - - this.fovY = fovY; - return this; - } - - /** - * A numerical floating-point value representing the field of view - * minimum: 1 - * maximum: 179 - * @return fovY - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "A numerical floating-point value representing the field of view") - - public BigDecimal getFovY() { - return fovY; - } - - - public void setFovY(BigDecimal fovY) { - this.fovY = fovY; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PerspectiveCamera perspectiveCamera = (PerspectiveCamera) o; - return Objects.equals(this.type, perspectiveCamera.type) && - Objects.equals(this.position, perspectiveCamera.position) && - Objects.equals(this.lookAt, perspectiveCamera.lookAt) && - Objects.equals(this.up, perspectiveCamera.up) && - Objects.equals(this.fovY, perspectiveCamera.fovY); - } - - @Override - public int hashCode() { - return Objects.hash(type, position, lookAt, up, fovY); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PerspectiveCamera {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" position: ").append(toIndentedString(position)).append("\n"); - sb.append(" lookAt: ").append(toIndentedString(lookAt)).append("\n"); - sb.append(" up: ").append(toIndentedString(up)).append("\n"); - sb.append(" fovY: ").append(toIndentedString(fovY)).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/PmiAnnotationData.java b/src/main/java/com/vertexvis/model/PmiAnnotationData.java deleted file mode 100644 index 038f28f7..00000000 --- a/src/main/java/com/vertexvis/model/PmiAnnotationData.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * 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.CreateAccountRequestDataAttributes; -import com.vertexvis.model.Link; -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; - -/** - * PmiAnnotationData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PmiAnnotationData { - 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 CreateAccountRequestDataAttributes attributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public PmiAnnotationData() { - } - - public PmiAnnotationData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "pmi-annotation", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public PmiAnnotationData 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 PmiAnnotationData attributes(CreateAccountRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateAccountRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateAccountRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - public PmiAnnotationData links(Map links) { - - this.links = links; - return this; - } - - public PmiAnnotationData 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; - } - PmiAnnotationData pmiAnnotationData = (PmiAnnotationData) o; - return Objects.equals(this.type, pmiAnnotationData.type) && - Objects.equals(this.id, pmiAnnotationData.id) && - Objects.equals(this.attributes, pmiAnnotationData.attributes) && - Objects.equals(this.links, pmiAnnotationData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PmiAnnotationData {\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(" 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/PmiAnnotationList.java b/src/main/java/com/vertexvis/model/PmiAnnotationList.java deleted file mode 100644 index eafb1ee1..00000000 --- a/src/main/java/com/vertexvis/model/PmiAnnotationList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.PmiAnnotationData; -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; - -/** - * PmiAnnotationList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PmiAnnotationList { - 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 PmiAnnotationList() { - } - - public PmiAnnotationList data(List data) { - - this.data = data; - return this; - } - - public PmiAnnotationList addDataItem(PmiAnnotationData 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 PmiAnnotationList links(Map links) { - - this.links = links; - return this; - } - - public PmiAnnotationList 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; - } - PmiAnnotationList pmiAnnotationList = (PmiAnnotationList) o; - return Objects.equals(this.data, pmiAnnotationList.data) && - Objects.equals(this.links, pmiAnnotationList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PmiAnnotationList {\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/Point.java b/src/main/java/com/vertexvis/model/Point.java deleted file mode 100644 index 2ec51418..00000000 --- a/src/main/java/com/vertexvis/model/Point.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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; - -/** - * 2D point. - */ -@ApiModel(description = "2D point.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Point { - public static final String SERIALIZED_NAME_DX = "dx"; - @SerializedName(SERIALIZED_NAME_DX) - private Integer dx; - - public static final String SERIALIZED_NAME_DY = "dy"; - @SerializedName(SERIALIZED_NAME_DY) - private Integer dy; - - public Point() { - } - - public Point dx(Integer dx) { - - this.dx = dx; - return this; - } - - /** - * x-axis coordinate. - * @return dx - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "0", required = true, value = "x-axis coordinate.") - - public Integer getDx() { - return dx; - } - - - public void setDx(Integer dx) { - this.dx = dx; - } - - - public Point dy(Integer dy) { - - this.dy = dy; - return this; - } - - /** - * y-axis coordinate. - * @return dy - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "0", required = true, value = "y-axis coordinate.") - - public Integer getDy() { - return dy; - } - - - public void setDy(Integer dy) { - this.dy = dy; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Point point = (Point) o; - return Objects.equals(this.dx, point.dx) && - Objects.equals(this.dy, point.dy); - } - - @Override - public int hashCode() { - return Objects.hash(dx, dy); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Point {\n"); - sb.append(" dx: ").append(toIndentedString(dx)).append("\n"); - sb.append(" dy: ").append(toIndentedString(dy)).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/PropertyDateType.java b/src/main/java/com/vertexvis/model/PropertyDateType.java deleted file mode 100644 index 885f2769..00000000 --- a/src/main/java/com/vertexvis/model/PropertyDateType.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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.time.OffsetDateTime; - -/** - * PropertyDateType - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PropertyDateType { - /** - * Type of property value. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - DATE("date"); - - 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 OffsetDateTime value; - - public PropertyDateType() { - } - - public PropertyDateType type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Type of property value. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Type of property value.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public PropertyDateType value(OffsetDateTime value) { - - this.value = value; - return this; - } - - /** - * A date value. - * @return value - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2025-02-22T10:11:12Z", required = true, value = "A date value.") - - public OffsetDateTime getValue() { - return value; - } - - - public void setValue(OffsetDateTime value) { - this.value = value; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PropertyDateType propertyDateType = (PropertyDateType) o; - return Objects.equals(this.type, propertyDateType.type) && - Objects.equals(this.value, propertyDateType.value); - } - - @Override - public int hashCode() { - return Objects.hash(type, value); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PropertyDateType {\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/PropertyDoubleType.java b/src/main/java/com/vertexvis/model/PropertyDoubleType.java deleted file mode 100644 index 629670a9..00000000 --- a/src/main/java/com/vertexvis/model/PropertyDoubleType.java +++ /dev/null @@ -1,174 +0,0 @@ -/* - * 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; - -/** - * PropertyDoubleType - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PropertyDoubleType { - /** - * Type of property value. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - DOUBLE("double"); - - 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 Double value; - - public PropertyDoubleType() { - } - - public PropertyDoubleType type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Type of property value. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Type of property value.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public PropertyDoubleType value(Double value) { - - this.value = value; - return this; - } - - /** - * Get value - * @return value - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Double getValue() { - return value; - } - - - public void setValue(Double value) { - this.value = value; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PropertyDoubleType propertyDoubleType = (PropertyDoubleType) o; - return Objects.equals(this.type, propertyDoubleType.type) && - Objects.equals(this.value, propertyDoubleType.value); - } - - @Override - public int hashCode() { - return Objects.hash(type, value); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PropertyDoubleType {\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/PropertyEntryData.java b/src/main/java/com/vertexvis/model/PropertyEntryData.java deleted file mode 100644 index 921a6eda..00000000 --- a/src/main/java/com/vertexvis/model/PropertyEntryData.java +++ /dev/null @@ -1,200 +0,0 @@ -/* - * 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.PropertyEntryDataAttributes; -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; - -/** - * PropertyEntryData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PropertyEntryData { - 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 String id; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private PropertyEntryDataAttributes attributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public PropertyEntryData() { - } - - public PropertyEntryData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "property-entry", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public PropertyEntryData id(String id) { - - this.id = id; - return this; - } - - /** - * Get id - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "some-string", required = true, value = "") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - public PropertyEntryData attributes(PropertyEntryDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PropertyEntryDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(PropertyEntryDataAttributes attributes) { - this.attributes = attributes; - } - - - public PropertyEntryData links(Map links) { - - this.links = links; - return this; - } - - public PropertyEntryData 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; - } - PropertyEntryData propertyEntryData = (PropertyEntryData) o; - return Objects.equals(this.type, propertyEntryData.type) && - Objects.equals(this.id, propertyEntryData.id) && - Objects.equals(this.attributes, propertyEntryData.attributes) && - Objects.equals(this.links, propertyEntryData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PropertyEntryData {\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(" 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/PropertyEntryDataAttributes.java b/src/main/java/com/vertexvis/model/PropertyEntryDataAttributes.java deleted file mode 100644 index 8b1f69c8..00000000 --- a/src/main/java/com/vertexvis/model/PropertyEntryDataAttributes.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.PropertyKeyType; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * PropertyEntryDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PropertyEntryDataAttributes { - public static final String SERIALIZED_NAME_VALUE = "value"; - @SerializedName(SERIALIZED_NAME_VALUE) - private AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType value; - - public static final String SERIALIZED_NAME_KEY = "key"; - @SerializedName(SERIALIZED_NAME_KEY) - private PropertyKeyType key; - - public PropertyEntryDataAttributes() { - } - - public PropertyEntryDataAttributes value(AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType value) { - - this.value = value; - return this; - } - - /** - * Get value - * @return value - **/ - @javax.annotation.Nullable - @ApiModelProperty(required = true, value = "") - - public AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType getValue() { - return value; - } - - - public void setValue(AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType value) { - this.value = value; - } - - - public PropertyEntryDataAttributes key(PropertyKeyType key) { - - this.key = key; - return this; - } - - /** - * Get key - * @return key - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PropertyKeyType getKey() { - return key; - } - - - public void setKey(PropertyKeyType key) { - this.key = key; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PropertyEntryDataAttributes propertyEntryDataAttributes = (PropertyEntryDataAttributes) o; - return Objects.equals(this.value, propertyEntryDataAttributes.value) && - Objects.equals(this.key, propertyEntryDataAttributes.key); - } - - @Override - public int hashCode() { - return Objects.hash(value, key); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PropertyEntryDataAttributes {\n"); - sb.append(" value: ").append(toIndentedString(value)).append("\n"); - sb.append(" key: ").append(toIndentedString(key)).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/PropertyEntryList.java b/src/main/java/com/vertexvis/model/PropertyEntryList.java deleted file mode 100644 index 40b1d2ba..00000000 --- a/src/main/java/com/vertexvis/model/PropertyEntryList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.PropertyEntryData; -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; - -/** - * PropertyEntryList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PropertyEntryList { - 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 PropertyEntryList() { - } - - public PropertyEntryList data(List data) { - - this.data = data; - return this; - } - - public PropertyEntryList addDataItem(PropertyEntryData 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 PropertyEntryList links(Map links) { - - this.links = links; - return this; - } - - public PropertyEntryList 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; - } - PropertyEntryList propertyEntryList = (PropertyEntryList) o; - return Objects.equals(this.data, propertyEntryList.data) && - Objects.equals(this.links, propertyEntryList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PropertyEntryList {\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/PropertyKeyType.java b/src/main/java/com/vertexvis/model/PropertyKeyType.java deleted file mode 100644 index 44498d73..00000000 --- a/src/main/java/com/vertexvis/model/PropertyKeyType.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * 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; - -/** - * PropertyKeyType - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PropertyKeyType { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public PropertyKeyType() { - } - - public PropertyKeyType name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "some-string", required = true, value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PropertyKeyType propertyKeyType = (PropertyKeyType) o; - return Objects.equals(this.name, propertyKeyType.name); - } - - @Override - public int hashCode() { - return Objects.hash(name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PropertyKeyType {\n"); - sb.append(" name: ").append(toIndentedString(name)).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/PropertyLongType.java b/src/main/java/com/vertexvis/model/PropertyLongType.java deleted file mode 100644 index e6466ecd..00000000 --- a/src/main/java/com/vertexvis/model/PropertyLongType.java +++ /dev/null @@ -1,174 +0,0 @@ -/* - * 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; - -/** - * PropertyLongType - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PropertyLongType { - /** - * Type of property-entry value. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - LONG("long"); - - 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 Long value; - - public PropertyLongType() { - } - - public PropertyLongType type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Type of property-entry value. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Type of property-entry value.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public PropertyLongType value(Long value) { - - this.value = value; - return this; - } - - /** - * A numerical long value. - * @return value - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "A numerical long value.") - - public Long getValue() { - return value; - } - - - public void setValue(Long value) { - this.value = value; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PropertyLongType propertyLongType = (PropertyLongType) o; - return Objects.equals(this.type, propertyLongType.type) && - Objects.equals(this.value, propertyLongType.value); - } - - @Override - public int hashCode() { - return Objects.hash(type, value); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PropertyLongType {\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/PropertySetRelationship.java b/src/main/java/com/vertexvis/model/PropertySetRelationship.java deleted file mode 100644 index 5056c736..00000000 --- a/src/main/java/com/vertexvis/model/PropertySetRelationship.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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.PropertySetRelationshipData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Relationship to a `property-set`. - */ -@ApiModel(description = "Relationship to a `property-set`.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PropertySetRelationship { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private PropertySetRelationshipData data; - - public PropertySetRelationship() { - } - - public PropertySetRelationship data(PropertySetRelationshipData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PropertySetRelationshipData getData() { - return data; - } - - - public void setData(PropertySetRelationshipData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PropertySetRelationship propertySetRelationship = (PropertySetRelationship) o; - return Objects.equals(this.data, propertySetRelationship.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PropertySetRelationship {\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/PropertySetRelationshipData.java b/src/main/java/com/vertexvis/model/PropertySetRelationshipData.java deleted file mode 100644 index 5c8b0fca..00000000 --- a/src/main/java/com/vertexvis/model/PropertySetRelationshipData.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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; - -/** - * PropertySetRelationshipData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PropertySetRelationshipData { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - PROPERTY_SET("property-set"); - - 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 PropertySetRelationshipData() { - } - - public PropertySetRelationshipData type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "property-set", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public PropertySetRelationshipData 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; - } - PropertySetRelationshipData propertySetRelationshipData = (PropertySetRelationshipData) o; - return Objects.equals(this.type, propertySetRelationshipData.type) && - Objects.equals(this.id, propertySetRelationshipData.id); - } - - @Override - public int hashCode() { - return Objects.hash(type, id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PropertySetRelationshipData {\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/PropertyStringType.java b/src/main/java/com/vertexvis/model/PropertyStringType.java deleted file mode 100644 index c197d3bf..00000000 --- a/src/main/java/com/vertexvis/model/PropertyStringType.java +++ /dev/null @@ -1,174 +0,0 @@ -/* - * 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; - -/** - * PropertyStringType - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PropertyStringType { - /** - * Type of property-entry value. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - STRING("string"); - - 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 PropertyStringType() { - } - - public PropertyStringType type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Type of property-entry value. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Type of property-entry value.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public PropertyStringType value(String value) { - - this.value = value; - return this; - } - - /** - * A string value. - * @return value - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "Some value", required = true, value = "A string value.") - - 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; - } - PropertyStringType propertyStringType = (PropertyStringType) o; - return Objects.equals(this.type, propertyStringType.type) && - Objects.equals(this.value, propertyStringType.value); - } - - @Override - public int hashCode() { - return Objects.hash(type, value); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PropertyStringType {\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/QueryAll.java b/src/main/java/com/vertexvis/model/QueryAll.java deleted file mode 100644 index f0b317f2..00000000 --- a/src/main/java/com/vertexvis/model/QueryAll.java +++ /dev/null @@ -1,72 +0,0 @@ -/* - * 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 io.swagger.annotations.ApiModel; -import com.google.gson.annotations.SerializedName; - -import java.io.IOException; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; - -/** - * Resource object type. - */ -@JsonAdapter(QueryAll.Adapter.class) -public enum QueryAll { - - ALL("all"); - - private String value; - - QueryAll(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static QueryAll fromValue(String value) { - for (QueryAll b : QueryAll.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 QueryAll enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public QueryAll read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return QueryAll.fromValue(value); - } - } -} - diff --git a/src/main/java/com/vertexvis/model/QueryByCollection.java b/src/main/java/com/vertexvis/model/QueryByCollection.java deleted file mode 100644 index 17679066..00000000 --- a/src/main/java/com/vertexvis/model/QueryByCollection.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.QueryByCollectionData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * QueryByCollection - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class QueryByCollection { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private QueryByCollectionData data; - - public QueryByCollection() { - } - - public QueryByCollection data(QueryByCollectionData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public QueryByCollectionData getData() { - return data; - } - - - public void setData(QueryByCollectionData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QueryByCollection queryByCollection = (QueryByCollection) o; - return Objects.equals(this.data, queryByCollection.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QueryByCollection {\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/QueryByCollectionData.java b/src/main/java/com/vertexvis/model/QueryByCollectionData.java deleted file mode 100644 index f0484ea8..00000000 --- a/src/main/java/com/vertexvis/model/QueryByCollectionData.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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.QueryByCollectionDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * QueryByCollectionData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class QueryByCollectionData { - /** - * 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_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private QueryByCollectionDataAttributes attributes; - - public QueryByCollectionData() { - } - - public QueryByCollectionData 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 QueryByCollectionData attributes(QueryByCollectionDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public QueryByCollectionDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(QueryByCollectionDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QueryByCollectionData queryByCollectionData = (QueryByCollectionData) o; - return Objects.equals(this.type, queryByCollectionData.type) && - Objects.equals(this.attributes, queryByCollectionData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QueryByCollectionData {\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/QueryByCollectionDataAttributes.java b/src/main/java/com/vertexvis/model/QueryByCollectionDataAttributes.java deleted file mode 100644 index b600f861..00000000 --- a/src/main/java/com/vertexvis/model/QueryByCollectionDataAttributes.java +++ /dev/null @@ -1,184 +0,0 @@ -/* - * 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.QueryById; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * QueryByCollectionDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class QueryByCollectionDataAttributes { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - AND("and"), - - 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_VALUES = "values"; - @SerializedName(SERIALIZED_NAME_VALUES) - private List values = new ArrayList<>(); - - public QueryByCollectionDataAttributes() { - } - - public QueryByCollectionDataAttributes type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "and", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public QueryByCollectionDataAttributes values(List values) { - - this.values = values; - return this; - } - - public QueryByCollectionDataAttributes addValuesItem(QueryById 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; - } - QueryByCollectionDataAttributes queryByCollectionDataAttributes = (QueryByCollectionDataAttributes) o; - return Objects.equals(this.type, queryByCollectionDataAttributes.type) && - Objects.equals(this.values, queryByCollectionDataAttributes.values); - } - - @Override - public int hashCode() { - return Objects.hash(type, values); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QueryByCollectionDataAttributes {\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/QueryById.java b/src/main/java/com/vertexvis/model/QueryById.java deleted file mode 100644 index 139743b7..00000000 --- a/src/main/java/com/vertexvis/model/QueryById.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.QueryByIdData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * QueryById - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class QueryById { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private QueryByIdData data; - - public QueryById() { - } - - public QueryById data(QueryByIdData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public QueryByIdData getData() { - return data; - } - - - public void setData(QueryByIdData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QueryById queryById = (QueryById) o; - return Objects.equals(this.data, queryById.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QueryById {\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/QueryByIdData.java b/src/main/java/com/vertexvis/model/QueryByIdData.java deleted file mode 100644 index a25e8afe..00000000 --- a/src/main/java/com/vertexvis/model/QueryByIdData.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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.QueryByIdDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * QueryByIdData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class QueryByIdData { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - QUERY_BY_ID("query-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_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private QueryByIdDataAttributes attributes; - - public QueryByIdData() { - } - - public QueryByIdData type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "query-by-id", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public QueryByIdData attributes(QueryByIdDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public QueryByIdDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(QueryByIdDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QueryByIdData queryByIdData = (QueryByIdData) o; - return Objects.equals(this.type, queryByIdData.type) && - Objects.equals(this.attributes, queryByIdData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QueryByIdData {\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/QueryByIdDataAttributes.java b/src/main/java/com/vertexvis/model/QueryByIdDataAttributes.java deleted file mode 100644 index b90a5570..00000000 --- a/src/main/java/com/vertexvis/model/QueryByIdDataAttributes.java +++ /dev/null @@ -1,176 +0,0 @@ -/* - * 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; - -/** - * QueryByIdDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class QueryByIdDataAttributes { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - ID("id"), - - SUPPLIEDID("suppliedId"); - - 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 QueryByIdDataAttributes() { - } - - public QueryByIdDataAttributes type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "suppliedId", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public QueryByIdDataAttributes 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; - } - QueryByIdDataAttributes queryByIdDataAttributes = (QueryByIdDataAttributes) o; - return Objects.equals(this.type, queryByIdDataAttributes.type) && - Objects.equals(this.value, queryByIdDataAttributes.value); - } - - @Override - public int hashCode() { - return Objects.hash(type, value); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QueryByIdDataAttributes {\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/QueryByMetadata.java b/src/main/java/com/vertexvis/model/QueryByMetadata.java deleted file mode 100644 index 3104165c..00000000 --- a/src/main/java/com/vertexvis/model/QueryByMetadata.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.QueryByMetadataData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * QueryByMetadata - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class QueryByMetadata { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private QueryByMetadataData data; - - public QueryByMetadata() { - } - - public QueryByMetadata data(QueryByMetadataData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public QueryByMetadataData getData() { - return data; - } - - - public void setData(QueryByMetadataData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QueryByMetadata queryByMetadata = (QueryByMetadata) o; - return Objects.equals(this.data, queryByMetadata.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QueryByMetadata {\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/QueryByMetadataData.java b/src/main/java/com/vertexvis/model/QueryByMetadataData.java deleted file mode 100644 index d9d6fdff..00000000 --- a/src/main/java/com/vertexvis/model/QueryByMetadataData.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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.QueryByMetadataDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * QueryByMetadataData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class QueryByMetadataData { - /** - * 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_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private QueryByMetadataDataAttributes attributes; - - public QueryByMetadataData() { - } - - public QueryByMetadataData 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 QueryByMetadataData attributes(QueryByMetadataDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public QueryByMetadataDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(QueryByMetadataDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QueryByMetadataData queryByMetadataData = (QueryByMetadataData) o; - return Objects.equals(this.type, queryByMetadataData.type) && - Objects.equals(this.attributes, queryByMetadataData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QueryByMetadataData {\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/QueryByMetadataDataAttributes.java b/src/main/java/com/vertexvis/model/QueryByMetadataDataAttributes.java deleted file mode 100644 index bb5cb9fd..00000000 --- a/src/main/java/com/vertexvis/model/QueryByMetadataDataAttributes.java +++ /dev/null @@ -1,165 +0,0 @@ -/* - * 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; - -/** - * QueryByMetadataDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class QueryByMetadataDataAttributes { - 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 QueryByMetadataDataAttributes() { - } - - public QueryByMetadataDataAttributes 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 QueryByMetadataDataAttributes 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 QueryByMetadataDataAttributes keys(List keys) { - - this.keys = keys; - return this; - } - - public QueryByMetadataDataAttributes 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; - } - QueryByMetadataDataAttributes queryByMetadataDataAttributes = (QueryByMetadataDataAttributes) o; - return Objects.equals(this.exactMatch, queryByMetadataDataAttributes.exactMatch) && - Objects.equals(this.filter, queryByMetadataDataAttributes.filter) && - Objects.equals(this.keys, queryByMetadataDataAttributes.keys); - } - - @Override - public int hashCode() { - return Objects.hash(exactMatch, filter, keys); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QueryByMetadataDataAttributes {\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/QueuedJob.java b/src/main/java/com/vertexvis/model/QueuedJob.java deleted file mode 100644 index 137a4779..00000000 --- a/src/main/java/com/vertexvis/model/QueuedJob.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.QueuedJobData; -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; - -/** - * QueuedJob - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class QueuedJob { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private QueuedJobData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public QueuedJob() { - } - - public QueuedJob data(QueuedJobData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public QueuedJobData getData() { - return data; - } - - - public void setData(QueuedJobData data) { - this.data = data; - } - - - public QueuedJob links(Map links) { - - this.links = links; - return this; - } - - public QueuedJob 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; - } - QueuedJob queuedJob = (QueuedJob) o; - return Objects.equals(this.data, queuedJob.data) && - Objects.equals(this.links, queuedJob.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QueuedJob {\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/QueuedJobData.java b/src/main/java/com/vertexvis/model/QueuedJobData.java deleted file mode 100644 index 95b0cde2..00000000 --- a/src/main/java/com/vertexvis/model/QueuedJobData.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * 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.QueuedJobDataAttributes; -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; - -/** - * QueuedJobData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class QueuedJobData { - 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 QueuedJobDataAttributes attributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public QueuedJobData() { - } - - public QueuedJobData 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 QueuedJobData 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 QueuedJobData attributes(QueuedJobDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public QueuedJobDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(QueuedJobDataAttributes attributes) { - this.attributes = attributes; - } - - - public QueuedJobData links(Map links) { - - this.links = links; - return this; - } - - public QueuedJobData 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; - } - QueuedJobData queuedJobData = (QueuedJobData) o; - return Objects.equals(this.type, queuedJobData.type) && - Objects.equals(this.id, queuedJobData.id) && - Objects.equals(this.attributes, queuedJobData.attributes) && - Objects.equals(this.links, queuedJobData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QueuedJobData {\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(" 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/QueuedJobDataAttributes.java b/src/main/java/com/vertexvis/model/QueuedJobDataAttributes.java deleted file mode 100644 index 7f35d3a4..00000000 --- a/src/main/java/com/vertexvis/model/QueuedJobDataAttributes.java +++ /dev/null @@ -1,171 +0,0 @@ -/* - * 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.ApiError; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Set; - -/** - * QueuedJobDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class QueuedJobDataAttributes { - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private String status; - - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_ERRORS = "errors"; - @SerializedName(SERIALIZED_NAME_ERRORS) - private Set errors = null; - - public QueuedJobDataAttributes() { - } - - public QueuedJobDataAttributes status(String status) { - - this.status = status; - return this; - } - - /** - * Get status - * @return status - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "running", required = true, value = "") - - public String getStatus() { - return status; - } - - - public void setStatus(String status) { - this.status = status; - } - - - public QueuedJobDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - public QueuedJobDataAttributes errors(Set errors) { - - this.errors = errors; - return this; - } - - public QueuedJobDataAttributes addErrorsItem(ApiError errorsItem) { - if (this.errors == null) { - this.errors = new LinkedHashSet<>(); - } - this.errors.add(errorsItem); - return this; - } - - /** - * Get errors - * @return errors - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Set getErrors() { - return errors; - } - - - public void setErrors(Set errors) { - this.errors = errors; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QueuedJobDataAttributes queuedJobDataAttributes = (QueuedJobDataAttributes) o; - return Objects.equals(this.status, queuedJobDataAttributes.status) && - Objects.equals(this.created, queuedJobDataAttributes.created) && - Objects.equals(this.errors, queuedJobDataAttributes.errors); - } - - @Override - public int hashCode() { - return Objects.hash(status, created, errors); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QueuedJobDataAttributes {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" errors: ").append(toIndentedString(errors)).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/QueuedJobList.java b/src/main/java/com/vertexvis/model/QueuedJobList.java deleted file mode 100644 index 1d693f6e..00000000 --- a/src/main/java/com/vertexvis/model/QueuedJobList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.QueuedJobData; -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; - -/** - * QueuedJobList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class QueuedJobList { - 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 QueuedJobList() { - } - - public QueuedJobList data(List data) { - - this.data = data; - return this; - } - - public QueuedJobList addDataItem(QueuedJobData 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 QueuedJobList links(Map links) { - - this.links = links; - return this; - } - - public QueuedJobList 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; - } - QueuedJobList queuedJobList = (QueuedJobList) o; - return Objects.equals(this.data, queuedJobList.data) && - Objects.equals(this.links, queuedJobList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QueuedJobList {\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/QueuedTranslationJob.java b/src/main/java/com/vertexvis/model/QueuedTranslationJob.java deleted file mode 100644 index 8ad65537..00000000 --- a/src/main/java/com/vertexvis/model/QueuedTranslationJob.java +++ /dev/null @@ -1,181 +0,0 @@ -/* - * 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.AnyOfGeometrySetDataPartRevisionDataPartRenditionData; -import com.vertexvis.model.Link; -import com.vertexvis.model.QueuedTranslationJobData; -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; - -/** - * QueuedTranslationJob - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class QueuedTranslationJob { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private QueuedTranslationJobData data; - - public static final String SERIALIZED_NAME_INCLUDED = "included"; - @SerializedName(SERIALIZED_NAME_INCLUDED) - private List included = null; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public QueuedTranslationJob() { - } - - public QueuedTranslationJob data(QueuedTranslationJobData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public QueuedTranslationJobData getData() { - return data; - } - - - public void setData(QueuedTranslationJobData data) { - this.data = data; - } - - - public QueuedTranslationJob included(List included) { - - this.included = included; - return this; - } - - public QueuedTranslationJob addIncludedItem(AnyOfGeometrySetDataPartRevisionDataPartRenditionData includedItem) { - if (this.included == null) { - this.included = new ArrayList<>(); - } - this.included.add(includedItem); - return this; - } - - /** - * Get included - * @return included - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getIncluded() { - return included; - } - - - public void setIncluded(List included) { - this.included = included; - } - - - public QueuedTranslationJob links(Map links) { - - this.links = links; - return this; - } - - public QueuedTranslationJob 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; - } - QueuedTranslationJob queuedTranslationJob = (QueuedTranslationJob) o; - return Objects.equals(this.data, queuedTranslationJob.data) && - Objects.equals(this.included, queuedTranslationJob.included) && - Objects.equals(this.links, queuedTranslationJob.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, included, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QueuedTranslationJob {\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" included: ").append(toIndentedString(included)).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/QueuedTranslationJobData.java b/src/main/java/com/vertexvis/model/QueuedTranslationJobData.java deleted file mode 100644 index 1a391405..00000000 --- a/src/main/java/com/vertexvis/model/QueuedTranslationJobData.java +++ /dev/null @@ -1,231 +0,0 @@ -/* - * 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.QueuedTranslationJobDataAttributes; -import com.vertexvis.model.QueuedTranslationJobDataRelationships; -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; - -/** - * QueuedTranslationJobData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class QueuedTranslationJobData { - 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 QueuedTranslationJobDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private QueuedTranslationJobDataRelationships relationships; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public QueuedTranslationJobData() { - } - - public QueuedTranslationJobData 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 QueuedTranslationJobData 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 QueuedTranslationJobData attributes(QueuedTranslationJobDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public QueuedTranslationJobDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(QueuedTranslationJobDataAttributes attributes) { - this.attributes = attributes; - } - - - public QueuedTranslationJobData relationships(QueuedTranslationJobDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public QueuedTranslationJobDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(QueuedTranslationJobDataRelationships relationships) { - this.relationships = relationships; - } - - - public QueuedTranslationJobData links(Map links) { - - this.links = links; - return this; - } - - public QueuedTranslationJobData 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; - } - QueuedTranslationJobData queuedTranslationJobData = (QueuedTranslationJobData) o; - return Objects.equals(this.type, queuedTranslationJobData.type) && - Objects.equals(this.id, queuedTranslationJobData.id) && - Objects.equals(this.attributes, queuedTranslationJobData.attributes) && - Objects.equals(this.relationships, queuedTranslationJobData.relationships) && - Objects.equals(this.links, queuedTranslationJobData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, relationships, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QueuedTranslationJobData {\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/QueuedTranslationJobDataAttributes.java b/src/main/java/com/vertexvis/model/QueuedTranslationJobDataAttributes.java deleted file mode 100644 index c66e3235..00000000 --- a/src/main/java/com/vertexvis/model/QueuedTranslationJobDataAttributes.java +++ /dev/null @@ -1,200 +0,0 @@ -/* - * 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.ApiError; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Set; - -/** - * QueuedTranslationJobDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class QueuedTranslationJobDataAttributes { - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private String status; - - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_COMPLETED = "completed"; - @SerializedName(SERIALIZED_NAME_COMPLETED) - private OffsetDateTime completed; - - public static final String SERIALIZED_NAME_ERRORS = "errors"; - @SerializedName(SERIALIZED_NAME_ERRORS) - private Set errors = null; - - public QueuedTranslationJobDataAttributes() { - } - - public QueuedTranslationJobDataAttributes status(String status) { - - this.status = status; - return this; - } - - /** - * Get status - * @return status - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "running", required = true, value = "") - - public String getStatus() { - return status; - } - - - public void setStatus(String status) { - this.status = status; - } - - - public QueuedTranslationJobDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - public QueuedTranslationJobDataAttributes completed(OffsetDateTime completed) { - - this.completed = completed; - return this; - } - - /** - * Get completed - * @return completed - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2020-01-01T12:00Z", value = "") - - public OffsetDateTime getCompleted() { - return completed; - } - - - public void setCompleted(OffsetDateTime completed) { - this.completed = completed; - } - - - public QueuedTranslationJobDataAttributes errors(Set errors) { - - this.errors = errors; - return this; - } - - public QueuedTranslationJobDataAttributes addErrorsItem(ApiError errorsItem) { - if (this.errors == null) { - this.errors = new LinkedHashSet<>(); - } - this.errors.add(errorsItem); - return this; - } - - /** - * Get errors - * @return errors - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Set getErrors() { - return errors; - } - - - public void setErrors(Set errors) { - this.errors = errors; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QueuedTranslationJobDataAttributes queuedTranslationJobDataAttributes = (QueuedTranslationJobDataAttributes) o; - return Objects.equals(this.status, queuedTranslationJobDataAttributes.status) && - Objects.equals(this.created, queuedTranslationJobDataAttributes.created) && - Objects.equals(this.completed, queuedTranslationJobDataAttributes.completed) && - Objects.equals(this.errors, queuedTranslationJobDataAttributes.errors); - } - - @Override - public int hashCode() { - return Objects.hash(status, created, completed, errors); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QueuedTranslationJobDataAttributes {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" completed: ").append(toIndentedString(completed)).append("\n"); - sb.append(" errors: ").append(toIndentedString(errors)).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/QueuedTranslationJobDataRelationships.java b/src/main/java/com/vertexvis/model/QueuedTranslationJobDataRelationships.java deleted file mode 100644 index f42d8f2d..00000000 --- a/src/main/java/com/vertexvis/model/QueuedTranslationJobDataRelationships.java +++ /dev/null @@ -1,161 +0,0 @@ -/* - * 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.GeometrySetRelationship; -import com.vertexvis.model.PartRenditionRelationship; -import com.vertexvis.model.PartRevisionRelationship; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * QueuedTranslationJobDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class QueuedTranslationJobDataRelationships { - public static final String SERIALIZED_NAME_GEOMETRY_SET = "geometrySet"; - @SerializedName(SERIALIZED_NAME_GEOMETRY_SET) - private GeometrySetRelationship geometrySet; - - public static final String SERIALIZED_NAME_PART_REVISION = "partRevision"; - @SerializedName(SERIALIZED_NAME_PART_REVISION) - private PartRevisionRelationship partRevision; - - public static final String SERIALIZED_NAME_PART_RENDITION = "partRendition"; - @SerializedName(SERIALIZED_NAME_PART_RENDITION) - private PartRenditionRelationship partRendition; - - public QueuedTranslationJobDataRelationships() { - } - - public QueuedTranslationJobDataRelationships geometrySet(GeometrySetRelationship geometrySet) { - - this.geometrySet = geometrySet; - return this; - } - - /** - * Get geometrySet - * @return geometrySet - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public GeometrySetRelationship getGeometrySet() { - return geometrySet; - } - - - public void setGeometrySet(GeometrySetRelationship geometrySet) { - this.geometrySet = geometrySet; - } - - - public QueuedTranslationJobDataRelationships partRevision(PartRevisionRelationship partRevision) { - - this.partRevision = partRevision; - return this; - } - - /** - * Get partRevision - * @return partRevision - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public PartRevisionRelationship getPartRevision() { - return partRevision; - } - - - public void setPartRevision(PartRevisionRelationship partRevision) { - this.partRevision = partRevision; - } - - - public QueuedTranslationJobDataRelationships partRendition(PartRenditionRelationship partRendition) { - - this.partRendition = partRendition; - return this; - } - - /** - * Get partRendition - * @return partRendition - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public PartRenditionRelationship getPartRendition() { - return partRendition; - } - - - public void setPartRendition(PartRenditionRelationship partRendition) { - this.partRendition = partRendition; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QueuedTranslationJobDataRelationships queuedTranslationJobDataRelationships = (QueuedTranslationJobDataRelationships) o; - return Objects.equals(this.geometrySet, queuedTranslationJobDataRelationships.geometrySet) && - Objects.equals(this.partRevision, queuedTranslationJobDataRelationships.partRevision) && - Objects.equals(this.partRendition, queuedTranslationJobDataRelationships.partRendition); - } - - @Override - public int hashCode() { - return Objects.hash(geometrySet, partRevision, partRendition); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QueuedTranslationJobDataRelationships {\n"); - sb.append(" geometrySet: ").append(toIndentedString(geometrySet)).append("\n"); - sb.append(" partRevision: ").append(toIndentedString(partRevision)).append("\n"); - sb.append(" partRendition: ").append(toIndentedString(partRendition)).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/RelationshipData.java b/src/main/java/com/vertexvis/model/RelationshipData.java deleted file mode 100644 index 40fedb00..00000000 --- a/src/main/java/com/vertexvis/model/RelationshipData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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; - -/** - * RelationshipData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class RelationshipData { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private UUID id; - - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public RelationshipData() { - } - - public RelationshipData 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 RelationshipData 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; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RelationshipData relationshipData = (RelationshipData) o; - return Objects.equals(this.id, relationshipData.id) && - Objects.equals(this.type, relationshipData.type); - } - - @Override - public int hashCode() { - return Objects.hash(id, type); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RelationshipData {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\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/RelationshipLinks.java b/src/main/java/com/vertexvis/model/RelationshipLinks.java deleted file mode 100644 index d47cbaf0..00000000 --- a/src/main/java/com/vertexvis/model/RelationshipLinks.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * 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; - -/** - * RelationshipLinks - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class RelationshipLinks { - public static final String SERIALIZED_NAME_RELATED = "related"; - @SerializedName(SERIALIZED_NAME_RELATED) - private String related; - - public RelationshipLinks() { - } - - public RelationshipLinks related(String related) { - - this.related = related; - return this; - } - - /** - * Get related - * @return related - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "/some-resource/d98d621a-23da-49fe-af96-6be709abb718", required = true, value = "") - - public String getRelated() { - return related; - } - - - public void setRelated(String related) { - this.related = related; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RelationshipLinks relationshipLinks = (RelationshipLinks) o; - return Objects.equals(this.related, relationshipLinks.related); - } - - @Override - public int hashCode() { - return Objects.hash(related); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RelationshipLinks {\n"); - sb.append(" related: ").append(toIndentedString(related)).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/RevokeOAuth2TokenRequest.java b/src/main/java/com/vertexvis/model/RevokeOAuth2TokenRequest.java deleted file mode 100644 index bc8296cb..00000000 --- a/src/main/java/com/vertexvis/model/RevokeOAuth2TokenRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.RevokeOAuth2TokenRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * RevokeOAuth2TokenRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class RevokeOAuth2TokenRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private RevokeOAuth2TokenRequestData data; - - public RevokeOAuth2TokenRequest() { - } - - public RevokeOAuth2TokenRequest data(RevokeOAuth2TokenRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public RevokeOAuth2TokenRequestData getData() { - return data; - } - - - public void setData(RevokeOAuth2TokenRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RevokeOAuth2TokenRequest revokeOAuth2TokenRequest = (RevokeOAuth2TokenRequest) o; - return Objects.equals(this.data, revokeOAuth2TokenRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RevokeOAuth2TokenRequest {\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/RevokeOAuth2TokenRequestData.java b/src/main/java/com/vertexvis/model/RevokeOAuth2TokenRequestData.java deleted file mode 100644 index 96071080..00000000 --- a/src/main/java/com/vertexvis/model/RevokeOAuth2TokenRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.RevokeOAuth2TokenRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * RevokeOAuth2TokenRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class RevokeOAuth2TokenRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private RevokeOAuth2TokenRequestDataAttributes attributes; - - public RevokeOAuth2TokenRequestData() { - } - - public RevokeOAuth2TokenRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "oauth2", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public RevokeOAuth2TokenRequestData attributes(RevokeOAuth2TokenRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public RevokeOAuth2TokenRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(RevokeOAuth2TokenRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RevokeOAuth2TokenRequestData revokeOAuth2TokenRequestData = (RevokeOAuth2TokenRequestData) o; - return Objects.equals(this.type, revokeOAuth2TokenRequestData.type) && - Objects.equals(this.attributes, revokeOAuth2TokenRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RevokeOAuth2TokenRequestData {\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/RevokeOAuth2TokenRequestDataAttributes.java b/src/main/java/com/vertexvis/model/RevokeOAuth2TokenRequestDataAttributes.java deleted file mode 100644 index ac953671..00000000 --- a/src/main/java/com/vertexvis/model/RevokeOAuth2TokenRequestDataAttributes.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * 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; - -/** - * RevokeOAuth2TokenRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class RevokeOAuth2TokenRequestDataAttributes { - public static final String SERIALIZED_NAME_TOKEN = "token"; - @SerializedName(SERIALIZED_NAME_TOKEN) - private String token; - - public RevokeOAuth2TokenRequestDataAttributes() { - } - - public RevokeOAuth2TokenRequestDataAttributes token(String token) { - - this.token = token; - return this; - } - - /** - * Token to revoke. - * @return token - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "yj4oeKWCib6JlLsN64Ns.9CyY4gvhueXfCw6wPBJ6", required = true, value = "Token to revoke.") - - public String getToken() { - return token; - } - - - public void setToken(String token) { - this.token = token; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RevokeOAuth2TokenRequestDataAttributes revokeOAuth2TokenRequestDataAttributes = (RevokeOAuth2TokenRequestDataAttributes) o; - return Objects.equals(this.token, revokeOAuth2TokenRequestDataAttributes.token); - } - - @Override - public int hashCode() { - return Objects.hash(token); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RevokeOAuth2TokenRequestDataAttributes {\n"); - sb.append(" token: ").append(toIndentedString(token)).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/Scene.java b/src/main/java/com/vertexvis/model/Scene.java deleted file mode 100644 index 543d43b6..00000000 --- a/src/main/java/com/vertexvis/model/Scene.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.SceneData; -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; - -/** - * Scene - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Scene { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private SceneData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public Scene() { - } - - public Scene data(SceneData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneData getData() { - return data; - } - - - public void setData(SceneData data) { - this.data = data; - } - - - public Scene links(Map links) { - - this.links = links; - return this; - } - - public Scene 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; - } - Scene scene = (Scene) o; - return Objects.equals(this.data, scene.data) && - Objects.equals(this.links, scene.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Scene {\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/SceneAlteration.java b/src/main/java/com/vertexvis/model/SceneAlteration.java deleted file mode 100644 index 25cead6e..00000000 --- a/src/main/java/com/vertexvis/model/SceneAlteration.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.SceneAlterationData; -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; - -/** - * SceneAlteration - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneAlteration { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private SceneAlterationData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public SceneAlteration() { - } - - public SceneAlteration data(SceneAlterationData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneAlterationData getData() { - return data; - } - - - public void setData(SceneAlterationData data) { - this.data = data; - } - - - public SceneAlteration links(Map links) { - - this.links = links; - return this; - } - - public SceneAlteration 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; - } - SceneAlteration sceneAlteration = (SceneAlteration) o; - return Objects.equals(this.data, sceneAlteration.data) && - Objects.equals(this.links, sceneAlteration.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneAlteration {\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/SceneAlterationData.java b/src/main/java/com/vertexvis/model/SceneAlterationData.java deleted file mode 100644 index 1a481e97..00000000 --- a/src/main/java/com/vertexvis/model/SceneAlterationData.java +++ /dev/null @@ -1,231 +0,0 @@ -/* - * 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.HitDataAttributes; -import com.vertexvis.model.Link; -import com.vertexvis.model.SceneAlterationDataRelationships; -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; - -/** - * SceneAlterationData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneAlterationData { - 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 HitDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private SceneAlterationDataRelationships relationships; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public SceneAlterationData() { - } - - public SceneAlterationData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-alteration", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public SceneAlterationData 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 SceneAlterationData attributes(HitDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public HitDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(HitDataAttributes attributes) { - this.attributes = attributes; - } - - - public SceneAlterationData relationships(SceneAlterationDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneAlterationDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(SceneAlterationDataRelationships relationships) { - this.relationships = relationships; - } - - - public SceneAlterationData links(Map links) { - - this.links = links; - return this; - } - - public SceneAlterationData 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; - } - SceneAlterationData sceneAlterationData = (SceneAlterationData) o; - return Objects.equals(this.type, sceneAlterationData.type) && - Objects.equals(this.id, sceneAlterationData.id) && - Objects.equals(this.attributes, sceneAlterationData.attributes) && - Objects.equals(this.relationships, sceneAlterationData.relationships) && - Objects.equals(this.links, sceneAlterationData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, relationships, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneAlterationData {\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/SceneAlterationDataRelationships.java b/src/main/java/com/vertexvis/model/SceneAlterationDataRelationships.java deleted file mode 100644 index 0c52bc89..00000000 --- a/src/main/java/com/vertexvis/model/SceneAlterationDataRelationships.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.SceneViewRelationship; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * SceneAlterationDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneAlterationDataRelationships { - public static final String SERIALIZED_NAME_SCENE_VIEW = "sceneView"; - @SerializedName(SERIALIZED_NAME_SCENE_VIEW) - private SceneViewRelationship sceneView; - - public SceneAlterationDataRelationships() { - } - - public SceneAlterationDataRelationships sceneView(SceneViewRelationship sceneView) { - - this.sceneView = sceneView; - return this; - } - - /** - * Get sceneView - * @return sceneView - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneViewRelationship getSceneView() { - return sceneView; - } - - - public void setSceneView(SceneViewRelationship sceneView) { - this.sceneView = sceneView; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneAlterationDataRelationships sceneAlterationDataRelationships = (SceneAlterationDataRelationships) o; - return Objects.equals(this.sceneView, sceneAlterationDataRelationships.sceneView); - } - - @Override - public int hashCode() { - return Objects.hash(sceneView); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneAlterationDataRelationships {\n"); - sb.append(" sceneView: ").append(toIndentedString(sceneView)).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/SceneAlterationList.java b/src/main/java/com/vertexvis/model/SceneAlterationList.java deleted file mode 100644 index 0ac21131..00000000 --- a/src/main/java/com/vertexvis/model/SceneAlterationList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.SceneAlterationData; -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; - -/** - * SceneAlterationList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneAlterationList { - 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 SceneAlterationList() { - } - - public SceneAlterationList data(List data) { - - this.data = data; - return this; - } - - public SceneAlterationList addDataItem(SceneAlterationData 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 SceneAlterationList links(Map links) { - - this.links = links; - return this; - } - - public SceneAlterationList 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; - } - SceneAlterationList sceneAlterationList = (SceneAlterationList) o; - return Objects.equals(this.data, sceneAlterationList.data) && - Objects.equals(this.links, sceneAlterationList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneAlterationList {\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/SceneAnnotation.java b/src/main/java/com/vertexvis/model/SceneAnnotation.java deleted file mode 100644 index 4027a2fd..00000000 --- a/src/main/java/com/vertexvis/model/SceneAnnotation.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.SceneAnnotationData; -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; - -/** - * SceneAnnotation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneAnnotation { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private SceneAnnotationData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public SceneAnnotation() { - } - - public SceneAnnotation data(SceneAnnotationData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneAnnotationData getData() { - return data; - } - - - public void setData(SceneAnnotationData data) { - this.data = data; - } - - - public SceneAnnotation links(Map links) { - - this.links = links; - return this; - } - - public SceneAnnotation 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; - } - SceneAnnotation sceneAnnotation = (SceneAnnotation) o; - return Objects.equals(this.data, sceneAnnotation.data) && - Objects.equals(this.links, sceneAnnotation.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneAnnotation {\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/SceneAnnotationCalloutDataType.java b/src/main/java/com/vertexvis/model/SceneAnnotationCalloutDataType.java deleted file mode 100644 index c913074a..00000000 --- a/src/main/java/com/vertexvis/model/SceneAnnotationCalloutDataType.java +++ /dev/null @@ -1,218 +0,0 @@ -/* - * 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.Vector3; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * A type that describes a callout annotation. - */ -@ApiModel(description = "A type that describes a callout annotation.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneAnnotationCalloutDataType { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_POSITION = "position"; - @SerializedName(SERIALIZED_NAME_POSITION) - private Vector3 position; - - public static final String SERIALIZED_NAME_ICON = "icon"; - @SerializedName(SERIALIZED_NAME_ICON) - private String icon; - - public static final String SERIALIZED_NAME_PRIMARY_COLOR = "primaryColor"; - @SerializedName(SERIALIZED_NAME_PRIMARY_COLOR) - private String primaryColor; - - public static final String SERIALIZED_NAME_ACCENT_COLOR = "accentColor"; - @SerializedName(SERIALIZED_NAME_ACCENT_COLOR) - private String accentColor; - - public SceneAnnotationCalloutDataType() { - } - - public SceneAnnotationCalloutDataType type(String type) { - - this.type = type; - return this; - } - - /** - * The type of annotation. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "callout", required = true, value = "The type of annotation.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public SceneAnnotationCalloutDataType position(Vector3 position) { - - this.position = position; - return this; - } - - /** - * Get position - * @return position - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector3 getPosition() { - return position; - } - - - public void setPosition(Vector3 position) { - this.position = position; - } - - - public SceneAnnotationCalloutDataType icon(String icon) { - - this.icon = icon; - return this; - } - - /** - * An optional icon to display for this annotation. See [documentation](https://github.com/Vertexvis/vertex-web-sdk/tree/master/packages/viewer/src/components/viewer-icon#properties) for possible values. - * @return icon - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "comment-show", value = "An optional icon to display for this annotation. See [documentation](https://github.com/Vertexvis/vertex-web-sdk/tree/master/packages/viewer/src/components/viewer-icon#properties) for possible values. ") - - public String getIcon() { - return icon; - } - - - public void setIcon(String icon) { - this.icon = icon; - } - - - public SceneAnnotationCalloutDataType primaryColor(String primaryColor) { - - this.primaryColor = primaryColor; - return this; - } - - /** - * A hex color value. - * @return primaryColor - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "#FFFFFF", value = "A hex color value.") - - public String getPrimaryColor() { - return primaryColor; - } - - - public void setPrimaryColor(String primaryColor) { - this.primaryColor = primaryColor; - } - - - public SceneAnnotationCalloutDataType accentColor(String accentColor) { - - this.accentColor = accentColor; - return this; - } - - /** - * A hex color value. - * @return accentColor - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "#FFFFFF", value = "A hex color value.") - - public String getAccentColor() { - return accentColor; - } - - - public void setAccentColor(String accentColor) { - this.accentColor = accentColor; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneAnnotationCalloutDataType sceneAnnotationCalloutDataType = (SceneAnnotationCalloutDataType) o; - return Objects.equals(this.type, sceneAnnotationCalloutDataType.type) && - Objects.equals(this.position, sceneAnnotationCalloutDataType.position) && - Objects.equals(this.icon, sceneAnnotationCalloutDataType.icon) && - Objects.equals(this.primaryColor, sceneAnnotationCalloutDataType.primaryColor) && - Objects.equals(this.accentColor, sceneAnnotationCalloutDataType.accentColor); - } - - @Override - public int hashCode() { - return Objects.hash(type, position, icon, primaryColor, accentColor); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneAnnotationCalloutDataType {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" position: ").append(toIndentedString(position)).append("\n"); - sb.append(" icon: ").append(toIndentedString(icon)).append("\n"); - sb.append(" primaryColor: ").append(toIndentedString(primaryColor)).append("\n"); - sb.append(" accentColor: ").append(toIndentedString(accentColor)).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/SceneAnnotationCustomDataType.java b/src/main/java/com/vertexvis/model/SceneAnnotationCustomDataType.java deleted file mode 100644 index 1143aca0..00000000 --- a/src/main/java/com/vertexvis/model/SceneAnnotationCustomDataType.java +++ /dev/null @@ -1,159 +0,0 @@ -/* - * 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 type that describes a custom user provided annotation. - */ -@ApiModel(description = "A type that describes a custom user provided annotation.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneAnnotationCustomDataType { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_JSON_TYPE = "jsonType"; - @SerializedName(SERIALIZED_NAME_JSON_TYPE) - private String jsonType; - - public static final String SERIALIZED_NAME_JSON = "json"; - @SerializedName(SERIALIZED_NAME_JSON) - private String json; - - public SceneAnnotationCustomDataType() { - } - - public SceneAnnotationCustomDataType type(String type) { - - this.type = type; - return this; - } - - /** - * The type of annotation. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "custom", required = true, value = "The type of annotation.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public SceneAnnotationCustomDataType jsonType(String jsonType) { - - this.jsonType = jsonType; - return this; - } - - /** - * The type of annotation. - * @return jsonType - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "my-annotation-type", required = true, value = "The type of annotation.") - - public String getJsonType() { - return jsonType; - } - - - public void setJsonType(String jsonType) { - this.jsonType = jsonType; - } - - - public SceneAnnotationCustomDataType json(String json) { - - this.json = json; - return this; - } - - /** - * An encoded JSON string associated with the custom annotation. - * @return json - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "{\"label\":\"my annotation\",\"anchor\":{\"x\":0,\"y\":0,\"z\":0}}", required = true, value = "An encoded JSON string associated with the custom annotation.") - - public String getJson() { - return json; - } - - - public void setJson(String json) { - this.json = json; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneAnnotationCustomDataType sceneAnnotationCustomDataType = (SceneAnnotationCustomDataType) o; - return Objects.equals(this.type, sceneAnnotationCustomDataType.type) && - Objects.equals(this.jsonType, sceneAnnotationCustomDataType.jsonType) && - Objects.equals(this.json, sceneAnnotationCustomDataType.json); - } - - @Override - public int hashCode() { - return Objects.hash(type, jsonType, json); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneAnnotationCustomDataType {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" jsonType: ").append(toIndentedString(jsonType)).append("\n"); - sb.append(" json: ").append(toIndentedString(json)).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/SceneAnnotationData.java b/src/main/java/com/vertexvis/model/SceneAnnotationData.java deleted file mode 100644 index 0b4ed857..00000000 --- a/src/main/java/com/vertexvis/model/SceneAnnotationData.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * 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.SceneAnnotationDataAttributes; -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; - -/** - * SceneAnnotationData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneAnnotationData { - 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 SceneAnnotationDataAttributes attributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public SceneAnnotationData() { - } - - public SceneAnnotationData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-annotation", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public SceneAnnotationData 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 SceneAnnotationData attributes(SceneAnnotationDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneAnnotationDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(SceneAnnotationDataAttributes attributes) { - this.attributes = attributes; - } - - - public SceneAnnotationData links(Map links) { - - this.links = links; - return this; - } - - public SceneAnnotationData 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; - } - SceneAnnotationData sceneAnnotationData = (SceneAnnotationData) o; - return Objects.equals(this.type, sceneAnnotationData.type) && - Objects.equals(this.id, sceneAnnotationData.id) && - Objects.equals(this.attributes, sceneAnnotationData.attributes) && - Objects.equals(this.links, sceneAnnotationData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneAnnotationData {\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(" 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/SceneAnnotationDataAttributes.java b/src/main/java/com/vertexvis/model/SceneAnnotationDataAttributes.java deleted file mode 100644 index 2fde051c..00000000 --- a/src/main/java/com/vertexvis/model/SceneAnnotationDataAttributes.java +++ /dev/null @@ -1,190 +0,0 @@ -/* - * 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.SceneAnnotationCalloutDataType; -import com.vertexvis.model.SceneAnnotationCustomDataType; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.time.OffsetDateTime; - -/** - * SceneAnnotationDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneAnnotationDataAttributes { - public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; - @SerializedName(SERIALIZED_NAME_CREATED_AT) - private OffsetDateTime createdAt; - - public static final String SERIALIZED_NAME_MODIFIED_AT = "modifiedAt"; - @SerializedName(SERIALIZED_NAME_MODIFIED_AT) - private OffsetDateTime modifiedAt; - - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType data; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public SceneAnnotationDataAttributes() { - } - - public SceneAnnotationDataAttributes createdAt(OffsetDateTime createdAt) { - - this.createdAt = createdAt; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCreatedAt() { - return createdAt; - } - - - public void setCreatedAt(OffsetDateTime createdAt) { - this.createdAt = createdAt; - } - - - public SceneAnnotationDataAttributes modifiedAt(OffsetDateTime modifiedAt) { - - this.modifiedAt = modifiedAt; - return this; - } - - /** - * Get modifiedAt - * @return modifiedAt - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getModifiedAt() { - return modifiedAt; - } - - - public void setModifiedAt(OffsetDateTime modifiedAt) { - this.modifiedAt = modifiedAt; - } - - - public SceneAnnotationDataAttributes data(OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType data) { - - this.data = data; - return this; - } - - /** - * The data describing how to render this annotation. - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(required = true, value = "The data describing how to render this annotation.") - - public OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType getData() { - return data; - } - - - public void setData(OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType data) { - this.data = data; - } - - - public SceneAnnotationDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * Get suppliedId - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneAnnotationDataAttributes sceneAnnotationDataAttributes = (SceneAnnotationDataAttributes) o; - return Objects.equals(this.createdAt, sceneAnnotationDataAttributes.createdAt) && - Objects.equals(this.modifiedAt, sceneAnnotationDataAttributes.modifiedAt) && - Objects.equals(this.data, sceneAnnotationDataAttributes.data) && - Objects.equals(this.suppliedId, sceneAnnotationDataAttributes.suppliedId); - } - - @Override - public int hashCode() { - return Objects.hash(createdAt, modifiedAt, data, suppliedId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneAnnotationDataAttributes {\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).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/SceneAnnotationSet.java b/src/main/java/com/vertexvis/model/SceneAnnotationSet.java deleted file mode 100644 index dd804b4b..00000000 --- a/src/main/java/com/vertexvis/model/SceneAnnotationSet.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.SceneAnnotationSetData; -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; - -/** - * SceneAnnotationSet - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneAnnotationSet { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private SceneAnnotationSetData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public SceneAnnotationSet() { - } - - public SceneAnnotationSet data(SceneAnnotationSetData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneAnnotationSetData getData() { - return data; - } - - - public void setData(SceneAnnotationSetData data) { - this.data = data; - } - - - public SceneAnnotationSet links(Map links) { - - this.links = links; - return this; - } - - public SceneAnnotationSet 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; - } - SceneAnnotationSet sceneAnnotationSet = (SceneAnnotationSet) o; - return Objects.equals(this.data, sceneAnnotationSet.data) && - Objects.equals(this.links, sceneAnnotationSet.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneAnnotationSet {\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/SceneAnnotationSetData.java b/src/main/java/com/vertexvis/model/SceneAnnotationSetData.java deleted file mode 100644 index 62e3b1e4..00000000 --- a/src/main/java/com/vertexvis/model/SceneAnnotationSetData.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * 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.SceneAnnotationSetDataAttributes; -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; - -/** - * SceneAnnotationSetData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneAnnotationSetData { - 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 SceneAnnotationSetDataAttributes attributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public SceneAnnotationSetData() { - } - - public SceneAnnotationSetData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-annotation-set", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public SceneAnnotationSetData 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 SceneAnnotationSetData attributes(SceneAnnotationSetDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneAnnotationSetDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(SceneAnnotationSetDataAttributes attributes) { - this.attributes = attributes; - } - - - public SceneAnnotationSetData links(Map links) { - - this.links = links; - return this; - } - - public SceneAnnotationSetData 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; - } - SceneAnnotationSetData sceneAnnotationSetData = (SceneAnnotationSetData) o; - return Objects.equals(this.type, sceneAnnotationSetData.type) && - Objects.equals(this.id, sceneAnnotationSetData.id) && - Objects.equals(this.attributes, sceneAnnotationSetData.attributes) && - Objects.equals(this.links, sceneAnnotationSetData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneAnnotationSetData {\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(" 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/SceneAnnotationSetDataAttributes.java b/src/main/java/com/vertexvis/model/SceneAnnotationSetDataAttributes.java deleted file mode 100644 index 74311b3f..00000000 --- a/src/main/java/com/vertexvis/model/SceneAnnotationSetDataAttributes.java +++ /dev/null @@ -1,188 +0,0 @@ -/* - * 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.time.OffsetDateTime; - -/** - * SceneAnnotationSetDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneAnnotationSetDataAttributes { - public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; - @SerializedName(SERIALIZED_NAME_CREATED_AT) - private OffsetDateTime createdAt; - - public static final String SERIALIZED_NAME_MODIFIED_AT = "modifiedAt"; - @SerializedName(SERIALIZED_NAME_MODIFIED_AT) - private OffsetDateTime modifiedAt; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public SceneAnnotationSetDataAttributes() { - } - - public SceneAnnotationSetDataAttributes createdAt(OffsetDateTime createdAt) { - - this.createdAt = createdAt; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCreatedAt() { - return createdAt; - } - - - public void setCreatedAt(OffsetDateTime createdAt) { - this.createdAt = createdAt; - } - - - public SceneAnnotationSetDataAttributes modifiedAt(OffsetDateTime modifiedAt) { - - this.modifiedAt = modifiedAt; - return this; - } - - /** - * Get modifiedAt - * @return modifiedAt - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getModifiedAt() { - return modifiedAt; - } - - - public void setModifiedAt(OffsetDateTime modifiedAt) { - this.modifiedAt = modifiedAt; - } - - - public SceneAnnotationSetDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public SceneAnnotationSetDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * Get suppliedId - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneAnnotationSetDataAttributes sceneAnnotationSetDataAttributes = (SceneAnnotationSetDataAttributes) o; - return Objects.equals(this.createdAt, sceneAnnotationSetDataAttributes.createdAt) && - Objects.equals(this.modifiedAt, sceneAnnotationSetDataAttributes.modifiedAt) && - Objects.equals(this.name, sceneAnnotationSetDataAttributes.name) && - Objects.equals(this.suppliedId, sceneAnnotationSetDataAttributes.suppliedId); - } - - @Override - public int hashCode() { - return Objects.hash(createdAt, modifiedAt, name, suppliedId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneAnnotationSetDataAttributes {\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).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/SceneAnnotationSetList.java b/src/main/java/com/vertexvis/model/SceneAnnotationSetList.java deleted file mode 100644 index eebdda3d..00000000 --- a/src/main/java/com/vertexvis/model/SceneAnnotationSetList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.SceneAnnotationSetData; -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; - -/** - * SceneAnnotationSetList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneAnnotationSetList { - 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 SceneAnnotationSetList() { - } - - public SceneAnnotationSetList data(List data) { - - this.data = data; - return this; - } - - public SceneAnnotationSetList addDataItem(SceneAnnotationSetData 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 SceneAnnotationSetList links(Map links) { - - this.links = links; - return this; - } - - public SceneAnnotationSetList 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; - } - SceneAnnotationSetList sceneAnnotationSetList = (SceneAnnotationSetList) o; - return Objects.equals(this.data, sceneAnnotationSetList.data) && - Objects.equals(this.links, sceneAnnotationSetList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneAnnotationSetList {\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/SceneData.java b/src/main/java/com/vertexvis/model/SceneData.java deleted file mode 100644 index d5bc1a68..00000000 --- a/src/main/java/com/vertexvis/model/SceneData.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * 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.SceneDataAttributes; -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; - -/** - * SceneData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneData { - 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 SceneDataAttributes attributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public SceneData() { - } - - public SceneData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public SceneData 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 SceneData attributes(SceneDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(SceneDataAttributes attributes) { - this.attributes = attributes; - } - - - public SceneData links(Map links) { - - this.links = links; - return this; - } - - public SceneData 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; - } - SceneData sceneData = (SceneData) o; - return Objects.equals(this.type, sceneData.type) && - Objects.equals(this.id, sceneData.id) && - Objects.equals(this.attributes, sceneData.attributes) && - Objects.equals(this.links, sceneData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneData {\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(" 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/SceneDataAttributes.java b/src/main/java/com/vertexvis/model/SceneDataAttributes.java deleted file mode 100644 index 1284f78c..00000000 --- a/src/main/java/com/vertexvis/model/SceneDataAttributes.java +++ /dev/null @@ -1,417 +0,0 @@ -/* - * 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.Orientation; -import com.vertexvis.model.OrthographicCamera; -import com.vertexvis.model.PerspectiveCamera; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.openapitools.jackson.nullable.JsonNullable; - -/** - * SceneDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneDataAttributes { - public static final String SERIALIZED_NAME_CAMERA = "camera"; - @SerializedName(SERIALIZED_NAME_CAMERA) - private OneOfPerspectiveCameraOrthographicCamera camera; - - public static final String SERIALIZED_NAME_STATE = "state"; - @SerializedName(SERIALIZED_NAME_STATE) - private String state; - - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_TREE_ENABLED = "treeEnabled"; - @SerializedName(SERIALIZED_NAME_TREE_ENABLED) - private Boolean treeEnabled; - - public static final String SERIALIZED_NAME_MODIFIED = "modified"; - @SerializedName(SERIALIZED_NAME_MODIFIED) - private OffsetDateTime modified; - - public static final String SERIALIZED_NAME_WORLD_ORIENTATION = "worldOrientation"; - @SerializedName(SERIALIZED_NAME_WORLD_ORIENTATION) - private Orientation worldOrientation; - - public static final String SERIALIZED_NAME_SCENE_ITEM_COUNT = "sceneItemCount"; - @SerializedName(SERIALIZED_NAME_SCENE_ITEM_COUNT) - private Integer sceneItemCount; - - public static final String SERIALIZED_NAME_EXPIRES_AT = "expiresAt"; - @SerializedName(SERIALIZED_NAME_EXPIRES_AT) - private OffsetDateTime expiresAt; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public SceneDataAttributes() { - } - - public SceneDataAttributes camera(OneOfPerspectiveCameraOrthographicCamera camera) { - - this.camera = camera; - return this; - } - - /** - * Get camera - * @return camera - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public OneOfPerspectiveCameraOrthographicCamera getCamera() { - return camera; - } - - - public void setCamera(OneOfPerspectiveCameraOrthographicCamera camera) { - this.camera = camera; - } - - - public SceneDataAttributes state(String state) { - - this.state = state; - return this; - } - - /** - * Get state - * @return state - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "draft", value = "") - - public String getState() { - return state; - } - - - public void setState(String state) { - this.state = state; - } - - - public SceneDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2020-01-01T12:00Z", value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - public SceneDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * Get suppliedId - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - public SceneDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public SceneDataAttributes treeEnabled(Boolean treeEnabled) { - - this.treeEnabled = treeEnabled; - return this; - } - - /** - * Get treeEnabled - * @return treeEnabled - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getTreeEnabled() { - return treeEnabled; - } - - - public void setTreeEnabled(Boolean treeEnabled) { - this.treeEnabled = treeEnabled; - } - - - public SceneDataAttributes modified(OffsetDateTime modified) { - - this.modified = modified; - return this; - } - - /** - * Get modified - * @return modified - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2020-01-01T12:00Z", value = "") - - public OffsetDateTime getModified() { - return modified; - } - - - public void setModified(OffsetDateTime modified) { - this.modified = modified; - } - - - public SceneDataAttributes worldOrientation(Orientation worldOrientation) { - - this.worldOrientation = worldOrientation; - return this; - } - - /** - * Get worldOrientation - * @return worldOrientation - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Orientation getWorldOrientation() { - return worldOrientation; - } - - - public void setWorldOrientation(Orientation worldOrientation) { - this.worldOrientation = worldOrientation; - } - - - public SceneDataAttributes sceneItemCount(Integer sceneItemCount) { - - this.sceneItemCount = sceneItemCount; - return this; - } - - /** - * The number of scene items in this scene. (This field needs to be explicitly requested) - * @return sceneItemCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "100", value = "The number of scene items in this scene. (This field needs to be explicitly requested)") - - public Integer getSceneItemCount() { - return sceneItemCount; - } - - - public void setSceneItemCount(Integer sceneItemCount) { - this.sceneItemCount = sceneItemCount; - } - - - public SceneDataAttributes expiresAt(OffsetDateTime expiresAt) { - - this.expiresAt = expiresAt; - return this; - } - - /** - * Get expiresAt - * @return expiresAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2020-01-01T12:00Z", value = "") - - public OffsetDateTime getExpiresAt() { - return expiresAt; - } - - - public void setExpiresAt(OffsetDateTime expiresAt) { - this.expiresAt = expiresAt; - } - - - public SceneDataAttributes metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public SceneDataAttributes putMetadataItem(String key, String metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap<>(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * User supplied key-value pairs for a scene. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "User supplied key-value pairs for a scene. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. ") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneDataAttributes sceneDataAttributes = (SceneDataAttributes) o; - return Objects.equals(this.camera, sceneDataAttributes.camera) && - Objects.equals(this.state, sceneDataAttributes.state) && - Objects.equals(this.created, sceneDataAttributes.created) && - Objects.equals(this.suppliedId, sceneDataAttributes.suppliedId) && - Objects.equals(this.name, sceneDataAttributes.name) && - Objects.equals(this.treeEnabled, sceneDataAttributes.treeEnabled) && - Objects.equals(this.modified, sceneDataAttributes.modified) && - Objects.equals(this.worldOrientation, sceneDataAttributes.worldOrientation) && - Objects.equals(this.sceneItemCount, sceneDataAttributes.sceneItemCount) && - Objects.equals(this.expiresAt, sceneDataAttributes.expiresAt) && - Objects.equals(this.metadata, sceneDataAttributes.metadata); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(camera, state, created, suppliedId, name, treeEnabled, modified, worldOrientation, sceneItemCount, expiresAt, metadata); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneDataAttributes {\n"); - sb.append(" camera: ").append(toIndentedString(camera)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" treeEnabled: ").append(toIndentedString(treeEnabled)).append("\n"); - sb.append(" modified: ").append(toIndentedString(modified)).append("\n"); - sb.append(" worldOrientation: ").append(toIndentedString(worldOrientation)).append("\n"); - sb.append(" sceneItemCount: ").append(toIndentedString(sceneItemCount)).append("\n"); - sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).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/SceneItem.java b/src/main/java/com/vertexvis/model/SceneItem.java deleted file mode 100644 index e241d877..00000000 --- a/src/main/java/com/vertexvis/model/SceneItem.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.SceneItemData; -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; - -/** - * SceneItem - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneItem { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private SceneItemData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public SceneItem() { - } - - public SceneItem data(SceneItemData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneItemData getData() { - return data; - } - - - public void setData(SceneItemData data) { - this.data = data; - } - - - public SceneItem links(Map links) { - - this.links = links; - return this; - } - - public SceneItem 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; - } - SceneItem sceneItem = (SceneItem) o; - return Objects.equals(this.data, sceneItem.data) && - Objects.equals(this.links, sceneItem.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneItem {\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/SceneItemData.java b/src/main/java/com/vertexvis/model/SceneItemData.java deleted file mode 100644 index 870d28d8..00000000 --- a/src/main/java/com/vertexvis/model/SceneItemData.java +++ /dev/null @@ -1,231 +0,0 @@ -/* - * 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.SceneItemDataAttributes; -import com.vertexvis.model.SceneItemDataRelationships; -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; - -/** - * SceneItemData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneItemData { - 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 SceneItemDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private SceneItemDataRelationships relationships; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public SceneItemData() { - } - - public SceneItemData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-item", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public SceneItemData 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 SceneItemData attributes(SceneItemDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneItemDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(SceneItemDataAttributes attributes) { - this.attributes = attributes; - } - - - public SceneItemData relationships(SceneItemDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneItemDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(SceneItemDataRelationships relationships) { - this.relationships = relationships; - } - - - public SceneItemData links(Map links) { - - this.links = links; - return this; - } - - public SceneItemData 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; - } - SceneItemData sceneItemData = (SceneItemData) o; - return Objects.equals(this.type, sceneItemData.type) && - Objects.equals(this.id, sceneItemData.id) && - Objects.equals(this.attributes, sceneItemData.attributes) && - Objects.equals(this.relationships, sceneItemData.relationships) && - Objects.equals(this.links, sceneItemData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, relationships, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneItemData {\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/SceneItemDataAttributes.java b/src/main/java/com/vertexvis/model/SceneItemDataAttributes.java deleted file mode 100644 index 99b2c090..00000000 --- a/src/main/java/com/vertexvis/model/SceneItemDataAttributes.java +++ /dev/null @@ -1,406 +0,0 @@ -/* - * 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.AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType; -import com.vertexvis.model.BoundingBox; -import com.vertexvis.model.ColorMaterial; -import com.vertexvis.model.Matrix4; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * SceneItemDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneItemDataAttributes { - public static final String SERIALIZED_NAME_BOUNDING_BOX = "boundingBox"; - @SerializedName(SERIALIZED_NAME_BOUNDING_BOX) - private BoundingBox boundingBox; - - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_END_ITEM = "endItem"; - @SerializedName(SERIALIZED_NAME_END_ITEM) - private Boolean endItem; - - public static final String SERIALIZED_NAME_MATERIAL_OVERRIDE = "materialOverride"; - @SerializedName(SERIALIZED_NAME_MATERIAL_OVERRIDE) - private ColorMaterial materialOverride; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_PHANTOM = "phantom"; - @SerializedName(SERIALIZED_NAME_PHANTOM) - private Boolean phantom; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public static final String SERIALIZED_NAME_TRANSFORM = "transform"; - @SerializedName(SERIALIZED_NAME_TRANSFORM) - private Matrix4 transform; - - public static final String SERIALIZED_NAME_VISIBLE = "visible"; - @SerializedName(SERIALIZED_NAME_VISIBLE) - private Boolean visible; - - public static final String SERIALIZED_NAME_WORLD_TRANSFORM = "worldTransform"; - @SerializedName(SERIALIZED_NAME_WORLD_TRANSFORM) - private Matrix4 worldTransform; - - public SceneItemDataAttributes() { - } - - public SceneItemDataAttributes boundingBox(BoundingBox boundingBox) { - - this.boundingBox = boundingBox; - return this; - } - - /** - * Get boundingBox - * @return boundingBox - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public BoundingBox getBoundingBox() { - return boundingBox; - } - - - public void setBoundingBox(BoundingBox boundingBox) { - this.boundingBox = boundingBox; - } - - - public SceneItemDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2020-01-01T12:00Z", value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - public SceneItemDataAttributes endItem(Boolean endItem) { - - this.endItem = endItem; - return this; - } - - /** - * Get endItem - * @return endItem - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getEndItem() { - return endItem; - } - - - public void setEndItem(Boolean endItem) { - this.endItem = endItem; - } - - - public SceneItemDataAttributes materialOverride(ColorMaterial materialOverride) { - - this.materialOverride = materialOverride; - return this; - } - - /** - * Get materialOverride - * @return materialOverride - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public ColorMaterial getMaterialOverride() { - return materialOverride; - } - - - public void setMaterialOverride(ColorMaterial materialOverride) { - this.materialOverride = materialOverride; - } - - - public SceneItemDataAttributes metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public SceneItemDataAttributes putMetadataItem(String key, AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap<>(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - public SceneItemDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public SceneItemDataAttributes phantom(Boolean phantom) { - - this.phantom = phantom; - return this; - } - - /** - * Get phantom - * @return phantom - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getPhantom() { - return phantom; - } - - - public void setPhantom(Boolean phantom) { - this.phantom = phantom; - } - - - public SceneItemDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * Get suppliedId - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - public SceneItemDataAttributes transform(Matrix4 transform) { - - this.transform = transform; - return this; - } - - /** - * Get transform - * @return transform - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Matrix4 getTransform() { - return transform; - } - - - public void setTransform(Matrix4 transform) { - this.transform = transform; - } - - - public SceneItemDataAttributes visible(Boolean visible) { - - this.visible = visible; - return this; - } - - /** - * Get visible - * @return visible - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "true", value = "") - - public Boolean getVisible() { - return visible; - } - - - public void setVisible(Boolean visible) { - this.visible = visible; - } - - - public SceneItemDataAttributes worldTransform(Matrix4 worldTransform) { - - this.worldTransform = worldTransform; - return this; - } - - /** - * Get worldTransform - * @return worldTransform - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Matrix4 getWorldTransform() { - return worldTransform; - } - - - public void setWorldTransform(Matrix4 worldTransform) { - this.worldTransform = worldTransform; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneItemDataAttributes sceneItemDataAttributes = (SceneItemDataAttributes) o; - return Objects.equals(this.boundingBox, sceneItemDataAttributes.boundingBox) && - Objects.equals(this.created, sceneItemDataAttributes.created) && - Objects.equals(this.endItem, sceneItemDataAttributes.endItem) && - Objects.equals(this.materialOverride, sceneItemDataAttributes.materialOverride) && - Objects.equals(this.metadata, sceneItemDataAttributes.metadata) && - Objects.equals(this.name, sceneItemDataAttributes.name) && - Objects.equals(this.phantom, sceneItemDataAttributes.phantom) && - Objects.equals(this.suppliedId, sceneItemDataAttributes.suppliedId) && - Objects.equals(this.transform, sceneItemDataAttributes.transform) && - Objects.equals(this.visible, sceneItemDataAttributes.visible) && - Objects.equals(this.worldTransform, sceneItemDataAttributes.worldTransform); - } - - @Override - public int hashCode() { - return Objects.hash(boundingBox, created, endItem, materialOverride, metadata, name, phantom, suppliedId, transform, visible, worldTransform); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneItemDataAttributes {\n"); - sb.append(" boundingBox: ").append(toIndentedString(boundingBox)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" endItem: ").append(toIndentedString(endItem)).append("\n"); - sb.append(" materialOverride: ").append(toIndentedString(materialOverride)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" phantom: ").append(toIndentedString(phantom)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).append("\n"); - sb.append(" transform: ").append(toIndentedString(transform)).append("\n"); - sb.append(" visible: ").append(toIndentedString(visible)).append("\n"); - sb.append(" worldTransform: ").append(toIndentedString(worldTransform)).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/SceneItemDataRelationships.java b/src/main/java/com/vertexvis/model/SceneItemDataRelationships.java deleted file mode 100644 index 7db33d1b..00000000 --- a/src/main/java/com/vertexvis/model/SceneItemDataRelationships.java +++ /dev/null @@ -1,172 +0,0 @@ -/* - * 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.PartRenditionRelationship; -import com.vertexvis.model.SceneItemRelationship; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.jackson.nullable.JsonNullable; - -/** - * SceneItemDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneItemDataRelationships { - public static final String SERIALIZED_NAME_SOURCE = "source"; - @SerializedName(SERIALIZED_NAME_SOURCE) - private AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship source; - - public static final String SERIALIZED_NAME_PARENT = "parent"; - @SerializedName(SERIALIZED_NAME_PARENT) - private SceneItemRelationship parent; - - public static final String SERIALIZED_NAME_PART_RENDITION = "partRendition"; - @SerializedName(SERIALIZED_NAME_PART_RENDITION) - private PartRenditionRelationship partRendition; - - public SceneItemDataRelationships() { - } - - public SceneItemDataRelationships source(AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship source) { - - this.source = source; - return this; - } - - /** - * Get source - * @return source - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship getSource() { - return source; - } - - - public void setSource(AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship source) { - this.source = source; - } - - - public SceneItemDataRelationships parent(SceneItemRelationship parent) { - - this.parent = parent; - return this; - } - - /** - * Get parent - * @return parent - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public SceneItemRelationship getParent() { - return parent; - } - - - public void setParent(SceneItemRelationship parent) { - this.parent = parent; - } - - - public SceneItemDataRelationships partRendition(PartRenditionRelationship partRendition) { - - this.partRendition = partRendition; - return this; - } - - /** - * Get partRendition - * @return partRendition - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public PartRenditionRelationship getPartRendition() { - return partRendition; - } - - - public void setPartRendition(PartRenditionRelationship partRendition) { - this.partRendition = partRendition; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneItemDataRelationships sceneItemDataRelationships = (SceneItemDataRelationships) o; - return Objects.equals(this.source, sceneItemDataRelationships.source) && - Objects.equals(this.parent, sceneItemDataRelationships.parent) && - Objects.equals(this.partRendition, sceneItemDataRelationships.partRendition); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(source, parent, partRendition); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneItemDataRelationships {\n"); - sb.append(" source: ").append(toIndentedString(source)).append("\n"); - sb.append(" parent: ").append(toIndentedString(parent)).append("\n"); - sb.append(" partRendition: ").append(toIndentedString(partRendition)).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/SceneItemList.java b/src/main/java/com/vertexvis/model/SceneItemList.java deleted file mode 100644 index 8b925ab0..00000000 --- a/src/main/java/com/vertexvis/model/SceneItemList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.SceneItemData; -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; - -/** - * SceneItemList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneItemList { - 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 SceneItemList() { - } - - public SceneItemList data(List data) { - - this.data = data; - return this; - } - - public SceneItemList addDataItem(SceneItemData 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 SceneItemList links(Map links) { - - this.links = links; - return this; - } - - public SceneItemList 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; - } - SceneItemList sceneItemList = (SceneItemList) o; - return Objects.equals(this.data, sceneItemList.data) && - Objects.equals(this.links, sceneItemList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneItemList {\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/SceneItemOverride.java b/src/main/java/com/vertexvis/model/SceneItemOverride.java deleted file mode 100644 index df178e60..00000000 --- a/src/main/java/com/vertexvis/model/SceneItemOverride.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.SceneItemOverrideData; -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; - -/** - * SceneItemOverride - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneItemOverride { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private SceneItemOverrideData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public SceneItemOverride() { - } - - public SceneItemOverride data(SceneItemOverrideData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneItemOverrideData getData() { - return data; - } - - - public void setData(SceneItemOverrideData data) { - this.data = data; - } - - - public SceneItemOverride links(Map links) { - - this.links = links; - return this; - } - - public SceneItemOverride 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; - } - SceneItemOverride sceneItemOverride = (SceneItemOverride) o; - return Objects.equals(this.data, sceneItemOverride.data) && - Objects.equals(this.links, sceneItemOverride.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneItemOverride {\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/SceneItemOverrideData.java b/src/main/java/com/vertexvis/model/SceneItemOverrideData.java deleted file mode 100644 index 7028fb0d..00000000 --- a/src/main/java/com/vertexvis/model/SceneItemOverrideData.java +++ /dev/null @@ -1,231 +0,0 @@ -/* - * 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.SceneItemOverrideDataAttributes; -import com.vertexvis.model.SceneItemOverrideDataRelationships; -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; - -/** - * SceneItemOverrideData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneItemOverrideData { - 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 SceneItemOverrideDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private SceneItemOverrideDataRelationships relationships; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public SceneItemOverrideData() { - } - - public SceneItemOverrideData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-item-override", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public SceneItemOverrideData 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 SceneItemOverrideData attributes(SceneItemOverrideDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneItemOverrideDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(SceneItemOverrideDataAttributes attributes) { - this.attributes = attributes; - } - - - public SceneItemOverrideData relationships(SceneItemOverrideDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneItemOverrideDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(SceneItemOverrideDataRelationships relationships) { - this.relationships = relationships; - } - - - public SceneItemOverrideData links(Map links) { - - this.links = links; - return this; - } - - public SceneItemOverrideData 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; - } - SceneItemOverrideData sceneItemOverrideData = (SceneItemOverrideData) o; - return Objects.equals(this.type, sceneItemOverrideData.type) && - Objects.equals(this.id, sceneItemOverrideData.id) && - Objects.equals(this.attributes, sceneItemOverrideData.attributes) && - Objects.equals(this.relationships, sceneItemOverrideData.relationships) && - Objects.equals(this.links, sceneItemOverrideData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, relationships, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneItemOverrideData {\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/SceneItemOverrideDataAttributes.java b/src/main/java/com/vertexvis/model/SceneItemOverrideDataAttributes.java deleted file mode 100644 index 5cc7a499..00000000 --- a/src/main/java/com/vertexvis/model/SceneItemOverrideDataAttributes.java +++ /dev/null @@ -1,277 +0,0 @@ -/* - * 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.ColorMaterial; -import com.vertexvis.model.Matrix4; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.time.OffsetDateTime; - -/** - * SceneItemOverrideDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneItemOverrideDataAttributes { - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_VISIBLE = "visible"; - @SerializedName(SERIALIZED_NAME_VISIBLE) - private Boolean visible; - - public static final String SERIALIZED_NAME_TRANSFORM = "transform"; - @SerializedName(SERIALIZED_NAME_TRANSFORM) - private Matrix4 transform; - - public static final String SERIALIZED_NAME_MATERIAL = "material"; - @SerializedName(SERIALIZED_NAME_MATERIAL) - private ColorMaterial material; - - public static final String SERIALIZED_NAME_SELECTED = "selected"; - @SerializedName(SERIALIZED_NAME_SELECTED) - private Boolean selected; - - public static final String SERIALIZED_NAME_PHANTOM = "phantom"; - @SerializedName(SERIALIZED_NAME_PHANTOM) - private Boolean phantom; - - public static final String SERIALIZED_NAME_END_ITEM = "endItem"; - @SerializedName(SERIALIZED_NAME_END_ITEM) - private Boolean endItem; - - public SceneItemOverrideDataAttributes() { - } - - public SceneItemOverrideDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - public SceneItemOverrideDataAttributes visible(Boolean visible) { - - this.visible = visible; - return this; - } - - /** - * Get visible - * @return visible - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "true", value = "") - - public Boolean getVisible() { - return visible; - } - - - public void setVisible(Boolean visible) { - this.visible = visible; - } - - - public SceneItemOverrideDataAttributes transform(Matrix4 transform) { - - this.transform = transform; - return this; - } - - /** - * Get transform - * @return transform - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Matrix4 getTransform() { - return transform; - } - - - public void setTransform(Matrix4 transform) { - this.transform = transform; - } - - - public SceneItemOverrideDataAttributes material(ColorMaterial material) { - - this.material = material; - return this; - } - - /** - * Get material - * @return material - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public ColorMaterial getMaterial() { - return material; - } - - - public void setMaterial(ColorMaterial material) { - this.material = material; - } - - - public SceneItemOverrideDataAttributes selected(Boolean selected) { - - this.selected = selected; - return this; - } - - /** - * Get selected - * @return selected - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getSelected() { - return selected; - } - - - public void setSelected(Boolean selected) { - this.selected = selected; - } - - - public SceneItemOverrideDataAttributes phantom(Boolean phantom) { - - this.phantom = phantom; - return this; - } - - /** - * Get phantom - * @return phantom - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getPhantom() { - return phantom; - } - - - public void setPhantom(Boolean phantom) { - this.phantom = phantom; - } - - - public SceneItemOverrideDataAttributes endItem(Boolean endItem) { - - this.endItem = endItem; - return this; - } - - /** - * Get endItem - * @return endItem - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getEndItem() { - return endItem; - } - - - public void setEndItem(Boolean endItem) { - this.endItem = endItem; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneItemOverrideDataAttributes sceneItemOverrideDataAttributes = (SceneItemOverrideDataAttributes) o; - return Objects.equals(this.created, sceneItemOverrideDataAttributes.created) && - Objects.equals(this.visible, sceneItemOverrideDataAttributes.visible) && - Objects.equals(this.transform, sceneItemOverrideDataAttributes.transform) && - Objects.equals(this.material, sceneItemOverrideDataAttributes.material) && - Objects.equals(this.selected, sceneItemOverrideDataAttributes.selected) && - Objects.equals(this.phantom, sceneItemOverrideDataAttributes.phantom) && - Objects.equals(this.endItem, sceneItemOverrideDataAttributes.endItem); - } - - @Override - public int hashCode() { - return Objects.hash(created, visible, transform, material, selected, phantom, endItem); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneItemOverrideDataAttributes {\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" visible: ").append(toIndentedString(visible)).append("\n"); - sb.append(" transform: ").append(toIndentedString(transform)).append("\n"); - sb.append(" material: ").append(toIndentedString(material)).append("\n"); - sb.append(" selected: ").append(toIndentedString(selected)).append("\n"); - sb.append(" phantom: ").append(toIndentedString(phantom)).append("\n"); - sb.append(" endItem: ").append(toIndentedString(endItem)).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/SceneItemOverrideDataRelationships.java b/src/main/java/com/vertexvis/model/SceneItemOverrideDataRelationships.java deleted file mode 100644 index 2a767c4b..00000000 --- a/src/main/java/com/vertexvis/model/SceneItemOverrideDataRelationships.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * 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.SceneItemRelationship; -import com.vertexvis.model.SceneViewRelationship; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * SceneItemOverrideDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneItemOverrideDataRelationships { - public static final String SERIALIZED_NAME_SCENE_ITEM = "sceneItem"; - @SerializedName(SERIALIZED_NAME_SCENE_ITEM) - private SceneItemRelationship sceneItem; - - public static final String SERIALIZED_NAME_SCENE_VIEW = "sceneView"; - @SerializedName(SERIALIZED_NAME_SCENE_VIEW) - private SceneViewRelationship sceneView; - - public SceneItemOverrideDataRelationships() { - } - - public SceneItemOverrideDataRelationships sceneItem(SceneItemRelationship sceneItem) { - - this.sceneItem = sceneItem; - return this; - } - - /** - * Get sceneItem - * @return sceneItem - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneItemRelationship getSceneItem() { - return sceneItem; - } - - - public void setSceneItem(SceneItemRelationship sceneItem) { - this.sceneItem = sceneItem; - } - - - public SceneItemOverrideDataRelationships sceneView(SceneViewRelationship sceneView) { - - this.sceneView = sceneView; - return this; - } - - /** - * Get sceneView - * @return sceneView - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneViewRelationship getSceneView() { - return sceneView; - } - - - public void setSceneView(SceneViewRelationship sceneView) { - this.sceneView = sceneView; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneItemOverrideDataRelationships sceneItemOverrideDataRelationships = (SceneItemOverrideDataRelationships) o; - return Objects.equals(this.sceneItem, sceneItemOverrideDataRelationships.sceneItem) && - Objects.equals(this.sceneView, sceneItemOverrideDataRelationships.sceneView); - } - - @Override - public int hashCode() { - return Objects.hash(sceneItem, sceneView); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneItemOverrideDataRelationships {\n"); - sb.append(" sceneItem: ").append(toIndentedString(sceneItem)).append("\n"); - sb.append(" sceneView: ").append(toIndentedString(sceneView)).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/SceneItemOverrideList.java b/src/main/java/com/vertexvis/model/SceneItemOverrideList.java deleted file mode 100644 index dbd0b541..00000000 --- a/src/main/java/com/vertexvis/model/SceneItemOverrideList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.SceneItemOverrideData; -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; - -/** - * SceneItemOverrideList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneItemOverrideList { - 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 SceneItemOverrideList() { - } - - public SceneItemOverrideList data(List data) { - - this.data = data; - return this; - } - - public SceneItemOverrideList addDataItem(SceneItemOverrideData 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 SceneItemOverrideList links(Map links) { - - this.links = links; - return this; - } - - public SceneItemOverrideList 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; - } - SceneItemOverrideList sceneItemOverrideList = (SceneItemOverrideList) o; - return Objects.equals(this.data, sceneItemOverrideList.data) && - Objects.equals(this.links, sceneItemOverrideList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneItemOverrideList {\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/SceneItemRelationship.java b/src/main/java/com/vertexvis/model/SceneItemRelationship.java deleted file mode 100644 index be63834b..00000000 --- a/src/main/java/com/vertexvis/model/SceneItemRelationship.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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.SceneItemRelationshipData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Relationship to a `scene-item`. - */ -@ApiModel(description = "Relationship to a `scene-item`.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneItemRelationship { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private SceneItemRelationshipData data; - - public SceneItemRelationship() { - } - - public SceneItemRelationship data(SceneItemRelationshipData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneItemRelationshipData getData() { - return data; - } - - - public void setData(SceneItemRelationshipData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneItemRelationship sceneItemRelationship = (SceneItemRelationship) o; - return Objects.equals(this.data, sceneItemRelationship.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneItemRelationship {\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/SceneItemRelationshipData.java b/src/main/java/com/vertexvis/model/SceneItemRelationshipData.java deleted file mode 100644 index b26b8fdd..00000000 --- a/src/main/java/com/vertexvis/model/SceneItemRelationshipData.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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; - -/** - * SceneItemRelationshipData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneItemRelationshipData { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - SCENE_ITEM("scene-item"); - - 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 SceneItemRelationshipData() { - } - - public SceneItemRelationshipData type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-item", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public SceneItemRelationshipData 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; - } - SceneItemRelationshipData sceneItemRelationshipData = (SceneItemRelationshipData) o; - return Objects.equals(this.type, sceneItemRelationshipData.type) && - Objects.equals(this.id, sceneItemRelationshipData.id); - } - - @Override - public int hashCode() { - return Objects.hash(type, id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneItemRelationshipData {\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/SceneList.java b/src/main/java/com/vertexvis/model/SceneList.java deleted file mode 100644 index 895c1e3e..00000000 --- a/src/main/java/com/vertexvis/model/SceneList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.SceneData; -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; - -/** - * SceneList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneList { - 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 SceneList() { - } - - public SceneList data(List data) { - - this.data = data; - return this; - } - - public SceneList addDataItem(SceneData 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 SceneList links(Map links) { - - this.links = links; - return this; - } - - public SceneList 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; - } - SceneList sceneList = (SceneList) o; - return Objects.equals(this.data, sceneList.data) && - Objects.equals(this.links, sceneList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneList {\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/SceneOperation.java b/src/main/java/com/vertexvis/model/SceneOperation.java deleted file mode 100644 index fc036bc2..00000000 --- a/src/main/java/com/vertexvis/model/SceneOperation.java +++ /dev/null @@ -1,137 +0,0 @@ -/* - * 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.AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * SceneOperation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneOperation { - public static final String SERIALIZED_NAME_QUERY = "query"; - @SerializedName(SERIALIZED_NAME_QUERY) - private AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata query; - - public static final String SERIALIZED_NAME_OPERATIONS = "operations"; - @SerializedName(SERIALIZED_NAME_OPERATIONS) - private List operations = new ArrayList<>(); - - public SceneOperation() { - } - - public SceneOperation query(AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata query) { - - this.query = query; - return this; - } - - /** - * Query `scene-items`. Use `query-by-collection` to combine multiple queries. - * @return query - **/ - @javax.annotation.Nullable - @ApiModelProperty(required = true, value = "Query `scene-items`. Use `query-by-collection` to combine multiple queries.") - - public AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata getQuery() { - return query; - } - - - public void setQuery(AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata query) { - this.query = query; - } - - - public SceneOperation operations(List operations) { - - this.operations = operations; - return this; - } - - public SceneOperation addOperationsItem(AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp operationsItem) { - this.operations.add(operationsItem); - return this; - } - - /** - * List of operations to perform on `scene-items` matching the query. - * @return operations - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "List of operations to perform on `scene-items` matching the query.") - - 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; - } - SceneOperation sceneOperation = (SceneOperation) o; - return Objects.equals(this.query, sceneOperation.query) && - Objects.equals(this.operations, sceneOperation.operations); - } - - @Override - public int hashCode() { - return Objects.hash(query, operations); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneOperation {\n"); - sb.append(" query: ").append(toIndentedString(query)).append("\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/SceneRelationship.java b/src/main/java/com/vertexvis/model/SceneRelationship.java deleted file mode 100644 index 5f481098..00000000 --- a/src/main/java/com/vertexvis/model/SceneRelationship.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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.SceneRelationshipData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Relationship to a `scene`. - */ -@ApiModel(description = "Relationship to a `scene`.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneRelationship { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private SceneRelationshipData data; - - public SceneRelationship() { - } - - public SceneRelationship data(SceneRelationshipData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneRelationshipData getData() { - return data; - } - - - public void setData(SceneRelationshipData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneRelationship sceneRelationship = (SceneRelationship) o; - return Objects.equals(this.data, sceneRelationship.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneRelationship {\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/SceneRelationshipData.java b/src/main/java/com/vertexvis/model/SceneRelationshipData.java deleted file mode 100644 index 60620c63..00000000 --- a/src/main/java/com/vertexvis/model/SceneRelationshipData.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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; - -/** - * SceneRelationshipData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneRelationshipData { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - SCENE("scene"); - - 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 SceneRelationshipData() { - } - - public SceneRelationshipData type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public SceneRelationshipData 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; - } - SceneRelationshipData sceneRelationshipData = (SceneRelationshipData) o; - return Objects.equals(this.type, sceneRelationshipData.type) && - Objects.equals(this.id, sceneRelationshipData.id); - } - - @Override - public int hashCode() { - return Objects.hash(type, id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneRelationshipData {\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/SceneSync.java b/src/main/java/com/vertexvis/model/SceneSync.java deleted file mode 100644 index ce40fdea..00000000 --- a/src/main/java/com/vertexvis/model/SceneSync.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.SceneSyncData; -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; - -/** - * SceneSync - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneSync { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private SceneSyncData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public SceneSync() { - } - - public SceneSync data(SceneSyncData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneSyncData getData() { - return data; - } - - - public void setData(SceneSyncData data) { - this.data = data; - } - - - public SceneSync links(Map links) { - - this.links = links; - return this; - } - - public SceneSync 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; - } - SceneSync sceneSync = (SceneSync) o; - return Objects.equals(this.data, sceneSync.data) && - Objects.equals(this.links, sceneSync.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneSync {\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/SceneSyncData.java b/src/main/java/com/vertexvis/model/SceneSyncData.java deleted file mode 100644 index 6dd545ea..00000000 --- a/src/main/java/com/vertexvis/model/SceneSyncData.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * 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.SceneSyncDataAttributes; -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; - -/** - * SceneSyncData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneSyncData { - 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 SceneSyncDataAttributes attributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public SceneSyncData() { - } - - public SceneSyncData 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 SceneSyncData 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 SceneSyncData attributes(SceneSyncDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneSyncDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(SceneSyncDataAttributes attributes) { - this.attributes = attributes; - } - - - public SceneSyncData links(Map links) { - - this.links = links; - return this; - } - - public SceneSyncData 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; - } - SceneSyncData sceneSyncData = (SceneSyncData) o; - return Objects.equals(this.type, sceneSyncData.type) && - Objects.equals(this.id, sceneSyncData.id) && - Objects.equals(this.attributes, sceneSyncData.attributes) && - Objects.equals(this.links, sceneSyncData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneSyncData {\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(" 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/SceneSyncDataAttributes.java b/src/main/java/com/vertexvis/model/SceneSyncDataAttributes.java deleted file mode 100644 index e383e633..00000000 --- a/src/main/java/com/vertexvis/model/SceneSyncDataAttributes.java +++ /dev/null @@ -1,159 +0,0 @@ -/* - * 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.time.OffsetDateTime; - -/** - * SceneSyncDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneSyncDataAttributes { - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_COMPLETED_AT = "completedAt"; - @SerializedName(SERIALIZED_NAME_COMPLETED_AT) - private OffsetDateTime completedAt; - - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private String status; - - public SceneSyncDataAttributes() { - } - - public SceneSyncDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - public SceneSyncDataAttributes completedAt(OffsetDateTime completedAt) { - - this.completedAt = completedAt; - return this; - } - - /** - * Get completedAt - * @return completedAt - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCompletedAt() { - return completedAt; - } - - - public void setCompletedAt(OffsetDateTime completedAt) { - this.completedAt = completedAt; - } - - - public SceneSyncDataAttributes status(String status) { - - this.status = status; - return this; - } - - /** - * Get status - * @return status - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "completed", 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; - } - SceneSyncDataAttributes sceneSyncDataAttributes = (SceneSyncDataAttributes) o; - return Objects.equals(this.created, sceneSyncDataAttributes.created) && - Objects.equals(this.completedAt, sceneSyncDataAttributes.completedAt) && - Objects.equals(this.status, sceneSyncDataAttributes.status); - } - - @Override - public int hashCode() { - return Objects.hash(created, completedAt, status); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneSyncDataAttributes {\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" completedAt: ").append(toIndentedString(completedAt)).append("\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/SceneSyncItemResultData.java b/src/main/java/com/vertexvis/model/SceneSyncItemResultData.java deleted file mode 100644 index dda02611..00000000 --- a/src/main/java/com/vertexvis/model/SceneSyncItemResultData.java +++ /dev/null @@ -1,231 +0,0 @@ -/* - * 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.SceneSyncItemResultDataAttributes; -import com.vertexvis.model.SceneSyncItemResultDataRelationships; -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; - -/** - * SceneSyncItemResultData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneSyncItemResultData { - 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 SceneSyncItemResultDataAttributes attributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private SceneSyncItemResultDataRelationships relationships; - - public SceneSyncItemResultData() { - } - - public SceneSyncItemResultData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-sync-item-result", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public SceneSyncItemResultData 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 SceneSyncItemResultData attributes(SceneSyncItemResultDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneSyncItemResultDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(SceneSyncItemResultDataAttributes attributes) { - this.attributes = attributes; - } - - - public SceneSyncItemResultData links(Map links) { - - this.links = links; - return this; - } - - public SceneSyncItemResultData 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; - } - - - public SceneSyncItemResultData relationships(SceneSyncItemResultDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneSyncItemResultDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(SceneSyncItemResultDataRelationships relationships) { - this.relationships = relationships; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneSyncItemResultData sceneSyncItemResultData = (SceneSyncItemResultData) o; - return Objects.equals(this.type, sceneSyncItemResultData.type) && - Objects.equals(this.id, sceneSyncItemResultData.id) && - Objects.equals(this.attributes, sceneSyncItemResultData.attributes) && - Objects.equals(this.links, sceneSyncItemResultData.links) && - Objects.equals(this.relationships, sceneSyncItemResultData.relationships); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, links, relationships); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneSyncItemResultData {\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(" links: ").append(toIndentedString(links)).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/SceneSyncItemResultDataAttributes.java b/src/main/java/com/vertexvis/model/SceneSyncItemResultDataAttributes.java deleted file mode 100644 index 28082b0d..00000000 --- a/src/main/java/com/vertexvis/model/SceneSyncItemResultDataAttributes.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.ApiError; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * SceneSyncItemResultDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneSyncItemResultDataAttributes { - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private String status; - - public static final String SERIALIZED_NAME_ERROR = "error"; - @SerializedName(SERIALIZED_NAME_ERROR) - private ApiError error; - - public SceneSyncItemResultDataAttributes() { - } - - public SceneSyncItemResultDataAttributes status(String status) { - - this.status = status; - return this; - } - - /** - * Get status - * @return status - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "running", required = true, value = "") - - public String getStatus() { - return status; - } - - - public void setStatus(String status) { - this.status = status; - } - - - public SceneSyncItemResultDataAttributes error(ApiError error) { - - this.error = error; - return this; - } - - /** - * Get error - * @return error - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public ApiError getError() { - return error; - } - - - public void setError(ApiError error) { - this.error = error; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneSyncItemResultDataAttributes sceneSyncItemResultDataAttributes = (SceneSyncItemResultDataAttributes) o; - return Objects.equals(this.status, sceneSyncItemResultDataAttributes.status) && - Objects.equals(this.error, sceneSyncItemResultDataAttributes.error); - } - - @Override - public int hashCode() { - return Objects.hash(status, error); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneSyncItemResultDataAttributes {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" error: ").append(toIndentedString(error)).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/SceneSyncItemResultDataRelationships.java b/src/main/java/com/vertexvis/model/SceneSyncItemResultDataRelationships.java deleted file mode 100644 index c8ae8ec3..00000000 --- a/src/main/java/com/vertexvis/model/SceneSyncItemResultDataRelationships.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * 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.SceneItemRelationship; -import com.vertexvis.model.SceneRelationship; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * SceneSyncItemResultDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneSyncItemResultDataRelationships { - public static final String SERIALIZED_NAME_SCENE = "scene"; - @SerializedName(SERIALIZED_NAME_SCENE) - private SceneRelationship scene; - - public static final String SERIALIZED_NAME_SCENE_ITEM = "sceneItem"; - @SerializedName(SERIALIZED_NAME_SCENE_ITEM) - private SceneItemRelationship sceneItem; - - public SceneSyncItemResultDataRelationships() { - } - - public SceneSyncItemResultDataRelationships scene(SceneRelationship scene) { - - this.scene = scene; - return this; - } - - /** - * Get scene - * @return scene - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneRelationship getScene() { - return scene; - } - - - public void setScene(SceneRelationship scene) { - this.scene = scene; - } - - - public SceneSyncItemResultDataRelationships sceneItem(SceneItemRelationship sceneItem) { - - this.sceneItem = sceneItem; - return this; - } - - /** - * Get sceneItem - * @return sceneItem - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneItemRelationship getSceneItem() { - return sceneItem; - } - - - public void setSceneItem(SceneItemRelationship sceneItem) { - this.sceneItem = sceneItem; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneSyncItemResultDataRelationships sceneSyncItemResultDataRelationships = (SceneSyncItemResultDataRelationships) o; - return Objects.equals(this.scene, sceneSyncItemResultDataRelationships.scene) && - Objects.equals(this.sceneItem, sceneSyncItemResultDataRelationships.sceneItem); - } - - @Override - public int hashCode() { - return Objects.hash(scene, sceneItem); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneSyncItemResultDataRelationships {\n"); - sb.append(" scene: ").append(toIndentedString(scene)).append("\n"); - sb.append(" sceneItem: ").append(toIndentedString(sceneItem)).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/SceneSyncItemResultsList.java b/src/main/java/com/vertexvis/model/SceneSyncItemResultsList.java deleted file mode 100644 index 95160d6a..00000000 --- a/src/main/java/com/vertexvis/model/SceneSyncItemResultsList.java +++ /dev/null @@ -1,180 +0,0 @@ -/* - * 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.SceneItemData; -import com.vertexvis.model.SceneSyncItemResultData; -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; - -/** - * SceneSyncItemResultsList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneSyncItemResultsList { - 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 static final String SERIALIZED_NAME_INCLUDED = "included"; - @SerializedName(SERIALIZED_NAME_INCLUDED) - private List included = new ArrayList<>(); - - public SceneSyncItemResultsList() { - } - - public SceneSyncItemResultsList data(List data) { - - this.data = data; - return this; - } - - public SceneSyncItemResultsList addDataItem(SceneSyncItemResultData 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 SceneSyncItemResultsList links(Map links) { - - this.links = links; - return this; - } - - public SceneSyncItemResultsList 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; - } - - - public SceneSyncItemResultsList included(List included) { - - this.included = included; - return this; - } - - public SceneSyncItemResultsList addIncludedItem(SceneItemData includedItem) { - this.included.add(includedItem); - return this; - } - - /** - * Get included - * @return included - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getIncluded() { - return included; - } - - - public void setIncluded(List included) { - this.included = included; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneSyncItemResultsList sceneSyncItemResultsList = (SceneSyncItemResultsList) o; - return Objects.equals(this.data, sceneSyncItemResultsList.data) && - Objects.equals(this.links, sceneSyncItemResultsList.links) && - Objects.equals(this.included, sceneSyncItemResultsList.included); - } - - @Override - public int hashCode() { - return Objects.hash(data, links, included); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneSyncItemResultsList {\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - sb.append(" included: ").append(toIndentedString(included)).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/SceneView.java b/src/main/java/com/vertexvis/model/SceneView.java deleted file mode 100644 index 0467f3fe..00000000 --- a/src/main/java/com/vertexvis/model/SceneView.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.SceneViewData; -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; - -/** - * SceneView - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneView { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private SceneViewData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public SceneView() { - } - - public SceneView data(SceneViewData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneViewData getData() { - return data; - } - - - public void setData(SceneViewData data) { - this.data = data; - } - - - public SceneView links(Map links) { - - this.links = links; - return this; - } - - public SceneView 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; - } - SceneView sceneView = (SceneView) o; - return Objects.equals(this.data, sceneView.data) && - Objects.equals(this.links, sceneView.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneView {\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/SceneViewData.java b/src/main/java/com/vertexvis/model/SceneViewData.java deleted file mode 100644 index 310d4126..00000000 --- a/src/main/java/com/vertexvis/model/SceneViewData.java +++ /dev/null @@ -1,190 +0,0 @@ -/* - * 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.SceneViewDataAttributes; -import com.vertexvis.model.SceneViewDataRelationships; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.UUID; - -/** - * SceneViewData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneViewData { - 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 SceneViewDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private SceneViewDataRelationships relationships; - - public SceneViewData() { - } - - public SceneViewData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-view", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public SceneViewData 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 SceneViewData attributes(SceneViewDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneViewDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(SceneViewDataAttributes attributes) { - this.attributes = attributes; - } - - - public SceneViewData relationships(SceneViewDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneViewDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(SceneViewDataRelationships relationships) { - this.relationships = relationships; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneViewData sceneViewData = (SceneViewData) o; - return Objects.equals(this.type, sceneViewData.type) && - Objects.equals(this.id, sceneViewData.id) && - Objects.equals(this.attributes, sceneViewData.attributes) && - Objects.equals(this.relationships, sceneViewData.relationships); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, relationships); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneViewData {\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("}"); - 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/SceneViewDataAttributes.java b/src/main/java/com/vertexvis/model/SceneViewDataAttributes.java deleted file mode 100644 index 0d7705e6..00000000 --- a/src/main/java/com/vertexvis/model/SceneViewDataAttributes.java +++ /dev/null @@ -1,233 +0,0 @@ -/* - * 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.CrossSectioning; -import com.vertexvis.model.Orientation; -import com.vertexvis.model.OrthographicCamera; -import com.vertexvis.model.PerspectiveCamera; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.time.OffsetDateTime; -import org.openapitools.jackson.nullable.JsonNullable; - -/** - * SceneViewDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneViewDataAttributes { - public static final String SERIALIZED_NAME_CAMERA = "camera"; - @SerializedName(SERIALIZED_NAME_CAMERA) - private OneOfPerspectiveCameraOrthographicCamera camera; - - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_CROSS_SECTIONING = "crossSectioning"; - @SerializedName(SERIALIZED_NAME_CROSS_SECTIONING) - private CrossSectioning crossSectioning; - - public static final String SERIALIZED_NAME_WORLD_ORIENTATION = "worldOrientation"; - @SerializedName(SERIALIZED_NAME_WORLD_ORIENTATION) - private Orientation worldOrientation; - - public static final String SERIALIZED_NAME_EXCLUDE_PRUNED_ITEMS = "excludePrunedItems"; - @SerializedName(SERIALIZED_NAME_EXCLUDE_PRUNED_ITEMS) - private Boolean excludePrunedItems; - - public SceneViewDataAttributes() { - } - - public SceneViewDataAttributes camera(OneOfPerspectiveCameraOrthographicCamera camera) { - - this.camera = camera; - return this; - } - - /** - * Get camera - * @return camera - **/ - @javax.annotation.Nullable - @ApiModelProperty(required = true, value = "") - - public OneOfPerspectiveCameraOrthographicCamera getCamera() { - return camera; - } - - - public void setCamera(OneOfPerspectiveCameraOrthographicCamera camera) { - this.camera = camera; - } - - - public SceneViewDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - public SceneViewDataAttributes crossSectioning(CrossSectioning crossSectioning) { - - this.crossSectioning = crossSectioning; - return this; - } - - /** - * Get crossSectioning - * @return crossSectioning - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public CrossSectioning getCrossSectioning() { - return crossSectioning; - } - - - public void setCrossSectioning(CrossSectioning crossSectioning) { - this.crossSectioning = crossSectioning; - } - - - public SceneViewDataAttributes worldOrientation(Orientation worldOrientation) { - - this.worldOrientation = worldOrientation; - return this; - } - - /** - * Get worldOrientation - * @return worldOrientation - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Orientation getWorldOrientation() { - return worldOrientation; - } - - - public void setWorldOrientation(Orientation worldOrientation) { - this.worldOrientation = worldOrientation; - } - - - public SceneViewDataAttributes excludePrunedItems(Boolean excludePrunedItems) { - - this.excludePrunedItems = excludePrunedItems; - return this; - } - - /** - * Whether to exclude non-visible items in the view - * @return excludePrunedItems - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "true", value = "Whether to exclude non-visible items in the view") - - public Boolean getExcludePrunedItems() { - return excludePrunedItems; - } - - - public void setExcludePrunedItems(Boolean excludePrunedItems) { - this.excludePrunedItems = excludePrunedItems; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneViewDataAttributes sceneViewDataAttributes = (SceneViewDataAttributes) o; - return Objects.equals(this.camera, sceneViewDataAttributes.camera) && - Objects.equals(this.created, sceneViewDataAttributes.created) && - Objects.equals(this.crossSectioning, sceneViewDataAttributes.crossSectioning) && - Objects.equals(this.worldOrientation, sceneViewDataAttributes.worldOrientation) && - Objects.equals(this.excludePrunedItems, sceneViewDataAttributes.excludePrunedItems); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(camera, created, crossSectioning, worldOrientation, excludePrunedItems); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneViewDataAttributes {\n"); - sb.append(" camera: ").append(toIndentedString(camera)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" crossSectioning: ").append(toIndentedString(crossSectioning)).append("\n"); - sb.append(" worldOrientation: ").append(toIndentedString(worldOrientation)).append("\n"); - sb.append(" excludePrunedItems: ").append(toIndentedString(excludePrunedItems)).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/SceneViewDataRelationships.java b/src/main/java/com/vertexvis/model/SceneViewDataRelationships.java deleted file mode 100644 index fea24501..00000000 --- a/src/main/java/com/vertexvis/model/SceneViewDataRelationships.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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; - -/** - * SceneViewDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneViewDataRelationships { - public static final String SERIALIZED_NAME_SCENE = "scene"; - @SerializedName(SERIALIZED_NAME_SCENE) - private SceneRelationship scene; - - public SceneViewDataRelationships() { - } - - public SceneViewDataRelationships scene(SceneRelationship scene) { - - this.scene = scene; - return this; - } - - /** - * Get scene - * @return scene - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, 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; - } - SceneViewDataRelationships sceneViewDataRelationships = (SceneViewDataRelationships) o; - return Objects.equals(this.scene, sceneViewDataRelationships.scene); - } - - @Override - public int hashCode() { - return Objects.hash(scene); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneViewDataRelationships {\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/SceneViewItem.java b/src/main/java/com/vertexvis/model/SceneViewItem.java deleted file mode 100644 index 31e20f17..00000000 --- a/src/main/java/com/vertexvis/model/SceneViewItem.java +++ /dev/null @@ -1,181 +0,0 @@ -/* - * 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.SceneItemData; -import com.vertexvis.model.SceneItemOverrideData; -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; - -/** - * SceneViewItem - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneViewItem { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private SceneItemData data; - - public static final String SERIALIZED_NAME_INCLUDED = "included"; - @SerializedName(SERIALIZED_NAME_INCLUDED) - private List included = null; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public SceneViewItem() { - } - - public SceneViewItem data(SceneItemData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneItemData getData() { - return data; - } - - - public void setData(SceneItemData data) { - this.data = data; - } - - - public SceneViewItem included(List included) { - - this.included = included; - return this; - } - - public SceneViewItem addIncludedItem(SceneItemOverrideData includedItem) { - if (this.included == null) { - this.included = new ArrayList<>(); - } - this.included.add(includedItem); - return this; - } - - /** - * Get included - * @return included - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getIncluded() { - return included; - } - - - public void setIncluded(List included) { - this.included = included; - } - - - public SceneViewItem links(Map links) { - - this.links = links; - return this; - } - - public SceneViewItem 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; - } - SceneViewItem sceneViewItem = (SceneViewItem) o; - return Objects.equals(this.data, sceneViewItem.data) && - Objects.equals(this.included, sceneViewItem.included) && - Objects.equals(this.links, sceneViewItem.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, included, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneViewItem {\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" included: ").append(toIndentedString(included)).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/SceneViewList.java b/src/main/java/com/vertexvis/model/SceneViewList.java deleted file mode 100644 index 545882b3..00000000 --- a/src/main/java/com/vertexvis/model/SceneViewList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.SceneViewData; -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; - -/** - * SceneViewList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneViewList { - 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 SceneViewList() { - } - - public SceneViewList data(List data) { - - this.data = data; - return this; - } - - public SceneViewList addDataItem(SceneViewData 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 SceneViewList links(Map links) { - - this.links = links; - return this; - } - - public SceneViewList 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; - } - SceneViewList sceneViewList = (SceneViewList) o; - return Objects.equals(this.data, sceneViewList.data) && - Objects.equals(this.links, sceneViewList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneViewList {\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/SceneViewRelationship.java b/src/main/java/com/vertexvis/model/SceneViewRelationship.java deleted file mode 100644 index e7110e5c..00000000 --- a/src/main/java/com/vertexvis/model/SceneViewRelationship.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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.SceneViewRelationshipData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Relationship to a `scene-view`. - */ -@ApiModel(description = "Relationship to a `scene-view`.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneViewRelationship { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private SceneViewRelationshipData data; - - public SceneViewRelationship() { - } - - public SceneViewRelationship data(SceneViewRelationshipData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneViewRelationshipData getData() { - return data; - } - - - public void setData(SceneViewRelationshipData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneViewRelationship sceneViewRelationship = (SceneViewRelationship) o; - return Objects.equals(this.data, sceneViewRelationship.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneViewRelationship {\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/SceneViewRelationshipData.java b/src/main/java/com/vertexvis/model/SceneViewRelationshipData.java deleted file mode 100644 index fc1b0026..00000000 --- a/src/main/java/com/vertexvis/model/SceneViewRelationshipData.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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; - -/** - * SceneViewRelationshipData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneViewRelationshipData { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - SCENE_VIEW("scene-view"); - - 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 SceneViewRelationshipData() { - } - - public SceneViewRelationshipData type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-view", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public SceneViewRelationshipData 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; - } - SceneViewRelationshipData sceneViewRelationshipData = (SceneViewRelationshipData) o; - return Objects.equals(this.type, sceneViewRelationshipData.type) && - Objects.equals(this.id, sceneViewRelationshipData.id); - } - - @Override - public int hashCode() { - return Objects.hash(type, id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneViewRelationshipData {\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/SceneViewState.java b/src/main/java/com/vertexvis/model/SceneViewState.java deleted file mode 100644 index c1241729..00000000 --- a/src/main/java/com/vertexvis/model/SceneViewState.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.SceneViewStateData; -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; - -/** - * SceneViewState - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneViewState { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private SceneViewStateData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public SceneViewState() { - } - - public SceneViewState data(SceneViewStateData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneViewStateData getData() { - return data; - } - - - public void setData(SceneViewStateData data) { - this.data = data; - } - - - public SceneViewState links(Map links) { - - this.links = links; - return this; - } - - public SceneViewState 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; - } - SceneViewState sceneViewState = (SceneViewState) o; - return Objects.equals(this.data, sceneViewState.data) && - Objects.equals(this.links, sceneViewState.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneViewState {\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/SceneViewStateData.java b/src/main/java/com/vertexvis/model/SceneViewStateData.java deleted file mode 100644 index 88637e6d..00000000 --- a/src/main/java/com/vertexvis/model/SceneViewStateData.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * 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.SceneViewStateDataAttributes; -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; - -/** - * SceneViewStateData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneViewStateData { - 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 SceneViewStateDataAttributes attributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public SceneViewStateData() { - } - - public SceneViewStateData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-view-state", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public SceneViewStateData 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 SceneViewStateData attributes(SceneViewStateDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneViewStateDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(SceneViewStateDataAttributes attributes) { - this.attributes = attributes; - } - - - public SceneViewStateData links(Map links) { - - this.links = links; - return this; - } - - public SceneViewStateData 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; - } - SceneViewStateData sceneViewStateData = (SceneViewStateData) o; - return Objects.equals(this.type, sceneViewStateData.type) && - Objects.equals(this.id, sceneViewStateData.id) && - Objects.equals(this.attributes, sceneViewStateData.attributes) && - Objects.equals(this.links, sceneViewStateData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneViewStateData {\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(" 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/SceneViewStateDataAttributes.java b/src/main/java/com/vertexvis/model/SceneViewStateDataAttributes.java deleted file mode 100644 index ba790ae2..00000000 --- a/src/main/java/com/vertexvis/model/SceneViewStateDataAttributes.java +++ /dev/null @@ -1,301 +0,0 @@ -/* - * 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.FeatureLines; -import com.vertexvis.model.OrthographicCamera; -import com.vertexvis.model.PerspectiveCamera; -import com.vertexvis.model.ThumbnailData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.jackson.nullable.JsonNullable; - -/** - * SceneViewStateDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneViewStateDataAttributes { - public static final String SERIALIZED_NAME_CAMERA = "camera"; - @SerializedName(SERIALIZED_NAME_CAMERA) - private OneOfPerspectiveCameraOrthographicCamera camera; - - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_THUMBNAILS = "thumbnails"; - @SerializedName(SERIALIZED_NAME_THUMBNAILS) - private List thumbnails = null; - - public static final String SERIALIZED_NAME_FEATURE_LINES = "featureLines"; - @SerializedName(SERIALIZED_NAME_FEATURE_LINES) - private FeatureLines featureLines; - - public static final String SERIALIZED_NAME_NO_DEFAULT_LIGHTS = "noDefaultLights"; - @SerializedName(SERIALIZED_NAME_NO_DEFAULT_LIGHTS) - private Boolean noDefaultLights; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public SceneViewStateDataAttributes() { - } - - public SceneViewStateDataAttributes camera(OneOfPerspectiveCameraOrthographicCamera camera) { - - this.camera = camera; - return this; - } - - /** - * Get camera - * @return camera - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public OneOfPerspectiveCameraOrthographicCamera getCamera() { - return camera; - } - - - public void setCamera(OneOfPerspectiveCameraOrthographicCamera camera) { - this.camera = camera; - } - - - public SceneViewStateDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2020-01-01T12:00Z", value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - public SceneViewStateDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public SceneViewStateDataAttributes thumbnails(List thumbnails) { - - this.thumbnails = thumbnails; - return this; - } - - public SceneViewStateDataAttributes addThumbnailsItem(ThumbnailData thumbnailsItem) { - if (this.thumbnails == null) { - this.thumbnails = new ArrayList<>(); - } - this.thumbnails.add(thumbnailsItem); - return this; - } - - /** - * Get thumbnails - * @return thumbnails - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getThumbnails() { - return thumbnails; - } - - - public void setThumbnails(List thumbnails) { - this.thumbnails = thumbnails; - } - - - public SceneViewStateDataAttributes featureLines(FeatureLines featureLines) { - - this.featureLines = featureLines; - return this; - } - - /** - * Get featureLines - * @return featureLines - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public FeatureLines getFeatureLines() { - return featureLines; - } - - - public void setFeatureLines(FeatureLines featureLines) { - this.featureLines = featureLines; - } - - - public SceneViewStateDataAttributes noDefaultLights(Boolean noDefaultLights) { - - this.noDefaultLights = noDefaultLights; - return this; - } - - /** - * Get noDefaultLights - * @return noDefaultLights - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getNoDefaultLights() { - return noDefaultLights; - } - - - public void setNoDefaultLights(Boolean noDefaultLights) { - this.noDefaultLights = noDefaultLights; - } - - - public SceneViewStateDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * Get suppliedId - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneViewStateDataAttributes sceneViewStateDataAttributes = (SceneViewStateDataAttributes) o; - return Objects.equals(this.camera, sceneViewStateDataAttributes.camera) && - Objects.equals(this.created, sceneViewStateDataAttributes.created) && - Objects.equals(this.name, sceneViewStateDataAttributes.name) && - Objects.equals(this.thumbnails, sceneViewStateDataAttributes.thumbnails) && - Objects.equals(this.featureLines, sceneViewStateDataAttributes.featureLines) && - Objects.equals(this.noDefaultLights, sceneViewStateDataAttributes.noDefaultLights) && - Objects.equals(this.suppliedId, sceneViewStateDataAttributes.suppliedId); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(camera, created, name, thumbnails, featureLines, noDefaultLights, suppliedId); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneViewStateDataAttributes {\n"); - sb.append(" camera: ").append(toIndentedString(camera)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" thumbnails: ").append(toIndentedString(thumbnails)).append("\n"); - sb.append(" featureLines: ").append(toIndentedString(featureLines)).append("\n"); - sb.append(" noDefaultLights: ").append(toIndentedString(noDefaultLights)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).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/SceneViewStateList.java b/src/main/java/com/vertexvis/model/SceneViewStateList.java deleted file mode 100644 index 8bca3254..00000000 --- a/src/main/java/com/vertexvis/model/SceneViewStateList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.SceneViewStateData; -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; - -/** - * SceneViewStateList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneViewStateList { - 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 SceneViewStateList() { - } - - public SceneViewStateList data(List data) { - - this.data = data; - return this; - } - - public SceneViewStateList addDataItem(SceneViewStateData 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 SceneViewStateList links(Map links) { - - this.links = links; - return this; - } - - public SceneViewStateList 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; - } - SceneViewStateList sceneViewStateList = (SceneViewStateList) o; - return Objects.equals(this.data, sceneViewStateList.data) && - Objects.equals(this.links, sceneViewStateList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneViewStateList {\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/SceneViewStateRelationship.java b/src/main/java/com/vertexvis/model/SceneViewStateRelationship.java deleted file mode 100644 index 6b18707b..00000000 --- a/src/main/java/com/vertexvis/model/SceneViewStateRelationship.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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.SceneViewStateRelationshipData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Relationship to a `scene-view-state`. - */ -@ApiModel(description = "Relationship to a `scene-view-state`.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneViewStateRelationship { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private SceneViewStateRelationshipData data; - - public SceneViewStateRelationship() { - } - - public SceneViewStateRelationship data(SceneViewStateRelationshipData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneViewStateRelationshipData getData() { - return data; - } - - - public void setData(SceneViewStateRelationshipData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SceneViewStateRelationship sceneViewStateRelationship = (SceneViewStateRelationship) o; - return Objects.equals(this.data, sceneViewStateRelationship.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneViewStateRelationship {\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/SceneViewStateRelationshipData.java b/src/main/java/com/vertexvis/model/SceneViewStateRelationshipData.java deleted file mode 100644 index 790a2c87..00000000 --- a/src/main/java/com/vertexvis/model/SceneViewStateRelationshipData.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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; - -/** - * SceneViewStateRelationshipData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SceneViewStateRelationshipData { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - SCENE_VIEW_STATE("scene-view-state"); - - 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 SceneViewStateRelationshipData() { - } - - public SceneViewStateRelationshipData type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-view-state", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public SceneViewStateRelationshipData 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; - } - SceneViewStateRelationshipData sceneViewStateRelationshipData = (SceneViewStateRelationshipData) o; - return Objects.equals(this.type, sceneViewStateRelationshipData.type) && - Objects.equals(this.id, sceneViewStateRelationshipData.id); - } - - @Override - public int hashCode() { - return Objects.hash(type, id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SceneViewStateRelationshipData {\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/SectionPlane.java b/src/main/java/com/vertexvis/model/SectionPlane.java deleted file mode 100644 index 9b15b5a8..00000000 --- a/src/main/java/com/vertexvis/model/SectionPlane.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * 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.Vector3; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -/** - * SectionPlane - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SectionPlane { - public static final String SERIALIZED_NAME_NORMAL = "normal"; - @SerializedName(SERIALIZED_NAME_NORMAL) - private Vector3 normal; - - public static final String SERIALIZED_NAME_OFFSET = "offset"; - @SerializedName(SERIALIZED_NAME_OFFSET) - private BigDecimal offset; - - public SectionPlane() { - } - - public SectionPlane normal(Vector3 normal) { - - this.normal = normal; - return this; - } - - /** - * Get normal - * @return normal - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Vector3 getNormal() { - return normal; - } - - - public void setNormal(Vector3 normal) { - this.normal = normal; - } - - - public SectionPlane offset(BigDecimal offset) { - - this.offset = offset; - return this; - } - - /** - * Distance from the center point to move the plane. - * @return offset - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "0.0", required = true, value = "Distance from the center point to move the plane.") - - public BigDecimal getOffset() { - return offset; - } - - - public void setOffset(BigDecimal offset) { - this.offset = offset; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SectionPlane sectionPlane = (SectionPlane) o; - return Objects.equals(this.normal, sectionPlane.normal) && - Objects.equals(this.offset, sectionPlane.offset); - } - - @Override - public int hashCode() { - return Objects.hash(normal, offset); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SectionPlane {\n"); - sb.append(" normal: ").append(toIndentedString(normal)).append("\n"); - sb.append(" offset: ").append(toIndentedString(offset)).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/SelectOp.java b/src/main/java/com/vertexvis/model/SelectOp.java deleted file mode 100644 index 9c896cca..00000000 --- a/src/main/java/com/vertexvis/model/SelectOp.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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; - -/** - * SelectOp - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SelectOp { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - SELECT("select"); - - 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 SelectOp() { - } - - public SelectOp type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "select", 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; - } - SelectOp selectOp = (SelectOp) o; - return Objects.equals(this.type, selectOp.type); - } - - @Override - public int hashCode() { - return Objects.hash(type); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SelectOp {\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/StreamKey.java b/src/main/java/com/vertexvis/model/StreamKey.java deleted file mode 100644 index 169136f6..00000000 --- a/src/main/java/com/vertexvis/model/StreamKey.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.StreamKeyData; -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; - -/** - * StreamKey - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class StreamKey { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private StreamKeyData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public StreamKey() { - } - - public StreamKey data(StreamKeyData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public StreamKeyData getData() { - return data; - } - - - public void setData(StreamKeyData data) { - this.data = data; - } - - - public StreamKey links(Map links) { - - this.links = links; - return this; - } - - public StreamKey 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; - } - StreamKey streamKey = (StreamKey) o; - return Objects.equals(this.data, streamKey.data) && - Objects.equals(this.links, streamKey.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class StreamKey {\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/StreamKeyData.java b/src/main/java/com/vertexvis/model/StreamKeyData.java deleted file mode 100644 index f6c77906..00000000 --- a/src/main/java/com/vertexvis/model/StreamKeyData.java +++ /dev/null @@ -1,231 +0,0 @@ -/* - * 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.StreamKeyDataAttributes; -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; - -/** - * StreamKeyData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class StreamKeyData { - 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 StreamKeyDataAttributes 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 StreamKeyData() { - } - - public StreamKeyData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "stream-key", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public StreamKeyData 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 StreamKeyData attributes(StreamKeyDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public StreamKeyDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(StreamKeyDataAttributes attributes) { - this.attributes = attributes; - } - - - public StreamKeyData relationships(SceneViewDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public SceneViewDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(SceneViewDataRelationships relationships) { - this.relationships = relationships; - } - - - public StreamKeyData links(Map links) { - - this.links = links; - return this; - } - - public StreamKeyData 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; - } - StreamKeyData streamKeyData = (StreamKeyData) o; - return Objects.equals(this.type, streamKeyData.type) && - Objects.equals(this.id, streamKeyData.id) && - Objects.equals(this.attributes, streamKeyData.attributes) && - Objects.equals(this.relationships, streamKeyData.relationships) && - Objects.equals(this.links, streamKeyData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, relationships, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class StreamKeyData {\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/StreamKeyDataAttributes.java b/src/main/java/com/vertexvis/model/StreamKeyDataAttributes.java deleted file mode 100644 index 033d187c..00000000 --- a/src/main/java/com/vertexvis/model/StreamKeyDataAttributes.java +++ /dev/null @@ -1,247 +0,0 @@ -/* - * 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.time.OffsetDateTime; -import java.util.UUID; - -/** - * StreamKeyDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class StreamKeyDataAttributes { - public static final String SERIALIZED_NAME_KEY = "key"; - @SerializedName(SERIALIZED_NAME_KEY) - private String key; - - public static final String SERIALIZED_NAME_EXPIRY = "expiry"; - @SerializedName(SERIALIZED_NAME_EXPIRY) - private Integer expiry; - - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_EXCLUDE_PRUNED_ITEMS = "excludePrunedItems"; - @SerializedName(SERIALIZED_NAME_EXCLUDE_PRUNED_ITEMS) - private Boolean excludePrunedItems; - - public static final String SERIALIZED_NAME_SCENE_VIEW_STATE_SUPPLIED_ID = "sceneViewStateSuppliedId"; - @SerializedName(SERIALIZED_NAME_SCENE_VIEW_STATE_SUPPLIED_ID) - private String sceneViewStateSuppliedId; - - public static final String SERIALIZED_NAME_SCENE_VIEW_STATE_ID = "sceneViewStateId"; - @SerializedName(SERIALIZED_NAME_SCENE_VIEW_STATE_ID) - private UUID sceneViewStateId; - - public StreamKeyDataAttributes() { - } - - public StreamKeyDataAttributes key(String key) { - - this.key = key; - return this; - } - - /** - * Get key - * @return key - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "i3MFRDOmg1pxD36dGCTONRwOujkgV8m9LQ", value = "") - - public String getKey() { - return key; - } - - - public void setKey(String key) { - this.key = key; - } - - - public StreamKeyDataAttributes expiry(Integer expiry) { - - this.expiry = expiry; - return this; - } - - /** - * Get expiry - * @return expiry - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "600", required = true, value = "") - - public Integer getExpiry() { - return expiry; - } - - - public void setExpiry(Integer expiry) { - this.expiry = expiry; - } - - - public StreamKeyDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - public StreamKeyDataAttributes excludePrunedItems(Boolean excludePrunedItems) { - - this.excludePrunedItems = excludePrunedItems; - return this; - } - - /** - * Get excludePrunedItems - * @return excludePrunedItems - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "true", value = "") - - public Boolean getExcludePrunedItems() { - return excludePrunedItems; - } - - - public void setExcludePrunedItems(Boolean excludePrunedItems) { - this.excludePrunedItems = excludePrunedItems; - } - - - public StreamKeyDataAttributes sceneViewStateSuppliedId(String sceneViewStateSuppliedId) { - - this.sceneViewStateSuppliedId = sceneViewStateSuppliedId; - return this; - } - - /** - * Get sceneViewStateSuppliedId - * @return sceneViewStateSuppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getSceneViewStateSuppliedId() { - return sceneViewStateSuppliedId; - } - - - public void setSceneViewStateSuppliedId(String sceneViewStateSuppliedId) { - this.sceneViewStateSuppliedId = sceneViewStateSuppliedId; - } - - - public StreamKeyDataAttributes sceneViewStateId(UUID sceneViewStateId) { - - this.sceneViewStateId = sceneViewStateId; - return this; - } - - /** - * ID of the resource. - * @return sceneViewStateId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "f79d4760-0b71-44e4-ad0b-22743fdd4ca3", value = "ID of the resource.") - - public UUID getSceneViewStateId() { - return sceneViewStateId; - } - - - public void setSceneViewStateId(UUID sceneViewStateId) { - this.sceneViewStateId = sceneViewStateId; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - StreamKeyDataAttributes streamKeyDataAttributes = (StreamKeyDataAttributes) o; - return Objects.equals(this.key, streamKeyDataAttributes.key) && - Objects.equals(this.expiry, streamKeyDataAttributes.expiry) && - Objects.equals(this.created, streamKeyDataAttributes.created) && - Objects.equals(this.excludePrunedItems, streamKeyDataAttributes.excludePrunedItems) && - Objects.equals(this.sceneViewStateSuppliedId, streamKeyDataAttributes.sceneViewStateSuppliedId) && - Objects.equals(this.sceneViewStateId, streamKeyDataAttributes.sceneViewStateId); - } - - @Override - public int hashCode() { - return Objects.hash(key, expiry, created, excludePrunedItems, sceneViewStateSuppliedId, sceneViewStateId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class StreamKeyDataAttributes {\n"); - sb.append(" key: ").append(toIndentedString(key)).append("\n"); - sb.append(" expiry: ").append(toIndentedString(expiry)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" excludePrunedItems: ").append(toIndentedString(excludePrunedItems)).append("\n"); - sb.append(" sceneViewStateSuppliedId: ").append(toIndentedString(sceneViewStateSuppliedId)).append("\n"); - sb.append(" sceneViewStateId: ").append(toIndentedString(sceneViewStateId)).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/StreamKeyList.java b/src/main/java/com/vertexvis/model/StreamKeyList.java deleted file mode 100644 index d32d44ce..00000000 --- a/src/main/java/com/vertexvis/model/StreamKeyList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.StreamKeyData; -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; - -/** - * StreamKeyList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class StreamKeyList { - 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 StreamKeyList() { - } - - public StreamKeyList data(List data) { - - this.data = data; - return this; - } - - public StreamKeyList addDataItem(StreamKeyData 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 StreamKeyList links(Map links) { - - this.links = links; - return this; - } - - public StreamKeyList 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; - } - StreamKeyList streamKeyList = (StreamKeyList) o; - return Objects.equals(this.data, streamKeyList.data) && - Objects.equals(this.links, streamKeyList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class StreamKeyList {\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/ThumbnailData.java b/src/main/java/com/vertexvis/model/ThumbnailData.java deleted file mode 100644 index a18b1b17..00000000 --- a/src/main/java/com/vertexvis/model/ThumbnailData.java +++ /dev/null @@ -1,158 +0,0 @@ -/* - * 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; - -/** - * ThumbnailData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ThumbnailData { - public static final String SERIALIZED_NAME_URI = "uri"; - @SerializedName(SERIALIZED_NAME_URI) - private String uri; - - public static final String SERIALIZED_NAME_HEIGHT = "height"; - @SerializedName(SERIALIZED_NAME_HEIGHT) - private Integer height; - - public static final String SERIALIZED_NAME_WIDTH = "width"; - @SerializedName(SERIALIZED_NAME_WIDTH) - private Integer width; - - public ThumbnailData() { - } - - public ThumbnailData uri(String uri) { - - this.uri = uri; - return this; - } - - /** - * Get uri - * @return uri - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getUri() { - return uri; - } - - - public void setUri(String uri) { - this.uri = uri; - } - - - public ThumbnailData height(Integer height) { - - this.height = height; - return this; - } - - /** - * Get height - * @return height - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Integer getHeight() { - return height; - } - - - public void setHeight(Integer height) { - this.height = height; - } - - - public ThumbnailData width(Integer width) { - - this.width = width; - return this; - } - - /** - * Get width - * @return width - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Integer getWidth() { - return width; - } - - - public void setWidth(Integer width) { - this.width = width; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ThumbnailData thumbnailData = (ThumbnailData) o; - return Objects.equals(this.uri, thumbnailData.uri) && - Objects.equals(this.height, thumbnailData.height) && - Objects.equals(this.width, thumbnailData.width); - } - - @Override - public int hashCode() { - return Objects.hash(uri, height, width); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ThumbnailData {\n"); - sb.append(" uri: ").append(toIndentedString(uri)).append("\n"); - sb.append(" height: ").append(toIndentedString(height)).append("\n"); - sb.append(" width: ").append(toIndentedString(width)).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/TranslationInspectionJob.java b/src/main/java/com/vertexvis/model/TranslationInspectionJob.java deleted file mode 100644 index 62d4f079..00000000 --- a/src/main/java/com/vertexvis/model/TranslationInspectionJob.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.TranslationInspectionJobData; -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; - -/** - * TranslationInspectionJob - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class TranslationInspectionJob { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private TranslationInspectionJobData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public TranslationInspectionJob() { - } - - public TranslationInspectionJob data(TranslationInspectionJobData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public TranslationInspectionJobData getData() { - return data; - } - - - public void setData(TranslationInspectionJobData data) { - this.data = data; - } - - - public TranslationInspectionJob links(Map links) { - - this.links = links; - return this; - } - - public TranslationInspectionJob 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; - } - TranslationInspectionJob translationInspectionJob = (TranslationInspectionJob) o; - return Objects.equals(this.data, translationInspectionJob.data) && - Objects.equals(this.links, translationInspectionJob.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class TranslationInspectionJob {\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/TranslationInspectionJobData.java b/src/main/java/com/vertexvis/model/TranslationInspectionJobData.java deleted file mode 100644 index 63e28ea5..00000000 --- a/src/main/java/com/vertexvis/model/TranslationInspectionJobData.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * 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.TranslationInspectionJobDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.UUID; - -/** - * TranslationInspectionJobData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class TranslationInspectionJobData { - 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 TranslationInspectionJobDataAttributes attributes; - - public TranslationInspectionJobData() { - } - - public TranslationInspectionJobData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "translation-inspection", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public TranslationInspectionJobData 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 TranslationInspectionJobData attributes(TranslationInspectionJobDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public TranslationInspectionJobDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(TranslationInspectionJobDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TranslationInspectionJobData translationInspectionJobData = (TranslationInspectionJobData) o; - return Objects.equals(this.type, translationInspectionJobData.type) && - Objects.equals(this.id, translationInspectionJobData.id) && - Objects.equals(this.attributes, translationInspectionJobData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class TranslationInspectionJobData {\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/TranslationInspectionJobDataAttributes.java b/src/main/java/com/vertexvis/model/TranslationInspectionJobDataAttributes.java deleted file mode 100644 index a226d4e6..00000000 --- a/src/main/java/com/vertexvis/model/TranslationInspectionJobDataAttributes.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * 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; - -/** - * TranslationInspectionJobDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class TranslationInspectionJobDataAttributes { - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private String status; - - public static final String SERIALIZED_NAME_MISSING = "missing"; - @SerializedName(SERIALIZED_NAME_MISSING) - private List missing = new ArrayList<>(); - - public TranslationInspectionJobDataAttributes() { - } - - public TranslationInspectionJobDataAttributes status(String status) { - - this.status = status; - return this; - } - - /** - * Get status - * @return status - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "running", required = true, value = "") - - public String getStatus() { - return status; - } - - - public void setStatus(String status) { - this.status = status; - } - - - public TranslationInspectionJobDataAttributes missing(List missing) { - - this.missing = missing; - return this; - } - - public TranslationInspectionJobDataAttributes addMissingItem(String missingItem) { - this.missing.add(missingItem); - return this; - } - - /** - * Get missing - * @return missing - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getMissing() { - return missing; - } - - - public void setMissing(List missing) { - this.missing = missing; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TranslationInspectionJobDataAttributes translationInspectionJobDataAttributes = (TranslationInspectionJobDataAttributes) o; - return Objects.equals(this.status, translationInspectionJobDataAttributes.status) && - Objects.equals(this.missing, translationInspectionJobDataAttributes.missing); - } - - @Override - public int hashCode() { - return Objects.hash(status, missing); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class TranslationInspectionJobDataAttributes {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" missing: ").append(toIndentedString(missing)).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/UpdateAccountRequest.java b/src/main/java/com/vertexvis/model/UpdateAccountRequest.java deleted file mode 100644 index 046b4212..00000000 --- a/src/main/java/com/vertexvis/model/UpdateAccountRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.UpdateAccountRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateAccountRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateAccountRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private UpdateAccountRequestData data; - - public UpdateAccountRequest() { - } - - public UpdateAccountRequest data(UpdateAccountRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateAccountRequestData getData() { - return data; - } - - - public void setData(UpdateAccountRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateAccountRequest updateAccountRequest = (UpdateAccountRequest) o; - return Objects.equals(this.data, updateAccountRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateAccountRequest {\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/UpdateAccountRequestData.java b/src/main/java/com/vertexvis/model/UpdateAccountRequestData.java deleted file mode 100644 index 359ffc89..00000000 --- a/src/main/java/com/vertexvis/model/UpdateAccountRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.UpdateAccountRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateAccountRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateAccountRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private UpdateAccountRequestDataAttributes attributes; - - public UpdateAccountRequestData() { - } - - public UpdateAccountRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "account", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public UpdateAccountRequestData attributes(UpdateAccountRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateAccountRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(UpdateAccountRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateAccountRequestData updateAccountRequestData = (UpdateAccountRequestData) o; - return Objects.equals(this.type, updateAccountRequestData.type) && - Objects.equals(this.attributes, updateAccountRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateAccountRequestData {\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/UpdateAccountRequestDataAttributes.java b/src/main/java/com/vertexvis/model/UpdateAccountRequestDataAttributes.java deleted file mode 100644 index 17887d8f..00000000 --- a/src/main/java/com/vertexvis/model/UpdateAccountRequestDataAttributes.java +++ /dev/null @@ -1,205 +0,0 @@ -/* - * 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; - -/** - * UpdateAccountRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateAccountRequestDataAttributes { - /** - * Gets or Sets status - */ - @JsonAdapter(StatusEnum.Adapter.class) - public enum StatusEnum { - ACTIVE("active"), - - DISABLED("disabled"); - - private String value; - - StatusEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static StatusEnum fromValue(String value) { - for (StatusEnum b : StatusEnum.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 StatusEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public StatusEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return StatusEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private StatusEnum status; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_OWNER = "owner"; - @SerializedName(SERIALIZED_NAME_OWNER) - private String owner; - - public UpdateAccountRequestDataAttributes() { - } - - public UpdateAccountRequestDataAttributes status(StatusEnum status) { - - this.status = status; - return this; - } - - /** - * Get status - * @return status - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "active", value = "") - - public StatusEnum getStatus() { - return status; - } - - - public void setStatus(StatusEnum status) { - this.status = status; - } - - - public UpdateAccountRequestDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public UpdateAccountRequestDataAttributes owner(String owner) { - - this.owner = owner; - return this; - } - - /** - * Get owner - * @return owner - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getOwner() { - return owner; - } - - - public void setOwner(String owner) { - this.owner = owner; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateAccountRequestDataAttributes updateAccountRequestDataAttributes = (UpdateAccountRequestDataAttributes) o; - return Objects.equals(this.status, updateAccountRequestDataAttributes.status) && - Objects.equals(this.name, updateAccountRequestDataAttributes.name) && - Objects.equals(this.owner, updateAccountRequestDataAttributes.owner); - } - - @Override - public int hashCode() { - return Objects.hash(status, name, owner); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateAccountRequestDataAttributes {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" owner: ").append(toIndentedString(owner)).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/UpdateApplicationRequest.java b/src/main/java/com/vertexvis/model/UpdateApplicationRequest.java deleted file mode 100644 index 0db57b07..00000000 --- a/src/main/java/com/vertexvis/model/UpdateApplicationRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.UpdateApplicationRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateApplicationRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateApplicationRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private UpdateApplicationRequestData data; - - public UpdateApplicationRequest() { - } - - public UpdateApplicationRequest data(UpdateApplicationRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateApplicationRequestData getData() { - return data; - } - - - public void setData(UpdateApplicationRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateApplicationRequest updateApplicationRequest = (UpdateApplicationRequest) o; - return Objects.equals(this.data, updateApplicationRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateApplicationRequest {\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/UpdateApplicationRequestData.java b/src/main/java/com/vertexvis/model/UpdateApplicationRequestData.java deleted file mode 100644 index 4346b802..00000000 --- a/src/main/java/com/vertexvis/model/UpdateApplicationRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.UpdateApplicationRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateApplicationRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateApplicationRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private UpdateApplicationRequestDataAttributes attributes; - - public UpdateApplicationRequestData() { - } - - public UpdateApplicationRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "application", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public UpdateApplicationRequestData attributes(UpdateApplicationRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateApplicationRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(UpdateApplicationRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateApplicationRequestData updateApplicationRequestData = (UpdateApplicationRequestData) o; - return Objects.equals(this.type, updateApplicationRequestData.type) && - Objects.equals(this.attributes, updateApplicationRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateApplicationRequestData {\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/UpdateApplicationRequestDataAttributes.java b/src/main/java/com/vertexvis/model/UpdateApplicationRequestDataAttributes.java deleted file mode 100644 index 12c5bf7b..00000000 --- a/src/main/java/com/vertexvis/model/UpdateApplicationRequestDataAttributes.java +++ /dev/null @@ -1,139 +0,0 @@ -/* - * 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; - -/** - * UpdateApplicationRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateApplicationRequestDataAttributes { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_REDIRECT_URIS = "redirect_uris"; - @SerializedName(SERIALIZED_NAME_REDIRECT_URIS) - private List redirectUris = null; - - public UpdateApplicationRequestDataAttributes() { - } - - public UpdateApplicationRequestDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public UpdateApplicationRequestDataAttributes redirectUris(List redirectUris) { - - this.redirectUris = redirectUris; - return this; - } - - public UpdateApplicationRequestDataAttributes addRedirectUrisItem(String redirectUrisItem) { - if (this.redirectUris == null) { - this.redirectUris = new ArrayList<>(); - } - this.redirectUris.add(redirectUrisItem); - return this; - } - - /** - * Get redirectUris - * @return redirectUris - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getRedirectUris() { - return redirectUris; - } - - - public void setRedirectUris(List redirectUris) { - this.redirectUris = redirectUris; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateApplicationRequestDataAttributes updateApplicationRequestDataAttributes = (UpdateApplicationRequestDataAttributes) o; - return Objects.equals(this.name, updateApplicationRequestDataAttributes.name) && - Objects.equals(this.redirectUris, updateApplicationRequestDataAttributes.redirectUris); - } - - @Override - public int hashCode() { - return Objects.hash(name, redirectUris); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateApplicationRequestDataAttributes {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" redirectUris: ").append(toIndentedString(redirectUris)).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/UpdateFileCollectionRequest.java b/src/main/java/com/vertexvis/model/UpdateFileCollectionRequest.java deleted file mode 100644 index 3bf29be5..00000000 --- a/src/main/java/com/vertexvis/model/UpdateFileCollectionRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.UpdateFileCollectionRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateFileCollectionRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateFileCollectionRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private UpdateFileCollectionRequestData data; - - public UpdateFileCollectionRequest() { - } - - public UpdateFileCollectionRequest data(UpdateFileCollectionRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateFileCollectionRequestData getData() { - return data; - } - - - public void setData(UpdateFileCollectionRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateFileCollectionRequest updateFileCollectionRequest = (UpdateFileCollectionRequest) o; - return Objects.equals(this.data, updateFileCollectionRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateFileCollectionRequest {\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/UpdateFileCollectionRequestData.java b/src/main/java/com/vertexvis/model/UpdateFileCollectionRequestData.java deleted file mode 100644 index 57047b92..00000000 --- a/src/main/java/com/vertexvis/model/UpdateFileCollectionRequestData.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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.UpdateFileCollectionRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateFileCollectionRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateFileCollectionRequestData { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - FILE_COLLECTION("file-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_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private UpdateFileCollectionRequestDataAttributes attributes; - - public UpdateFileCollectionRequestData() { - } - - public UpdateFileCollectionRequestData type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "file-collection", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public UpdateFileCollectionRequestData attributes(UpdateFileCollectionRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateFileCollectionRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(UpdateFileCollectionRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateFileCollectionRequestData updateFileCollectionRequestData = (UpdateFileCollectionRequestData) o; - return Objects.equals(this.type, updateFileCollectionRequestData.type) && - Objects.equals(this.attributes, updateFileCollectionRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateFileCollectionRequestData {\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/UpdateFileCollectionRequestDataAttributes.java b/src/main/java/com/vertexvis/model/UpdateFileCollectionRequestDataAttributes.java deleted file mode 100644 index 5bf1a4ee..00000000 --- a/src/main/java/com/vertexvis/model/UpdateFileCollectionRequestDataAttributes.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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; - -/** - * UpdateFileCollectionRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateFileCollectionRequestDataAttributes { - public static final String SERIALIZED_NAME_EXPIRY = "expiry"; - @SerializedName(SERIALIZED_NAME_EXPIRY) - private Integer expiry; - - public UpdateFileCollectionRequestDataAttributes() { - } - - public UpdateFileCollectionRequestDataAttributes expiry(Integer expiry) { - - this.expiry = expiry; - return this; - } - - /** - * Number of seconds before expiration - * minimum: 1 - * @return expiry - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "600", value = "Number of seconds before expiration") - - 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; - } - UpdateFileCollectionRequestDataAttributes updateFileCollectionRequestDataAttributes = (UpdateFileCollectionRequestDataAttributes) o; - return Objects.equals(this.expiry, updateFileCollectionRequestDataAttributes.expiry); - } - - @Override - public int hashCode() { - return Objects.hash(expiry); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateFileCollectionRequestDataAttributes {\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/UpdateFileRequest.java b/src/main/java/com/vertexvis/model/UpdateFileRequest.java deleted file mode 100644 index 46effefc..00000000 --- a/src/main/java/com/vertexvis/model/UpdateFileRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.UpdateFileRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateFileRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateFileRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private UpdateFileRequestData data; - - public UpdateFileRequest() { - } - - public UpdateFileRequest data(UpdateFileRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateFileRequestData getData() { - return data; - } - - - public void setData(UpdateFileRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateFileRequest updateFileRequest = (UpdateFileRequest) o; - return Objects.equals(this.data, updateFileRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateFileRequest {\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/UpdateFileRequestData.java b/src/main/java/com/vertexvis/model/UpdateFileRequestData.java deleted file mode 100644 index 5f18aeed..00000000 --- a/src/main/java/com/vertexvis/model/UpdateFileRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.UpdateFileRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateFileRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateFileRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private UpdateFileRequestDataAttributes attributes; - - public UpdateFileRequestData() { - } - - public UpdateFileRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "file", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public UpdateFileRequestData attributes(UpdateFileRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateFileRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(UpdateFileRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateFileRequestData updateFileRequestData = (UpdateFileRequestData) o; - return Objects.equals(this.type, updateFileRequestData.type) && - Objects.equals(this.attributes, updateFileRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateFileRequestData {\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/UpdateFileRequestDataAttributes.java b/src/main/java/com/vertexvis/model/UpdateFileRequestDataAttributes.java deleted file mode 100644 index b0dab764..00000000 --- a/src/main/java/com/vertexvis/model/UpdateFileRequestDataAttributes.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * 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 org.openapitools.jackson.nullable.JsonNullable; - -/** - * UpdateFileRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateFileRequestDataAttributes { - public static final String SERIALIZED_NAME_EXPIRY = "expiry"; - @SerializedName(SERIALIZED_NAME_EXPIRY) - private Integer expiry; - - public UpdateFileRequestDataAttributes() { - } - - public UpdateFileRequestDataAttributes expiry(Integer expiry) { - - this.expiry = expiry; - return this; - } - - /** - * Number of seconds before the file is deleted. - * minimum: 1 - * @return expiry - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "600", value = "Number of seconds before the file 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; - } - UpdateFileRequestDataAttributes updateFileRequestDataAttributes = (UpdateFileRequestDataAttributes) o; - return Objects.equals(this.expiry, updateFileRequestDataAttributes.expiry); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(expiry); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateFileRequestDataAttributes {\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/UpdateItemToDefaultRenditionOperation.java b/src/main/java/com/vertexvis/model/UpdateItemToDefaultRenditionOperation.java deleted file mode 100644 index 544263be..00000000 --- a/src/main/java/com/vertexvis/model/UpdateItemToDefaultRenditionOperation.java +++ /dev/null @@ -1,176 +0,0 @@ -/* - * 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; - -/** - * An operation that updates items with the specified revision to the default rendition. - */ -@ApiModel(description = "An operation that updates items with the specified revision to the default rendition.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateItemToDefaultRenditionOperation { - /** - * Gets or Sets type - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - UPDATE_TO_DEFAULT_RENDITION("update-to-default-rendition"); - - 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_REVISION_ID = "revisionId"; - @SerializedName(SERIALIZED_NAME_REVISION_ID) - private UUID revisionId; - - public UpdateItemToDefaultRenditionOperation() { - } - - public UpdateItemToDefaultRenditionOperation type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "update-to-default-rendition", required = true, value = "") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public UpdateItemToDefaultRenditionOperation revisionId(UUID revisionId) { - - this.revisionId = revisionId; - return this; - } - - /** - * ID of the resource. - * @return revisionId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "f79d4760-0b71-44e4-ad0b-22743fdd4ca3", required = true, value = "ID of the resource.") - - public UUID getRevisionId() { - return revisionId; - } - - - public void setRevisionId(UUID revisionId) { - this.revisionId = revisionId; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateItemToDefaultRenditionOperation updateItemToDefaultRenditionOperation = (UpdateItemToDefaultRenditionOperation) o; - return Objects.equals(this.type, updateItemToDefaultRenditionOperation.type) && - Objects.equals(this.revisionId, updateItemToDefaultRenditionOperation.revisionId); - } - - @Override - public int hashCode() { - return Objects.hash(type, revisionId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateItemToDefaultRenditionOperation {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" revisionId: ").append(toIndentedString(revisionId)).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/UpdatePartRevisionRequest.java b/src/main/java/com/vertexvis/model/UpdatePartRevisionRequest.java deleted file mode 100644 index b3c868fa..00000000 --- a/src/main/java/com/vertexvis/model/UpdatePartRevisionRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.UpdatePartRevisionRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdatePartRevisionRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdatePartRevisionRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private UpdatePartRevisionRequestData data; - - public UpdatePartRevisionRequest() { - } - - public UpdatePartRevisionRequest data(UpdatePartRevisionRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdatePartRevisionRequestData getData() { - return data; - } - - - public void setData(UpdatePartRevisionRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdatePartRevisionRequest updatePartRevisionRequest = (UpdatePartRevisionRequest) o; - return Objects.equals(this.data, updatePartRevisionRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdatePartRevisionRequest {\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/UpdatePartRevisionRequestData.java b/src/main/java/com/vertexvis/model/UpdatePartRevisionRequestData.java deleted file mode 100644 index 0d7f7494..00000000 --- a/src/main/java/com/vertexvis/model/UpdatePartRevisionRequestData.java +++ /dev/null @@ -1,191 +0,0 @@ -/* - * 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.UpdatePartRevisionRequestDataAttributes; -import com.vertexvis.model.UpdatePartRevisionRequestDataRelationships; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.UUID; - -/** - * Modify existing part revisions using this endpoint. When specifying a `relationship`, the generated output from that relationship will be used to replace any relationship that is present on the revision prior to the update. For example, sending a file relationship that has geometry will replace the existing geometry on the revision with the new geometry in the given file. - */ -@ApiModel(description = "Modify existing part revisions using this endpoint. When specifying a `relationship`, the generated output from that relationship will be used to replace any relationship that is present on the revision prior to the update. For example, sending a file relationship that has geometry will replace the existing geometry on the revision with the new geometry in the given file. ") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdatePartRevisionRequestData { - 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 UpdatePartRevisionRequestDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private UpdatePartRevisionRequestDataRelationships relationships; - - public UpdatePartRevisionRequestData() { - } - - public UpdatePartRevisionRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "part-revision", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public UpdatePartRevisionRequestData 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 UpdatePartRevisionRequestData attributes(UpdatePartRevisionRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdatePartRevisionRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(UpdatePartRevisionRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - public UpdatePartRevisionRequestData relationships(UpdatePartRevisionRequestDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public UpdatePartRevisionRequestDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(UpdatePartRevisionRequestDataRelationships relationships) { - this.relationships = relationships; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdatePartRevisionRequestData updatePartRevisionRequestData = (UpdatePartRevisionRequestData) o; - return Objects.equals(this.type, updatePartRevisionRequestData.type) && - Objects.equals(this.id, updatePartRevisionRequestData.id) && - Objects.equals(this.attributes, updatePartRevisionRequestData.attributes) && - Objects.equals(this.relationships, updatePartRevisionRequestData.relationships); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, relationships); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdatePartRevisionRequestData {\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("}"); - 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 deleted file mode 100644 index 9b8b5e82..00000000 --- a/src/main/java/com/vertexvis/model/UpdatePartRevisionRequestDataAttributes.java +++ /dev/null @@ -1,257 +0,0 @@ -/* - * 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.AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType; -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; - -/** - * UpdatePartRevisionRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdatePartRevisionRequestDataAttributes { - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public static final String SERIALIZED_NAME_INDEX_METADATA = "indexMetadata"; - @SerializedName(SERIALIZED_NAME_INDEX_METADATA) - private Boolean indexMetadata; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_SUPPLIED_ID_KEY = "suppliedIdKey"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID_KEY) - private String suppliedIdKey; - - public static final String SERIALIZED_NAME_SUPPLIED_REVISION_ID_KEY = "suppliedRevisionIdKey"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_REVISION_ID_KEY) - private String suppliedRevisionIdKey; - - public static final String SERIALIZED_NAME_SUPPLIED_INSTANCE_ID_KEY = "suppliedInstanceIdKey"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_INSTANCE_ID_KEY) - private String suppliedInstanceIdKey; - - public UpdatePartRevisionRequestDataAttributes() { - } - - public UpdatePartRevisionRequestDataAttributes metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public UpdatePartRevisionRequestDataAttributes putMetadataItem(String key, AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap<>(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * 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. - * @return metadata - **/ - @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. ") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - public UpdatePartRevisionRequestDataAttributes indexMetadata(Boolean indexMetadata) { - - this.indexMetadata = indexMetadata; - return this; - } - - /** - * Whether or not to index metadata in the part file when sending a file relationship - not used otherwise. To ignore metadata from the part file and add your own, pass `false` for `indexMetadata` and supply custom metadata using the `metadata` field. - * @return indexMetadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "false", value = "Whether or not to index metadata in the part file when sending a file relationship - not used otherwise. To ignore metadata from the part file and add your own, pass `false` for `indexMetadata` and supply custom metadata using the `metadata` field. ") - - public Boolean getIndexMetadata() { - return indexMetadata; - } - - - public void setIndexMetadata(Boolean indexMetadata) { - this.indexMetadata = indexMetadata; - } - - - public UpdatePartRevisionRequestDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Name to be used for the root part. This will be used when given a file relationship - not used otherwise. - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1/2in. Flat Washer", value = "Name to be used for the root part. This will be used when given a file relationship - not used otherwise.") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public UpdatePartRevisionRequestDataAttributes suppliedIdKey(String suppliedIdKey) { - - this.suppliedIdKey = suppliedIdKey; - return this; - } - - /** - * Metadata key used to extract an ID used for correlation. This will be used when given a file relationship - not used otherwise. - * @return suppliedIdKey - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "ProductNumber", value = "Metadata key used to extract an ID used for correlation. This will be used when given a file relationship - not used otherwise.") - - public String getSuppliedIdKey() { - return suppliedIdKey; - } - - - public void setSuppliedIdKey(String suppliedIdKey) { - this.suppliedIdKey = suppliedIdKey; - } - - - public UpdatePartRevisionRequestDataAttributes suppliedRevisionIdKey(String suppliedRevisionIdKey) { - - this.suppliedRevisionIdKey = suppliedRevisionIdKey; - return this; - } - - /** - * Metadata key used to extract an ID used for correlation. This will be used when given a file relationship - not used otherwise. - * @return suppliedRevisionIdKey - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "RevisionId", value = "Metadata key used to extract an ID used for correlation. This will be used when given a file relationship - not used otherwise.") - - public String getSuppliedRevisionIdKey() { - return suppliedRevisionIdKey; - } - - - public void setSuppliedRevisionIdKey(String suppliedRevisionIdKey) { - this.suppliedRevisionIdKey = suppliedRevisionIdKey; - } - - - public UpdatePartRevisionRequestDataAttributes suppliedInstanceIdKey(String suppliedInstanceIdKey) { - - this.suppliedInstanceIdKey = suppliedInstanceIdKey; - return this; - } - - /** - * Metadata key used to extract an ID used for correlation. This will be used when given a file relationship - not used otherwise. - * @return suppliedInstanceIdKey - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "InstanceId", value = "Metadata key used to extract an ID used for correlation. This will be used when given a file relationship - not used otherwise.") - - public String getSuppliedInstanceIdKey() { - return suppliedInstanceIdKey; - } - - - public void setSuppliedInstanceIdKey(String suppliedInstanceIdKey) { - this.suppliedInstanceIdKey = suppliedInstanceIdKey; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdatePartRevisionRequestDataAttributes updatePartRevisionRequestDataAttributes = (UpdatePartRevisionRequestDataAttributes) o; - return Objects.equals(this.metadata, updatePartRevisionRequestDataAttributes.metadata) && - Objects.equals(this.indexMetadata, updatePartRevisionRequestDataAttributes.indexMetadata) && - Objects.equals(this.name, updatePartRevisionRequestDataAttributes.name) && - Objects.equals(this.suppliedIdKey, updatePartRevisionRequestDataAttributes.suppliedIdKey) && - Objects.equals(this.suppliedRevisionIdKey, updatePartRevisionRequestDataAttributes.suppliedRevisionIdKey) && - Objects.equals(this.suppliedInstanceIdKey, updatePartRevisionRequestDataAttributes.suppliedInstanceIdKey); - } - - @Override - public int hashCode() { - return Objects.hash(metadata, indexMetadata, name, suppliedIdKey, suppliedRevisionIdKey, suppliedInstanceIdKey); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdatePartRevisionRequestDataAttributes {\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" indexMetadata: ").append(toIndentedString(indexMetadata)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" suppliedIdKey: ").append(toIndentedString(suppliedIdKey)).append("\n"); - sb.append(" suppliedRevisionIdKey: ").append(toIndentedString(suppliedRevisionIdKey)).append("\n"); - sb.append(" suppliedInstanceIdKey: ").append(toIndentedString(suppliedInstanceIdKey)).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/UpdatePartRevisionRequestDataRelationships.java b/src/main/java/com/vertexvis/model/UpdatePartRevisionRequestDataRelationships.java deleted file mode 100644 index 517159cb..00000000 --- a/src/main/java/com/vertexvis/model/UpdatePartRevisionRequestDataRelationships.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * 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.FileRelationship; -import com.vertexvis.model.PartRenditionRelationship; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdatePartRevisionRequestDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdatePartRevisionRequestDataRelationships { - public static final String SERIALIZED_NAME_SOURCE = "source"; - @SerializedName(SERIALIZED_NAME_SOURCE) - private FileRelationship source; - - public static final String SERIALIZED_NAME_DEFAULT_PART_RENDITION = "defaultPartRendition"; - @SerializedName(SERIALIZED_NAME_DEFAULT_PART_RENDITION) - private PartRenditionRelationship defaultPartRendition; - - public UpdatePartRevisionRequestDataRelationships() { - } - - public UpdatePartRevisionRequestDataRelationships source(FileRelationship source) { - - this.source = source; - return this; - } - - /** - * Get source - * @return source - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public FileRelationship getSource() { - return source; - } - - - public void setSource(FileRelationship source) { - this.source = source; - } - - - public UpdatePartRevisionRequestDataRelationships defaultPartRendition(PartRenditionRelationship defaultPartRendition) { - - this.defaultPartRendition = defaultPartRendition; - return this; - } - - /** - * Get defaultPartRendition - * @return defaultPartRendition - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public PartRenditionRelationship getDefaultPartRendition() { - return defaultPartRendition; - } - - - public void setDefaultPartRendition(PartRenditionRelationship defaultPartRendition) { - this.defaultPartRendition = defaultPartRendition; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdatePartRevisionRequestDataRelationships updatePartRevisionRequestDataRelationships = (UpdatePartRevisionRequestDataRelationships) o; - return Objects.equals(this.source, updatePartRevisionRequestDataRelationships.source) && - Objects.equals(this.defaultPartRendition, updatePartRevisionRequestDataRelationships.defaultPartRendition); - } - - @Override - public int hashCode() { - return Objects.hash(source, defaultPartRendition); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdatePartRevisionRequestDataRelationships {\n"); - sb.append(" source: ").append(toIndentedString(source)).append("\n"); - sb.append(" defaultPartRendition: ").append(toIndentedString(defaultPartRendition)).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/UpdateSceneAnnotationRequest.java b/src/main/java/com/vertexvis/model/UpdateSceneAnnotationRequest.java deleted file mode 100644 index d614f632..00000000 --- a/src/main/java/com/vertexvis/model/UpdateSceneAnnotationRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.UpdateSceneAnnotationRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateSceneAnnotationRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateSceneAnnotationRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private UpdateSceneAnnotationRequestData data; - - public UpdateSceneAnnotationRequest() { - } - - public UpdateSceneAnnotationRequest data(UpdateSceneAnnotationRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateSceneAnnotationRequestData getData() { - return data; - } - - - public void setData(UpdateSceneAnnotationRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateSceneAnnotationRequest updateSceneAnnotationRequest = (UpdateSceneAnnotationRequest) o; - return Objects.equals(this.data, updateSceneAnnotationRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateSceneAnnotationRequest {\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/UpdateSceneAnnotationRequestData.java b/src/main/java/com/vertexvis/model/UpdateSceneAnnotationRequestData.java deleted file mode 100644 index 61fa6ed3..00000000 --- a/src/main/java/com/vertexvis/model/UpdateSceneAnnotationRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.UpdateSceneAnnotationRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateSceneAnnotationRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateSceneAnnotationRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private UpdateSceneAnnotationRequestDataAttributes attributes; - - public UpdateSceneAnnotationRequestData() { - } - - public UpdateSceneAnnotationRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-annotation", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public UpdateSceneAnnotationRequestData attributes(UpdateSceneAnnotationRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateSceneAnnotationRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(UpdateSceneAnnotationRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateSceneAnnotationRequestData updateSceneAnnotationRequestData = (UpdateSceneAnnotationRequestData) o; - return Objects.equals(this.type, updateSceneAnnotationRequestData.type) && - Objects.equals(this.attributes, updateSceneAnnotationRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateSceneAnnotationRequestData {\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/UpdateSceneAnnotationRequestDataAttributes.java b/src/main/java/com/vertexvis/model/UpdateSceneAnnotationRequestDataAttributes.java deleted file mode 100644 index b6c752de..00000000 --- a/src/main/java/com/vertexvis/model/UpdateSceneAnnotationRequestDataAttributes.java +++ /dev/null @@ -1,143 +0,0 @@ -/* - * 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.SceneAnnotationCalloutDataType; -import com.vertexvis.model.SceneAnnotationCustomDataType; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.jackson.nullable.JsonNullable; - -/** - * UpdateSceneAnnotationRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateSceneAnnotationRequestDataAttributes { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType data; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public UpdateSceneAnnotationRequestDataAttributes() { - } - - public UpdateSceneAnnotationRequestDataAttributes data(OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType data) { - - this.data = data; - return this; - } - - /** - * The data describing how to render this annotation. - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "The data describing how to render this annotation.") - - public OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType getData() { - return data; - } - - - public void setData(OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType data) { - this.data = data; - } - - - public UpdateSceneAnnotationRequestDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * A customer provided ID used for correlation. - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "PN12345", value = "A customer provided ID used for correlation.") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateSceneAnnotationRequestDataAttributes updateSceneAnnotationRequestDataAttributes = (UpdateSceneAnnotationRequestDataAttributes) o; - return Objects.equals(this.data, updateSceneAnnotationRequestDataAttributes.data) && - Objects.equals(this.suppliedId, updateSceneAnnotationRequestDataAttributes.suppliedId); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(data, suppliedId); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateSceneAnnotationRequestDataAttributes {\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).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/UpdateSceneItemOverrideRequest.java b/src/main/java/com/vertexvis/model/UpdateSceneItemOverrideRequest.java deleted file mode 100644 index 1f8dca5c..00000000 --- a/src/main/java/com/vertexvis/model/UpdateSceneItemOverrideRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.UpdateSceneItemOverrideRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateSceneItemOverrideRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateSceneItemOverrideRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private UpdateSceneItemOverrideRequestData data; - - public UpdateSceneItemOverrideRequest() { - } - - public UpdateSceneItemOverrideRequest data(UpdateSceneItemOverrideRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateSceneItemOverrideRequestData getData() { - return data; - } - - - public void setData(UpdateSceneItemOverrideRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateSceneItemOverrideRequest updateSceneItemOverrideRequest = (UpdateSceneItemOverrideRequest) o; - return Objects.equals(this.data, updateSceneItemOverrideRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateSceneItemOverrideRequest {\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/UpdateSceneItemOverrideRequestData.java b/src/main/java/com/vertexvis/model/UpdateSceneItemOverrideRequestData.java deleted file mode 100644 index 7db73795..00000000 --- a/src/main/java/com/vertexvis/model/UpdateSceneItemOverrideRequestData.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * 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.UpdateSceneItemOverrideRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.UUID; - -/** - * UpdateSceneItemOverrideRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateSceneItemOverrideRequestData { - 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 UpdateSceneItemOverrideRequestDataAttributes attributes; - - public UpdateSceneItemOverrideRequestData() { - } - - public UpdateSceneItemOverrideRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-item-override", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public UpdateSceneItemOverrideRequestData 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 UpdateSceneItemOverrideRequestData attributes(UpdateSceneItemOverrideRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateSceneItemOverrideRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(UpdateSceneItemOverrideRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateSceneItemOverrideRequestData updateSceneItemOverrideRequestData = (UpdateSceneItemOverrideRequestData) o; - return Objects.equals(this.type, updateSceneItemOverrideRequestData.type) && - Objects.equals(this.id, updateSceneItemOverrideRequestData.id) && - Objects.equals(this.attributes, updateSceneItemOverrideRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateSceneItemOverrideRequestData {\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/UpdateSceneItemOverrideRequestDataAttributes.java b/src/main/java/com/vertexvis/model/UpdateSceneItemOverrideRequestDataAttributes.java deleted file mode 100644 index a733d2f6..00000000 --- a/src/main/java/com/vertexvis/model/UpdateSceneItemOverrideRequestDataAttributes.java +++ /dev/null @@ -1,259 +0,0 @@ -/* - * 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.ColorMaterialNullable; -import com.vertexvis.model.Matrix4Nullable; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.jackson.nullable.JsonNullable; - -/** - * UpdateSceneItemOverrideRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateSceneItemOverrideRequestDataAttributes { - public static final String SERIALIZED_NAME_VISIBLE = "visible"; - @SerializedName(SERIALIZED_NAME_VISIBLE) - private Boolean visible; - - public static final String SERIALIZED_NAME_TRANSFORM = "transform"; - @SerializedName(SERIALIZED_NAME_TRANSFORM) - private Matrix4Nullable transform; - - public static final String SERIALIZED_NAME_MATERIAL = "material"; - @SerializedName(SERIALIZED_NAME_MATERIAL) - private ColorMaterialNullable material; - - public static final String SERIALIZED_NAME_SELECTED = "selected"; - @SerializedName(SERIALIZED_NAME_SELECTED) - private Boolean selected; - - public static final String SERIALIZED_NAME_PHANTOM = "phantom"; - @SerializedName(SERIALIZED_NAME_PHANTOM) - private Boolean phantom; - - public static final String SERIALIZED_NAME_END_ITEM = "endItem"; - @SerializedName(SERIALIZED_NAME_END_ITEM) - private Boolean endItem; - - public UpdateSceneItemOverrideRequestDataAttributes() { - } - - public UpdateSceneItemOverrideRequestDataAttributes visible(Boolean visible) { - - this.visible = visible; - return this; - } - - /** - * Item visibility. - * @return visible - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "true", value = "Item visibility.") - - public Boolean getVisible() { - return visible; - } - - - public void setVisible(Boolean visible) { - this.visible = visible; - } - - - public UpdateSceneItemOverrideRequestDataAttributes transform(Matrix4Nullable transform) { - - this.transform = transform; - return this; - } - - /** - * Get transform - * @return transform - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Matrix4Nullable getTransform() { - return transform; - } - - - public void setTransform(Matrix4Nullable transform) { - this.transform = transform; - } - - - public UpdateSceneItemOverrideRequestDataAttributes material(ColorMaterialNullable material) { - - this.material = material; - return this; - } - - /** - * Get material - * @return material - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public ColorMaterialNullable getMaterial() { - return material; - } - - - public void setMaterial(ColorMaterialNullable material) { - this.material = material; - } - - - public UpdateSceneItemOverrideRequestDataAttributes selected(Boolean selected) { - - this.selected = selected; - return this; - } - - /** - * Get selected - * @return selected - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getSelected() { - return selected; - } - - - public void setSelected(Boolean selected) { - this.selected = selected; - } - - - public UpdateSceneItemOverrideRequestDataAttributes phantom(Boolean phantom) { - - this.phantom = phantom; - return this; - } - - /** - * Get phantom - * @return phantom - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getPhantom() { - return phantom; - } - - - public void setPhantom(Boolean phantom) { - this.phantom = phantom; - } - - - public UpdateSceneItemOverrideRequestDataAttributes endItem(Boolean endItem) { - - this.endItem = endItem; - return this; - } - - /** - * Get endItem - * @return endItem - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getEndItem() { - return endItem; - } - - - public void setEndItem(Boolean endItem) { - this.endItem = endItem; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateSceneItemOverrideRequestDataAttributes updateSceneItemOverrideRequestDataAttributes = (UpdateSceneItemOverrideRequestDataAttributes) o; - return Objects.equals(this.visible, updateSceneItemOverrideRequestDataAttributes.visible) && - Objects.equals(this.transform, updateSceneItemOverrideRequestDataAttributes.transform) && - Objects.equals(this.material, updateSceneItemOverrideRequestDataAttributes.material) && - Objects.equals(this.selected, updateSceneItemOverrideRequestDataAttributes.selected) && - Objects.equals(this.phantom, updateSceneItemOverrideRequestDataAttributes.phantom) && - Objects.equals(this.endItem, updateSceneItemOverrideRequestDataAttributes.endItem); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(visible, transform, material, selected, phantom, endItem); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateSceneItemOverrideRequestDataAttributes {\n"); - sb.append(" visible: ").append(toIndentedString(visible)).append("\n"); - sb.append(" transform: ").append(toIndentedString(transform)).append("\n"); - sb.append(" material: ").append(toIndentedString(material)).append("\n"); - sb.append(" selected: ").append(toIndentedString(selected)).append("\n"); - sb.append(" phantom: ").append(toIndentedString(phantom)).append("\n"); - sb.append(" endItem: ").append(toIndentedString(endItem)).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/UpdateSceneItemRequest.java b/src/main/java/com/vertexvis/model/UpdateSceneItemRequest.java deleted file mode 100644 index e97838c8..00000000 --- a/src/main/java/com/vertexvis/model/UpdateSceneItemRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.UpdateSceneItemRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateSceneItemRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateSceneItemRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private UpdateSceneItemRequestData data; - - public UpdateSceneItemRequest() { - } - - public UpdateSceneItemRequest data(UpdateSceneItemRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateSceneItemRequestData getData() { - return data; - } - - - public void setData(UpdateSceneItemRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateSceneItemRequest updateSceneItemRequest = (UpdateSceneItemRequest) o; - return Objects.equals(this.data, updateSceneItemRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateSceneItemRequest {\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/UpdateSceneItemRequestData.java b/src/main/java/com/vertexvis/model/UpdateSceneItemRequestData.java deleted file mode 100644 index 3af467d6..00000000 --- a/src/main/java/com/vertexvis/model/UpdateSceneItemRequestData.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * 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.UpdateSceneItemRequestDataAttributes; -import com.vertexvis.model.UpdateSceneItemRequestDataRelationships; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateSceneItemRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateSceneItemRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private UpdateSceneItemRequestDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private UpdateSceneItemRequestDataRelationships relationships; - - public UpdateSceneItemRequestData() { - } - - public UpdateSceneItemRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-item", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public UpdateSceneItemRequestData attributes(UpdateSceneItemRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateSceneItemRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(UpdateSceneItemRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - public UpdateSceneItemRequestData relationships(UpdateSceneItemRequestDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public UpdateSceneItemRequestDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(UpdateSceneItemRequestDataRelationships relationships) { - this.relationships = relationships; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateSceneItemRequestData updateSceneItemRequestData = (UpdateSceneItemRequestData) o; - return Objects.equals(this.type, updateSceneItemRequestData.type) && - Objects.equals(this.attributes, updateSceneItemRequestData.attributes) && - Objects.equals(this.relationships, updateSceneItemRequestData.relationships); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes, relationships); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateSceneItemRequestData {\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/UpdateSceneItemRequestDataAttributes.java b/src/main/java/com/vertexvis/model/UpdateSceneItemRequestDataAttributes.java deleted file mode 100644 index 079e6a6e..00000000 --- a/src/main/java/com/vertexvis/model/UpdateSceneItemRequestDataAttributes.java +++ /dev/null @@ -1,317 +0,0 @@ -/* - * 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.AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType; -import com.vertexvis.model.MaterialOverride; -import com.vertexvis.model.Matrix4; -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; - -/** - * UpdateSceneItemRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateSceneItemRequestDataAttributes { - public static final String SERIALIZED_NAME_VISIBLE = "visible"; - @SerializedName(SERIALIZED_NAME_VISIBLE) - private Boolean visible; - - public static final String SERIALIZED_NAME_MATERIAL_OVERRIDE = "materialOverride"; - @SerializedName(SERIALIZED_NAME_MATERIAL_OVERRIDE) - private MaterialOverride materialOverride; - - public static final String SERIALIZED_NAME_TRANSFORM = "transform"; - @SerializedName(SERIALIZED_NAME_TRANSFORM) - private Matrix4 transform; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public static final String SERIALIZED_NAME_PHANTOM = "phantom"; - @SerializedName(SERIALIZED_NAME_PHANTOM) - private Boolean phantom; - - public static final String SERIALIZED_NAME_END_ITEM = "endItem"; - @SerializedName(SERIALIZED_NAME_END_ITEM) - private Boolean endItem; - - public UpdateSceneItemRequestDataAttributes() { - } - - public UpdateSceneItemRequestDataAttributes visible(Boolean visible) { - - this.visible = visible; - return this; - } - - /** - * Item visibility. - * @return visible - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "true", value = "Item visibility.") - - public Boolean getVisible() { - return visible; - } - - - public void setVisible(Boolean visible) { - this.visible = visible; - } - - - public UpdateSceneItemRequestDataAttributes materialOverride(MaterialOverride materialOverride) { - - this.materialOverride = materialOverride; - return this; - } - - /** - * Get materialOverride - * @return materialOverride - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public MaterialOverride getMaterialOverride() { - return materialOverride; - } - - - public void setMaterialOverride(MaterialOverride materialOverride) { - this.materialOverride = materialOverride; - } - - - public UpdateSceneItemRequestDataAttributes transform(Matrix4 transform) { - - this.transform = transform; - return this; - } - - /** - * Get transform - * @return transform - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Matrix4 getTransform() { - return transform; - } - - - public void setTransform(Matrix4 transform) { - this.transform = transform; - } - - - public UpdateSceneItemRequestDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public UpdateSceneItemRequestDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * ID provided for correlation. For example, an existing ID from a PLM system. - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "PN12345", value = "ID provided for correlation. For example, an existing ID from a PLM system.") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - public UpdateSceneItemRequestDataAttributes metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public UpdateSceneItemRequestDataAttributes putMetadataItem(String key, AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap<>(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * Additional metadata for the scene-item. This metadata will take precedence over any metadata that belongs to the part file. - * @return metadata - **/ - @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. ") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - public UpdateSceneItemRequestDataAttributes phantom(Boolean phantom) { - - this.phantom = phantom; - return this; - } - - /** - * Phantom state of the item. - * @return phantom - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Phantom state of the item.") - - public Boolean getPhantom() { - return phantom; - } - - - public void setPhantom(Boolean phantom) { - this.phantom = phantom; - } - - - public UpdateSceneItemRequestDataAttributes endItem(Boolean endItem) { - - this.endItem = endItem; - return this; - } - - /** - * Whether this item is an end item. - * @return endItem - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Whether this item is an end item.") - - public Boolean getEndItem() { - return endItem; - } - - - public void setEndItem(Boolean endItem) { - this.endItem = endItem; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateSceneItemRequestDataAttributes updateSceneItemRequestDataAttributes = (UpdateSceneItemRequestDataAttributes) o; - return Objects.equals(this.visible, updateSceneItemRequestDataAttributes.visible) && - Objects.equals(this.materialOverride, updateSceneItemRequestDataAttributes.materialOverride) && - Objects.equals(this.transform, updateSceneItemRequestDataAttributes.transform) && - Objects.equals(this.name, updateSceneItemRequestDataAttributes.name) && - Objects.equals(this.suppliedId, updateSceneItemRequestDataAttributes.suppliedId) && - Objects.equals(this.metadata, updateSceneItemRequestDataAttributes.metadata) && - Objects.equals(this.phantom, updateSceneItemRequestDataAttributes.phantom) && - Objects.equals(this.endItem, updateSceneItemRequestDataAttributes.endItem); - } - - @Override - public int hashCode() { - return Objects.hash(visible, materialOverride, transform, name, suppliedId, metadata, phantom, endItem); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateSceneItemRequestDataAttributes {\n"); - sb.append(" visible: ").append(toIndentedString(visible)).append("\n"); - sb.append(" materialOverride: ").append(toIndentedString(materialOverride)).append("\n"); - sb.append(" transform: ").append(toIndentedString(transform)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" phantom: ").append(toIndentedString(phantom)).append("\n"); - sb.append(" endItem: ").append(toIndentedString(endItem)).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/UpdateSceneItemRequestDataRelationships.java b/src/main/java/com/vertexvis/model/UpdateSceneItemRequestDataRelationships.java deleted file mode 100644 index 65dbfbd3..00000000 --- a/src/main/java/com/vertexvis/model/UpdateSceneItemRequestDataRelationships.java +++ /dev/null @@ -1,112 +0,0 @@ -/* - * 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 org.openapitools.jackson.nullable.JsonNullable; - -/** - * UpdateSceneItemRequestDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateSceneItemRequestDataRelationships { - public static final String SERIALIZED_NAME_SOURCE = "source"; - @SerializedName(SERIALIZED_NAME_SOURCE) - private AnyOfGeometrySetRelationshipPartRevisionRelationship source; - - public UpdateSceneItemRequestDataRelationships() { - } - - public UpdateSceneItemRequestDataRelationships source(AnyOfGeometrySetRelationshipPartRevisionRelationship source) { - - this.source = source; - return this; - } - - /** - * Relationship to a `geometry-set` or `part-revision`. - * @return source - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Relationship to a `geometry-set` or `part-revision`.") - - public AnyOfGeometrySetRelationshipPartRevisionRelationship getSource() { - return source; - } - - - public void setSource(AnyOfGeometrySetRelationshipPartRevisionRelationship source) { - this.source = source; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateSceneItemRequestDataRelationships updateSceneItemRequestDataRelationships = (UpdateSceneItemRequestDataRelationships) o; - return Objects.equals(this.source, updateSceneItemRequestDataRelationships.source); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(source); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateSceneItemRequestDataRelationships {\n"); - sb.append(" source: ").append(toIndentedString(source)).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/UpdateSceneRequest.java b/src/main/java/com/vertexvis/model/UpdateSceneRequest.java deleted file mode 100644 index 77a1c39d..00000000 --- a/src/main/java/com/vertexvis/model/UpdateSceneRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.UpdateSceneRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateSceneRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateSceneRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private UpdateSceneRequestData data; - - public UpdateSceneRequest() { - } - - public UpdateSceneRequest data(UpdateSceneRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateSceneRequestData getData() { - return data; - } - - - public void setData(UpdateSceneRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateSceneRequest updateSceneRequest = (UpdateSceneRequest) o; - return Objects.equals(this.data, updateSceneRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateSceneRequest {\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/UpdateSceneRequestData.java b/src/main/java/com/vertexvis/model/UpdateSceneRequestData.java deleted file mode 100644 index 45c28dac..00000000 --- a/src/main/java/com/vertexvis/model/UpdateSceneRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.UpdateSceneRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateSceneRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateSceneRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private UpdateSceneRequestDataAttributes attributes; - - public UpdateSceneRequestData() { - } - - public UpdateSceneRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public UpdateSceneRequestData attributes(UpdateSceneRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateSceneRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(UpdateSceneRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateSceneRequestData updateSceneRequestData = (UpdateSceneRequestData) o; - return Objects.equals(this.type, updateSceneRequestData.type) && - Objects.equals(this.attributes, updateSceneRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateSceneRequestData {\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/UpdateSceneRequestDataAttributes.java b/src/main/java/com/vertexvis/model/UpdateSceneRequestDataAttributes.java deleted file mode 100644 index 3b0509c5..00000000 --- a/src/main/java/com/vertexvis/model/UpdateSceneRequestDataAttributes.java +++ /dev/null @@ -1,375 +0,0 @@ -/* - * 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.Orientation; -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 org.openapitools.jackson.nullable.JsonNullable; - -/** - * UpdateSceneRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateSceneRequestDataAttributes { - public static final String SERIALIZED_NAME_CAMERA = "camera"; - @SerializedName(SERIALIZED_NAME_CAMERA) - private AnyOfPerspectiveCameraOrthographicCameraCameraFit camera; - - /** - * State of the scene. - */ - @JsonAdapter(StateEnum.Adapter.class) - public enum StateEnum { - DRAFT("draft"), - - COMMIT("commit"); - - private String value; - - StateEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static StateEnum fromValue(String value) { - for (StateEnum b : StateEnum.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 StateEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public StateEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return StateEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_STATE = "state"; - @SerializedName(SERIALIZED_NAME_STATE) - private StateEnum state; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_TREE_ENABLED = "treeEnabled"; - @SerializedName(SERIALIZED_NAME_TREE_ENABLED) - private Boolean treeEnabled; - - public static final String SERIALIZED_NAME_WORLD_ORIENTATION = "worldOrientation"; - @SerializedName(SERIALIZED_NAME_WORLD_ORIENTATION) - private Orientation worldOrientation; - - public static final String SERIALIZED_NAME_EXPIRY = "expiry"; - @SerializedName(SERIALIZED_NAME_EXPIRY) - private Integer expiry; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public UpdateSceneRequestDataAttributes() { - } - - public UpdateSceneRequestDataAttributes camera(AnyOfPerspectiveCameraOrthographicCameraCameraFit camera) { - - this.camera = camera; - return this; - } - - /** - * Get camera - * @return camera - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public AnyOfPerspectiveCameraOrthographicCameraCameraFit getCamera() { - return camera; - } - - - public void setCamera(AnyOfPerspectiveCameraOrthographicCameraCameraFit camera) { - this.camera = camera; - } - - - public UpdateSceneRequestDataAttributes state(StateEnum state) { - - this.state = state; - return this; - } - - /** - * State of the scene. - * @return state - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "commit", value = "State of the scene.") - - public StateEnum getState() { - return state; - } - - - public void setState(StateEnum state) { - this.state = state; - } - - - public UpdateSceneRequestDataAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * ID provided for correlation. For example, an existing ID from a PLM system. - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "PN12345", value = "ID provided for correlation. For example, an existing ID from a PLM system.") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - public UpdateSceneRequestDataAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public UpdateSceneRequestDataAttributes treeEnabled(Boolean treeEnabled) { - - this.treeEnabled = treeEnabled; - return this; - } - - /** - * Whether or not scene trees can be viewed for this scene. - * @return treeEnabled - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Whether or not scene trees can be viewed for this scene.") - - public Boolean getTreeEnabled() { - return treeEnabled; - } - - - public void setTreeEnabled(Boolean treeEnabled) { - this.treeEnabled = treeEnabled; - } - - - public UpdateSceneRequestDataAttributes worldOrientation(Orientation worldOrientation) { - - this.worldOrientation = worldOrientation; - return this; - } - - /** - * Get worldOrientation - * @return worldOrientation - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Orientation getWorldOrientation() { - return worldOrientation; - } - - - public void setWorldOrientation(Orientation worldOrientation) { - this.worldOrientation = worldOrientation; - } - - - public UpdateSceneRequestDataAttributes expiry(Integer expiry) { - - this.expiry = expiry; - return this; - } - - /** - * Number of seconds before expiration - * minimum: 1 - * @return expiry - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "600", value = "Number of seconds before expiration") - - public Integer getExpiry() { - return expiry; - } - - - public void setExpiry(Integer expiry) { - this.expiry = expiry; - } - - - public UpdateSceneRequestDataAttributes metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public UpdateSceneRequestDataAttributes putMetadataItem(String key, String metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap<>(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * User supplied key-value pairs for a scene. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. A null value will delete the entry in the map, all other key/value pairs provided here will be inserted or updated into the existing scene metadata. - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "User supplied key-value pairs for a scene. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. A null value will delete the entry in the map, all other key/value pairs provided here will be inserted or updated into the existing scene metadata. ") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateSceneRequestDataAttributes updateSceneRequestDataAttributes = (UpdateSceneRequestDataAttributes) o; - return Objects.equals(this.camera, updateSceneRequestDataAttributes.camera) && - Objects.equals(this.state, updateSceneRequestDataAttributes.state) && - Objects.equals(this.suppliedId, updateSceneRequestDataAttributes.suppliedId) && - Objects.equals(this.name, updateSceneRequestDataAttributes.name) && - Objects.equals(this.treeEnabled, updateSceneRequestDataAttributes.treeEnabled) && - Objects.equals(this.worldOrientation, updateSceneRequestDataAttributes.worldOrientation) && - Objects.equals(this.expiry, updateSceneRequestDataAttributes.expiry) && - Objects.equals(this.metadata, updateSceneRequestDataAttributes.metadata); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(camera, state, suppliedId, name, treeEnabled, worldOrientation, expiry, metadata); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateSceneRequestDataAttributes {\n"); - sb.append(" camera: ").append(toIndentedString(camera)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" treeEnabled: ").append(toIndentedString(treeEnabled)).append("\n"); - sb.append(" worldOrientation: ").append(toIndentedString(worldOrientation)).append("\n"); - sb.append(" expiry: ").append(toIndentedString(expiry)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).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/UpdateSceneViewRequest.java b/src/main/java/com/vertexvis/model/UpdateSceneViewRequest.java deleted file mode 100644 index f2b5d0a3..00000000 --- a/src/main/java/com/vertexvis/model/UpdateSceneViewRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.UpdateSceneViewRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateSceneViewRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateSceneViewRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private UpdateSceneViewRequestData data; - - public UpdateSceneViewRequest() { - } - - public UpdateSceneViewRequest data(UpdateSceneViewRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateSceneViewRequestData getData() { - return data; - } - - - public void setData(UpdateSceneViewRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateSceneViewRequest updateSceneViewRequest = (UpdateSceneViewRequest) o; - return Objects.equals(this.data, updateSceneViewRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateSceneViewRequest {\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/UpdateSceneViewRequestData.java b/src/main/java/com/vertexvis/model/UpdateSceneViewRequestData.java deleted file mode 100644 index 1e767c95..00000000 --- a/src/main/java/com/vertexvis/model/UpdateSceneViewRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.UpdateSceneViewRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateSceneViewRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateSceneViewRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private UpdateSceneViewRequestDataAttributes attributes; - - public UpdateSceneViewRequestData() { - } - - public UpdateSceneViewRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-view", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public UpdateSceneViewRequestData attributes(UpdateSceneViewRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateSceneViewRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(UpdateSceneViewRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateSceneViewRequestData updateSceneViewRequestData = (UpdateSceneViewRequestData) o; - return Objects.equals(this.type, updateSceneViewRequestData.type) && - Objects.equals(this.attributes, updateSceneViewRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateSceneViewRequestData {\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/UpdateSceneViewRequestDataAttributes.java b/src/main/java/com/vertexvis/model/UpdateSceneViewRequestDataAttributes.java deleted file mode 100644 index 9a3169d4..00000000 --- a/src/main/java/com/vertexvis/model/UpdateSceneViewRequestDataAttributes.java +++ /dev/null @@ -1,171 +0,0 @@ -/* - * 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.CrossSectioning; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.jackson.nullable.JsonNullable; - -/** - * UpdateSceneViewRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateSceneViewRequestDataAttributes { - public static final String SERIALIZED_NAME_CAMERA = "camera"; - @SerializedName(SERIALIZED_NAME_CAMERA) - private AnyOfPerspectiveCameraOrthographicCameraCameraFit camera; - - public static final String SERIALIZED_NAME_CROSS_SECTIONING = "crossSectioning"; - @SerializedName(SERIALIZED_NAME_CROSS_SECTIONING) - private CrossSectioning crossSectioning; - - public static final String SERIALIZED_NAME_NO_DEFAULT_LIGHTS = "noDefaultLights"; - @SerializedName(SERIALIZED_NAME_NO_DEFAULT_LIGHTS) - private Boolean noDefaultLights; - - public UpdateSceneViewRequestDataAttributes() { - } - - public UpdateSceneViewRequestDataAttributes camera(AnyOfPerspectiveCameraOrthographicCameraCameraFit camera) { - - this.camera = camera; - return this; - } - - /** - * Get camera - * @return camera - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public AnyOfPerspectiveCameraOrthographicCameraCameraFit getCamera() { - return camera; - } - - - public void setCamera(AnyOfPerspectiveCameraOrthographicCameraCameraFit camera) { - this.camera = camera; - } - - - public UpdateSceneViewRequestDataAttributes crossSectioning(CrossSectioning crossSectioning) { - - this.crossSectioning = crossSectioning; - return this; - } - - /** - * Get crossSectioning - * @return crossSectioning - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public CrossSectioning getCrossSectioning() { - return crossSectioning; - } - - - public void setCrossSectioning(CrossSectioning crossSectioning) { - this.crossSectioning = crossSectioning; - } - - - public UpdateSceneViewRequestDataAttributes noDefaultLights(Boolean noDefaultLights) { - - this.noDefaultLights = noDefaultLights; - return this; - } - - /** - * Whether or not to turn off default lighting - * @return noDefaultLights - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "true", value = "Whether or not to turn off default lighting") - - public Boolean getNoDefaultLights() { - return noDefaultLights; - } - - - public void setNoDefaultLights(Boolean noDefaultLights) { - this.noDefaultLights = noDefaultLights; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateSceneViewRequestDataAttributes updateSceneViewRequestDataAttributes = (UpdateSceneViewRequestDataAttributes) o; - return Objects.equals(this.camera, updateSceneViewRequestDataAttributes.camera) && - Objects.equals(this.crossSectioning, updateSceneViewRequestDataAttributes.crossSectioning) && - Objects.equals(this.noDefaultLights, updateSceneViewRequestDataAttributes.noDefaultLights); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(camera, crossSectioning, noDefaultLights); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateSceneViewRequestDataAttributes {\n"); - sb.append(" camera: ").append(toIndentedString(camera)).append("\n"); - sb.append(" crossSectioning: ").append(toIndentedString(crossSectioning)).append("\n"); - sb.append(" noDefaultLights: ").append(toIndentedString(noDefaultLights)).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/UpdateSceneViewStateRequest.java b/src/main/java/com/vertexvis/model/UpdateSceneViewStateRequest.java deleted file mode 100644 index f46717fc..00000000 --- a/src/main/java/com/vertexvis/model/UpdateSceneViewStateRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.UpdateSceneViewStateRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateSceneViewStateRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateSceneViewStateRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private UpdateSceneViewStateRequestData data; - - public UpdateSceneViewStateRequest() { - } - - public UpdateSceneViewStateRequest data(UpdateSceneViewStateRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateSceneViewStateRequestData getData() { - return data; - } - - - public void setData(UpdateSceneViewStateRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateSceneViewStateRequest updateSceneViewStateRequest = (UpdateSceneViewStateRequest) o; - return Objects.equals(this.data, updateSceneViewStateRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateSceneViewStateRequest {\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/UpdateSceneViewStateRequestData.java b/src/main/java/com/vertexvis/model/UpdateSceneViewStateRequestData.java deleted file mode 100644 index 4e21554c..00000000 --- a/src/main/java/com/vertexvis/model/UpdateSceneViewStateRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.CreateSceneViewStateRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateSceneViewStateRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateSceneViewStateRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private CreateSceneViewStateRequestDataAttributes attributes; - - public UpdateSceneViewStateRequestData() { - } - - public UpdateSceneViewStateRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene-view-state", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public UpdateSceneViewStateRequestData attributes(CreateSceneViewStateRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CreateSceneViewStateRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(CreateSceneViewStateRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateSceneViewStateRequestData updateSceneViewStateRequestData = (UpdateSceneViewStateRequestData) o; - return Objects.equals(this.type, updateSceneViewStateRequestData.type) && - Objects.equals(this.attributes, updateSceneViewStateRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateSceneViewStateRequestData {\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/UpdateWebhookSubscriptionRequest.java b/src/main/java/com/vertexvis/model/UpdateWebhookSubscriptionRequest.java deleted file mode 100644 index d585f1dd..00000000 --- a/src/main/java/com/vertexvis/model/UpdateWebhookSubscriptionRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.UpdateWebhookSubscriptionRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateWebhookSubscriptionRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateWebhookSubscriptionRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private UpdateWebhookSubscriptionRequestData data; - - public UpdateWebhookSubscriptionRequest() { - } - - public UpdateWebhookSubscriptionRequest data(UpdateWebhookSubscriptionRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateWebhookSubscriptionRequestData getData() { - return data; - } - - - public void setData(UpdateWebhookSubscriptionRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateWebhookSubscriptionRequest updateWebhookSubscriptionRequest = (UpdateWebhookSubscriptionRequest) o; - return Objects.equals(this.data, updateWebhookSubscriptionRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateWebhookSubscriptionRequest {\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/UpdateWebhookSubscriptionRequestData.java b/src/main/java/com/vertexvis/model/UpdateWebhookSubscriptionRequestData.java deleted file mode 100644 index 71b6fb3f..00000000 --- a/src/main/java/com/vertexvis/model/UpdateWebhookSubscriptionRequestData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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.UpdateWebhookSubscriptionRequestDataAttributes; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateWebhookSubscriptionRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateWebhookSubscriptionRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private UpdateWebhookSubscriptionRequestDataAttributes attributes; - - public UpdateWebhookSubscriptionRequestData() { - } - - public UpdateWebhookSubscriptionRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "webhook-subscription", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public UpdateWebhookSubscriptionRequestData attributes(UpdateWebhookSubscriptionRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpdateWebhookSubscriptionRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(UpdateWebhookSubscriptionRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateWebhookSubscriptionRequestData updateWebhookSubscriptionRequestData = (UpdateWebhookSubscriptionRequestData) o; - return Objects.equals(this.type, updateWebhookSubscriptionRequestData.type) && - Objects.equals(this.attributes, updateWebhookSubscriptionRequestData.attributes); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateWebhookSubscriptionRequestData {\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/UpdateWebhookSubscriptionRequestDataAttributes.java b/src/main/java/com/vertexvis/model/UpdateWebhookSubscriptionRequestDataAttributes.java deleted file mode 100644 index 3244fdd8..00000000 --- a/src/main/java/com/vertexvis/model/UpdateWebhookSubscriptionRequestDataAttributes.java +++ /dev/null @@ -1,215 +0,0 @@ -/* - * 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; - -/** - * UpdateWebhookSubscriptionRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateWebhookSubscriptionRequestDataAttributes { - /** - * Status of subscription. - */ - @JsonAdapter(StatusEnum.Adapter.class) - public enum StatusEnum { - ACTIVE("active"), - - PAUSED("paused"); - - private String value; - - StatusEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static StatusEnum fromValue(String value) { - for (StatusEnum b : StatusEnum.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 StatusEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public StatusEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return StatusEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private StatusEnum status; - - public static final String SERIALIZED_NAME_TOPICS = "topics"; - @SerializedName(SERIALIZED_NAME_TOPICS) - private List topics = null; - - public static final String SERIALIZED_NAME_URL = "url"; - @SerializedName(SERIALIZED_NAME_URL) - private String url; - - public UpdateWebhookSubscriptionRequestDataAttributes() { - } - - public UpdateWebhookSubscriptionRequestDataAttributes status(StatusEnum status) { - - this.status = status; - return this; - } - - /** - * Status of subscription. - * @return status - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "active", value = "Status of subscription.") - - public StatusEnum getStatus() { - return status; - } - - - public void setStatus(StatusEnum status) { - this.status = status; - } - - - public UpdateWebhookSubscriptionRequestDataAttributes topics(List topics) { - - this.topics = topics; - return this; - } - - public UpdateWebhookSubscriptionRequestDataAttributes addTopicsItem(String topicsItem) { - if (this.topics == null) { - this.topics = new ArrayList<>(); - } - this.topics.add(topicsItem); - return this; - } - - /** - * Get topics - * @return topics - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getTopics() { - return topics; - } - - - public void setTopics(List topics) { - this.topics = topics; - } - - - public UpdateWebhookSubscriptionRequestDataAttributes url(String url) { - - this.url = url; - return this; - } - - /** - * Get url - * @return url - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getUrl() { - return url; - } - - - public void setUrl(String url) { - this.url = url; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateWebhookSubscriptionRequestDataAttributes updateWebhookSubscriptionRequestDataAttributes = (UpdateWebhookSubscriptionRequestDataAttributes) o; - return Objects.equals(this.status, updateWebhookSubscriptionRequestDataAttributes.status) && - Objects.equals(this.topics, updateWebhookSubscriptionRequestDataAttributes.topics) && - Objects.equals(this.url, updateWebhookSubscriptionRequestDataAttributes.url); - } - - @Override - public int hashCode() { - return Objects.hash(status, topics, url); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateWebhookSubscriptionRequestDataAttributes {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" topics: ").append(toIndentedString(topics)).append("\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/com/vertexvis/model/UpsertPropertyEntriesRequest.java b/src/main/java/com/vertexvis/model/UpsertPropertyEntriesRequest.java deleted file mode 100644 index 1cad904e..00000000 --- a/src/main/java/com/vertexvis/model/UpsertPropertyEntriesRequest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.UpsertPropertyEntriesRequestData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpsertPropertyEntriesRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpsertPropertyEntriesRequest { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private UpsertPropertyEntriesRequestData data; - - public UpsertPropertyEntriesRequest() { - } - - public UpsertPropertyEntriesRequest data(UpsertPropertyEntriesRequestData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpsertPropertyEntriesRequestData getData() { - return data; - } - - - public void setData(UpsertPropertyEntriesRequestData data) { - this.data = data; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpsertPropertyEntriesRequest upsertPropertyEntriesRequest = (UpsertPropertyEntriesRequest) o; - return Objects.equals(this.data, upsertPropertyEntriesRequest.data); - } - - @Override - public int hashCode() { - return Objects.hash(data); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpsertPropertyEntriesRequest {\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/UpsertPropertyEntriesRequestData.java b/src/main/java/com/vertexvis/model/UpsertPropertyEntriesRequestData.java deleted file mode 100644 index 215e795d..00000000 --- a/src/main/java/com/vertexvis/model/UpsertPropertyEntriesRequestData.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * 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.UpsertPropertyEntriesRequestDataAttributes; -import com.vertexvis.model.UpsertPropertyEntriesRequestDataRelationships; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpsertPropertyEntriesRequestData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpsertPropertyEntriesRequestData { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - private UpsertPropertyEntriesRequestDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private UpsertPropertyEntriesRequestDataRelationships relationships; - - public UpsertPropertyEntriesRequestData() { - } - - public UpsertPropertyEntriesRequestData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "property-entries", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public UpsertPropertyEntriesRequestData attributes(UpsertPropertyEntriesRequestDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpsertPropertyEntriesRequestDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(UpsertPropertyEntriesRequestDataAttributes attributes) { - this.attributes = attributes; - } - - - public UpsertPropertyEntriesRequestData relationships(UpsertPropertyEntriesRequestDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public UpsertPropertyEntriesRequestDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(UpsertPropertyEntriesRequestDataRelationships relationships) { - this.relationships = relationships; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpsertPropertyEntriesRequestData upsertPropertyEntriesRequestData = (UpsertPropertyEntriesRequestData) o; - return Objects.equals(this.type, upsertPropertyEntriesRequestData.type) && - Objects.equals(this.attributes, upsertPropertyEntriesRequestData.attributes) && - Objects.equals(this.relationships, upsertPropertyEntriesRequestData.relationships); - } - - @Override - public int hashCode() { - return Objects.hash(type, attributes, relationships); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpsertPropertyEntriesRequestData {\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/UpsertPropertyEntriesRequestDataAttributes.java b/src/main/java/com/vertexvis/model/UpsertPropertyEntriesRequestDataAttributes.java deleted file mode 100644 index 3fda0d90..00000000 --- a/src/main/java/com/vertexvis/model/UpsertPropertyEntriesRequestDataAttributes.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * 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.AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject; -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; - -/** - * UpsertPropertyEntriesRequestDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpsertPropertyEntriesRequestDataAttributes { - public static final String SERIALIZED_NAME_ENTRIES = "entries"; - @SerializedName(SERIALIZED_NAME_ENTRIES) - private Map entries = new HashMap<>(); - - public UpsertPropertyEntriesRequestDataAttributes() { - } - - public UpsertPropertyEntriesRequestDataAttributes entries(Map entries) { - - this.entries = entries; - return this; - } - - public UpsertPropertyEntriesRequestDataAttributes putEntriesItem(String key, AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject entriesItem) { - this.entries.put(key, entriesItem); - return this; - } - - /** - * Property entries for a provided resource or property set. - * @return entries - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Property entries for a provided resource or property set. ") - - public Map getEntries() { - return entries; - } - - - public void setEntries(Map entries) { - this.entries = entries; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpsertPropertyEntriesRequestDataAttributes upsertPropertyEntriesRequestDataAttributes = (UpsertPropertyEntriesRequestDataAttributes) o; - return Objects.equals(this.entries, upsertPropertyEntriesRequestDataAttributes.entries); - } - - @Override - public int hashCode() { - return Objects.hash(entries); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpsertPropertyEntriesRequestDataAttributes {\n"); - sb.append(" entries: ").append(toIndentedString(entries)).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/UpsertPropertyEntriesRequestDataRelationships.java b/src/main/java/com/vertexvis/model/UpsertPropertyEntriesRequestDataRelationships.java deleted file mode 100644 index 58a2b550..00000000 --- a/src/main/java/com/vertexvis/model/UpsertPropertyEntriesRequestDataRelationships.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * 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; - -/** - * UpsertPropertyEntriesRequestDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpsertPropertyEntriesRequestDataRelationships { - public static final String SERIALIZED_NAME_PROPERTY_SET = "propertySet"; - @SerializedName(SERIALIZED_NAME_PROPERTY_SET) - private AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship propertySet; - - public UpsertPropertyEntriesRequestDataRelationships() { - } - - public UpsertPropertyEntriesRequestDataRelationships propertySet(AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship propertySet) { - - this.propertySet = propertySet; - return this; - } - - /** - * Relationship to the property set by `property-set`, `part-revision`, `part-instance` or `scene-item`. - * @return propertySet - **/ - @javax.annotation.Nullable - @ApiModelProperty(required = true, value = "Relationship to the property set by `property-set`, `part-revision`, `part-instance` or `scene-item`.") - - public AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship getPropertySet() { - return propertySet; - } - - - public void setPropertySet(AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship propertySet) { - this.propertySet = propertySet; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpsertPropertyEntriesRequestDataRelationships upsertPropertyEntriesRequestDataRelationships = (UpsertPropertyEntriesRequestDataRelationships) o; - return Objects.equals(this.propertySet, upsertPropertyEntriesRequestDataRelationships.propertySet); - } - - @Override - public int hashCode() { - return Objects.hash(propertySet); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpsertPropertyEntriesRequestDataRelationships {\n"); - sb.append(" propertySet: ").append(toIndentedString(propertySet)).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/Vector3.java b/src/main/java/com/vertexvis/model/Vector3.java deleted file mode 100644 index 88626e91..00000000 --- a/src/main/java/com/vertexvis/model/Vector3.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * 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.math.BigDecimal; - -/** - * 3D vector. - */ -@ApiModel(description = "3D vector.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Vector3 { - public static final String SERIALIZED_NAME_X = "x"; - @SerializedName(SERIALIZED_NAME_X) - private BigDecimal x; - - public static final String SERIALIZED_NAME_Y = "y"; - @SerializedName(SERIALIZED_NAME_Y) - private BigDecimal y; - - public static final String SERIALIZED_NAME_Z = "z"; - @SerializedName(SERIALIZED_NAME_Z) - private BigDecimal z; - - public Vector3() { - } - - public Vector3 x(BigDecimal x) { - - this.x = x; - return this; - } - - /** - * x-axis coordinate. - * @return x - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "1.0", required = true, value = "x-axis coordinate.") - - public BigDecimal getX() { - return x; - } - - - public void setX(BigDecimal x) { - this.x = x; - } - - - public Vector3 y(BigDecimal y) { - - this.y = y; - return this; - } - - /** - * y-axis coordinate. - * @return y - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "0.0", required = true, value = "y-axis coordinate.") - - public BigDecimal getY() { - return y; - } - - - public void setY(BigDecimal y) { - this.y = y; - } - - - public Vector3 z(BigDecimal z) { - - this.z = z; - return this; - } - - /** - * z-axis coordinate. - * @return z - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "0.0", required = true, value = "z-axis coordinate.") - - public BigDecimal getZ() { - return z; - } - - - public void setZ(BigDecimal z) { - this.z = z; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Vector3 vector3 = (Vector3) o; - return Objects.equals(this.x, vector3.x) && - Objects.equals(this.y, vector3.y) && - Objects.equals(this.z, vector3.z); - } - - @Override - public int hashCode() { - return Objects.hash(x, y, z); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Vector3 {\n"); - sb.append(" x: ").append(toIndentedString(x)).append("\n"); - sb.append(" y: ").append(toIndentedString(y)).append("\n"); - sb.append(" z: ").append(toIndentedString(z)).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/Vector4.java b/src/main/java/com/vertexvis/model/Vector4.java deleted file mode 100644 index 9114f89c..00000000 --- a/src/main/java/com/vertexvis/model/Vector4.java +++ /dev/null @@ -1,189 +0,0 @@ -/* - * 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.math.BigDecimal; - -/** - * 4D vector. - */ -@ApiModel(description = "4D vector.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Vector4 { - public static final String SERIALIZED_NAME_X = "x"; - @SerializedName(SERIALIZED_NAME_X) - private BigDecimal x; - - public static final String SERIALIZED_NAME_Y = "y"; - @SerializedName(SERIALIZED_NAME_Y) - private BigDecimal y; - - public static final String SERIALIZED_NAME_Z = "z"; - @SerializedName(SERIALIZED_NAME_Z) - private BigDecimal z; - - public static final String SERIALIZED_NAME_W = "w"; - @SerializedName(SERIALIZED_NAME_W) - private BigDecimal w; - - public Vector4() { - } - - public Vector4 x(BigDecimal x) { - - this.x = x; - return this; - } - - /** - * x-axis coordinate. - * @return x - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "1.0", required = true, value = "x-axis coordinate.") - - public BigDecimal getX() { - return x; - } - - - public void setX(BigDecimal x) { - this.x = x; - } - - - public Vector4 y(BigDecimal y) { - - this.y = y; - return this; - } - - /** - * y-axis coordinate. - * @return y - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "0.0", required = true, value = "y-axis coordinate.") - - public BigDecimal getY() { - return y; - } - - - public void setY(BigDecimal y) { - this.y = y; - } - - - public Vector4 z(BigDecimal z) { - - this.z = z; - return this; - } - - /** - * z-axis coordinate. - * @return z - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "0.0", required = true, value = "z-axis coordinate.") - - public BigDecimal getZ() { - return z; - } - - - public void setZ(BigDecimal z) { - this.z = z; - } - - - public Vector4 w(BigDecimal w) { - - this.w = w; - return this; - } - - /** - * w value. - * @return w - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "0.0", required = true, value = "w value.") - - public BigDecimal getW() { - return w; - } - - - public void setW(BigDecimal w) { - this.w = w; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Vector4 vector4 = (Vector4) o; - return Objects.equals(this.x, vector4.x) && - Objects.equals(this.y, vector4.y) && - Objects.equals(this.z, vector4.z) && - Objects.equals(this.w, vector4.w); - } - - @Override - public int hashCode() { - return Objects.hash(x, y, z, w); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Vector4 {\n"); - sb.append(" x: ").append(toIndentedString(x)).append("\n"); - sb.append(" y: ").append(toIndentedString(y)).append("\n"); - sb.append(" z: ").append(toIndentedString(z)).append("\n"); - sb.append(" w: ").append(toIndentedString(w)).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/ViewDefaultRenOp.java b/src/main/java/com/vertexvis/model/ViewDefaultRenOp.java deleted file mode 100644 index 6674b350..00000000 --- a/src/main/java/com/vertexvis/model/ViewDefaultRenOp.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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; - -/** - * ViewDefaultRenOp - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ViewDefaultRenOp { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - VIEW_DEFAULT_RENDITION("view-default-rendition"); - - 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 ViewDefaultRenOp() { - } - - public ViewDefaultRenOp type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "view-default-rendition", 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; - } - ViewDefaultRenOp viewDefaultRenOp = (ViewDefaultRenOp) o; - return Objects.equals(this.type, viewDefaultRenOp.type); - } - - @Override - public int hashCode() { - return Objects.hash(type); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ViewDefaultRenOp {\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/ViewRenByIdOp.java b/src/main/java/com/vertexvis/model/ViewRenByIdOp.java deleted file mode 100644 index f03bb571..00000000 --- a/src/main/java/com/vertexvis/model/ViewRenByIdOp.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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; - -/** - * ViewRenByIdOp - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ViewRenByIdOp { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - VIEW_RENDITION_BY_ID("view-rendition-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_RENDITION_ID = "renditionId"; - @SerializedName(SERIALIZED_NAME_RENDITION_ID) - private UUID renditionId; - - public ViewRenByIdOp() { - } - - public ViewRenByIdOp type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "view-rendition-by-id", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public ViewRenByIdOp renditionId(UUID renditionId) { - - this.renditionId = renditionId; - return this; - } - - /** - * ID of the resource. - * @return renditionId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "f79d4760-0b71-44e4-ad0b-22743fdd4ca3", required = true, value = "ID of the resource.") - - public UUID getRenditionId() { - return renditionId; - } - - - public void setRenditionId(UUID renditionId) { - this.renditionId = renditionId; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ViewRenByIdOp viewRenByIdOp = (ViewRenByIdOp) o; - return Objects.equals(this.type, viewRenByIdOp.type) && - Objects.equals(this.renditionId, viewRenByIdOp.renditionId); - } - - @Override - public int hashCode() { - return Objects.hash(type, renditionId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ViewRenByIdOp {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" renditionId: ").append(toIndentedString(renditionId)).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/ViewRenBySuppliedIdOp.java b/src/main/java/com/vertexvis/model/ViewRenBySuppliedIdOp.java deleted file mode 100644 index a302419c..00000000 --- a/src/main/java/com/vertexvis/model/ViewRenBySuppliedIdOp.java +++ /dev/null @@ -1,174 +0,0 @@ -/* - * 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; - -/** - * ViewRenBySuppliedIdOp - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ViewRenBySuppliedIdOp { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - VIEW_RENDITION_BY_SUPPLIED_ID("view-rendition-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_RENDITION_SUPPLIED_ID = "renditionSuppliedId"; - @SerializedName(SERIALIZED_NAME_RENDITION_SUPPLIED_ID) - private String renditionSuppliedId; - - public ViewRenBySuppliedIdOp() { - } - - public ViewRenBySuppliedIdOp type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "view-rendition-by-supplied-id", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public ViewRenBySuppliedIdOp renditionSuppliedId(String renditionSuppliedId) { - - this.renditionSuppliedId = renditionSuppliedId; - return this; - } - - /** - * Get renditionSuppliedId - * @return renditionSuppliedId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getRenditionSuppliedId() { - return renditionSuppliedId; - } - - - public void setRenditionSuppliedId(String renditionSuppliedId) { - this.renditionSuppliedId = renditionSuppliedId; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ViewRenBySuppliedIdOp viewRenBySuppliedIdOp = (ViewRenBySuppliedIdOp) o; - return Objects.equals(this.type, viewRenBySuppliedIdOp.type) && - Objects.equals(this.renditionSuppliedId, viewRenBySuppliedIdOp.renditionSuppliedId); - } - - @Override - public int hashCode() { - return Objects.hash(type, renditionSuppliedId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ViewRenBySuppliedIdOp {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" renditionSuppliedId: ").append(toIndentedString(renditionSuppliedId)).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/ViewRepByIdOp.java b/src/main/java/com/vertexvis/model/ViewRepByIdOp.java deleted file mode 100644 index 28adcb72..00000000 --- a/src/main/java/com/vertexvis/model/ViewRepByIdOp.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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; - -/** - * ViewRepByIdOp - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ViewRepByIdOp { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - VIEW_REPRESENTATION_BY_ID("view-representation-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 ViewRepByIdOp() { - } - - public ViewRepByIdOp type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "view-representation-by-id", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public ViewRepByIdOp 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; - } - ViewRepByIdOp viewRepByIdOp = (ViewRepByIdOp) o; - return Objects.equals(this.type, viewRepByIdOp.type) && - Objects.equals(this.id, viewRepByIdOp.id); - } - - @Override - public int hashCode() { - return Objects.hash(type, id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ViewRepByIdOp {\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/ViewRepByPredefinedIdOp.java b/src/main/java/com/vertexvis/model/ViewRepByPredefinedIdOp.java deleted file mode 100644 index f3aa250a..00000000 --- a/src/main/java/com/vertexvis/model/ViewRepByPredefinedIdOp.java +++ /dev/null @@ -1,221 +0,0 @@ -/* - * 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; - -/** - * ViewRepByPredefinedIdOp - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ViewRepByPredefinedIdOp { - /** - * Resource object type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - VIEW_REPRESENTATION_BY_PREDEFINED_ID("view-representation-by-predefined-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; - - /** - * A predefined representation identifier, such as `entire-part`. - */ - @JsonAdapter(IdEnum.Adapter.class) - public enum IdEnum { - EMPTY("empty"), - - ENTIRE_PART("entire-part"); - - private String value; - - IdEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static IdEnum fromValue(String value) { - for (IdEnum b : IdEnum.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 IdEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public IdEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return IdEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private IdEnum id; - - public ViewRepByPredefinedIdOp() { - } - - public ViewRepByPredefinedIdOp type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "view-representation-by-predefined-id", required = true, value = "Resource object type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public ViewRepByPredefinedIdOp id(IdEnum id) { - - this.id = id; - return this; - } - - /** - * A predefined representation identifier, such as `entire-part`. - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "entire-part", required = true, value = "A predefined representation identifier, such as `entire-part`.") - - public IdEnum getId() { - return id; - } - - - public void setId(IdEnum id) { - this.id = id; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ViewRepByPredefinedIdOp viewRepByPredefinedIdOp = (ViewRepByPredefinedIdOp) o; - return Objects.equals(this.type, viewRepByPredefinedIdOp.type) && - Objects.equals(this.id, viewRepByPredefinedIdOp.id); - } - - @Override - public int hashCode() { - return Objects.hash(type, id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ViewRepByPredefinedIdOp {\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/WebhookEvent.java b/src/main/java/com/vertexvis/model/WebhookEvent.java deleted file mode 100644 index 3dc99201..00000000 --- a/src/main/java/com/vertexvis/model/WebhookEvent.java +++ /dev/null @@ -1,180 +0,0 @@ -/* - * 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.OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedData; -import com.vertexvis.model.WebhookEventData; -import com.vertexvis.model.WebhookEventPartRevisionIncludedData; -import com.vertexvis.model.WebhookEventSceneIncludedData; -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; - -/** - * WebhookEvent - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class WebhookEvent { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private WebhookEventData data; - - public static final String SERIALIZED_NAME_INCLUDED = "included"; - @SerializedName(SERIALIZED_NAME_INCLUDED) - private List included = new ArrayList<>(); - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public WebhookEvent() { - } - - public WebhookEvent data(WebhookEventData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public WebhookEventData getData() { - return data; - } - - - public void setData(WebhookEventData data) { - this.data = data; - } - - - public WebhookEvent included(List included) { - - this.included = included; - return this; - } - - public WebhookEvent addIncludedItem(OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedData includedItem) { - this.included.add(includedItem); - return this; - } - - /** - * Get included - * @return included - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getIncluded() { - return included; - } - - - public void setIncluded(List included) { - this.included = included; - } - - - public WebhookEvent links(Map links) { - - this.links = links; - return this; - } - - public WebhookEvent 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; - } - WebhookEvent webhookEvent = (WebhookEvent) o; - return Objects.equals(this.data, webhookEvent.data) && - Objects.equals(this.included, webhookEvent.included) && - Objects.equals(this.links, webhookEvent.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, included, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class WebhookEvent {\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" included: ").append(toIndentedString(included)).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/WebhookEventData.java b/src/main/java/com/vertexvis/model/WebhookEventData.java deleted file mode 100644 index 0dd7e143..00000000 --- a/src/main/java/com/vertexvis/model/WebhookEventData.java +++ /dev/null @@ -1,231 +0,0 @@ -/* - * 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.WebhookEventDataAttributes; -import com.vertexvis.model.WebhookEventDataRelationships; -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; - -/** - * WebhookEventData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class WebhookEventData { - 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 WebhookEventDataAttributes attributes; - - public static final String SERIALIZED_NAME_RELATIONSHIPS = "relationships"; - @SerializedName(SERIALIZED_NAME_RELATIONSHIPS) - private WebhookEventDataRelationships relationships; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public WebhookEventData() { - } - - public WebhookEventData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "webhook-event", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public WebhookEventData 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 WebhookEventData attributes(WebhookEventDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public WebhookEventDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(WebhookEventDataAttributes attributes) { - this.attributes = attributes; - } - - - public WebhookEventData relationships(WebhookEventDataRelationships relationships) { - - this.relationships = relationships; - return this; - } - - /** - * Get relationships - * @return relationships - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public WebhookEventDataRelationships getRelationships() { - return relationships; - } - - - public void setRelationships(WebhookEventDataRelationships relationships) { - this.relationships = relationships; - } - - - public WebhookEventData links(Map links) { - - this.links = links; - return this; - } - - public WebhookEventData 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; - } - WebhookEventData webhookEventData = (WebhookEventData) o; - return Objects.equals(this.type, webhookEventData.type) && - Objects.equals(this.id, webhookEventData.id) && - Objects.equals(this.attributes, webhookEventData.attributes) && - Objects.equals(this.relationships, webhookEventData.relationships) && - Objects.equals(this.links, webhookEventData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, relationships, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class WebhookEventData {\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/WebhookEventDataAttributes.java b/src/main/java/com/vertexvis/model/WebhookEventDataAttributes.java deleted file mode 100644 index 1e46bbef..00000000 --- a/src/main/java/com/vertexvis/model/WebhookEventDataAttributes.java +++ /dev/null @@ -1,169 +0,0 @@ -/* - * 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.time.OffsetDateTime; -import java.util.ArrayList; -import java.util.List; - -/** - * WebhookEventDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class WebhookEventDataAttributes { - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_TOPIC = "topic"; - @SerializedName(SERIALIZED_NAME_TOPIC) - private String topic; - - public static final String SERIALIZED_NAME_CHANGED = "changed"; - @SerializedName(SERIALIZED_NAME_CHANGED) - private List changed = null; - - public WebhookEventDataAttributes() { - } - - public WebhookEventDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - public WebhookEventDataAttributes topic(String topic) { - - this.topic = topic; - return this; - } - - /** - * Get topic - * @return topic - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "some-string", required = true, value = "") - - public String getTopic() { - return topic; - } - - - public void setTopic(String topic) { - this.topic = topic; - } - - - public WebhookEventDataAttributes changed(List changed) { - - this.changed = changed; - return this; - } - - public WebhookEventDataAttributes addChangedItem(String changedItem) { - if (this.changed == null) { - this.changed = new ArrayList<>(); - } - this.changed.add(changedItem); - return this; - } - - /** - * Get changed - * @return changed - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getChanged() { - return changed; - } - - - public void setChanged(List changed) { - this.changed = changed; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - WebhookEventDataAttributes webhookEventDataAttributes = (WebhookEventDataAttributes) o; - return Objects.equals(this.created, webhookEventDataAttributes.created) && - Objects.equals(this.topic, webhookEventDataAttributes.topic) && - Objects.equals(this.changed, webhookEventDataAttributes.changed); - } - - @Override - public int hashCode() { - return Objects.hash(created, topic, changed); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class WebhookEventDataAttributes {\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" topic: ").append(toIndentedString(topic)).append("\n"); - sb.append(" changed: ").append(toIndentedString(changed)).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/WebhookEventDataRelationships.java b/src/main/java/com/vertexvis/model/WebhookEventDataRelationships.java deleted file mode 100644 index 7b886572..00000000 --- a/src/main/java/com/vertexvis/model/WebhookEventDataRelationships.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * 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.WebhookEventDataRelationshipsOwner; -import com.vertexvis.model.WebhookEventDataRelationshipsResource; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * WebhookEventDataRelationships - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class WebhookEventDataRelationships { - public static final String SERIALIZED_NAME_OWNER = "owner"; - @SerializedName(SERIALIZED_NAME_OWNER) - private WebhookEventDataRelationshipsOwner owner; - - public static final String SERIALIZED_NAME_RESOURCE = "resource"; - @SerializedName(SERIALIZED_NAME_RESOURCE) - private WebhookEventDataRelationshipsResource resource; - - public WebhookEventDataRelationships() { - } - - public WebhookEventDataRelationships owner(WebhookEventDataRelationshipsOwner owner) { - - this.owner = owner; - return this; - } - - /** - * Get owner - * @return owner - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public WebhookEventDataRelationshipsOwner getOwner() { - return owner; - } - - - public void setOwner(WebhookEventDataRelationshipsOwner owner) { - this.owner = owner; - } - - - public WebhookEventDataRelationships resource(WebhookEventDataRelationshipsResource resource) { - - this.resource = resource; - return this; - } - - /** - * Get resource - * @return resource - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public WebhookEventDataRelationshipsResource getResource() { - return resource; - } - - - public void setResource(WebhookEventDataRelationshipsResource resource) { - this.resource = resource; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - WebhookEventDataRelationships webhookEventDataRelationships = (WebhookEventDataRelationships) o; - return Objects.equals(this.owner, webhookEventDataRelationships.owner) && - Objects.equals(this.resource, webhookEventDataRelationships.resource); - } - - @Override - public int hashCode() { - return Objects.hash(owner, resource); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class WebhookEventDataRelationships {\n"); - sb.append(" owner: ").append(toIndentedString(owner)).append("\n"); - sb.append(" resource: ").append(toIndentedString(resource)).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/WebhookEventDataRelationshipsOwner.java b/src/main/java/com/vertexvis/model/WebhookEventDataRelationshipsOwner.java deleted file mode 100644 index a49af036..00000000 --- a/src/main/java/com/vertexvis/model/WebhookEventDataRelationshipsOwner.java +++ /dev/null @@ -1,132 +0,0 @@ -/* - * 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.RelationshipLinks; -import com.vertexvis.model.WebhookEventDataRelationshipsOwnerData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Relationship to an `owner`. - */ -@ApiModel(description = "Relationship to an `owner`.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class WebhookEventDataRelationshipsOwner { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private WebhookEventDataRelationshipsOwnerData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private RelationshipLinks links; - - public WebhookEventDataRelationshipsOwner() { - } - - public WebhookEventDataRelationshipsOwner data(WebhookEventDataRelationshipsOwnerData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public WebhookEventDataRelationshipsOwnerData getData() { - return data; - } - - - public void setData(WebhookEventDataRelationshipsOwnerData data) { - this.data = data; - } - - - public WebhookEventDataRelationshipsOwner links(RelationshipLinks links) { - - this.links = links; - return this; - } - - /** - * Get links - * @return links - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public RelationshipLinks getLinks() { - return links; - } - - - public void setLinks(RelationshipLinks links) { - this.links = links; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - WebhookEventDataRelationshipsOwner webhookEventDataRelationshipsOwner = (WebhookEventDataRelationshipsOwner) o; - return Objects.equals(this.data, webhookEventDataRelationshipsOwner.data) && - Objects.equals(this.links, webhookEventDataRelationshipsOwner.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class WebhookEventDataRelationshipsOwner {\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/WebhookEventDataRelationshipsOwnerData.java b/src/main/java/com/vertexvis/model/WebhookEventDataRelationshipsOwnerData.java deleted file mode 100644 index 3d61241a..00000000 --- a/src/main/java/com/vertexvis/model/WebhookEventDataRelationshipsOwnerData.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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; - -/** - * WebhookEventDataRelationshipsOwnerData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class WebhookEventDataRelationshipsOwnerData { - /** - * 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 WebhookEventDataRelationshipsOwnerData() { - } - - public WebhookEventDataRelationshipsOwnerData 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 WebhookEventDataRelationshipsOwnerData 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; - } - WebhookEventDataRelationshipsOwnerData webhookEventDataRelationshipsOwnerData = (WebhookEventDataRelationshipsOwnerData) o; - return Objects.equals(this.type, webhookEventDataRelationshipsOwnerData.type) && - Objects.equals(this.id, webhookEventDataRelationshipsOwnerData.id); - } - - @Override - public int hashCode() { - return Objects.hash(type, id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class WebhookEventDataRelationshipsOwnerData {\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/WebhookEventDataRelationshipsResource.java b/src/main/java/com/vertexvis/model/WebhookEventDataRelationshipsResource.java deleted file mode 100644 index 2dc59483..00000000 --- a/src/main/java/com/vertexvis/model/WebhookEventDataRelationshipsResource.java +++ /dev/null @@ -1,132 +0,0 @@ -/* - * 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.RelationshipLinks; -import com.vertexvis.model.WebhookEventDataRelationshipsResourceData; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Relationship to a `resource`. - */ -@ApiModel(description = "Relationship to a `resource`.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class WebhookEventDataRelationshipsResource { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private WebhookEventDataRelationshipsResourceData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private RelationshipLinks links; - - public WebhookEventDataRelationshipsResource() { - } - - public WebhookEventDataRelationshipsResource data(WebhookEventDataRelationshipsResourceData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public WebhookEventDataRelationshipsResourceData getData() { - return data; - } - - - public void setData(WebhookEventDataRelationshipsResourceData data) { - this.data = data; - } - - - public WebhookEventDataRelationshipsResource links(RelationshipLinks links) { - - this.links = links; - return this; - } - - /** - * Get links - * @return links - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public RelationshipLinks getLinks() { - return links; - } - - - public void setLinks(RelationshipLinks links) { - this.links = links; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - WebhookEventDataRelationshipsResource webhookEventDataRelationshipsResource = (WebhookEventDataRelationshipsResource) o; - return Objects.equals(this.data, webhookEventDataRelationshipsResource.data) && - Objects.equals(this.links, webhookEventDataRelationshipsResource.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class WebhookEventDataRelationshipsResource {\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/WebhookEventDataRelationshipsResourceData.java b/src/main/java/com/vertexvis/model/WebhookEventDataRelationshipsResourceData.java deleted file mode 100644 index c0532e02..00000000 --- a/src/main/java/com/vertexvis/model/WebhookEventDataRelationshipsResourceData.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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; - -/** - * WebhookEventDataRelationshipsResourceData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class WebhookEventDataRelationshipsResourceData { - 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 WebhookEventDataRelationshipsResourceData() { - } - - public WebhookEventDataRelationshipsResourceData type(String type) { - - this.type = type; - return this; - } - - /** - * Resource object type. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "queued-scene-item", required = true, value = "Resource object type.") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public WebhookEventDataRelationshipsResourceData 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; - } - WebhookEventDataRelationshipsResourceData webhookEventDataRelationshipsResourceData = (WebhookEventDataRelationshipsResourceData) o; - return Objects.equals(this.type, webhookEventDataRelationshipsResourceData.type) && - Objects.equals(this.id, webhookEventDataRelationshipsResourceData.id); - } - - @Override - public int hashCode() { - return Objects.hash(type, id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class WebhookEventDataRelationshipsResourceData {\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/WebhookEventPartRevisionIncludedAttributes.java b/src/main/java/com/vertexvis/model/WebhookEventPartRevisionIncludedAttributes.java deleted file mode 100644 index a2f7e2bf..00000000 --- a/src/main/java/com/vertexvis/model/WebhookEventPartRevisionIncludedAttributes.java +++ /dev/null @@ -1,188 +0,0 @@ -/* - * 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.time.OffsetDateTime; - -/** - * WebhookEventPartRevisionIncludedAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class WebhookEventPartRevisionIncludedAttributes { - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_SUPPLIED_ID = "suppliedId"; - @SerializedName(SERIALIZED_NAME_SUPPLIED_ID) - private String suppliedId; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_PART_NAME = "partName"; - @SerializedName(SERIALIZED_NAME_PART_NAME) - private String partName; - - public WebhookEventPartRevisionIncludedAttributes() { - } - - public WebhookEventPartRevisionIncludedAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2020-01-01T12:00Z", value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - public WebhookEventPartRevisionIncludedAttributes suppliedId(String suppliedId) { - - this.suppliedId = suppliedId; - return this; - } - - /** - * Get suppliedId - * @return suppliedId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getSuppliedId() { - return suppliedId; - } - - - public void setSuppliedId(String suppliedId) { - this.suppliedId = suppliedId; - } - - - public WebhookEventPartRevisionIncludedAttributes name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public WebhookEventPartRevisionIncludedAttributes partName(String partName) { - - this.partName = partName; - return this; - } - - /** - * Get partName - * @return partName - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "some-string", value = "") - - public String getPartName() { - return partName; - } - - - public void setPartName(String partName) { - this.partName = partName; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - WebhookEventPartRevisionIncludedAttributes webhookEventPartRevisionIncludedAttributes = (WebhookEventPartRevisionIncludedAttributes) o; - return Objects.equals(this.created, webhookEventPartRevisionIncludedAttributes.created) && - Objects.equals(this.suppliedId, webhookEventPartRevisionIncludedAttributes.suppliedId) && - Objects.equals(this.name, webhookEventPartRevisionIncludedAttributes.name) && - Objects.equals(this.partName, webhookEventPartRevisionIncludedAttributes.partName); - } - - @Override - public int hashCode() { - return Objects.hash(created, suppliedId, name, partName); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class WebhookEventPartRevisionIncludedAttributes {\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" suppliedId: ").append(toIndentedString(suppliedId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" partName: ").append(toIndentedString(partName)).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/WebhookEventPartRevisionIncludedData.java b/src/main/java/com/vertexvis/model/WebhookEventPartRevisionIncludedData.java deleted file mode 100644 index 95b04db8..00000000 --- a/src/main/java/com/vertexvis/model/WebhookEventPartRevisionIncludedData.java +++ /dev/null @@ -1,198 +0,0 @@ -/* - * 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.WebhookEventPartRevisionIncludedAttributes; -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; - -/** - * WebhookEventPartRevisionIncludedData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class WebhookEventPartRevisionIncludedData { - 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 WebhookEventPartRevisionIncludedAttributes attributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = new HashMap<>(); - - public WebhookEventPartRevisionIncludedData() { - } - - public WebhookEventPartRevisionIncludedData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "part-revision", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public WebhookEventPartRevisionIncludedData 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 WebhookEventPartRevisionIncludedData attributes(WebhookEventPartRevisionIncludedAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public WebhookEventPartRevisionIncludedAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(WebhookEventPartRevisionIncludedAttributes attributes) { - this.attributes = attributes; - } - - - public WebhookEventPartRevisionIncludedData links(Map links) { - - this.links = links; - return this; - } - - public WebhookEventPartRevisionIncludedData 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; - } - WebhookEventPartRevisionIncludedData webhookEventPartRevisionIncludedData = (WebhookEventPartRevisionIncludedData) o; - return Objects.equals(this.type, webhookEventPartRevisionIncludedData.type) && - Objects.equals(this.id, webhookEventPartRevisionIncludedData.id) && - Objects.equals(this.attributes, webhookEventPartRevisionIncludedData.attributes) && - Objects.equals(this.links, webhookEventPartRevisionIncludedData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class WebhookEventPartRevisionIncludedData {\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(" 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/WebhookEventSceneIncludedAttributes.java b/src/main/java/com/vertexvis/model/WebhookEventSceneIncludedAttributes.java deleted file mode 100644 index 68c5de4d..00000000 --- a/src/main/java/com/vertexvis/model/WebhookEventSceneIncludedAttributes.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * 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.HashMap; -import java.util.List; -import java.util.Map; - -/** - * WebhookEventSceneIncludedAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class WebhookEventSceneIncludedAttributes { - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public WebhookEventSceneIncludedAttributes() { - } - - public WebhookEventSceneIncludedAttributes metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public WebhookEventSceneIncludedAttributes putMetadataItem(String key, String metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap<>(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * User supplied key-value pairs for a scene. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "User supplied key-value pairs for a scene. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. ") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - WebhookEventSceneIncludedAttributes webhookEventSceneIncludedAttributes = (WebhookEventSceneIncludedAttributes) o; - return Objects.equals(this.metadata, webhookEventSceneIncludedAttributes.metadata); - } - - @Override - public int hashCode() { - return Objects.hash(metadata); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class WebhookEventSceneIncludedAttributes {\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).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/WebhookEventSceneIncludedData.java b/src/main/java/com/vertexvis/model/WebhookEventSceneIncludedData.java deleted file mode 100644 index 41f2c9ac..00000000 --- a/src/main/java/com/vertexvis/model/WebhookEventSceneIncludedData.java +++ /dev/null @@ -1,198 +0,0 @@ -/* - * 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.WebhookEventSceneIncludedAttributes; -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; - -/** - * WebhookEventSceneIncludedData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class WebhookEventSceneIncludedData { - 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 WebhookEventSceneIncludedAttributes attributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = new HashMap<>(); - - public WebhookEventSceneIncludedData() { - } - - public WebhookEventSceneIncludedData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "scene", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public WebhookEventSceneIncludedData 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 WebhookEventSceneIncludedData attributes(WebhookEventSceneIncludedAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public WebhookEventSceneIncludedAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(WebhookEventSceneIncludedAttributes attributes) { - this.attributes = attributes; - } - - - public WebhookEventSceneIncludedData links(Map links) { - - this.links = links; - return this; - } - - public WebhookEventSceneIncludedData 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; - } - WebhookEventSceneIncludedData webhookEventSceneIncludedData = (WebhookEventSceneIncludedData) o; - return Objects.equals(this.type, webhookEventSceneIncludedData.type) && - Objects.equals(this.id, webhookEventSceneIncludedData.id) && - Objects.equals(this.attributes, webhookEventSceneIncludedData.attributes) && - Objects.equals(this.links, webhookEventSceneIncludedData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class WebhookEventSceneIncludedData {\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(" 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/WebhookSubscription.java b/src/main/java/com/vertexvis/model/WebhookSubscription.java deleted file mode 100644 index 35978ccc..00000000 --- a/src/main/java/com/vertexvis/model/WebhookSubscription.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * 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.WebhookSubscriptionData; -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; - -/** - * WebhookSubscription - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class WebhookSubscription { - public static final String SERIALIZED_NAME_DATA = "data"; - @SerializedName(SERIALIZED_NAME_DATA) - private WebhookSubscriptionData data; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public WebhookSubscription() { - } - - public WebhookSubscription data(WebhookSubscriptionData data) { - - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public WebhookSubscriptionData getData() { - return data; - } - - - public void setData(WebhookSubscriptionData data) { - this.data = data; - } - - - public WebhookSubscription links(Map links) { - - this.links = links; - return this; - } - - public WebhookSubscription 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; - } - WebhookSubscription webhookSubscription = (WebhookSubscription) o; - return Objects.equals(this.data, webhookSubscription.data) && - Objects.equals(this.links, webhookSubscription.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class WebhookSubscription {\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/WebhookSubscriptionData.java b/src/main/java/com/vertexvis/model/WebhookSubscriptionData.java deleted file mode 100644 index ca36ab94..00000000 --- a/src/main/java/com/vertexvis/model/WebhookSubscriptionData.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * 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.WebhookSubscriptionDataAttributes; -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; - -/** - * WebhookSubscriptionData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class WebhookSubscriptionData { - 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 WebhookSubscriptionDataAttributes attributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private Map links = null; - - public WebhookSubscriptionData() { - } - - public WebhookSubscriptionData type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "webhook-subscription", required = true, value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public WebhookSubscriptionData 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 WebhookSubscriptionData attributes(WebhookSubscriptionDataAttributes attributes) { - - this.attributes = attributes; - return this; - } - - /** - * Get attributes - * @return attributes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public WebhookSubscriptionDataAttributes getAttributes() { - return attributes; - } - - - public void setAttributes(WebhookSubscriptionDataAttributes attributes) { - this.attributes = attributes; - } - - - public WebhookSubscriptionData links(Map links) { - - this.links = links; - return this; - } - - public WebhookSubscriptionData 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; - } - WebhookSubscriptionData webhookSubscriptionData = (WebhookSubscriptionData) o; - return Objects.equals(this.type, webhookSubscriptionData.type) && - Objects.equals(this.id, webhookSubscriptionData.id) && - Objects.equals(this.attributes, webhookSubscriptionData.attributes) && - Objects.equals(this.links, webhookSubscriptionData.links); - } - - @Override - public int hashCode() { - return Objects.hash(type, id, attributes, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class WebhookSubscriptionData {\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(" 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/WebhookSubscriptionDataAttributes.java b/src/main/java/com/vertexvis/model/WebhookSubscriptionDataAttributes.java deleted file mode 100644 index fe5b26c6..00000000 --- a/src/main/java/com/vertexvis/model/WebhookSubscriptionDataAttributes.java +++ /dev/null @@ -1,271 +0,0 @@ -/* - * 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.time.OffsetDateTime; -import java.util.ArrayList; -import java.util.List; - -/** - * WebhookSubscriptionDataAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class WebhookSubscriptionDataAttributes { - public static final String SERIALIZED_NAME_URL = "url"; - @SerializedName(SERIALIZED_NAME_URL) - private String url; - - public static final String SERIALIZED_NAME_SECRET = "secret"; - @SerializedName(SERIALIZED_NAME_SECRET) - private String secret; - - public static final String SERIALIZED_NAME_TOPICS = "topics"; - @SerializedName(SERIALIZED_NAME_TOPICS) - private List topics = new ArrayList<>(); - - /** - * Gets or Sets status - */ - @JsonAdapter(StatusEnum.Adapter.class) - public enum StatusEnum { - ACTIVE("active"), - - PAUSED("paused"); - - private String value; - - StatusEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static StatusEnum fromValue(String value) { - for (StatusEnum b : StatusEnum.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 StatusEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public StatusEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return StatusEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private StatusEnum status; - - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private OffsetDateTime created; - - public WebhookSubscriptionDataAttributes() { - } - - public WebhookSubscriptionDataAttributes url(String url) { - - this.url = url; - return this; - } - - /** - * Get url - * @return url - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getUrl() { - return url; - } - - - public void setUrl(String url) { - this.url = url; - } - - - public WebhookSubscriptionDataAttributes secret(String secret) { - - this.secret = secret; - return this; - } - - /** - * Get secret - * @return secret - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "i3MFRDOmg1pxD36dGCTONRwOujkgV8m9LQ", value = "") - - public String getSecret() { - return secret; - } - - - public void setSecret(String secret) { - this.secret = secret; - } - - - public WebhookSubscriptionDataAttributes topics(List topics) { - - this.topics = topics; - return this; - } - - public WebhookSubscriptionDataAttributes addTopicsItem(String topicsItem) { - this.topics.add(topicsItem); - return this; - } - - /** - * Get topics - * @return topics - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getTopics() { - return topics; - } - - - public void setTopics(List topics) { - this.topics = topics; - } - - - public WebhookSubscriptionDataAttributes status(StatusEnum status) { - - this.status = status; - return this; - } - - /** - * Get status - * @return status - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "active", required = true, value = "") - - public StatusEnum getStatus() { - return status; - } - - - public void setStatus(StatusEnum status) { - this.status = status; - } - - - public WebhookSubscriptionDataAttributes created(OffsetDateTime created) { - - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "2020-01-01T12:00Z", required = true, value = "") - - public OffsetDateTime getCreated() { - return created; - } - - - public void setCreated(OffsetDateTime created) { - this.created = created; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - WebhookSubscriptionDataAttributes webhookSubscriptionDataAttributes = (WebhookSubscriptionDataAttributes) o; - return Objects.equals(this.url, webhookSubscriptionDataAttributes.url) && - Objects.equals(this.secret, webhookSubscriptionDataAttributes.secret) && - Objects.equals(this.topics, webhookSubscriptionDataAttributes.topics) && - Objects.equals(this.status, webhookSubscriptionDataAttributes.status) && - Objects.equals(this.created, webhookSubscriptionDataAttributes.created); - } - - @Override - public int hashCode() { - return Objects.hash(url, secret, topics, status, created); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class WebhookSubscriptionDataAttributes {\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" secret: ").append(toIndentedString(secret)).append("\n"); - sb.append(" topics: ").append(toIndentedString(topics)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).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/WebhookSubscriptionList.java b/src/main/java/com/vertexvis/model/WebhookSubscriptionList.java deleted file mode 100644 index e616e19f..00000000 --- a/src/main/java/com/vertexvis/model/WebhookSubscriptionList.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.WebhookSubscriptionData; -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; - -/** - * WebhookSubscriptionList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class WebhookSubscriptionList { - 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 WebhookSubscriptionList() { - } - - public WebhookSubscriptionList data(List data) { - - this.data = data; - return this; - } - - public WebhookSubscriptionList addDataItem(WebhookSubscriptionData 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 WebhookSubscriptionList links(Map links) { - - this.links = links; - return this; - } - - public WebhookSubscriptionList 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; - } - WebhookSubscriptionList webhookSubscriptionList = (WebhookSubscriptionList) o; - return Objects.equals(this.data, webhookSubscriptionList.data) && - Objects.equals(this.links, webhookSubscriptionList.links); - } - - @Override - public int hashCode() { - return Objects.hash(data, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class WebhookSubscriptionList {\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/serialization/AnyOfCameraCameraFitTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/AnyOfCameraCameraFitTypeAdapter.java deleted file mode 100644 index c1c56cfd..00000000 --- a/src/main/java/com/vertexvis/model/serialization/AnyOfCameraCameraFitTypeAdapter.java +++ /dev/null @@ -1,28 +0,0 @@ -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.AnyOfCameraCameraFit; - -import java.io.IOException; -import java.util.function.Supplier; - -public class AnyOfCameraCameraFitTypeAdapter extends TypeAdapter { - private final Supplier gsonSupplier; - - public AnyOfCameraCameraFitTypeAdapter(Supplier gsonSupplier) { - this.gsonSupplier = gsonSupplier; - } - - @Override - public void write(JsonWriter out, AnyOfCameraCameraFit value) throws IOException { - out.jsonValue(gsonSupplier.get().toJson(value.getCam())); - } - - @Override - public AnyOfCameraCameraFit read(JsonReader in) throws IOException { - throw new UnsupportedOperationException("Deserializing this is currently not supported."); - } -} diff --git a/src/main/java/com/vertexvis/model/serialization/AnyOfChangeVisibilityOperationChangeMaterialOperationClearMaterialOperationChangeTransformOperationClearTransformOperationSelectOperationDeselectOperationTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/AnyOfChangeVisibilityOperationChangeMaterialOperationClearMaterialOperationChangeTransformOperationClearTransformOperationSelectOperationDeselectOperationTypeAdapter.java deleted file mode 100644 index 5adfdd40..00000000 --- a/src/main/java/com/vertexvis/model/serialization/AnyOfChangeVisibilityOperationChangeMaterialOperationClearMaterialOperationChangeTransformOperationClearTransformOperationSelectOperationDeselectOperationTypeAdapter.java +++ /dev/null @@ -1,34 +0,0 @@ -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.AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp; - -import java.io.IOException; -import java.util.function.Supplier; - -public class AnyOfChangeVisibilityOperationChangeMaterialOperationClearMaterialOperationChangeTransformOperationClearTransformOperationSelectOperationDeselectOperationTypeAdapter - extends - TypeAdapter { - private final Supplier gsonSupplier; - - public AnyOfChangeVisibilityOperationChangeMaterialOperationClearMaterialOperationChangeTransformOperationClearTransformOperationSelectOperationDeselectOperationTypeAdapter( - Supplier gsonSupplier) { - this.gsonSupplier = gsonSupplier; - } - - @Override - public void write(JsonWriter out, - AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp value) - throws IOException { - out.jsonValue(gsonSupplier.get().toJson(value.getOperation())); - } - - @Override - public AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp read( - JsonReader in) throws IOException { - throw new UnsupportedOperationException("Deserializing this is currently not supported."); - } -} diff --git a/src/main/java/com/vertexvis/model/serialization/AnyOfCreateSceneItemRequestDataAdapter.java b/src/main/java/com/vertexvis/model/serialization/AnyOfCreateSceneItemRequestDataAdapter.java deleted file mode 100644 index acbbe936..00000000 --- a/src/main/java/com/vertexvis/model/serialization/AnyOfCreateSceneItemRequestDataAdapter.java +++ /dev/null @@ -1,29 +0,0 @@ -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.AnyOfCreateSceneItemRequestData; - -import java.io.IOException; -import java.util.function.Supplier; - -public class AnyOfCreateSceneItemRequestDataAdapter - extends TypeAdapter { - private final Supplier gsonSupplier; - - public AnyOfCreateSceneItemRequestDataAdapter(Supplier gsonSupplier) { - this.gsonSupplier = gsonSupplier; - } - - @Override - public void write(JsonWriter out, AnyOfCreateSceneItemRequestData value) throws IOException { - out.jsonValue(gsonSupplier.get().toJson(value.getObj())); - } - - @Override - public AnyOfCreateSceneItemRequestData read(JsonReader in) throws IOException { - throw new UnsupportedOperationException("Deserializing this is currently not supported."); - } -} diff --git a/src/main/java/com/vertexvis/model/serialization/AnyOfFileRelationshipPartAssemblyRelationshipTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/AnyOfFileRelationshipPartAssemblyRelationshipTypeAdapter.java deleted file mode 100644 index b4abbbfa..00000000 --- a/src/main/java/com/vertexvis/model/serialization/AnyOfFileRelationshipPartAssemblyRelationshipTypeAdapter.java +++ /dev/null @@ -1,94 +0,0 @@ -package com.vertexvis.model.serialization; - -import com.google.gson.Gson; -import com.google.gson.TypeAdapter; -import com.google.gson.reflect.TypeToken; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonToken; -import com.google.gson.stream.JsonWriter; -import com.vertexvis.model.AnyOfFileRelationshipPartAssemblyRelationship; -import com.vertexvis.model.AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType; -import com.vertexvis.model.FileRelationship; -import com.vertexvis.model.FileRelationshipData; -import com.vertexvis.model.PartAssemblyRelationship; -import com.vertexvis.model.PartAssemblyRelationshipData; -import com.vertexvis.model.PartRevisionInstance; - -import java.io.IOException; -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.UUID; -import java.util.function.Supplier; - -public class AnyOfFileRelationshipPartAssemblyRelationshipTypeAdapter extends TypeAdapter { - - private final Supplier gsonSupplier; - - public AnyOfFileRelationshipPartAssemblyRelationshipTypeAdapter(Supplier gsonSupplier) { - this.gsonSupplier = gsonSupplier; - } - - @Override - public void write(JsonWriter out, AnyOfFileRelationshipPartAssemblyRelationship value) throws IOException { - if (value.getFileRelationship() != null) { - out.jsonValue(gsonSupplier.get().toJson(value.getFileRelationship())); - } else { - out.jsonValue(gsonSupplier.get().toJson(value.getPartAssemblyRelationship())); - } - } - - @Override - public AnyOfFileRelationshipPartAssemblyRelationship read(JsonReader in) throws IOException { - List partRevisionInstances = new ArrayList<>(); - Map metadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullTypeHashMap = new HashMap<>(); - FileRelationshipData.TypeEnum typeEnum = null; - UUID fileId = null; - boolean isPartAssemblyRelationship = false; - in.beginObject(); - while (in.hasNext()) { - switch (in.nextName()) { - case "data": - in.beginObject(); - break; - case "children": - isPartAssemblyRelationship = true; - Type listOfMyClassObject = new TypeToken>() { - }.getType(); - partRevisionInstances = gsonSupplier.get().fromJson(in, listOfMyClassObject); - break; - case "type": - typeEnum = FileRelationshipData.TypeEnum.fromValue(in.nextString()); - break; - case "id": - fileId = UUID.fromString(in.nextString()); - break; - case "metadata": - Type goingToFail = new TypeToken>() { - }.getType(); - try { - metadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullTypeHashMap = gsonSupplier.get().fromJson(in, goingToFail); - } catch (Exception e) { - if (in.peek() != JsonToken.END_ARRAY) { - in.endArray(); - } - - } - break; - } - } - in.endObject(); - in.endObject(); - if (isPartAssemblyRelationship) { - return new AnyOfFileRelationshipPartAssemblyRelationship(new PartAssemblyRelationship() - .data(new PartAssemblyRelationshipData() - .children(partRevisionInstances).metadata(metadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullTypeHashMap))); - } else { - return new AnyOfFileRelationshipPartAssemblyRelationship(new FileRelationship() - .data(new FileRelationshipData() - .type(typeEnum).id(fileId))); - } - } -} diff --git a/src/main/java/com/vertexvis/model/serialization/AnyOfGeometrySetDataPartRevisionDataPartRenditionDataTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/AnyOfGeometrySetDataPartRevisionDataPartRenditionDataTypeAdapter.java deleted file mode 100644 index d1d60340..00000000 --- a/src/main/java/com/vertexvis/model/serialization/AnyOfGeometrySetDataPartRevisionDataPartRenditionDataTypeAdapter.java +++ /dev/null @@ -1,64 +0,0 @@ -package com.vertexvis.model.serialization; - -import com.google.gson.Gson; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.TypeAdapter; -import com.google.gson.reflect.TypeToken; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.vertexvis.model.AnyOfGeometrySetDataPartRevisionDataPartRenditionData; -import com.vertexvis.model.GeometrySetData; -import com.vertexvis.model.PartRendition; -import com.vertexvis.model.PartRenditionData; -import com.vertexvis.model.PartRevisionData; - -import java.io.IOException; -import java.util.function.Supplier; - -public class AnyOfGeometrySetDataPartRevisionDataPartRenditionDataTypeAdapter extends TypeAdapter -{ - private final Supplier gsonSupplier; - - public AnyOfGeometrySetDataPartRevisionDataPartRenditionDataTypeAdapter(Supplier gsonSupplier) { - this.gsonSupplier = gsonSupplier; - } - - @Override - public void write(JsonWriter out, AnyOfGeometrySetDataPartRevisionDataPartRenditionData value) - throws IOException { - if (value != null && value.getRel() != null) { - out.jsonValue(gsonSupplier.get().toJson(value.getRel())); - } - else { - out.jsonValue(null); - } - } - - @Override - public AnyOfGeometrySetDataPartRevisionDataPartRenditionData read(JsonReader in) throws IOException { - TypeAdapter jsonAdapter = gsonSupplier.get().getAdapter(JsonElement.class); - TypeAdapter partRevisionDataTypeAdapter = - gsonSupplier.get().getAdapter(TypeToken.get(PartRevisionData.class)); - TypeAdapter geometrySetDataTypeAdapter = - gsonSupplier.get().getAdapter(TypeToken.get(GeometrySetData.class)); - TypeAdapter partRenditionDataTypeAdapter = - gsonSupplier.get().getAdapter(TypeToken.get(PartRenditionData.class)); - - JsonObject json = jsonAdapter.read(in).getAsJsonObject(); - String type = json.get("type").getAsString(); - - return switch (type) { - case "part-revision" -> new AnyOfGeometrySetDataPartRevisionDataPartRenditionData( - partRevisionDataTypeAdapter.fromJsonTree(json) - ); - case "geometry-set" -> new AnyOfGeometrySetDataPartRevisionDataPartRenditionData( - geometrySetDataTypeAdapter.fromJsonTree(json) - ); - case "part-rendition" -> new AnyOfGeometrySetDataPartRevisionDataPartRenditionData( - partRenditionDataTypeAdapter.fromJsonTree(json) - ); - default -> throw new IOException("JSON deserializer not implemented for type " + type); - }; - } -} diff --git a/src/main/java/com/vertexvis/model/serialization/AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipTypeAdapter.java deleted file mode 100644 index bfdc5474..00000000 --- a/src/main/java/com/vertexvis/model/serialization/AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipTypeAdapter.java +++ /dev/null @@ -1,77 +0,0 @@ -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.AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship; -import com.vertexvis.model.GeometrySetRelationship; -import com.vertexvis.model.GeometrySetRelationshipData; -import com.vertexvis.model.PartDataRelationshipsPartRevisions; -import com.vertexvis.model.PartRevisionRelationship; -import com.vertexvis.model.SceneRelationship; -import com.vertexvis.model.SceneRelationshipData; - -import java.io.IOException; -import java.util.UUID; -import java.util.function.Supplier; - -public class AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipTypeAdapter - extends TypeAdapter { - private final Supplier gsonSupplier; - - public AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipTypeAdapter( - Supplier gsonSupplier) { - this.gsonSupplier = gsonSupplier; - } - - @Override - public void write(JsonWriter out, - AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship value) - throws IOException { - out.jsonValue(gsonSupplier.get().toJson(value.getRel())); - } - - @Override - public AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship read(JsonReader in) - throws IOException { - String type = ""; - String id = ""; - - in.beginObject(); - while (in.hasNext()) { - switch (in.nextName()) { - case "data": - in.beginObject(); - break; - case "type": - type = in.nextString(); - break; - case "id": - id = in.nextString(); - break; - } - } - in.endObject(); - in.endObject(); - - switch (type) { - case "part-revision": - return new AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship( - new PartRevisionRelationship().data(new PartDataRelationshipsPartRevisions() - .type(PartDataRelationshipsPartRevisions.TypeEnum.PART_REVISION) - .id(UUID.fromString(id)))); - case "geometry-set": - return new AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship( - new GeometrySetRelationship().data(new GeometrySetRelationshipData() - .type(GeometrySetRelationshipData.TypeEnum.GEOMETRY_SET).id(UUID.fromString(id)))); - case "scene": - return new AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship( - new SceneRelationship().data( - new SceneRelationshipData().type(SceneRelationshipData.TypeEnum.SCENE) - .id(UUID.fromString(id)))); - default: - return null; - } - } -} diff --git a/src/main/java/com/vertexvis/model/serialization/AnyOfGeometrySetRelationshipPartRevisionRelationshipTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/AnyOfGeometrySetRelationshipPartRevisionRelationshipTypeAdapter.java deleted file mode 100644 index 1d1e2394..00000000 --- a/src/main/java/com/vertexvis/model/serialization/AnyOfGeometrySetRelationshipPartRevisionRelationshipTypeAdapter.java +++ /dev/null @@ -1,69 +0,0 @@ -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.AnyOfGeometrySetRelationshipPartRevisionRelationship; -import com.vertexvis.model.GeometrySetRelationship; -import com.vertexvis.model.GeometrySetRelationshipData; -import com.vertexvis.model.PartDataRelationshipsPartRevisions; -import com.vertexvis.model.PartRevisionRelationship; - -import java.io.IOException; -import java.util.UUID; -import java.util.function.Supplier; - -public class AnyOfGeometrySetRelationshipPartRevisionRelationshipTypeAdapter - extends TypeAdapter { - private final Supplier gsonSupplier; - - public AnyOfGeometrySetRelationshipPartRevisionRelationshipTypeAdapter( - Supplier gsonSupplier) { - this.gsonSupplier = gsonSupplier; - } - - @Override - public void write(JsonWriter out, AnyOfGeometrySetRelationshipPartRevisionRelationship value) - throws IOException { - out.jsonValue(gsonSupplier.get().toJson(value.getRel())); - } - - @Override - public AnyOfGeometrySetRelationshipPartRevisionRelationship read(JsonReader in) - throws IOException { - String type = ""; - String id = ""; - - in.beginObject(); - while (in.hasNext()) { - switch (in.nextName()) { - case "data": - in.beginObject(); - break; - case "type": - type = in.nextString(); - break; - case "id": - id = in.nextString(); - break; - } - } - in.endObject(); - in.endObject(); - - switch (type) { - case "part-revision": - return new AnyOfGeometrySetRelationshipPartRevisionRelationship( - new PartRevisionRelationship().data(new PartDataRelationshipsPartRevisions() - .type(PartDataRelationshipsPartRevisions.TypeEnum.PART_REVISION) - .id(UUID.fromString(id)))); - case "geometry-set": - return new AnyOfGeometrySetRelationshipPartRevisionRelationship( - new GeometrySetRelationship().data(new GeometrySetRelationshipData() - .type(GeometrySetRelationshipData.TypeEnum.GEOMETRY_SET).id(UUID.fromString(id)))); - default: - return null; - } - } -} diff --git a/src/main/java/com/vertexvis/model/serialization/AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullTypeAdapter.java deleted file mode 100644 index cd2b83b8..00000000 --- a/src/main/java/com/vertexvis/model/serialization/AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullTypeAdapter.java +++ /dev/null @@ -1,158 +0,0 @@ -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.AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType; -import com.vertexvis.model.MetadataDateType; -import com.vertexvis.model.MetadataFloatType; -import com.vertexvis.model.MetadataLongType; -import com.vertexvis.model.MetadataNullType; -import com.vertexvis.model.MetadataStringType; - -import java.io.IOException; -import java.time.OffsetDateTime; -import java.util.function.Supplier; - -public class AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullTypeAdapter - extends - TypeAdapter { - - private final Supplier gsonSupplier; - - public AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullTypeAdapter( - Supplier gsonSupplier) { - this.gsonSupplier = gsonSupplier; - } - - @Override - public void write(JsonWriter out, - AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType value) - throws IOException { - out.jsonValue(gsonSupplier.get().toJson(value.getValue())); - } - - @Override - public AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType read( - JsonReader in) throws IOException { - in.beginObject(); - - String stringValue = null; - Double doubleValue = null; - String typeValue = null; - while (in.hasNext() && ((stringValue == null && doubleValue == null) - || typeValue == null)) { - var name = in.nextName(); - if (name.equals("type")) { - typeValue = in.nextString(); - } - else if (name.equals("value")) { - var token = in.peek(); - switch (token) { - case NUMBER: - doubleValue = in.nextDouble(); - break; - case STRING: - stringValue = in.nextString(); - break; - default: - throw new UnsupportedOperationException("Unexpected token"); - } - } - else { - in.skipValue(); - } - } - - if (typeValue == null || (stringValue == null && doubleValue == null && !typeValue.equals( - "null"))) { - throw new UnsupportedOperationException("Missing fields"); - } - - AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType - retval = null; - - // The type field always wins in case of ambiguity. - switch (typeValue) { - case "null": - if (!(stringValue == null && doubleValue == null)) { - throw new UnsupportedOperationException("Value type mismatch"); - } - - retval = - new AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( - new MetadataNullType().type(typeValue)); - break; - case "long": - Long longValue = null; - if (doubleValue != null) { - var casted = doubleValue.longValue(); - if (((double) casted) != doubleValue) { - throw new UnsupportedOperationException("Value type mismatch"); - } - longValue = casted; - } - else { - try { - longValue = Long.parseLong(stringValue); - } - catch (Exception ignored) { - throw new UnsupportedOperationException("Value type mismatch"); - } - } - - retval = - new AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( - new MetadataLongType().value(longValue).type(typeValue)); - break; - case "float": - Float floatValue = null; - if (doubleValue != null) { - floatValue = doubleValue.floatValue(); - } - else { - try { - floatValue = Float.parseFloat(stringValue); - } - catch (Exception ignored) { - throw new UnsupportedOperationException("Value type mismatch"); - } - } - - retval = - new AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( - new MetadataFloatType().value(floatValue).type(typeValue)); - break; - case "date": - OffsetDateTime dateTimeValue = null; - if (stringValue != null) { - try { - dateTimeValue = OffsetDateTime.parse(stringValue); - } - catch (Exception ignored) { - throw new UnsupportedOperationException("Value type mismatch"); - } - } - else { - throw new UnsupportedOperationException("Value type mismatch"); - } - - retval = - new AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( - new MetadataDateType().value(dateTimeValue).type(typeValue)); - break; - case "string": - retval = - new AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( - new MetadataStringType().value(stringValue).type(typeValue)); - break; - default: - throw new UnsupportedOperationException("Unknown metadata type"); - } - - in.endObject(); - - return retval; - } -} diff --git a/src/main/java/com/vertexvis/model/serialization/AnyOfPerspectiveCameraOrthographicCameraCameraFitTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/AnyOfPerspectiveCameraOrthographicCameraCameraFitTypeAdapter.java deleted file mode 100644 index e8b8aa44..00000000 --- a/src/main/java/com/vertexvis/model/serialization/AnyOfPerspectiveCameraOrthographicCameraCameraFitTypeAdapter.java +++ /dev/null @@ -1,33 +0,0 @@ -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.AnyOfPerspectiveCameraOrthographicCameraCameraFit; - -import java.io.IOException; -import java.util.function.Supplier; - -public class AnyOfPerspectiveCameraOrthographicCameraCameraFitTypeAdapter extends TypeAdapter { - private final Supplier gsonSupplier; - - public AnyOfPerspectiveCameraOrthographicCameraCameraFitTypeAdapter(Supplier gsonSupplier) { - this.gsonSupplier = gsonSupplier; - } - - @Override - public void write(JsonWriter out, AnyOfPerspectiveCameraOrthographicCameraCameraFit value) throws IOException { - if (value != null) { - out.jsonValue(gsonSupplier.get().toJson(value.getAnyOfCameraFit())); - } else { - out.nullValue(); - } - } - - @Override - public AnyOfPerspectiveCameraOrthographicCameraCameraFit read(JsonReader in) throws IOException { - throw new UnsupportedOperationException("Deserializing this is currently not supported."); - } -} - diff --git a/src/main/java/com/vertexvis/model/serialization/AnyOfQueryByIdQueryByCollectionQueryAllTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/AnyOfQueryByIdQueryByCollectionQueryAllTypeAdapter.java deleted file mode 100644 index b262480c..00000000 --- a/src/main/java/com/vertexvis/model/serialization/AnyOfQueryByIdQueryByCollectionQueryAllTypeAdapter.java +++ /dev/null @@ -1,30 +0,0 @@ -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.AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata; - -import java.io.IOException; -import java.util.function.Supplier; - -public class AnyOfQueryByIdQueryByCollectionQueryAllTypeAdapter - extends TypeAdapter { - private final Supplier gsonSupplier; - - public AnyOfQueryByIdQueryByCollectionQueryAllTypeAdapter(Supplier gsonSupplier) { - this.gsonSupplier = gsonSupplier; - } - - @Override - public void write(JsonWriter out, AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata value) - throws IOException { - out.jsonValue(gsonSupplier.get().toJson(value.getQuery())); - } - - @Override - public AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata read(JsonReader in) throws IOException { - throw new UnsupportedOperationException("Deserializing this is currently not supported."); - } -} diff --git a/src/main/java/com/vertexvis/model/serialization/AnyOfRelationshipDataApiErrorAdapter.java b/src/main/java/com/vertexvis/model/serialization/AnyOfRelationshipDataApiErrorAdapter.java deleted file mode 100644 index c40599f1..00000000 --- a/src/main/java/com/vertexvis/model/serialization/AnyOfRelationshipDataApiErrorAdapter.java +++ /dev/null @@ -1,96 +0,0 @@ -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.AnyOfRelationshipDataApiError; -import com.vertexvis.model.ApiError; -import com.vertexvis.model.ApiErrorSource; -import com.vertexvis.model.RelationshipData; - -import java.io.IOException; -import java.util.UUID; -import java.util.function.Supplier; - -public class AnyOfRelationshipDataApiErrorAdapter - extends TypeAdapter { - private final Supplier gsonSupplier; - - public AnyOfRelationshipDataApiErrorAdapter( - Supplier gsonSupplier) { - this.gsonSupplier = gsonSupplier; - } - - @Override - public void write(JsonWriter out, - AnyOfRelationshipDataApiError value) - throws IOException { - out.jsonValue(gsonSupplier.get().toJson(value.getObj())); - } - - @Override - public AnyOfRelationshipDataApiError read(JsonReader in) - throws IOException { - String id = ""; - String type = null; - String status = null; - String code = null; - String title = null; - String detail = null; - boolean hasSource = false; - String pointer = null; - String parameter = null; - - in.beginObject(); - while (in.hasNext()) { - switch (in.nextName()) { - case "id": - id = in.nextString(); - break; - case "type": - type = in.nextString(); - break; - case "status": - status = in.nextString(); - break; - case "code": - code = in.nextString(); - break; - case "title": - title = in.nextString(); - break; - case "detail": - detail = in.nextString(); - break; - case "source": - hasSource = true; - in.beginObject(); - break; - case "pointer": - pointer = in.nextString(); - break; - case "parameter": - parameter = in.nextString(); - break; - } - } - in.endObject(); - if (hasSource) { - in.endObject(); - } - - if (!isNullOrEmpty(type)) { - return new AnyOfRelationshipDataApiError( - new RelationshipData().id(UUID.fromString(id)).type(type)); - } - - ApiError ae = new ApiError().id(id).status(status).code(code).title(title).detail(detail); - return new AnyOfRelationshipDataApiError( - hasSource ? ae.source(new ApiErrorSource().pointer(pointer).parameter(parameter)) : ae); - } - - private static boolean isNullOrEmpty(String s) { - return s == null || s.trim().length() == 0; - } -} diff --git a/src/main/java/com/vertexvis/model/serialization/OneOfHitResultDataSceneItemDataPartRevisionDataTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/OneOfHitResultDataSceneItemDataPartRevisionDataTypeAdapter.java deleted file mode 100644 index 62cf8670..00000000 --- a/src/main/java/com/vertexvis/model/serialization/OneOfHitResultDataSceneItemDataPartRevisionDataTypeAdapter.java +++ /dev/null @@ -1,30 +0,0 @@ -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.OneOfHitResultDataSceneItemDataPartRevisionData; - -import java.io.IOException; -import java.util.function.Supplier; - -public class OneOfHitResultDataSceneItemDataPartRevisionDataTypeAdapter - extends TypeAdapter { - private final Supplier gsonSupplier; - - public OneOfHitResultDataSceneItemDataPartRevisionDataTypeAdapter(Supplier gsonSupplier) { - this.gsonSupplier = gsonSupplier; - } - - @Override - public void write(JsonWriter out, OneOfHitResultDataSceneItemDataPartRevisionData value) - throws IOException { - out.jsonValue(gsonSupplier.get().toJson(value.getData())); - } - - @Override - public OneOfHitResultDataSceneItemDataPartRevisionData read(JsonReader in) throws IOException { - throw new UnsupportedOperationException("Deserializing this is currently not supported."); - } -} diff --git a/src/main/java/com/vertexvis/model/serialization/OneOfPerspectiveCameraOrthographicCameraTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/OneOfPerspectiveCameraOrthographicCameraTypeAdapter.java deleted file mode 100644 index cac04a62..00000000 --- a/src/main/java/com/vertexvis/model/serialization/OneOfPerspectiveCameraOrthographicCameraTypeAdapter.java +++ /dev/null @@ -1,58 +0,0 @@ -package com.vertexvis.model.serialization; - -import com.google.gson.Gson; -import com.google.gson.TypeAdapter; -import com.google.gson.reflect.TypeToken; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.vertexvis.model.*; - -import java.io.IOException; -import java.util.function.Supplier; - -public class OneOfPerspectiveCameraOrthographicCameraTypeAdapter extends TypeAdapter { - private final Supplier gsonSupplier; - public OneOfPerspectiveCameraOrthographicCameraTypeAdapter(Supplier gsonSupplier) { - this.gsonSupplier = gsonSupplier; - } - - @Override - public void write(JsonWriter out, OneOfPerspectiveCameraOrthographicCamera value) - throws IOException { - if (value != null && value.getData() != null) { - out.jsonValue(gsonSupplier.get().toJson(value.getData())); - } - else { - out.jsonValue(null); - } - } - - @Override - public OneOfPerspectiveCameraOrthographicCamera read(JsonReader in) throws IOException { - Camera camera = gsonSupplier.get().fromJson(in, TypeToken.get(Camera.class).getType()); - - OneOfPerspectiveCameraOrthographicCamera oneOfCamera = null; - switch (camera.getType()) { - case "perspective": - oneOfCamera = new OneOfPerspectiveCameraOrthographicCamera( - new PerspectiveCamera() - .type(camera.getType()) - .position(camera.getPosition()) - .lookAt(camera.getLookAt()) - .up(camera.getUp()) - ); - break; - case "orthographic": - oneOfCamera = new OneOfPerspectiveCameraOrthographicCamera( - new OrthographicCamera() - .type(camera.getType()) - .viewVector(camera.getViewVector()) - .lookAt(camera.getLookAt()) - .up(camera.getUp()) - .fovHeight(camera.getFovHeight()) - ); - break; - } - return oneOfCamera; - } -} diff --git a/src/main/java/com/vertexvis/model/serialization/OneOfSceneViewRelationshipSceneViewStateRelationshipTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/OneOfSceneViewRelationshipSceneViewStateRelationshipTypeAdapter.java deleted file mode 100644 index 80073286..00000000 --- a/src/main/java/com/vertexvis/model/serialization/OneOfSceneViewRelationshipSceneViewStateRelationshipTypeAdapter.java +++ /dev/null @@ -1,70 +0,0 @@ -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.OneOfSceneViewRelationshipSceneViewStateRelationship; -import com.vertexvis.model.SceneViewRelationship; -import com.vertexvis.model.SceneViewRelationshipData; -import com.vertexvis.model.SceneViewStateRelationship; -import com.vertexvis.model.SceneViewStateRelationshipData; - -import java.io.IOException; -import java.util.UUID; -import java.util.function.Supplier; - -public class OneOfSceneViewRelationshipSceneViewStateRelationshipTypeAdapter - extends TypeAdapter { - private final Supplier gsonSupplier; - - public OneOfSceneViewRelationshipSceneViewStateRelationshipTypeAdapter( - Supplier gsonSupplier) { - this.gsonSupplier = gsonSupplier; - } - - @Override - public void write(JsonWriter out, OneOfSceneViewRelationshipSceneViewStateRelationship value) - throws IOException { - out.jsonValue(gsonSupplier.get().toJson(value.getRel())); - } - - @Override - public OneOfSceneViewRelationshipSceneViewStateRelationship read(JsonReader in) - throws IOException { - String type = ""; - String id = ""; - - in.beginObject(); - while (in.hasNext()) { - switch (in.nextName()) { - case "data": - in.beginObject(); - break; - case "type": - type = in.nextString(); - break; - case "id": - id = in.nextString(); - break; - } - } - in.endObject(); - in.endObject(); - - switch (type) { - case "scene-view": - return new OneOfSceneViewRelationshipSceneViewStateRelationship(new SceneViewRelationship() - .data( - new SceneViewRelationshipData().type(SceneViewRelationshipData.TypeEnum.SCENE_VIEW) - .id(UUID.fromString(id)))); - case "scene-view-state": - return new OneOfSceneViewRelationshipSceneViewStateRelationship( - new SceneViewStateRelationship().data(new SceneViewStateRelationshipData() - .type(SceneViewStateRelationshipData.TypeEnum.SCENE_VIEW_STATE) - .id(UUID.fromString(id)))); - default: - return null; - } - } -} diff --git a/src/main/java/com/vertexvis/model/serialization/OneOfUpdateItemToDefaultRenditionOperationTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/OneOfUpdateItemToDefaultRenditionOperationTypeAdapter.java deleted file mode 100644 index 5641e7c4..00000000 --- a/src/main/java/com/vertexvis/model/serialization/OneOfUpdateItemToDefaultRenditionOperationTypeAdapter.java +++ /dev/null @@ -1,50 +0,0 @@ -package com.vertexvis.model.serialization; - -import com.google.gson.Gson; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.TypeAdapter; -import com.google.gson.reflect.TypeToken; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.vertexvis.model.*; - -import java.io.IOException; -import java.util.function.Supplier; - -public class OneOfUpdateItemToDefaultRenditionOperationTypeAdapter extends TypeAdapter { - private final Supplier gsonSupplier; - public OneOfUpdateItemToDefaultRenditionOperationTypeAdapter(Supplier gsonSupplier) { - this.gsonSupplier = gsonSupplier; - } - - @Override - public void write(JsonWriter out, OneOfUpdateItemToDefaultRenditionOperation value) - throws IOException { - if (value != null && value.getData() != null) { - out.jsonValue(gsonSupplier.get().toJson(value.getData())); - } - else { - out.jsonValue(null); - } - } - - @Override - public OneOfUpdateItemToDefaultRenditionOperation read(JsonReader in) throws IOException { - TypeAdapter jsonAdapter = gsonSupplier.get().getAdapter(JsonElement.class); - TypeAdapter updateItemToDefaultRenditionOperationTypeAdapter = - gsonSupplier.get().getAdapter(TypeToken.get(UpdateItemToDefaultRenditionOperation.class)); - - JsonObject json = jsonAdapter.read(in).getAsJsonObject(); - String type = json.get("type").getAsString(); - - switch (type) { - case "update-to-default-rendition": - return new OneOfUpdateItemToDefaultRenditionOperation( - updateItemToDefaultRenditionOperationTypeAdapter.fromJsonTree(json) - ); - default: - throw new IOException("JSON deserializer not implemented for type " + type); - } - } -} diff --git a/src/main/java/com/vertexvis/model/serialization/OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedDataTypeAdapter.java b/src/main/java/com/vertexvis/model/serialization/OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedDataTypeAdapter.java deleted file mode 100644 index ed0e4d12..00000000 --- a/src/main/java/com/vertexvis/model/serialization/OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedDataTypeAdapter.java +++ /dev/null @@ -1,50 +0,0 @@ -package com.vertexvis.model.serialization; - -import com.google.gson.*; -import com.google.gson.reflect.TypeToken; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.vertexvis.model.*; - -import java.io.IOException; -import java.util.function.Supplier; - -public class OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedDataTypeAdapter extends TypeAdapter { - private Supplier gsonSupplier; - - public OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedDataTypeAdapter(Supplier gsonSupplier) { - this.gsonSupplier = gsonSupplier; - } - - @Override - public void write(JsonWriter out, OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedData value) throws IOException { - TypeAdapter jsonAdapter = gsonSupplier.get().getAdapter(JsonElement.class); - TypeAdapter sceneIncludedDataTypeAdapter = gsonSupplier.get().getAdapter(TypeToken.get(WebhookEventSceneIncludedData.class)); - TypeAdapter partRevisionIncludedDataTypeAdapter = gsonSupplier.get().getAdapter(TypeToken.get(WebhookEventPartRevisionIncludedData.class)); - - if (value.getData() instanceof WebhookEventSceneIncludedData) { - jsonAdapter.write(out, sceneIncludedDataTypeAdapter.toJsonTree(value.getSceneIncludedData())); - } else if (value.getData() instanceof WebhookEventPartRevisionIncludedData) { - jsonAdapter.write(out, partRevisionIncludedDataTypeAdapter.toJsonTree(value.getPartRevisionIncludedData())); - } - } - - @Override - public OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedData read(JsonReader in) throws IOException { - TypeAdapter jsonAdapter = gsonSupplier.get().getAdapter(JsonElement.class); - TypeAdapter sceneIncludedDataTypeAdapter = gsonSupplier.get().getAdapter(TypeToken.get(WebhookEventSceneIncludedData.class)); - TypeAdapter partRevisionIncludedDataTypeAdapter = gsonSupplier.get().getAdapter(TypeToken.get(WebhookEventPartRevisionIncludedData.class)); - - JsonObject json = jsonAdapter.read(in).getAsJsonObject(); - String type = json.get("type").getAsString(); - - switch (type) { - case "scene": - return new OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedData(sceneIncludedDataTypeAdapter.fromJsonTree(json)); - case "part-revision": - return new OneOfWebhookEventSceneIncludedDataWebhookEventPartRevisionIncludedData(partRevisionIncludedDataTypeAdapter.fromJsonTree(json)); - default: - throw new IOException("JSON deserializer not implemented for type " + type); - } - } -} \ No newline at end of file diff --git a/src/test/java/com/vertexvis/auth/RetryingOAuthTest.java b/src/test/java/com/vertexvis/auth/RetryingOAuthTest.java deleted file mode 100644 index 5f29f491..00000000 --- a/src/test/java/com/vertexvis/auth/RetryingOAuthTest.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.vertexvis.auth; - -import com.vertexvis.ApiClient; -import com.vertexvis.ApiException; -import com.vertexvis.api.PartRevisionsApi; -import okhttp3.Call; -import okhttp3.Request; -import okhttp3.mockwebserver.Dispatcher; -import okhttp3.mockwebserver.MockResponse; -import okhttp3.mockwebserver.MockWebServer; -import okhttp3.mockwebserver.RecordedRequest; -import org.jetbrains.annotations.NotNull; -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -import java.io.IOException; -import java.net.HttpURLConnection; -import java.util.HashMap; -import java.util.Objects; -import java.util.UUID; -import java.util.concurrent.atomic.AtomicInteger; - -public class RetryingOAuthTest { - final static int numThreads = 10; - private static void startServer(MockWebServer server) throws IOException { - server.setDispatcher(new Dispatcher() - { - static final AtomicInteger numCalls = new AtomicInteger(); - - @NotNull - @Override - public MockResponse dispatch(@NotNull RecordedRequest recordedRequest) throws InterruptedException { - Thread.sleep(200); - var token = numCalls.incrementAndGet() > (numThreads / 2) ? "1" : "0"; - if (Objects.equals(recordedRequest.getPath(), "/oauth2/token")) { - return new MockResponse().addHeader("Content-Type", "application/json").setBody("{\"access_token\": \"" + token + "\"}"); - } - if (!recordedRequest.getHeaders().get("Authorization").endsWith(token)) { - return new MockResponse().setResponseCode(HttpURLConnection.HTTP_UNAUTHORIZED).setBody("{\"error\": \"invalid_token\"}"); - } - return new MockResponse().setBody("{\"data\": {\"id\": \"" + UUID.randomUUID().toString() + "\"}}"); - } - }); - server.start(); - } - - @Test - public void multithreading() throws ApiException, IOException { - final AtomicInteger numFails = new AtomicInteger(); - try (var server = new MockWebServer()) { - startServer(server); - - final String baseUrl = server.url("/api").toString(); - var client = new ApiClient(baseUrl, "clientid", "clientsecret", new HashMap<>()); - var prs = new PartRevisionsApi(client); - Thread[] threads = new Thread[numThreads]; - for (var i = 0; i < numThreads; i++) { - threads[i] = new Thread(() -> { - try { - prs.deletePartRevision(UUID.randomUUID()); - } catch (Exception e) { - numFails.incrementAndGet(); - } - }); - threads[i].start(); - } - - for (var i = 0; i < numThreads; i++) { - threads[i].join(); - } - - Assertions.assertEquals(0, numFails.get()); - } - catch (InterruptedException e) { - throw new RuntimeException(e); - } - - } -} diff --git a/src/test/java/com/vertexvis/model/AnyOfCameraCameraFitTest.java b/src/test/java/com/vertexvis/model/AnyOfCameraCameraFitTest.java deleted file mode 100644 index d841c983..00000000 --- a/src/test/java/com/vertexvis/model/AnyOfCameraCameraFitTest.java +++ /dev/null @@ -1,38 +0,0 @@ -package com.vertexvis.model; - -import static com.vertexvis.model.CameraFit.TypeEnum.FIT_VISIBLE_SCENE_ITEMS; -import static org.junit.jupiter.api.Assertions.assertEquals; - - -import com.vertexvis.JSON; - -import java.math.BigDecimal; - -import org.junit.jupiter.api.Test; - -public class AnyOfCameraCameraFitTest { - @Test - void serializesCamera() { - AnyOfCameraCameraFit c = - new AnyOfCameraCameraFit(new OneOfPerspectiveCameraOrthographicCamera( - new PerspectiveCamera().lookAt( - new Vector3().x(new BigDecimal(2)).y(new BigDecimal(4)).z(new BigDecimal(6))) - )); - - String expected = "{\"lookAt\":{\"x\":2,\"y\":4,\"z\":6}}"; - - assertEquals(expected, new JSON().serialize(c)); - } - - @Test - void serializesCameraFit() { - AnyOfCameraCameraFit c = - new AnyOfCameraCameraFit(new CameraFit().type(FIT_VISIBLE_SCENE_ITEMS)); - - String expected = "{\"type\":\"fit-visible-scene-items\"}"; - - assertEquals(expected, new JSON().serialize(c)); - } -} - - diff --git a/src/test/java/com/vertexvis/model/AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOpTest.java b/src/test/java/com/vertexvis/model/AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOpTest.java deleted file mode 100644 index a1b94c14..00000000 --- a/src/test/java/com/vertexvis/model/AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOpTest.java +++ /dev/null @@ -1,104 +0,0 @@ -package com.vertexvis.model; - -import static org.junit.jupiter.api.Assertions.assertEquals; - - -import com.vertexvis.JSON; -import org.junit.jupiter.api.Test; - -public class AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOpTest { - - @Test - void serializesChangeVisibilityOperation() { - AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp - op - = - new AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp( - new ChangeVisibilityOp().type( - ChangeVisibilityOp.TypeEnum.CHANGE_VISIBILITY).visible(false)); - - String expected = "{\"type\":\"change-visibility\",\"visible\":false}"; - - assertEquals(expected, new JSON().serialize(op)); - } - - @Test - void serializesChangeMaterialOperation() { - AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp - op - = - new AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp( - new ChangeMaterialOp().type(ChangeMaterialOp.TypeEnum.CHANGE_MATERIAL) - .material(new ColorMaterial())); - - String expected = "{\"type\":\"change-material\",\"material\":{}}"; - - assertEquals(expected, new JSON().serialize(op)); - } - - @Test - void serializesClearMaterialOperation() { - AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp - op - = - new AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp( - new ClearMaterialOp().type(ClearMaterialOp.TypeEnum.CLEAR_MATERIAL)); - - String expected = "{\"type\":\"clear-material\"}"; - - assertEquals(expected, new JSON().serialize(op)); - } - - @Test - void serializesChangeTransformOperation() { - AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp - op - = - new AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp( - new ChangeTransformOp().type(ChangeTransformOp.TypeEnum.CHANGE_TRANSFORM) - .transform(new Matrix4())); - - String expected = "{\"type\":\"change-transform\",\"transform\":{}}"; - - assertEquals(expected, new JSON().serialize(op)); - } - - @Test - void serializesClearTransformOperation() { - AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp - op - = - new AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp( - new ClearTransformOp().type(ClearTransformOp.TypeEnum.CLEAR_TRANSFORM)); - - String expected = "{\"type\":\"clear-transform\"}"; - - assertEquals(expected, new JSON().serialize(op)); - } - - @Test - void serializesSelectOperation() { - AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp - op - = - new AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp( - new SelectOp().type(SelectOp.TypeEnum.SELECT)); - - String expected = "{\"type\":\"select\"}"; - - assertEquals(expected, new JSON().serialize(op)); - } - - @Test - void serializesDeselectOperation() { - AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp - op - = - new AnyOfChangeVisibilityOpChangeMaterialOpClearMaterialOpChangeTransformOpClearTransformOpSelectOpDeselectOperationClearRenOpViewDefaultRenOpViewRenByIdOpViewRenBySuppliedIdOpViewRepByIdOpViewRepByPredefinedIdOpClearRepOp( - new DeselectOperation().type(DeselectOperation.TypeEnum.DESELECT)); - - String expected = "{\"type\":\"deselect\"}"; - - assertEquals(expected, new JSON().serialize(op)); - } -} diff --git a/src/test/java/com/vertexvis/model/AnyOfCreateSceneItemRequestDataTest.java b/src/test/java/com/vertexvis/model/AnyOfCreateSceneItemRequestDataTest.java deleted file mode 100644 index 6e6c4f41..00000000 --- a/src/test/java/com/vertexvis/model/AnyOfCreateSceneItemRequestDataTest.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.vertexvis.model; - -import static org.junit.jupiter.api.Assertions.assertEquals; - - -import com.vertexvis.JSON; -import org.junit.jupiter.api.Test; - -public class AnyOfCreateSceneItemRequestDataTest { - - @Test - void serializesCreateSceneItemRequestData() { - AnyOfCreateSceneItemRequestData c = - new AnyOfCreateSceneItemRequestData(new CreateSceneItemRequestData().type("my-type") - .attributes(new CreateSceneItemRequestDataAttributes().name("my-name"))); - - String exp = "{\"type\":\"my-type\",\"attributes\":{\"name\":\"my-name\"}}"; - - assertEquals(exp, new JSON().serialize(c)); - } -} - - diff --git a/src/test/java/com/vertexvis/model/AnyOfFileRelationshipPartAssemblyRelationshipTest.java b/src/test/java/com/vertexvis/model/AnyOfFileRelationshipPartAssemblyRelationshipTest.java deleted file mode 100644 index bbfd317e..00000000 --- a/src/test/java/com/vertexvis/model/AnyOfFileRelationshipPartAssemblyRelationshipTest.java +++ /dev/null @@ -1,70 +0,0 @@ -package com.vertexvis.model; - -import com.google.gson.reflect.TypeToken; -import com.vertexvis.JSON; -import org.junit.jupiter.api.Test; - -import java.util.Collections; -import java.util.List; -import java.util.UUID; -import java.util.stream.Collectors; -import java.util.stream.IntStream; - -import static org.junit.jupiter.api.Assertions.assertEquals; - -public class AnyOfFileRelationshipPartAssemblyRelationshipTest { - private static List createPartRevisionInstances(List ids) { - int num = ids.size(); - return IntStream.range(0, num) - .mapToObj(ordinal -> new PartRevisionInstance(). - ordinal(ordinal) - .revisionId(ids.get(ordinal)) - .transform(new Matrix4())) - .collect(Collectors.toList()); - } - - @Test - void serializesAnyOfFileRelationshipPartAssemblyRelationships() { - UUID id = UUID.randomUUID(); - AnyOfFileRelationshipPartAssemblyRelationship rel = - new AnyOfFileRelationshipPartAssemblyRelationship( - new PartAssemblyRelationship() - .data(new PartAssemblyRelationshipData() - .metadata(Collections.emptyMap()) - .children(createPartRevisionInstances(Collections.singletonList(id))) - )); - - CreatePartRequestDataRelationships reqData = - new CreatePartRequestDataRelationships().source(rel); - CreatePartRequest request = new CreatePartRequest().data(new CreatePartRequestData().type("assembly") - .attributes(new CreatePartRequestDataAttributes().name("test").suppliedId("testid").suppliedRevisionId("testRevisionId").metadata(Collections.emptyMap())) - .relationships(reqData)); - - String expectedData = "{\"source\":{\"data\":{\"children\":[{\"ordinal\":0,\"revisionId\":\"" + id + "\",\"transform\":{}}],\"metadata\":{}}}}"; - String expectedRequest = "{\"data\":{\"type\":\"assembly\",\"attributes\":{\"suppliedId\":\"testid\",\"suppliedRevisionId\":\"testRevisionId\",\"metadata\":{},\"name\":\"test\"},\"relationships\":{\"source\":{\"data\":{\"children\":[{\"ordinal\":0,\"revisionId\":\"" + id + "\",\"transform\":{}}],\"metadata\":{}}}}}}"; - - assertEquals(expectedData, new JSON().serialize(reqData)); - assertEquals(expectedRequest, new JSON().serialize(request)); - } - - @Test - void deserializeAnyOfFileRelationshipPartAssemblyRelationships() { - UUID id = UUID.randomUUID(); - - String relationshipsPayload = "{\"source\":{\"data\":{\"children\":[{\"ordinal\":0,\"revisionId\":\"" + id + "\",\"transform\":{}}],\"metadata\":[]}}}"; - String requestWithAssemblyRelationshipPayload = //"{\"data\":{\"type\":\"assembly\",\"attributes\":{\"suppliedId\":\"my-assembly-9cc7f76a-c719-4985-a460-04e2ec085a55\",\"suppliedRevisionId\":\"my-part-rev-9cc7f76a-c719-4985-a460-04e2ec085a55\",\"name\":\"gbiv-assemblyee3e3aef-caa1-4739-aada-d11ac0392e38\"},\"relationships\":{\"source\":{\"data\":{\"children\":[{\"ordinal\":0,\"revisionId\":\"4b2bb5e2-c8fe-4307-9f09-638dbbbf4bb7\",\"transform\":{}},{\"ordinal\":1,\"revisionId\":\"d927b4e5-54a0-4fed-8867-36811cc822c0\",\"transform\":{}},{\"ordinal\":2,\"revisionId\":\"54714ba5-6ac7-4b0b-968a-daa5e63e986f\",\"transform\":{}}],\"metadata\":{}}}}}}"; - "{\"data\":{\"type\":\"assembly\",\"attributes\":{\"suppliedId\":\"testid\",\"suppliedRevisionId\":\"testRevisionId\",\"metadata\":{},\"name\":\"test\"},\"relationships\":{\"source\":{\"data\":{\"children\":[{\"ordinal\":0,\"revisionId\":\"" + id + "\",\"transform\":{}}],\"metadata\":{}}}}}}"; - - CreatePartRequestDataRelationships requestDataRelationships = new JSON() - .deserialize(relationshipsPayload, TypeToken.get(CreatePartRequestDataRelationships.class).getType()); - CreatePartRequest request = new JSON().deserialize(requestWithAssemblyRelationshipPayload, TypeToken.get(CreatePartRequest.class).getType()); - PartAssemblyRelationshipData expected = - new PartAssemblyRelationshipData() - .metadata(Collections.emptyMap()) - .children(createPartRevisionInstances(Collections.singletonList(id))); - - assertEquals(requestDataRelationships.getSource().getPartAssemblyRelationship().getData().getChildren().size(), 1); - assertEquals(requestDataRelationships.getSource().getPartAssemblyRelationship().getData(), expected); - assertEquals(request.getData().getRelationships().getSource().getPartAssemblyRelationship(), requestDataRelationships.getSource().getPartAssemblyRelationship()); - } -} diff --git a/src/test/java/com/vertexvis/model/AnyOfGeometrySetDataPartRevisionDataPartRenditionDataTest.java b/src/test/java/com/vertexvis/model/AnyOfGeometrySetDataPartRevisionDataPartRenditionDataTest.java deleted file mode 100644 index 855a8b1f..00000000 --- a/src/test/java/com/vertexvis/model/AnyOfGeometrySetDataPartRevisionDataPartRenditionDataTest.java +++ /dev/null @@ -1,66 +0,0 @@ -package com.vertexvis.model; - -import com.google.gson.reflect.TypeToken; -import com.vertexvis.JSON; -import org.junit.jupiter.api.Test; - -import java.util.UUID; - -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertFalse; -import static org.junit.jupiter.api.Assertions.assertNotNull; -import static org.junit.jupiter.api.Assertions.assertTrue; - - -public class AnyOfGeometrySetDataPartRevisionDataPartRenditionDataTest -{ - @Test - public void deserializesIncludedPartRevision() { - var s = "{\"data\":{\"type\":\"queued-translation-job\",\"id\":\"fcd6ab7e-a0d2-4803-bd60-ba0950ca42a3\",\"attributes\":{\"status\":\"complete\",\"created\":\"2024-12-05T14:36:42.079684Z\",\"completed\":\"2024-12-05T14:36:44.814141Z\"},\"relationships\":{\"partRevision\":{\"data\":{\"type\":\"part-revision\",\"id\":\"ca3b2213-a0ac-43fe-bd9b-9ac74f0c847f\"}}}},\"included\":[{\"type\":\"part-revision\",\"id\":\"ca3b2213-a0ac-43fe-bd9b-9ac74f0c847f\",\"attributes\":{\"created\":\"2024-12-05T14:36:44.794028Z\",\"suppliedId\":\"33000058/A-test28\",\"name\":\"33000058/A;1-spool\"},\"relationships\":{\"geometrySet\":{\"type\":\"geometry-set\",\"id\":\"2b4f26fa-ef4b-4c81-a688-b513be54f4bf\"},\"part\":{\"type\":\"part\",\"id\":\"bb7537e9-57d9-49db-aa43-feb974f5ec46\"},\"defaultPartRendition\":{\"data\":{\"type\":\"part-rendition\",\"id\":\"1580b1f2-8bca-472c-95c5-964938a45048\"}}}}]}"; - var j = new JSON(); - var d = (QueuedTranslationJob)j.deserialize(s, new TypeToken(){}.getType()); - - assertEquals(1, d.getIncluded().size()); - var i = d.getIncluded().get(0); - assertFalse(i.isPartRenditionData()); - assertTrue(i.isPartRevisionData()); - assertFalse(i.isGeometrySetData()); - var r = i.getPartRevisionData().getRelationships(); - assertNotNull(r.getGeometrySet()); - assertNotNull(r.getPart()); - assertNotNull(r.getDefaultPartRendition()); - assertEquals(UUID.fromString("bb7537e9-57d9-49db-aa43-feb974f5ec46"), r.getPart().getId()); - } - - @Test - public void deserializesIncludedPartRendition() { - var s = "{\"data\":{\"type\":\"queued-translation-job\",\"id\":\"17c24737-c4f7-4476-afe2-4b6aa99210d6\",\"attributes\":{\"status\":\"complete\",\"created\":\"2024-12-05T21:07:12.925485Z\",\"completed\":\"2024-12-05T21:07:15.707787Z\"},\"relationships\":{\"partRendition\":{\"data\":{\"type\":\"part-rendition\",\"id\":\"0977d14d-e9b5-4463-ba4b-5018b7ca0478\"}}}},\"included\":[{\"type\":\"part-rendition\",\"id\":\"0977d14d-e9b5-4463-ba4b-5018b7ca0478\",\"attributes\":{\"created\":\"2024-12-05T21:07:15.669542Z\",\"suppliedId\":\"block_re_1\",\"name\":\"block_re\"},\"relationships\":{\"geometrySet\":{\"type\":\"geometry-set\",\"id\":\"fe7657bf-0c27-4aef-a0a1-0ce749ea1c56\"},\"partRevision\":{\"data\":{\"type\":\"part-revision\",\"id\":\"8671279d-a28e-4ac1-b0cf-5a73d53ca646\"}}}}]}"; - var j = new JSON(); - var d = (QueuedTranslationJob)j.deserialize(s, new TypeToken(){}.getType()); - - assertEquals(1, d.getIncluded().size()); - var i = d.getIncluded().get(0); - assertTrue(i.isPartRenditionData()); - assertFalse(i.isPartRevisionData()); - assertFalse(i.isGeometrySetData()); - var r = i.getPartRenditionData().getRelationships(); - assertNotNull(r.getGeometrySet()); - assertNotNull(r.getPartRevision()); - assertEquals(UUID.fromString("8671279d-a28e-4ac1-b0cf-5a73d53ca646"), r.getPartRevision().getData().getId()); - } - - @Test - public void deserializedIncludedGeometrySet() { - var s = "{\"data\":{\"type\":\"queued-translation-job\",\"id\":\"a60bd7eb-b0be-4d2b-b16a-9e15fc71cb4c\",\"attributes\":{\"status\":\"complete\",\"created\":\"2024-12-05T21:14:17.790431Z\",\"completed\":\"2024-12-05T21:14:20.863382Z\"},\"relationships\":{\"geometrySet\":{\"data\":{\"type\":\"geometry-set\",\"id\":\"df9a193c-d518-46b7-8a20-f4e204c51b3b\"}}}},\"included\":[{\"type\":\"geometry-set\",\"id\":\"df9a193c-d518-46b7-8a20-f4e204c51b3b\",\"attributes\":{\"created\":\"2024-12-05T21:14:20.573297Z\"}}]}"; - var j = new JSON(); - var d = (QueuedTranslationJob)j.deserialize(s, new TypeToken(){}.getType()); - - assertEquals(1, d.getIncluded().size()); - var i = d.getIncluded().get(0); - assertFalse(i.isPartRenditionData()); - assertFalse(i.isPartRevisionData()); - assertTrue(i.isGeometrySetData()); - var r = i.getGeometrySetData(); - assertEquals(UUID.fromString("df9a193c-d518-46b7-8a20-f4e204c51b3b"), r.getId()); - } -} diff --git a/src/test/java/com/vertexvis/model/AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationshipTypeAdapterTest.java b/src/test/java/com/vertexvis/model/AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationshipTypeAdapterTest.java deleted file mode 100644 index 2c87449b..00000000 --- a/src/test/java/com/vertexvis/model/AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationshipTypeAdapterTest.java +++ /dev/null @@ -1,130 +0,0 @@ -package com.vertexvis.model; - -import static org.junit.jupiter.api.Assertions.assertEquals; - - -import com.google.gson.reflect.TypeToken; -import com.vertexvis.JSON; - -import java.util.UUID; - -import org.junit.jupiter.api.Test; - -public class AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationshipTypeAdapterTest { - - @Test - void serializesGeometrySetRelationships() { - UUID id = UUID.randomUUID(); - - AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship rel = - new AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship( - new GeometrySetRelationship() - .data(new GeometrySetRelationshipData().id(id) - .type(GeometrySetRelationshipData.TypeEnum.GEOMETRY_SET))); - - CreateSceneItemRequestData reqData = new CreateSceneItemRequestData() - .relationships(new CreateSceneItemRequestDataRelationships().source(rel)); - - String expected = - "{\"relationships\":{\"source\":{\"data\":{\"type\":\"geometry-set\",\"id\":\"" + id + - "\"}}}}"; - - assertEquals(expected, new JSON().serialize(reqData)); - } - - @Test - void deserializeGeometrySetRelationships() { - UUID id = UUID.randomUUID(); - - String input = - "{\"relationships\":{\"source\":{\"data\":{\"type\":\"geometry-set\",\"id\":\"" + id + - "\"}}}}"; - - CreateSceneItemRequestData result = - new JSON().deserialize(input, TypeToken.get(CreateSceneItemRequestData.class).getType()); - GeometrySetRelationship expected = - new GeometrySetRelationship() - .data(new GeometrySetRelationshipData().id(id) - .type(GeometrySetRelationshipData.TypeEnum.GEOMETRY_SET)); - - assertEquals(result.getRelationships().getSource().getRel(), expected); - assertEquals(result.getRelationships().getSource().getGeometrySetRel(), expected); - } - - @Test - void serializesPartRevisionRelationships() { - UUID id = UUID.randomUUID(); - - AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship rel = - new AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship( - new PartRevisionRelationship() - .data(new PartDataRelationshipsPartRevisions().id(id) - .type(PartDataRelationshipsPartRevisions.TypeEnum.PART_REVISION))); - - CreateSceneItemRequestData reqData = new CreateSceneItemRequestData() - .relationships(new CreateSceneItemRequestDataRelationships().source(rel)); - - String expected = - "{\"relationships\":{\"source\":{\"data\":{\"type\":\"part-revision\",\"id\":\"" + id + - "\"}}}}"; - - assertEquals(expected, new JSON().serialize(reqData)); - } - - @Test - void deserializePartRevisionRelationships() { - UUID id = UUID.randomUUID(); - - String input = - "{\"relationships\":{\"source\":{\"data\":{\"type\":\"part-revision\",\"id\":\"" + id + - "\"}}}}"; - - CreateSceneItemRequestData result = - new JSON().deserialize(input, TypeToken.get(CreateSceneItemRequestData.class).getType()); - PartRevisionRelationship expected = - new PartRevisionRelationship() - .data(new PartDataRelationshipsPartRevisions().id(id) - .type(PartDataRelationshipsPartRevisions.TypeEnum.PART_REVISION)); - - assertEquals(result.getRelationships().getSource().getRel(), expected); - assertEquals(result.getRelationships().getSource().getPartRevisionRel(), expected); - } - - @Test - void serializesSceneRelationships() { - UUID id = UUID.randomUUID(); - - AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship rel = - new AnyOfGeometrySetRelationshipPartRevisionRelationshipSceneRelationshipPartRenditionRelationship( - new SceneRelationship() - .data( - new SceneRelationshipData().id(id).type(SceneRelationshipData.TypeEnum.SCENE))); - - CreateSceneItemRequestData reqData = new CreateSceneItemRequestData() - .relationships(new CreateSceneItemRequestDataRelationships().source(rel)); - - String expected = - "{\"relationships\":{\"source\":{\"data\":{\"type\":\"scene\",\"id\":\"" + id + "\"}}}}"; - - assertEquals(expected, new JSON().serialize(reqData)); - } - - @Test - void deserializeSceneRelationships() { - UUID id = UUID.randomUUID(); - - String input = - "{\"relationships\":{\"source\":{\"data\":{\"type\":\"scene\",\"id\":\"" + id + "\"}}}}"; - - CreateSceneItemRequestData result = - new JSON().deserialize(input, TypeToken.get(CreateSceneItemRequestData.class).getType()); - SceneRelationship expected = - new SceneRelationship() - .data(new SceneRelationshipData().id(id).type(SceneRelationshipData.TypeEnum.SCENE)); - - assertEquals(result.getRelationships().getSource().getRel(), expected); - assertEquals(result.getRelationships().getSource().getSceneRel(), expected); - } -} - - diff --git a/src/test/java/com/vertexvis/model/AnyOfGeometrySetRelationshipPartRevisionRelationshipTest.java b/src/test/java/com/vertexvis/model/AnyOfGeometrySetRelationshipPartRevisionRelationshipTest.java deleted file mode 100644 index 14023137..00000000 --- a/src/test/java/com/vertexvis/model/AnyOfGeometrySetRelationshipPartRevisionRelationshipTest.java +++ /dev/null @@ -1,82 +0,0 @@ -package com.vertexvis.model; - -import static org.junit.jupiter.api.Assertions.assertEquals; - - -import com.google.gson.reflect.TypeToken; -import com.vertexvis.JSON; - -import java.util.UUID; - -import org.junit.jupiter.api.Test; - -public class AnyOfGeometrySetRelationshipPartRevisionRelationshipTest { - @Test - void serializesGeometrySetRelationships() { - UUID id = UUID.randomUUID(); - AnyOfGeometrySetRelationshipPartRevisionRelationship rel = - new AnyOfGeometrySetRelationshipPartRevisionRelationship( - new GeometrySetRelationship() - .data(new GeometrySetRelationshipData().id(id) - .type(GeometrySetRelationshipData.TypeEnum.GEOMETRY_SET))); - - UpdateSceneItemRequestDataRelationships reqData = - new UpdateSceneItemRequestDataRelationships().source(rel); - - String expected = "{\"source\":{\"data\":{\"type\":\"geometry-set\",\"id\":\"" + id + "\"}}}"; - - assertEquals(expected, new JSON().serialize(reqData)); - } - - @Test - void deserializeGeometrySetRelationships() { - UUID id = UUID.randomUUID(); - - String input = "{\"source\":{\"data\":{\"type\":\"geometry-set\",\"id\":\"" + id + "\"}}}"; - - UpdateSceneItemRequestDataRelationships result = new JSON() - .deserialize(input, TypeToken.get(UpdateSceneItemRequestDataRelationships.class).getType()); - GeometrySetRelationship expected = - new GeometrySetRelationship() - .data(new GeometrySetRelationshipData().id(id) - .type(GeometrySetRelationshipData.TypeEnum.GEOMETRY_SET)); - - assertEquals(result.getSource().getRel(), expected); - assertEquals(result.getSource().getGeometrySetRel(), expected); - } - - @Test - void serializesPartRevisionRelationships() { - UUID id = UUID.randomUUID(); - - AnyOfGeometrySetRelationshipPartRevisionRelationship rel = - new AnyOfGeometrySetRelationshipPartRevisionRelationship( - new PartRevisionRelationship() - .data(new PartDataRelationshipsPartRevisions().id(id) - .type(PartDataRelationshipsPartRevisions.TypeEnum.PART_REVISION))); - - UpdateSceneItemRequestDataRelationships reqData = - new UpdateSceneItemRequestDataRelationships().source(rel); - - String expected = "{\"source\":{\"data\":{\"type\":\"part-revision\",\"id\":\"" + id + "\"}}}"; - - assertEquals(expected, new JSON().serialize(reqData)); - } - - @Test - void deserializePartRevisionRelationships() { - UUID id = UUID.randomUUID(); - - String input = "{\"source\":{\"data\":{\"type\":\"part-revision\",\"id\":\"" + id + "\"}}}"; - - UpdateSceneItemRequestDataRelationships result = new JSON() - .deserialize(input, TypeToken.get(UpdateSceneItemRequestDataRelationships.class).getType()); - PartRevisionRelationship expected = - new PartRevisionRelationship() - .data(new PartDataRelationshipsPartRevisions().id(id) - .type(PartDataRelationshipsPartRevisions.TypeEnum.PART_REVISION)); - - assertEquals(result.getSource().getRel(), expected); - assertEquals(result.getSource().getPartRevisionRel(), expected); - } -} diff --git a/src/test/java/com/vertexvis/model/AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullTypeTest.java b/src/test/java/com/vertexvis/model/AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullTypeTest.java deleted file mode 100644 index 2774d6e8..00000000 --- a/src/test/java/com/vertexvis/model/AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullTypeTest.java +++ /dev/null @@ -1,170 +0,0 @@ -package com.vertexvis.model; - -import com.vertexvis.JSON; -import org.junit.jupiter.api.Test; - -import java.time.OffsetDateTime; -import java.time.ZoneOffset; -import java.util.Objects; - -import static org.junit.jupiter.api.Assertions.*; - -class AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullTypeTest { - - @Test - void serializeMetadataFloatType() { - var md = - new AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( - new MetadataFloatType().type("float").value(123.456f)); - - String expected = "{\"type\":\"float\",\"value\":123.456}"; - String observed = new JSON().serialize(md); - assertEquals(expected, observed); - } - - @Test - void deserializeMetadataFloatType() { - String json = "{\"type\":\"float\",\"value\":123.456}"; - var out = deserializeAnyOf(json); - - assertTrue( - out instanceof AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType); - var anyOf = - (AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType) out; - assertTrue(anyOf.isMetadataFloatType()); - assertEquals(123.456f, Objects.requireNonNull(anyOf.getMetadataFloatType()).getValue()); - assertEquals("float", - Objects.requireNonNull(anyOf.getMetadataFloatType()).getType()); - } - - @Test - void serializeMetadataLongType() { - var md = - new AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( - new MetadataLongType().type("long").value(1234567890L)); - - String expected = "{\"type\":\"long\",\"value\":1234567890}"; - String observed = new JSON().serialize(md); - assertEquals(expected, observed); - } - - @Test - void deserializeMetadataLongType() { - String json = "{\"type\":\"long\",\"value\":1234567890}"; - var out = deserializeAnyOf(json); - - assertTrue( - out instanceof AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType); - var anyOf = - (AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType) out; - assertTrue(anyOf.isMetadataLongType()); - assertEquals(1234567890, Objects.requireNonNull(anyOf.getMetadataLongType()).getValue()); - assertEquals("long", - Objects.requireNonNull(anyOf.getMetadataLongType()).getType()); - } - - @Test - void serializeMetadataDateType() { - var expectedDate = OffsetDateTime.of(2023, 1, 2, 3, 4, 5, 6, ZoneOffset.ofHours(7)); - var md = - new AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( - new MetadataDateType().type("date").value(expectedDate)); - - String expected = "{\"type\":\"date\",\"value\":\"2023-01-02T03:04:05.000000006+07:00\"}"; - String observed = new JSON().serialize(md); - assertEquals(expected, observed); - } - - @Test - void deserializeMetadataDateType() { - String json = "{\"type\":\"date\",\"value\":\"2023-01-02T03:04:05.000000006+07:00\"}"; - var expectedDate = OffsetDateTime.of(2023, 1, 2, 3, 4, 5, 6, ZoneOffset.ofHours(7)); - var out = deserializeAnyOf(json); - - assertTrue( - out instanceof AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType); - var anyOf = - (AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType) out; - assertTrue(anyOf.isMetadataDateType()); - assertEquals(expectedDate, Objects.requireNonNull(anyOf.getMetadataDateType()).getValue()); - assertEquals("date", - Objects.requireNonNull(anyOf.getMetadataDateType()).getType()); - } - - @Test - void serializeMetadataStringType() { - var md = - new AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( - new MetadataStringType().type("string").value("Hello world")); - - String expected = "{\"type\":\"string\",\"value\":\"Hello world\"}"; - String observed = new JSON().serialize(md); - assertEquals(expected, observed); - } - - @Test - void deserializeMetadataStringType() { - String json = "{\"type\":\"string\",\"value\":\"Hello world\"}"; - var out = deserializeAnyOf(json); - - assertTrue( - out instanceof AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType); - var anyOf = - (AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType) out; - assertTrue(anyOf.isMetadataStringType()); - assertEquals("Hello world", - Objects.requireNonNull(anyOf.getMetadataStringType()).getValue()); - assertEquals("string", - Objects.requireNonNull(anyOf.getMetadataStringType()).getType()); - } - - @Test - void serializeMetadataNullType() { - var md = - new AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( - new MetadataNullType().type("null")); - - String expected = "{\"type\":\"null\"}"; - String observed = new JSON().serialize(md); - assertEquals(expected, observed); - } - - @Test - void deserializeMetadataNullType() { - String json = "{\"type\":\"null\"}"; - var out = deserializeAnyOf(json); - - assertTrue( - out instanceof AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType); - var anyOf = - (AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType) out; - assertTrue(anyOf.isMetadataNullType()); - } - - @Test - void deserializeFails() { - String json = "{\"type\":\"long\",\"value\":1234.567890}"; - assertThrows(UnsupportedOperationException.class, () -> deserializeAnyOf(json)); - String json2 = "{\"type\":\"date\",\"value\":1234.567890}"; - assertThrows(UnsupportedOperationException.class, () -> deserializeAnyOf(json2)); - String json3 = "{\"type\":\"null\",\"value\":1234.567890}"; - assertThrows(UnsupportedOperationException.class, () -> deserializeAnyOf(json3)); - } - - @Test - void serializeUpdateSceneItemRequestDataAttributes() { - var md = - new AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType( - new MetadataStringType().type("string").value("Hello world")); - var map = new UpdateSceneItemRequestDataAttributes().putMetadataItem("key", md); - String observed = new JSON().serialize(map); - String expected = "{\"metadata\":{\"key\":{\"type\":\"string\",\"value\":\"Hello world\"}}}"; - assertEquals(expected, observed); - } - - - private static Object deserializeAnyOf(String json) { - return new JSON().deserialize(json, - AnyOfMetadataLongTypeMetadataFloatTypeMetadataDateTypeMetadataStringTypeMetadataNullType.class); - } -} \ No newline at end of file diff --git a/src/test/java/com/vertexvis/model/AnyOfPerspectiveCameraOrthographicCameraTest.java b/src/test/java/com/vertexvis/model/AnyOfPerspectiveCameraOrthographicCameraTest.java deleted file mode 100644 index 5dfe4d17..00000000 --- a/src/test/java/com/vertexvis/model/AnyOfPerspectiveCameraOrthographicCameraTest.java +++ /dev/null @@ -1,53 +0,0 @@ -package com.vertexvis.model; - -import com.vertexvis.JSON; - -import java.math.BigDecimal; - -import static org.junit.jupiter.api.Assertions.assertEquals; - -import org.junit.jupiter.api.Test; - -public class AnyOfPerspectiveCameraOrthographicCameraTest { - - @Test - void testSerializeSceneRequestWithCamera() { - CreateSceneRequest request = new CreateSceneRequest(); - - Orientation worldOrientation = new Orientation(); - Vector3 up = new Vector3().x(BigDecimal.valueOf(1)).y(BigDecimal.valueOf(0)).z(BigDecimal.valueOf(0)); - Vector3 front = new Vector3().x(BigDecimal.valueOf(2)).y(BigDecimal.valueOf(1)).z(BigDecimal.valueOf(0)); - worldOrientation.setUp(up); - worldOrientation.setFront(front); - - CreateSceneRequestData data = new CreateSceneRequestData(); - CreateSceneRequestDataAttributes attributes = new CreateSceneRequestDataAttributes(); - attributes.setTreeEnabled(true); - attributes.setName("My name"); - attributes.setWorldOrientation(worldOrientation); - data = data.attributes(attributes); - - data.setType("scene"); - request = request.data(data); - - - String expected = "{\"data\":{\"type\":\"scene\",\"attributes\":{\"name\":\"My name\",\"treeEnabled\":true,\"worldOrientation\":{\"up\":{\"x\":1,\"y\":0,\"z\":0},\"front\":{\"x\":2,\"y\":1,\"z\":0}}}}}"; - assertEquals(expected, new JSON().serialize(request)); - } - - @Test - void testingUpdateSceneRequestShouldAllowNotSpecifyingTheCamera() { - String name = "Updated Name"; - - UpdateSceneRequest request = new UpdateSceneRequest().data(new UpdateSceneRequestData() - .type("scene") - .attributes( - new UpdateSceneRequestDataAttributes() - .name(name) - ) - ); - - String expected = String.format("{\"data\":{\"type\":\"scene\",\"attributes\":{\"name\":\"%s\"}}}", name); - assertEquals(expected, new JSON().serialize(request)); - } -} diff --git a/src/test/java/com/vertexvis/model/AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationshipTest.java b/src/test/java/com/vertexvis/model/AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationshipTest.java deleted file mode 100644 index d91dbf41..00000000 --- a/src/test/java/com/vertexvis/model/AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationshipTest.java +++ /dev/null @@ -1,146 +0,0 @@ -package com.vertexvis.model; - -import com.google.gson.reflect.TypeToken; -import com.vertexvis.JSON; -import org.junit.jupiter.api.Test; - -import java.util.UUID; - -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertTrue; -import static org.junit.jupiter.api.Assertions.assertNotNull; - -public class AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationshipTest { - private final UUID id= UUID.randomUUID(); - - @Test - void deserializePropertySetRelationship() { - String input = "{\"psRel\":{\"data\":{\"type\":\"property-set\",\"id\":\"" + id.toString() + "\"}}}"; - AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship anyOf = new JSON().deserialize(input, TypeToken.get(AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship.class).getType()); - - assertTrue(anyOf.isPropertySetRel()); - PropertySetRelationship relationship= anyOf.getPropertySetRel(); - assertNotNull(relationship); - PropertySetRelationshipData data= relationship.getData(); - assertNotNull(data); - - assertEquals(data.getType(), PropertySetRelationshipData.TypeEnum.PROPERTY_SET); - assertEquals(data.getId(), id); - } - - @Test - void serializePropertySetRelationship() { - PropertySetRelationship relationship = new PropertySetRelationship(); - - PropertySetRelationshipData data= new PropertySetRelationshipData(); - data.setType(PropertySetRelationshipData.TypeEnum.PROPERTY_SET); - data.setId(id); - - relationship.setData(data); - - AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship anyOf = - new AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship(relationship); - - String expected = "{\"psRel\":{\"data\":{\"type\":\"property-set\",\"id\":\"" + id.toString() + "\"}}}"; - - assertEquals(expected, new JSON().serialize(anyOf)); - } - - @Test - void deserializePartRevisionRelationship() { - String input = "{\"prRel\":{\"data\":{\"type\":\"part-revision\",\"id\":\"" + id.toString() + "\"}}}"; - AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship anyOf = new JSON().deserialize(input, TypeToken.get(AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship.class).getType()); - - assertTrue(anyOf.isPartRevisionRel()); - PartRevisionRelationship relationship= anyOf.getPartRevisionRel(); - assertNotNull(relationship); - PartDataRelationshipsPartRevisions data= relationship.getData(); - assertNotNull(data); - - assertEquals(data.getType(), PartDataRelationshipsPartRevisions.TypeEnum.PART_REVISION); - assertEquals(data.getId(), id); - } - - @Test - void serializePartRevisionRelationship() { - PartRevisionRelationship relationship = new PartRevisionRelationship(); - - PartDataRelationshipsPartRevisions data= new PartDataRelationshipsPartRevisions(); - data.setType(PartDataRelationshipsPartRevisions.TypeEnum.PART_REVISION); - data.setId(id); - - relationship.setData(data); - - AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship anyOf = - new AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship(relationship); - - String expected = "{\"prRel\":{\"data\":{\"type\":\"part-revision\",\"id\":\"" + id.toString() + "\"}}}"; - - assertEquals(expected, new JSON().serialize(anyOf)); - } - - @Test - void deserializeSceneItemRelationship() { - String input = "{\"siRel\":{\"data\":{\"type\":\"scene-item\",\"id\":\"" + id.toString() + "\"}}}"; - AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship anyOf = new JSON().deserialize(input, TypeToken.get(AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship.class).getType()); - - assertTrue(anyOf.isSceneItemRel()); - SceneItemRelationship relationship= anyOf.getSceneItemRel(); - assertNotNull(relationship); - SceneItemRelationshipData data= relationship.getData(); - assertNotNull(data); - - assertEquals(data.getType(), SceneItemRelationshipData.TypeEnum.SCENE_ITEM); - assertEquals(data.getId(), id); - } - - @Test - void serializeSceneItemRelationship() { - SceneItemRelationship relationship = new SceneItemRelationship(); - - SceneItemRelationshipData data= new SceneItemRelationshipData(); - data.setType(SceneItemRelationshipData.TypeEnum.SCENE_ITEM); - data.setId(id); - - relationship.setData(data); - - AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship anyOf = - new AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship(relationship); - - String expected = "{\"siRel\":{\"data\":{\"type\":\"scene-item\",\"id\":\"" + id.toString() + "\"}}}"; - - assertEquals(expected, new JSON().serialize(anyOf)); - } - - @Test - void deserializePartInstanceRelationship() { - String input = "{\"piRel\":{\"data\":{\"type\":\"part-instance\",\"id\":\"" + id.toString() + "\"}}}"; - AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship anyOf = new JSON().deserialize(input, TypeToken.get(AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship.class).getType()); - - assertTrue(anyOf.isPartInstanceRel()); - PartInstanceRelationship relationship= anyOf.getPartInstanceRel(); - assertNotNull(relationship); - PartInstanceRelationshipData data= relationship.getData(); - assertNotNull(data); - - assertEquals(data.getType(), PartInstanceRelationshipData.TypeEnum.PART_INSTANCE); - assertEquals(data.getId(), id); } - - @Test - void serializePartInstanceRelationship() { - PartInstanceRelationship relationship = new PartInstanceRelationship(); - - PartInstanceRelationshipData data= new PartInstanceRelationshipData(); - data.setType(PartInstanceRelationshipData.TypeEnum.PART_INSTANCE); - data.setId(id); - - relationship.setData(data); - - AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship anyOf = - new AnyOfPropertySetRelationshipPartRevisionRelationshipSceneItemRelationshipPartInstanceRelationship(relationship); - - String expected = "{\"piRel\":{\"data\":{\"type\":\"part-instance\",\"id\":\"" + id.toString() + "\"}}}"; - - assertEquals(expected, new JSON().serialize(anyOf)); - } -} diff --git a/src/test/java/com/vertexvis/model/AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeTest.java b/src/test/java/com/vertexvis/model/AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeTest.java deleted file mode 100644 index af8d3212..00000000 --- a/src/test/java/com/vertexvis/model/AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeTest.java +++ /dev/null @@ -1,124 +0,0 @@ -package com.vertexvis.model; - -import com.google.gson.reflect.TypeToken; -import com.vertexvis.JSON; -import org.junit.jupiter.api.Test; - -import java.time.OffsetDateTime; - -import static org.junit.jupiter.api.Assertions.*; - -public class AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeTest { - - @Test - void deserializePropertyStringType() { - String input = "{\"stringType\":{\"type\":\"string\",\"value\":\"some-value\"}}"; - AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType anyOf= - new JSON().deserialize(input, TypeToken.get(AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType.class).getType()); - - assertTrue(anyOf.isPropertyStringType()); - PropertyStringType property= anyOf.getPropertyStringType(); - assertNotNull(property); - assertEquals(property.getType(), PropertyStringType.TypeEnum.STRING); - assertEquals(property.getValue(), "some-value"); - } - - @Test - void serializePropertyStringType() { - PropertyStringType property = new PropertyStringType(); - - property.setType(PropertyStringType.TypeEnum.STRING); - property.setValue("some-value"); - - AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType anyOf = - new AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType(property); - - String expected = "{\"stringType\":{\"type\":\"string\",\"value\":\"some-value\"}}"; - assertEquals(expected, new JSON().serialize(anyOf)); - } - - @Test - void deserializePropertyDoubleType() { - String input = "{\"doubleType\":{\"type\":\"double\",\"value\":1234.5678}}"; - AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType anyOf= - new JSON().deserialize(input, TypeToken.get(AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType.class).getType()); - - assertTrue(anyOf.isPropertyDoubleType()); - PropertyDoubleType property= anyOf.getPropertyDoubleType(); - assertNotNull(property); - assertEquals(property.getType(), PropertyDoubleType.TypeEnum.DOUBLE); - assertEquals(property.getValue(), 1234.5678); - } - - @Test - void serializePropertyDoubleType() { - PropertyDoubleType property = new PropertyDoubleType(); - - property.setType(PropertyDoubleType.TypeEnum.DOUBLE); - property.setValue(1234.5678); - - AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType anyOf = - new AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType(property); - - String expected = "{\"doubleType\":{\"type\":\"double\",\"value\":1234.5678}}"; - - assertEquals(expected, new JSON().serialize(anyOf)); - } - - @Test - void deserializePropertyLongType() { - String input = "{\"longType\":{\"type\":\"long\",\"value\":1234}}"; - AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType anyOf= - new JSON().deserialize(input, TypeToken.get(AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType.class).getType()); - - assertTrue(anyOf.isPropertyLongType()); - PropertyLongType property= anyOf.getPropertyLongType(); - assertNotNull(property); - assertEquals(property.getType(), PropertyLongType.TypeEnum.LONG); - assertEquals(property.getValue(), 1234L); - } - - @Test - void serializePropertyLongType() { - PropertyLongType property = new PropertyLongType(); - - property.setType(PropertyLongType.TypeEnum.LONG); - property.setValue(1234L); - - AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType anyOf = - new AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType(property); - - String expected = "{\"longType\":{\"type\":\"long\",\"value\":1234}}"; - - assertEquals(expected, new JSON().serialize(anyOf)); - } - - @Test - void deserializePropertyDateType() { - String input = "{\"dateType\":{\"type\":\"date\",\"value\":\"2025-02-13T11:45:10.123-05:00\"}}"; - AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType anyOf= - new JSON().deserialize(input, TypeToken.get(AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType.class).getType()); - - assertTrue(anyOf.isPropertyDateType()); - PropertyDateType property= anyOf.getPropertyDateType(); - assertNotNull(property); - assertEquals(property.getType(), PropertyDateType.TypeEnum.DATE); - assertEquals(property.getValue(), OffsetDateTime.parse("2025-02-13T11:45:10.123-05:00")); - } - - @Test - void serializePropertyDateType() { - PropertyDateType property = new PropertyDateType(); - - property.setType(PropertyDateType.TypeEnum.DATE); - String date= OffsetDateTime.now().toString(); - property.setValue(OffsetDateTime.parse("2025-02-13T11:45:10.123-05:00")); - - AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType anyOf = - new AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateType(property); - - String expected = "{\"dateType\":{\"type\":\"date\",\"value\":\"2025-02-13T11:45:10.123-05:00\"}}"; - - assertEquals(expected, new JSON().serialize(anyOf)); - } -} diff --git a/src/test/java/com/vertexvis/model/AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobjectTest.java b/src/test/java/com/vertexvis/model/AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobjectTest.java deleted file mode 100644 index 686b628e..00000000 --- a/src/test/java/com/vertexvis/model/AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobjectTest.java +++ /dev/null @@ -1,124 +0,0 @@ -package com.vertexvis.model; - -import com.google.gson.reflect.TypeToken; -import com.vertexvis.JSON; -import org.junit.jupiter.api.Test; - -import java.time.OffsetDateTime; - -import static org.junit.jupiter.api.Assertions.*; - -public class AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobjectTest { - - @Test - void deserializePropertyStringType() { - String input = "{\"stringType\":{\"type\":\"string\",\"value\":\"some-value\"}}"; - AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject anyOf= - new JSON().deserialize(input, TypeToken.get(AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject.class).getType()); - - assertTrue(anyOf.isPropertyStringType()); - PropertyStringType property= anyOf.getPropertyStringType(); - assertNotNull(property); - assertEquals(property.getType(), PropertyStringType.TypeEnum.STRING); - assertEquals(property.getValue(), "some-value"); - } - - @Test - void serializePropertyStringType() { - PropertyStringType property = new PropertyStringType(); - - property.setType(PropertyStringType.TypeEnum.STRING); - property.setValue("some-value"); - - AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject anyOf = - new AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject(property); - - String expected = "{\"stringType\":{\"type\":\"string\",\"value\":\"some-value\"}}"; - assertEquals(expected, new JSON().serialize(anyOf)); - } - - @Test - void deserializePropertyDoubleType() { - String input = "{\"doubleType\":{\"type\":\"double\",\"value\":1234.5678}}"; - AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject anyOf= - new JSON().deserialize(input, TypeToken.get(AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject.class).getType()); - - assertTrue(anyOf.isPropertyDoubleType()); - PropertyDoubleType property= anyOf.getPropertyDoubleType(); - assertNotNull(property); - assertEquals(property.getType(), PropertyDoubleType.TypeEnum.DOUBLE); - assertEquals(property.getValue(), 1234.5678); - } - - @Test - void serializePropertyDoubleType() { - PropertyDoubleType property = new PropertyDoubleType(); - - property.setType(PropertyDoubleType.TypeEnum.DOUBLE); - property.setValue(1234.5678); - - AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject anyOf = - new AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject(property); - - String expected = "{\"doubleType\":{\"type\":\"double\",\"value\":1234.5678}}"; - - assertEquals(expected, new JSON().serialize(anyOf)); - } - - @Test - void deserializePropertyLongType() { - String input = "{\"longType\":{\"type\":\"long\",\"value\":1234}}"; - AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject anyOf= - new JSON().deserialize(input, TypeToken.get(AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject.class).getType()); - - assertTrue(anyOf.isPropertyLongType()); - PropertyLongType property= anyOf.getPropertyLongType(); - assertNotNull(property); - assertEquals(property.getType(), PropertyLongType.TypeEnum.LONG); - assertEquals(property.getValue(), 1234L); - } - - @Test - void serializePropertyLongType() { - PropertyLongType property = new PropertyLongType(); - - property.setType(PropertyLongType.TypeEnum.LONG); - property.setValue(1234L); - - AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject anyOf = - new AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject(property); - - String expected = "{\"longType\":{\"type\":\"long\",\"value\":1234}}"; - - assertEquals(expected, new JSON().serialize(anyOf)); - } - - @Test - void deserializePropertyDateType() { - String input = "{\"dateType\":{\"type\":\"date\",\"value\":\"2025-02-13T11:45:10.123-05:00\"}}"; - AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject anyOf= - new JSON().deserialize(input, TypeToken.get(AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject.class).getType()); - - assertTrue(anyOf.isPropertyDateType()); - PropertyDateType property= anyOf.getPropertyDateType(); - assertNotNull(property); - assertEquals(property.getType(), PropertyDateType.TypeEnum.DATE); - assertEquals(property.getValue(), OffsetDateTime.parse("2025-02-13T11:45:10.123-05:00")); - } - - @Test - void serializePropertyDateType() { - PropertyDateType property = new PropertyDateType(); - - property.setType(PropertyDateType.TypeEnum.DATE); - String date= OffsetDateTime.now().toString(); - property.setValue(OffsetDateTime.parse("2025-02-13T11:45:10.123-05:00")); - - AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject anyOf = - new AnyOfPropertyStringTypePropertyDoubleTypePropertyLongTypePropertyDateTypeobject(property); - - String expected = "{\"dateType\":{\"type\":\"date\",\"value\":\"2025-02-13T11:45:10.123-05:00\"}}"; - - assertEquals(expected, new JSON().serialize(anyOf)); - } -} diff --git a/src/test/java/com/vertexvis/model/AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadataTest.java b/src/test/java/com/vertexvis/model/AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadataTest.java deleted file mode 100644 index 4243837b..00000000 --- a/src/test/java/com/vertexvis/model/AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadataTest.java +++ /dev/null @@ -1,91 +0,0 @@ -package com.vertexvis.model; - -import static org.junit.jupiter.api.Assertions.assertEquals; - - -import com.vertexvis.JSON; - -import java.util.List; -import java.util.UUID; - -import org.junit.jupiter.api.Test; - -public class AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadataTest { - - @Test - void serializesQueryById() { - UUID id = UUID.randomUUID(); - - AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata q = - new AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata(new QueryById().data( - new QueryByIdData().type(QueryByIdData.TypeEnum.QUERY_BY_ID).attributes( - new QueryByIdDataAttributes().type(QueryByIdDataAttributes.TypeEnum.ID) - .value(id.toString())))); - - SceneOperation op = new SceneOperation().query(q); - String expected = - "{\"query\":{\"data\":{\"type\":\"query-by-id\",\"attributes\":{\"type\":\"id\",\"value\":\"" + - id + "\"}}},\"operations\":[]}"; - - assertEquals(expected, new JSON().serialize(op)); - } - - @Test - void serializesQueryByCollection() { - UUID id = UUID.randomUUID(); - - AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata q = - new AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata( - new QueryByCollection() - .data(new QueryByCollectionData() - .type(QueryByCollectionData.TypeEnum.QUERY_BY_COLLECTION) - .attributes(new QueryByCollectionDataAttributes() - .type(QueryByCollectionDataAttributes.TypeEnum.OR) - .addValuesItem(new QueryById() - .data(new QueryByIdData() - .type(QueryByIdData.TypeEnum.QUERY_BY_ID) - .attributes(new QueryByIdDataAttributes() - .type(QueryByIdDataAttributes.TypeEnum.ID) - .value(id.toString()))))))); - - SceneOperation op = new SceneOperation().query(q); - String expected = - "{\"query\":{\"data\":{\"type\":\"query-by-collection\",\"attributes\":{\"type\":\"or\",\"values\":[{\"data\":{\"type\":\"query-by-id\",\"attributes\":{\"type\":\"id\",\"value\":\"" + - id + "\"}}}]}}},\"operations\":[]}"; - - assertEquals(expected, new JSON().serialize(op)); - } - - @Test - void serializesQueryByAll() { - AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata q = - new AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata(QueryAll.ALL); - - SceneOperation op = new SceneOperation().query(q); - String expected = "{\"query\":\"all\",\"operations\":[]}"; - - assertEquals(expected, new JSON().serialize(op)); - } - - @Test - void serializesQueryByMetadata() { - AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata q = - new AnyOfQueryByIdQueryByCollectionQueryAllQueryByMetadata(new QueryByMetadata() - .data(new QueryByMetadataData() - .type(QueryByMetadataData.TypeEnum.QUERY_BY_METADATA) - .attributes(new QueryByMetadataDataAttributes() - .exactMatch(true) - .keys(List.of("key1")) - .filter("filter1") - ) - ) - ); - - SceneOperation op = new SceneOperation().query(q); - String expected = "{\"query\":{\"data\":{\"type\":\"query-by-metadata\",\"attributes\":{\"exactMatch\":true,\"filter\":\"filter1\",\"keys\":[\"key1\"]}}},\"operations\":[]}"; - - assertEquals(expected, new JSON().serialize(op)); - } -} - - diff --git a/src/test/java/com/vertexvis/model/AnyOfRelationshipDataApiErrorAdapterTest.java b/src/test/java/com/vertexvis/model/AnyOfRelationshipDataApiErrorAdapterTest.java deleted file mode 100644 index 6245576b..00000000 --- a/src/test/java/com/vertexvis/model/AnyOfRelationshipDataApiErrorAdapterTest.java +++ /dev/null @@ -1,83 +0,0 @@ -package com.vertexvis.model; - -import static org.junit.jupiter.api.Assertions.assertEquals; - - -import com.google.gson.reflect.TypeToken; -import com.vertexvis.JSON; - -import java.util.ArrayList; -import java.util.List; -import java.util.UUID; - -import org.junit.jupiter.api.Test; - -public class AnyOfRelationshipDataApiErrorAdapterTest { - - @Test - void serializesRelationshipData() { - UUID id = UUID.randomUUID(); - List list = new ArrayList<>(); - list.add(new AnyOfRelationshipDataApiError(new RelationshipData().id(id).type("my-type"))); - Batch batch = new Batch().vertexvisBatchColonResults(list); - - String exp = "{\"vertexvis/batch:results\":[{\"id\":\"" + id + "\",\"type\":\"my-type\"}]}"; - - assertEquals(exp, new JSON().serialize(batch)); - } - - @Test - void deserializeRelationshipData() { - UUID id = UUID.randomUUID(); - String in = "{\"vertexvis/batch:results\":[{\"id\":\"" + id + "\",\"type\":\"my-type\"}]}"; - - Batch act = new JSON().deserialize(in, TypeToken.get(Batch.class).getType()); - AnyOfRelationshipDataApiError exp = - new AnyOfRelationshipDataApiError(new RelationshipData().id(id).type("my-type")); - - assertEquals(exp.getObj(), act.getVertexvisBatchColonResults().get(0).getObj()); - } - - @Test - void serializesApiError() { - UUID id = UUID.randomUUID(); - List list = new ArrayList<>(); - list.add(new AnyOfRelationshipDataApiError( - new ApiError().id(id.toString()).status("my-status").code("500"))); - Batch batch = new Batch().vertexvisBatchColonResults(list); - - String exp = "{\"vertexvis/batch:results\":[{\"id\":\"" + id + - "\",\"status\":\"my-status\",\"code\":\"500\"}]}"; - - assertEquals(exp, new JSON().serialize(batch)); - } - - @Test - void deserializeApiError() { - UUID id = UUID.randomUUID(); - String in = "{\"vertexvis/batch:results\":[{\"id\":\"" + id + - "\",\"status\":\"my-status\",\"code\":\"500\"}]}"; - - Batch act = new JSON().deserialize(in, TypeToken.get(Batch.class).getType()); - AnyOfRelationshipDataApiError exp = - new AnyOfRelationshipDataApiError( - new ApiError().id(id.toString()).status("my-status").code("500")); - - assertEquals(exp.getObj(), act.getVertexvisBatchColonResults().get(0).getObj()); - } - - @Test - void deserializeApiErrorWithSource() { - UUID id = UUID.randomUUID(); - String in = "{\"vertexvis/batch:results\":[{\"id\":\"" + id + - "\",\"status\":\"my-status\",\"code\":\"500\",\"source\":{\"pointer\":\"/data/id\"}}]}"; - - Batch act = new JSON().deserialize(in, TypeToken.get(Batch.class).getType()); - AnyOfRelationshipDataApiError exp = - new AnyOfRelationshipDataApiError( - new ApiError().id(id.toString()).status("my-status").code("500") - .source(new ApiErrorSource().pointer("/data/id"))); - - assertEquals(exp.getObj(), act.getVertexvisBatchColonResults().get(0).getObj()); - } -} diff --git a/src/test/java/com/vertexvis/model/OneOfHitResultDataSceneItemDataPartRevisionDataTest.java b/src/test/java/com/vertexvis/model/OneOfHitResultDataSceneItemDataPartRevisionDataTest.java deleted file mode 100644 index de52ea8f..00000000 --- a/src/test/java/com/vertexvis/model/OneOfHitResultDataSceneItemDataPartRevisionDataTest.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.vertexvis.model; - -import static org.junit.jupiter.api.Assertions.assertEquals; - - -import com.vertexvis.JSON; - -import java.util.UUID; - -import org.junit.jupiter.api.Test; - -public class OneOfHitResultDataSceneItemDataPartRevisionDataTest { - - @Test - void serializesHitResultData() { - UUID id = UUID.randomUUID(); - OneOfHitResultDataSceneItemDataPartRevisionData d = - new OneOfHitResultDataSceneItemDataPartRevisionData( - new HitResultData().type("some-type").id(id)); - - String expected = "{\"type\":\"some-type\",\"id\":\"" + id + "\"}"; - - assertEquals(expected, new JSON().serialize(d)); - } - - @Test - void serializesSceneItemData() { - UUID id = UUID.randomUUID(); - OneOfHitResultDataSceneItemDataPartRevisionData d = - new OneOfHitResultDataSceneItemDataPartRevisionData( - new SceneItemData().id(id).type("scene-item")); - - String expected = "{\"type\":\"scene-item\",\"id\":\"" + id + "\"}"; - - assertEquals(expected, new JSON().serialize(d)); - } - - @Test - void serializesPartRevisionData() { - UUID id = UUID.randomUUID(); - OneOfHitResultDataSceneItemDataPartRevisionData d = - new OneOfHitResultDataSceneItemDataPartRevisionData( - new PartRevisionData().id(id).type("part-revision")); - - String expected = "{\"type\":\"part-revision\",\"id\":\"" + id + "\"}"; - - assertEquals(expected, new JSON().serialize(d)); - } -} - - diff --git a/src/test/java/com/vertexvis/model/OneOfPerspectiveCameraOrthographicCameraTest.java b/src/test/java/com/vertexvis/model/OneOfPerspectiveCameraOrthographicCameraTest.java deleted file mode 100644 index 0821db24..00000000 --- a/src/test/java/com/vertexvis/model/OneOfPerspectiveCameraOrthographicCameraTest.java +++ /dev/null @@ -1,68 +0,0 @@ -package com.vertexvis.model; - -import org.junit.jupiter.api.Test; -import com.google.gson.reflect.TypeToken; - -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotNull; - -import com.vertexvis.JSON; - -import java.math.BigDecimal; - -public class OneOfPerspectiveCameraOrthographicCameraTest { - - @Test - void deserializeOrthographicCamera() { - String input = "{\"camera\":{\"type\":\"orthographic\",\"viewVector\":{\"x\":373.0473327636719,\"y\":-27.94504737854004,\"z\":-111.1329345703125},\"lookAt\":{\"x\":751.756103515625,\"y\":302.235595703125,\"z\":218.3965301513672},\"up\":{\"x\":-0.61683189868927,\"y\":0.6955335140228271,\"z\":-0.3684447407722473},\"fovHeight\":781.2822875976562}}"; - SceneViewStateDataAttributes dataAttributes = new JSON().deserialize(input, TypeToken.get(SceneViewStateDataAttributes.class).getType()); - - assertNotNull(dataAttributes.getCamera().getOrthographicCamera()); - assertEquals(781.2822875976562, dataAttributes.getCamera().getOrthographicCamera().getFovHeight().doubleValue()); - - assertEquals(dataAttributes.getCamera().getOrthographicCamera().getType(), "orthographic"); - assertNotNull(dataAttributes.getCamera().getOrthographicCamera().getViewVector()); - assertNotNull(dataAttributes.getCamera().getOrthographicCamera().getUp()); - assertNotNull(dataAttributes.getCamera().getOrthographicCamera().getLookAt()); - } - - @Test - void deserializePerspectiveCamera() { - String input = "{\"camera\":{\"type\":\"perspective\",\"position\":{\"x\":373.0473327636719,\"y\":-27.94504737854004,\"z\":-111.1329345703125},\"lookAt\":{\"x\":751.756103515625,\"y\":302.235595703125,\"z\":218.3965301513672},\"up\":{\"x\":-0.61683189868927,\"y\":0.6955335140228271,\"z\":-0.3684447407722473}}}"; - SceneViewStateDataAttributes dataAttributes = new JSON().deserialize(input, TypeToken.get(SceneViewStateDataAttributes.class).getType()); - - assertNotNull(dataAttributes.getCamera().getPerspectiveCamera()); - - assertEquals(dataAttributes.getCamera().getPerspectiveCamera().getType(), "perspective"); - assertNotNull(dataAttributes.getCamera().getPerspectiveCamera().getPosition()); - assertNotNull(dataAttributes.getCamera().getPerspectiveCamera().getUp()); - assertNotNull(dataAttributes.getCamera().getPerspectiveCamera().getLookAt()); - } - - @Test - void serializePerspectiveCamera() { - PerspectiveCamera perspectiveCamera = new PerspectiveCamera() - .lookAt( - new Vector3().x(BigDecimal.valueOf(1)).y(BigDecimal.valueOf(1)).z(BigDecimal.valueOf(1)) - ) - .up( - new Vector3().x(BigDecimal.valueOf(2)).y(BigDecimal.valueOf(2)).z(BigDecimal.valueOf(2)) - ) - .position( - new Vector3().x(BigDecimal.valueOf(3)).y(BigDecimal.valueOf(3)).z(BigDecimal.valueOf(3)) - ); - - perspectiveCamera.setType("perspective"); - OneOfPerspectiveCameraOrthographicCamera oneOfPerspectiveCameraOrthographicCamera = new OneOfPerspectiveCameraOrthographicCamera(perspectiveCamera); - - String expected = - "{\"camera\":{\"type\":\"perspective\",\"position\":{\"x\":3,\"y\":3,\"z\":3},\"lookAt\":{\"x\":1,\"y\":1,\"z\":1},\"up\":{\"x\":2,\"y\":2,\"z\":2}}}"; - - assertEquals(expected, new JSON().serialize(new SceneViewStateDataAttributes().camera(oneOfPerspectiveCameraOrthographicCamera))); - } - - @Test - void serializeWithNoCameraShouldNotThrow() { - assertEquals("{}", new JSON().serialize(new SceneViewStateDataAttributes().created(null))); - } -} diff --git a/src/test/java/com/vertexvis/model/OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataTypeTest.java b/src/test/java/com/vertexvis/model/OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataTypeTest.java deleted file mode 100644 index d0594ff0..00000000 --- a/src/test/java/com/vertexvis/model/OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataTypeTest.java +++ /dev/null @@ -1,84 +0,0 @@ -package com.vertexvis.model; - -import com.google.gson.reflect.TypeToken; -import com.vertexvis.JSON; -import io.swagger.annotations.ApiModelProperty; -import org.junit.jupiter.api.Test; - -import java.math.BigDecimal; - -import static org.junit.jupiter.api.Assertions.*; - -public class OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataTypeTest { - - @Test - void deserializeSceneAnnotationCalloutDataType() { - String input = "{\"calloutType\":{\"type\":\"callout\",\"position\":{\"x\":1,\"y\":2,\"z\":3},\"icon\":\"comment-show\",\"primaryColor\":\"#FFFF00\",\"accentColor\":\"#FF00FF\"}}"; - OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType oneOf= - new JSON().deserialize(input, TypeToken.get(OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType.class).getType()); - - SceneAnnotationCalloutDataType annotation= oneOf.getSceneAnnotationCalloutDataType(); - assertNotNull(annotation); - assertEquals(annotation.getType(), "callout"); - Vector3 position= new Vector3(); - position.setX(new BigDecimal(1.0)); - position.setY(new BigDecimal(2.0)); - position.setZ(new BigDecimal(3.0)); - assertEquals(annotation.getPosition(), position); - assertEquals(annotation.getIcon(), "comment-show"); - assertEquals(annotation.getPrimaryColor(),"#FFFF00"); - assertEquals(annotation.getAccentColor(), "#FF00FF"); - } - - @Test - void serializeSceneAnnotationCalloutDataType() { - SceneAnnotationCalloutDataType annotation = new SceneAnnotationCalloutDataType(); - - annotation.setType("callout"); - Vector3 position= new Vector3(); - position.setX(new BigDecimal(1.0)); - position.setY(new BigDecimal(2.0)); - position.setZ(new BigDecimal(3.0)); - annotation.setPosition(position); - annotation.setIcon("comment-show"); - annotation.setPrimaryColor("#FFFF00"); - annotation.setAccentColor("#FF00FF"); - - OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType oneOf = - new OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType(annotation); - - String expected = "{\"calloutType\":{\"type\":\"callout\",\"position\":{\"x\":1,\"y\":2,\"z\":3},\"icon\":\"comment-show\",\"primaryColor\":\"#FFFF00\",\"accentColor\":\"#FF00FF\"}}"; - - assertEquals(expected, new JSON().serialize(oneOf)); - } - - @Test - void deserializeSceneAnnotationCustomDataType() { - String input = "{\"customType\":{\"type\":\"custom\",\"jsonType\":\"my-annotation-type\",\"json\":\"{\\\"label\\\":\\\"my annotation\\\",\\\"anchor\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0}}\"}}"; - OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType oneOf = - new JSON().deserialize(input, TypeToken.get(OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType.class).getType()); - - SceneAnnotationCustomDataType annotation= oneOf.getSceneAnnotationCustomDataType(); - assertNotNull(annotation); - assertEquals(annotation.getType(), "custom"); - assertEquals(annotation.getJsonType(), "my-annotation-type"); - assertEquals(annotation.getJson(), "{\"label\":\"my annotation\",\"anchor\":{\"x\":0,\"y\":0,\"z\":0}}"); - } - - @Test - void serializeSceneAnnotationCustomDataType() { - SceneAnnotationCustomDataType annotation = new SceneAnnotationCustomDataType(); - - annotation.setType("custom"); - annotation.setJsonType("my-annotation-type"); - annotation.setJson("{\"label\":\"my annotation\",\"anchor\":{\"x\":0,\"y\":0,\"z\":0}}"); - - OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType oneOf = - new OneOfSceneAnnotationCalloutDataTypeSceneAnnotationCustomDataType(annotation); - - String expected = "{\"customType\":{\"type\":\"custom\",\"jsonType\":\"my-annotation-type\",\"json\":\"{\\\"label\\\":\\\"my annotation\\\",\\\"anchor\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0}}\"}}"; - - assertEquals(expected, new JSON().serialize(oneOf)); - } - -} diff --git a/src/test/java/com/vertexvis/model/OneOfSceneViewRelationshipSceneViewStateRelationshipTest.java b/src/test/java/com/vertexvis/model/OneOfSceneViewRelationshipSceneViewStateRelationshipTest.java deleted file mode 100644 index 0450d223..00000000 --- a/src/test/java/com/vertexvis/model/OneOfSceneViewRelationshipSceneViewStateRelationshipTest.java +++ /dev/null @@ -1,84 +0,0 @@ -package com.vertexvis.model; - -import static org.junit.jupiter.api.Assertions.assertEquals; - - -import com.google.gson.reflect.TypeToken; -import com.vertexvis.JSON; - -import java.util.UUID; - -import org.junit.jupiter.api.Test; - -public class OneOfSceneViewRelationshipSceneViewStateRelationshipTest { - @Test - void serializesSceneViewRelationship() { - UUID id = UUID.randomUUID(); - OneOfSceneViewRelationshipSceneViewStateRelationship rel = - new OneOfSceneViewRelationshipSceneViewStateRelationship(new SceneViewRelationship() - .data( - new SceneViewRelationshipData().type(SceneViewRelationshipData.TypeEnum.SCENE_VIEW) - .id(id))); - - CreateSceneViewStateRequestDataRelationships reqData = - new CreateSceneViewStateRequestDataRelationships().source(rel); - - String expected = "{\"source\":{\"data\":{\"type\":\"scene-view\",\"id\":\"" + id + "\"}}}"; - - assertEquals(expected, new JSON().serialize(reqData)); - } - - @Test - void deserializeSceneViewRelationship() { - UUID id = UUID.randomUUID(); - String input = "{\"source\":{\"data\":{\"type\":\"scene-view\",\"id\":\"" + id + "\"}}}"; - - CreateSceneViewStateRequestDataRelationships result = new JSON() - .deserialize(input, - TypeToken.get(CreateSceneViewStateRequestDataRelationships.class).getType()); - SceneViewRelationship expected = - new SceneViewRelationship() - .data(new SceneViewRelationshipData().id(id) - .type(SceneViewRelationshipData.TypeEnum.SCENE_VIEW)); - - assertEquals(result.getSource().getRel(), expected); - assertEquals(result.getSource().getSceneViewRel(), expected); - } - - @Test - void serializesSceneViewStateRelationship() { - UUID id = UUID.randomUUID(); - OneOfSceneViewRelationshipSceneViewStateRelationship rel = - new OneOfSceneViewRelationshipSceneViewStateRelationship( - new SceneViewStateRelationship() - .data( - new SceneViewStateRelationshipData() - .type(SceneViewStateRelationshipData.TypeEnum.SCENE_VIEW_STATE) - .id(id))); - - CreateSceneViewStateRequestDataRelationships reqData = - new CreateSceneViewStateRequestDataRelationships().source(rel); - - String expected = - "{\"source\":{\"data\":{\"type\":\"scene-view-state\",\"id\":\"" + id + "\"}}}"; - - assertEquals(expected, new JSON().serialize(reqData)); - } - - @Test - void deserializeSceneViewStateRelationship() { - UUID id = UUID.randomUUID(); - String input = "{\"source\":{\"data\":{\"type\":\"scene-view-state\",\"id\":\"" + id + "\"}}}"; - - CreateSceneViewStateRequestDataRelationships result = new JSON() - .deserialize(input, - TypeToken.get(CreateSceneViewStateRequestDataRelationships.class).getType()); - SceneViewStateRelationship expected = - new SceneViewStateRelationship() - .data(new SceneViewStateRelationshipData().id(id) - .type(SceneViewStateRelationshipData.TypeEnum.SCENE_VIEW_STATE)); - - assertEquals(result.getSource().getRel(), expected); - assertEquals(result.getSource().getSceneViewStateRel(), expected); - } -}