All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vertexvis.api.SceneViewStatesApi Maven / Gradle / Ivy

/*
 * Vertex Platform API
 * The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application.  See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started.  Notes about the Postman collection and API Reference code samples,   - They include all required and optional body parameters for completeness. Remove any optional parameters as desired.   - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource. 
 *
 * The version of the OpenAPI document: 1.0
 * Contact: [email protected]
 *
 * NOTE: This 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;

    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;
    }

    /**
     * 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 { 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); localVarHeaderParams.put("Content-Type", localVarContentType); String[] localVarAuthNames = new String[] { "OAuth2" }; return localVarApiClient.buildCall(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 { 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); localVarHeaderParams.put("Content-Type", localVarContentType); String[] localVarAuthNames = new String[] { "OAuth2" }; return localVarApiClient.buildCall(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 { 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); localVarHeaderParams.put("Content-Type", localVarContentType); String[] localVarAuthNames = new String[] { "OAuth2" }; return localVarApiClient.buildCall(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 { 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); localVarHeaderParams.put("Content-Type", localVarContentType); String[] localVarAuthNames = new String[] { "OAuth2" }; return localVarApiClient.buildCall(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 { 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); localVarHeaderParams.put("Content-Type", localVarContentType); String[] localVarAuthNames = new String[] { "OAuth2" }; return localVarApiClient.buildCall(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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy