/*
 * Daytona
 * Daytona AI platform API Docs
 *
 * The version of the OpenAPI document: 1.0
 * Contact: support@daytona.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package io.daytona.api.client.api;

import io.daytona.api.client.ApiCallback;
import io.daytona.api.client.ApiClient;
import io.daytona.api.client.ApiException;
import io.daytona.api.client.ApiResponse;
import io.daytona.api.client.Configuration;
import io.daytona.api.client.Pair;
import io.daytona.api.client.ProgressRequestBody;
import io.daytona.api.client.ProgressResponseBody;

import com.google.gson.reflect.TypeToken;

import java.io.IOException;


import java.math.BigDecimal;
import io.daytona.api.client.model.Command;
import io.daytona.api.client.model.CompletionList;
import io.daytona.api.client.model.CompressedScreenshotResponse;
import io.daytona.api.client.model.ComputerUseStartResponse;
import io.daytona.api.client.model.ComputerUseStatusResponse;
import io.daytona.api.client.model.ComputerUseStopResponse;
import io.daytona.api.client.model.CreateSessionRequest;
import io.daytona.api.client.model.DisplayInfoResponse;
import io.daytona.api.client.model.DownloadFiles;
import io.daytona.api.client.model.ExecuteRequest;
import io.daytona.api.client.model.ExecuteResponse;
import java.io.File;
import io.daytona.api.client.model.FileInfo;
import io.daytona.api.client.model.GitAddRequest;
import io.daytona.api.client.model.GitBranchRequest;
import io.daytona.api.client.model.GitCheckoutRequest;
import io.daytona.api.client.model.GitCloneRequest;
import io.daytona.api.client.model.GitCommitInfo;
import io.daytona.api.client.model.GitCommitRequest;
import io.daytona.api.client.model.GitCommitResponse;
import io.daytona.api.client.model.GitDeleteBranchRequest;
import io.daytona.api.client.model.GitRepoRequest;
import io.daytona.api.client.model.GitStatus;
import io.daytona.api.client.model.KeyboardHotkeyRequest;
import io.daytona.api.client.model.KeyboardPressRequest;
import io.daytona.api.client.model.KeyboardTypeRequest;
import io.daytona.api.client.model.ListBranchResponse;
import io.daytona.api.client.model.LspCompletionParams;
import io.daytona.api.client.model.LspDocumentRequest;
import io.daytona.api.client.model.LspServerRequest;
import io.daytona.api.client.model.LspSymbol;
import io.daytona.api.client.model.Match;
import io.daytona.api.client.model.MouseClickRequest;
import io.daytona.api.client.model.MouseClickResponse;
import io.daytona.api.client.model.MouseDragRequest;
import io.daytona.api.client.model.MouseDragResponse;
import io.daytona.api.client.model.MouseMoveRequest;
import io.daytona.api.client.model.MouseMoveResponse;
import io.daytona.api.client.model.MousePosition;
import io.daytona.api.client.model.MouseScrollRequest;
import io.daytona.api.client.model.MouseScrollResponse;
import io.daytona.api.client.model.ProcessErrorsResponse;
import io.daytona.api.client.model.ProcessLogsResponse;
import io.daytona.api.client.model.ProcessRestartResponse;
import io.daytona.api.client.model.ProcessStatusResponse;
import io.daytona.api.client.model.ProjectDirResponse;
import io.daytona.api.client.model.PtyCreateRequest;
import io.daytona.api.client.model.PtyCreateResponse;
import io.daytona.api.client.model.PtyListResponse;
import io.daytona.api.client.model.PtyResizeRequest;
import io.daytona.api.client.model.PtySessionInfo;
import io.daytona.api.client.model.RegionScreenshotResponse;
import io.daytona.api.client.model.ReplaceRequest;
import io.daytona.api.client.model.ReplaceResult;
import io.daytona.api.client.model.ScreenshotResponse;
import io.daytona.api.client.model.SearchFilesResponse;
import io.daytona.api.client.model.Session;
import io.daytona.api.client.model.SessionExecuteRequest;
import io.daytona.api.client.model.SessionExecuteResponse;
import io.daytona.api.client.model.UserHomeDirResponse;
import io.daytona.api.client.model.WindowsResponse;
import io.daytona.api.client.model.WorkDirResponse;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ToolboxApi {
    private ApiClient localVarApiClient;
    private int localHostIndex;
    private String localCustomBaseUrl;

    public ToolboxApi() {
        this(Configuration.getDefaultApiClient());
    }

    public ToolboxApi(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 clickMouseDeprecated
     * @param sandboxId  (required)
     * @param mouseClickRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse clicked successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call clickMouseDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseClickRequest mouseClickRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = mouseClickRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/computeruse/mouse/click"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call clickMouseDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseClickRequest mouseClickRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling clickMouseDeprecated(Async)");
        }

        // verify the required parameter 'mouseClickRequest' is set
        if (mouseClickRequest == null) {
            throw new ApiException("Missing the required parameter 'mouseClickRequest' when calling clickMouseDeprecated(Async)");
        }

        return clickMouseDeprecatedCall(sandboxId, mouseClickRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Click mouse
     * Click mouse at specified coordinates
     * @param sandboxId  (required)
     * @param mouseClickRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return MouseClickResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse clicked successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public MouseClickResponse clickMouseDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseClickRequest mouseClickRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<MouseClickResponse> localVarResp = clickMouseDeprecatedWithHttpInfo(sandboxId, mouseClickRequest, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Click mouse
     * Click mouse at specified coordinates
     * @param sandboxId  (required)
     * @param mouseClickRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;MouseClickResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse clicked successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<MouseClickResponse> clickMouseDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseClickRequest mouseClickRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = clickMouseDeprecatedValidateBeforeCall(sandboxId, mouseClickRequest, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<MouseClickResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Click mouse (asynchronously)
     * Click mouse at specified coordinates
     * @param sandboxId  (required)
     * @param mouseClickRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse clicked successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call clickMouseDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseClickRequest mouseClickRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<MouseClickResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = clickMouseDeprecatedValidateBeforeCall(sandboxId, mouseClickRequest, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<MouseClickResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for createFolderDeprecated
     * @param sandboxId  (required)
     * @param path  (required)
     * @param mode  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Folder created successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call createFolderDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nonnull String mode, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/files/folder"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (path != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path));
        }

        if (mode != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("mode", mode));
        }

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call createFolderDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nonnull String mode, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling createFolderDeprecated(Async)");
        }

        // verify the required parameter 'path' is set
        if (path == null) {
            throw new ApiException("Missing the required parameter 'path' when calling createFolderDeprecated(Async)");
        }

        // verify the required parameter 'mode' is set
        if (mode == null) {
            throw new ApiException("Missing the required parameter 'mode' when calling createFolderDeprecated(Async)");
        }

        return createFolderDeprecatedCall(sandboxId, path, mode, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Create folder
     * Create folder inside sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param mode  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Folder created successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void createFolderDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nonnull String mode, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        createFolderDeprecatedWithHttpInfo(sandboxId, path, mode, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Create folder
     * Create folder inside sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param mode  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Folder created successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> createFolderDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nonnull String mode, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = createFolderDeprecatedValidateBeforeCall(sandboxId, path, mode, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Create folder (asynchronously)
     * Create folder inside sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param mode  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Folder created successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call createFolderDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nonnull String mode, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = createFolderDeprecatedValidateBeforeCall(sandboxId, path, mode, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for createPTYSessionDeprecated
     * @param sandboxId  (required)
     * @param ptyCreateRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 201 </td><td> PTY session created successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call createPTYSessionDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull PtyCreateRequest ptyCreateRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = ptyCreateRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/process/pty"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call createPTYSessionDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull PtyCreateRequest ptyCreateRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling createPTYSessionDeprecated(Async)");
        }

        // verify the required parameter 'ptyCreateRequest' is set
        if (ptyCreateRequest == null) {
            throw new ApiException("Missing the required parameter 'ptyCreateRequest' when calling createPTYSessionDeprecated(Async)");
        }

        return createPTYSessionDeprecatedCall(sandboxId, ptyCreateRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Create PTY session
     * Create a new PTY session in the sandbox
     * @param sandboxId  (required)
     * @param ptyCreateRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return PtyCreateResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 201 </td><td> PTY session created successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public PtyCreateResponse createPTYSessionDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull PtyCreateRequest ptyCreateRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<PtyCreateResponse> localVarResp = createPTYSessionDeprecatedWithHttpInfo(sandboxId, ptyCreateRequest, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Create PTY session
     * Create a new PTY session in the sandbox
     * @param sandboxId  (required)
     * @param ptyCreateRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;PtyCreateResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 201 </td><td> PTY session created successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<PtyCreateResponse> createPTYSessionDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull PtyCreateRequest ptyCreateRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = createPTYSessionDeprecatedValidateBeforeCall(sandboxId, ptyCreateRequest, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<PtyCreateResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Create PTY session (asynchronously)
     * Create a new PTY session in the sandbox
     * @param sandboxId  (required)
     * @param ptyCreateRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 201 </td><td> PTY session created successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call createPTYSessionDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull PtyCreateRequest ptyCreateRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<PtyCreateResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = createPTYSessionDeprecatedValidateBeforeCall(sandboxId, ptyCreateRequest, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<PtyCreateResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for createSessionDeprecated
     * @param sandboxId  (required)
     * @param createSessionRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td>  </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call createSessionDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull CreateSessionRequest createSessionRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = createSessionRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/process/session"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call createSessionDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull CreateSessionRequest createSessionRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling createSessionDeprecated(Async)");
        }

        // verify the required parameter 'createSessionRequest' is set
        if (createSessionRequest == null) {
            throw new ApiException("Missing the required parameter 'createSessionRequest' when calling createSessionDeprecated(Async)");
        }

        return createSessionDeprecatedCall(sandboxId, createSessionRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Create session
     * Create a new session in the sandbox
     * @param sandboxId  (required)
     * @param createSessionRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td>  </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void createSessionDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull CreateSessionRequest createSessionRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        createSessionDeprecatedWithHttpInfo(sandboxId, createSessionRequest, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Create session
     * Create a new session in the sandbox
     * @param sandboxId  (required)
     * @param createSessionRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td>  </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> createSessionDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull CreateSessionRequest createSessionRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = createSessionDeprecatedValidateBeforeCall(sandboxId, createSessionRequest, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Create session (asynchronously)
     * Create a new session in the sandbox
     * @param sandboxId  (required)
     * @param createSessionRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td>  </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call createSessionDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull CreateSessionRequest createSessionRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = createSessionDeprecatedValidateBeforeCall(sandboxId, createSessionRequest, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for deleteFileDeprecated
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param recursive  (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File deleted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call deleteFileDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean recursive, 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 = "/toolbox/{sandboxId}/toolbox/files"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (recursive != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("recursive", recursive));
        }

        if (path != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path));
        }

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call deleteFileDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean recursive, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling deleteFileDeprecated(Async)");
        }

        // verify the required parameter 'path' is set
        if (path == null) {
            throw new ApiException("Missing the required parameter 'path' when calling deleteFileDeprecated(Async)");
        }

        return deleteFileDeprecatedCall(sandboxId, path, xDaytonaOrganizationID, recursive, _callback);

    }

    /**
     * [DEPRECATED] Delete file
     * Delete file inside sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param recursive  (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File deleted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void deleteFileDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean recursive) throws ApiException {
        deleteFileDeprecatedWithHttpInfo(sandboxId, path, xDaytonaOrganizationID, recursive);
    }

    /**
     * [DEPRECATED] Delete file
     * Delete file inside sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param recursive  (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File deleted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> deleteFileDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean recursive) throws ApiException {
        okhttp3.Call localVarCall = deleteFileDeprecatedValidateBeforeCall(sandboxId, path, xDaytonaOrganizationID, recursive, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Delete file (asynchronously)
     * Delete file inside sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param recursive  (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File deleted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call deleteFileDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean recursive, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = deleteFileDeprecatedValidateBeforeCall(sandboxId, path, xDaytonaOrganizationID, recursive, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for deletePTYSessionDeprecated
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> PTY session deleted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call deletePTYSessionDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/process/pty/{sessionId}"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()))
            .replace("{" + "sessionId" + "}", localVarApiClient.escapeString(sessionId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call deletePTYSessionDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling deletePTYSessionDeprecated(Async)");
        }

        // verify the required parameter 'sessionId' is set
        if (sessionId == null) {
            throw new ApiException("Missing the required parameter 'sessionId' when calling deletePTYSessionDeprecated(Async)");
        }

        return deletePTYSessionDeprecatedCall(sandboxId, sessionId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Delete PTY session
     * Delete a PTY session and terminate the associated process
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> PTY session deleted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void deletePTYSessionDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        deletePTYSessionDeprecatedWithHttpInfo(sandboxId, sessionId, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Delete PTY session
     * Delete a PTY session and terminate the associated process
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> PTY session deleted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> deletePTYSessionDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = deletePTYSessionDeprecatedValidateBeforeCall(sandboxId, sessionId, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Delete PTY session (asynchronously)
     * Delete a PTY session and terminate the associated process
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> PTY session deleted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call deletePTYSessionDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = deletePTYSessionDeprecatedValidateBeforeCall(sandboxId, sessionId, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for deleteSessionDeprecated
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Session deleted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call deleteSessionDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/process/session/{sessionId}"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()))
            .replace("{" + "sessionId" + "}", localVarApiClient.escapeString(sessionId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call deleteSessionDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling deleteSessionDeprecated(Async)");
        }

        // verify the required parameter 'sessionId' is set
        if (sessionId == null) {
            throw new ApiException("Missing the required parameter 'sessionId' when calling deleteSessionDeprecated(Async)");
        }

        return deleteSessionDeprecatedCall(sandboxId, sessionId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Delete session
     * Delete a specific session
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Session deleted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void deleteSessionDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        deleteSessionDeprecatedWithHttpInfo(sandboxId, sessionId, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Delete session
     * Delete a specific session
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Session deleted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> deleteSessionDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = deleteSessionDeprecatedValidateBeforeCall(sandboxId, sessionId, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Delete session (asynchronously)
     * Delete a specific session
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Session deleted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call deleteSessionDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = deleteSessionDeprecatedValidateBeforeCall(sandboxId, sessionId, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for downloadFileDeprecated
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File downloaded successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call downloadFileDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/files/download"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (path != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path));
        }

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call downloadFileDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling downloadFileDeprecated(Async)");
        }

        // verify the required parameter 'path' is set
        if (path == null) {
            throw new ApiException("Missing the required parameter 'path' when calling downloadFileDeprecated(Async)");
        }

        return downloadFileDeprecatedCall(sandboxId, path, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Download file
     * Download file from sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return File
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File downloaded successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public File downloadFileDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<File> localVarResp = downloadFileDeprecatedWithHttpInfo(sandboxId, path, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Download file
     * Download file from sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;File&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File downloaded successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<File> downloadFileDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = downloadFileDeprecatedValidateBeforeCall(sandboxId, path, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<File>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Download file (asynchronously)
     * Download file from sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File downloaded successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call downloadFileDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<File> _callback) throws ApiException {

        okhttp3.Call localVarCall = downloadFileDeprecatedValidateBeforeCall(sandboxId, path, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<File>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for downloadFilesDeprecated
     * @param sandboxId  (required)
     * @param downloadFiles  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> A multipart/form-data response with each file as a part </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call downloadFilesDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull DownloadFiles downloadFiles, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = downloadFiles;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/files/bulk-download"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call downloadFilesDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull DownloadFiles downloadFiles, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling downloadFilesDeprecated(Async)");
        }

        // verify the required parameter 'downloadFiles' is set
        if (downloadFiles == null) {
            throw new ApiException("Missing the required parameter 'downloadFiles' when calling downloadFilesDeprecated(Async)");
        }

        return downloadFilesDeprecatedCall(sandboxId, downloadFiles, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Download multiple files
     * Streams back a multipart/form-data bundle of the requested paths
     * @param sandboxId  (required)
     * @param downloadFiles  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return File
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> A multipart/form-data response with each file as a part </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public File downloadFilesDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull DownloadFiles downloadFiles, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<File> localVarResp = downloadFilesDeprecatedWithHttpInfo(sandboxId, downloadFiles, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Download multiple files
     * Streams back a multipart/form-data bundle of the requested paths
     * @param sandboxId  (required)
     * @param downloadFiles  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;File&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> A multipart/form-data response with each file as a part </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<File> downloadFilesDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull DownloadFiles downloadFiles, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = downloadFilesDeprecatedValidateBeforeCall(sandboxId, downloadFiles, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<File>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Download multiple files (asynchronously)
     * Streams back a multipart/form-data bundle of the requested paths
     * @param sandboxId  (required)
     * @param downloadFiles  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> A multipart/form-data response with each file as a part </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call downloadFilesDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull DownloadFiles downloadFiles, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<File> _callback) throws ApiException {

        okhttp3.Call localVarCall = downloadFilesDeprecatedValidateBeforeCall(sandboxId, downloadFiles, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<File>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for dragMouseDeprecated
     * @param sandboxId  (required)
     * @param mouseDragRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse dragged successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call dragMouseDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseDragRequest mouseDragRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = mouseDragRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/computeruse/mouse/drag"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call dragMouseDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseDragRequest mouseDragRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling dragMouseDeprecated(Async)");
        }

        // verify the required parameter 'mouseDragRequest' is set
        if (mouseDragRequest == null) {
            throw new ApiException("Missing the required parameter 'mouseDragRequest' when calling dragMouseDeprecated(Async)");
        }

        return dragMouseDeprecatedCall(sandboxId, mouseDragRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Drag mouse
     * Drag mouse from start to end coordinates
     * @param sandboxId  (required)
     * @param mouseDragRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return MouseDragResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse dragged successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public MouseDragResponse dragMouseDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseDragRequest mouseDragRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<MouseDragResponse> localVarResp = dragMouseDeprecatedWithHttpInfo(sandboxId, mouseDragRequest, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Drag mouse
     * Drag mouse from start to end coordinates
     * @param sandboxId  (required)
     * @param mouseDragRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;MouseDragResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse dragged successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<MouseDragResponse> dragMouseDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseDragRequest mouseDragRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = dragMouseDeprecatedValidateBeforeCall(sandboxId, mouseDragRequest, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<MouseDragResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Drag mouse (asynchronously)
     * Drag mouse from start to end coordinates
     * @param sandboxId  (required)
     * @param mouseDragRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse dragged successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call dragMouseDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseDragRequest mouseDragRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<MouseDragResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = dragMouseDeprecatedValidateBeforeCall(sandboxId, mouseDragRequest, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<MouseDragResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for executeCommandDeprecated
     * @param sandboxId  (required)
     * @param executeRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Command executed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call executeCommandDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull ExecuteRequest executeRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = executeRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/process/execute"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call executeCommandDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull ExecuteRequest executeRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling executeCommandDeprecated(Async)");
        }

        // verify the required parameter 'executeRequest' is set
        if (executeRequest == null) {
            throw new ApiException("Missing the required parameter 'executeRequest' when calling executeCommandDeprecated(Async)");
        }

        return executeCommandDeprecatedCall(sandboxId, executeRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Execute command
     * Execute command synchronously inside sandbox
     * @param sandboxId  (required)
     * @param executeRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ExecuteResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Command executed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ExecuteResponse executeCommandDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull ExecuteRequest executeRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<ExecuteResponse> localVarResp = executeCommandDeprecatedWithHttpInfo(sandboxId, executeRequest, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Execute command
     * Execute command synchronously inside sandbox
     * @param sandboxId  (required)
     * @param executeRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;ExecuteResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Command executed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<ExecuteResponse> executeCommandDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull ExecuteRequest executeRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = executeCommandDeprecatedValidateBeforeCall(sandboxId, executeRequest, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<ExecuteResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Execute command (asynchronously)
     * Execute command synchronously inside sandbox
     * @param sandboxId  (required)
     * @param executeRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Command executed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call executeCommandDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull ExecuteRequest executeRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<ExecuteResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = executeCommandDeprecatedValidateBeforeCall(sandboxId, executeRequest, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<ExecuteResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for executeSessionCommandDeprecated
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param sessionExecuteRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Command executed successfully </td><td>  -  </td></tr>
        <tr><td> 202 </td><td> Command accepted and is being processed </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call executeSessionCommandDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull SessionExecuteRequest sessionExecuteRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = sessionExecuteRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/process/session/{sessionId}/exec"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()))
            .replace("{" + "sessionId" + "}", localVarApiClient.escapeString(sessionId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call executeSessionCommandDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull SessionExecuteRequest sessionExecuteRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling executeSessionCommandDeprecated(Async)");
        }

        // verify the required parameter 'sessionId' is set
        if (sessionId == null) {
            throw new ApiException("Missing the required parameter 'sessionId' when calling executeSessionCommandDeprecated(Async)");
        }

        // verify the required parameter 'sessionExecuteRequest' is set
        if (sessionExecuteRequest == null) {
            throw new ApiException("Missing the required parameter 'sessionExecuteRequest' when calling executeSessionCommandDeprecated(Async)");
        }

        return executeSessionCommandDeprecatedCall(sandboxId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Execute command in session
     * Execute a command in a specific session
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param sessionExecuteRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return SessionExecuteResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Command executed successfully </td><td>  -  </td></tr>
        <tr><td> 202 </td><td> Command accepted and is being processed </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public SessionExecuteResponse executeSessionCommandDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull SessionExecuteRequest sessionExecuteRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<SessionExecuteResponse> localVarResp = executeSessionCommandDeprecatedWithHttpInfo(sandboxId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Execute command in session
     * Execute a command in a specific session
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param sessionExecuteRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;SessionExecuteResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Command executed successfully </td><td>  -  </td></tr>
        <tr><td> 202 </td><td> Command accepted and is being processed </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<SessionExecuteResponse> executeSessionCommandDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull SessionExecuteRequest sessionExecuteRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = executeSessionCommandDeprecatedValidateBeforeCall(sandboxId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<SessionExecuteResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Execute command in session (asynchronously)
     * Execute a command in a specific session
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param sessionExecuteRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Command executed successfully </td><td>  -  </td></tr>
        <tr><td> 202 </td><td> Command accepted and is being processed </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call executeSessionCommandDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull SessionExecuteRequest sessionExecuteRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<SessionExecuteResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = executeSessionCommandDeprecatedValidateBeforeCall(sandboxId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<SessionExecuteResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for findInFilesDeprecated
     * @param sandboxId  (required)
     * @param path  (required)
     * @param pattern  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Search completed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call findInFilesDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nonnull String pattern, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/files/find"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (path != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path));
        }

        if (pattern != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("pattern", pattern));
        }

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call findInFilesDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nonnull String pattern, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling findInFilesDeprecated(Async)");
        }

        // verify the required parameter 'path' is set
        if (path == null) {
            throw new ApiException("Missing the required parameter 'path' when calling findInFilesDeprecated(Async)");
        }

        // verify the required parameter 'pattern' is set
        if (pattern == null) {
            throw new ApiException("Missing the required parameter 'pattern' when calling findInFilesDeprecated(Async)");
        }

        return findInFilesDeprecatedCall(sandboxId, path, pattern, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Search for text/pattern in files
     * Search for text/pattern inside sandbox files
     * @param sandboxId  (required)
     * @param path  (required)
     * @param pattern  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return List&lt;Match&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Search completed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public List<Match> findInFilesDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nonnull String pattern, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<List<Match>> localVarResp = findInFilesDeprecatedWithHttpInfo(sandboxId, path, pattern, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Search for text/pattern in files
     * Search for text/pattern inside sandbox files
     * @param sandboxId  (required)
     * @param path  (required)
     * @param pattern  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;List&lt;Match&gt;&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Search completed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<List<Match>> findInFilesDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nonnull String pattern, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = findInFilesDeprecatedValidateBeforeCall(sandboxId, path, pattern, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<List<Match>>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Search for text/pattern in files (asynchronously)
     * Search for text/pattern inside sandbox files
     * @param sandboxId  (required)
     * @param path  (required)
     * @param pattern  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Search completed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call findInFilesDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nonnull String pattern, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<List<Match>> _callback) throws ApiException {

        okhttp3.Call localVarCall = findInFilesDeprecatedValidateBeforeCall(sandboxId, path, pattern, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<List<Match>>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for getComputerUseStatusDeprecated
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Computer use status retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getComputerUseStatusDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/computeruse/status"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call getComputerUseStatusDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling getComputerUseStatusDeprecated(Async)");
        }

        return getComputerUseStatusDeprecatedCall(sandboxId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Get computer use status
     * Get status of all VNC desktop processes
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ComputerUseStatusResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Computer use status retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ComputerUseStatusResponse getComputerUseStatusDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<ComputerUseStatusResponse> localVarResp = getComputerUseStatusDeprecatedWithHttpInfo(sandboxId, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get computer use status
     * Get status of all VNC desktop processes
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;ComputerUseStatusResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Computer use status retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<ComputerUseStatusResponse> getComputerUseStatusDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = getComputerUseStatusDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<ComputerUseStatusResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get computer use status (asynchronously)
     * Get status of all VNC desktop processes
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Computer use status retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getComputerUseStatusDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<ComputerUseStatusResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = getComputerUseStatusDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<ComputerUseStatusResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for getDisplayInfoDeprecated
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Display info retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getDisplayInfoDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/computeruse/display/info"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call getDisplayInfoDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling getDisplayInfoDeprecated(Async)");
        }

        return getDisplayInfoDeprecatedCall(sandboxId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Get display info
     * Get information about displays
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return DisplayInfoResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Display info retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public DisplayInfoResponse getDisplayInfoDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<DisplayInfoResponse> localVarResp = getDisplayInfoDeprecatedWithHttpInfo(sandboxId, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get display info
     * Get information about displays
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;DisplayInfoResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Display info retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<DisplayInfoResponse> getDisplayInfoDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = getDisplayInfoDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<DisplayInfoResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get display info (asynchronously)
     * Get information about displays
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Display info retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getDisplayInfoDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<DisplayInfoResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = getDisplayInfoDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<DisplayInfoResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for getFileInfoDeprecated
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File info retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getFileInfoDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/files/info"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (path != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path));
        }

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call getFileInfoDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling getFileInfoDeprecated(Async)");
        }

        // verify the required parameter 'path' is set
        if (path == null) {
            throw new ApiException("Missing the required parameter 'path' when calling getFileInfoDeprecated(Async)");
        }

        return getFileInfoDeprecatedCall(sandboxId, path, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Get file info
     * Get file info inside sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return FileInfo
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File info retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public FileInfo getFileInfoDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<FileInfo> localVarResp = getFileInfoDeprecatedWithHttpInfo(sandboxId, path, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get file info
     * Get file info inside sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;FileInfo&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File info retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<FileInfo> getFileInfoDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = getFileInfoDeprecatedValidateBeforeCall(sandboxId, path, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<FileInfo>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get file info (asynchronously)
     * Get file info inside sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File info retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getFileInfoDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<FileInfo> _callback) throws ApiException {

        okhttp3.Call localVarCall = getFileInfoDeprecatedValidateBeforeCall(sandboxId, path, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<FileInfo>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for getMousePositionDeprecated
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse position retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getMousePositionDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/computeruse/mouse/position"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call getMousePositionDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling getMousePositionDeprecated(Async)");
        }

        return getMousePositionDeprecatedCall(sandboxId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Get mouse position
     * Get current mouse cursor position
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return MousePosition
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse position retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public MousePosition getMousePositionDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<MousePosition> localVarResp = getMousePositionDeprecatedWithHttpInfo(sandboxId, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get mouse position
     * Get current mouse cursor position
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;MousePosition&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse position retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<MousePosition> getMousePositionDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = getMousePositionDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<MousePosition>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get mouse position (asynchronously)
     * Get current mouse cursor position
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse position retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getMousePositionDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<MousePosition> _callback) throws ApiException {

        okhttp3.Call localVarCall = getMousePositionDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<MousePosition>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for getPTYSessionDeprecated
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> PTY session retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getPTYSessionDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/process/pty/{sessionId}"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()))
            .replace("{" + "sessionId" + "}", localVarApiClient.escapeString(sessionId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call getPTYSessionDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling getPTYSessionDeprecated(Async)");
        }

        // verify the required parameter 'sessionId' is set
        if (sessionId == null) {
            throw new ApiException("Missing the required parameter 'sessionId' when calling getPTYSessionDeprecated(Async)");
        }

        return getPTYSessionDeprecatedCall(sandboxId, sessionId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Get PTY session
     * Get PTY session information by ID
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return PtySessionInfo
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> PTY session retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public PtySessionInfo getPTYSessionDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<PtySessionInfo> localVarResp = getPTYSessionDeprecatedWithHttpInfo(sandboxId, sessionId, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get PTY session
     * Get PTY session information by ID
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;PtySessionInfo&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> PTY session retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<PtySessionInfo> getPTYSessionDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = getPTYSessionDeprecatedValidateBeforeCall(sandboxId, sessionId, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<PtySessionInfo>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get PTY session (asynchronously)
     * Get PTY session information by ID
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> PTY session retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getPTYSessionDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<PtySessionInfo> _callback) throws ApiException {

        okhttp3.Call localVarCall = getPTYSessionDeprecatedValidateBeforeCall(sandboxId, sessionId, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<PtySessionInfo>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for getProcessErrorsDeprecated
     * @param processName  (required)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Process errors retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getProcessErrorsDeprecatedCall(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/computeruse/process/{processName}/errors"
            .replace("{" + "processName" + "}", localVarApiClient.escapeString(processName.toString()))
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call getProcessErrorsDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'processName' is set
        if (processName == null) {
            throw new ApiException("Missing the required parameter 'processName' when calling getProcessErrorsDeprecated(Async)");
        }

        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling getProcessErrorsDeprecated(Async)");
        }

        return getProcessErrorsDeprecatedCall(processName, sandboxId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Get process errors
     * Get error logs for a specific VNC process
     * @param processName  (required)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ProcessErrorsResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Process errors retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ProcessErrorsResponse getProcessErrorsDeprecated(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<ProcessErrorsResponse> localVarResp = getProcessErrorsDeprecatedWithHttpInfo(processName, sandboxId, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get process errors
     * Get error logs for a specific VNC process
     * @param processName  (required)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;ProcessErrorsResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Process errors retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<ProcessErrorsResponse> getProcessErrorsDeprecatedWithHttpInfo(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = getProcessErrorsDeprecatedValidateBeforeCall(processName, sandboxId, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<ProcessErrorsResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get process errors (asynchronously)
     * Get error logs for a specific VNC process
     * @param processName  (required)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Process errors retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getProcessErrorsDeprecatedAsync(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<ProcessErrorsResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = getProcessErrorsDeprecatedValidateBeforeCall(processName, sandboxId, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<ProcessErrorsResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for getProcessLogsDeprecated
     * @param processName  (required)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Process logs retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getProcessLogsDeprecatedCall(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/computeruse/process/{processName}/logs"
            .replace("{" + "processName" + "}", localVarApiClient.escapeString(processName.toString()))
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call getProcessLogsDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'processName' is set
        if (processName == null) {
            throw new ApiException("Missing the required parameter 'processName' when calling getProcessLogsDeprecated(Async)");
        }

        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling getProcessLogsDeprecated(Async)");
        }

        return getProcessLogsDeprecatedCall(processName, sandboxId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Get process logs
     * Get logs for a specific VNC process
     * @param processName  (required)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ProcessLogsResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Process logs retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ProcessLogsResponse getProcessLogsDeprecated(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<ProcessLogsResponse> localVarResp = getProcessLogsDeprecatedWithHttpInfo(processName, sandboxId, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get process logs
     * Get logs for a specific VNC process
     * @param processName  (required)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;ProcessLogsResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Process logs retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<ProcessLogsResponse> getProcessLogsDeprecatedWithHttpInfo(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = getProcessLogsDeprecatedValidateBeforeCall(processName, sandboxId, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<ProcessLogsResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get process logs (asynchronously)
     * Get logs for a specific VNC process
     * @param processName  (required)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Process logs retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getProcessLogsDeprecatedAsync(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<ProcessLogsResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = getProcessLogsDeprecatedValidateBeforeCall(processName, sandboxId, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<ProcessLogsResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for getProcessStatusDeprecated
     * @param processName  (required)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Process status retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getProcessStatusDeprecatedCall(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/computeruse/process/{processName}/status"
            .replace("{" + "processName" + "}", localVarApiClient.escapeString(processName.toString()))
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call getProcessStatusDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'processName' is set
        if (processName == null) {
            throw new ApiException("Missing the required parameter 'processName' when calling getProcessStatusDeprecated(Async)");
        }

        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling getProcessStatusDeprecated(Async)");
        }

        return getProcessStatusDeprecatedCall(processName, sandboxId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Get process status
     * Get status of a specific VNC process
     * @param processName  (required)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ProcessStatusResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Process status retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ProcessStatusResponse getProcessStatusDeprecated(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<ProcessStatusResponse> localVarResp = getProcessStatusDeprecatedWithHttpInfo(processName, sandboxId, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get process status
     * Get status of a specific VNC process
     * @param processName  (required)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;ProcessStatusResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Process status retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<ProcessStatusResponse> getProcessStatusDeprecatedWithHttpInfo(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = getProcessStatusDeprecatedValidateBeforeCall(processName, sandboxId, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<ProcessStatusResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get process status (asynchronously)
     * Get status of a specific VNC process
     * @param processName  (required)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Process status retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getProcessStatusDeprecatedAsync(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<ProcessStatusResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = getProcessStatusDeprecatedValidateBeforeCall(processName, sandboxId, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<ProcessStatusResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for getProjectDirDeprecated
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Project directory retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getProjectDirDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/project-dir"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call getProjectDirDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling getProjectDirDeprecated(Async)");
        }

        return getProjectDirDeprecatedCall(sandboxId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Get sandbox project dir
     * 
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ProjectDirResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Project directory retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ProjectDirResponse getProjectDirDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<ProjectDirResponse> localVarResp = getProjectDirDeprecatedWithHttpInfo(sandboxId, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get sandbox project dir
     * 
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;ProjectDirResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Project directory retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<ProjectDirResponse> getProjectDirDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = getProjectDirDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<ProjectDirResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get sandbox project dir (asynchronously)
     * 
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Project directory retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getProjectDirDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<ProjectDirResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = getProjectDirDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<ProjectDirResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for getSessionCommandDeprecated
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param commandId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Session command retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getSessionCommandDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull String commandId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/process/session/{sessionId}/command/{commandId}"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()))
            .replace("{" + "sessionId" + "}", localVarApiClient.escapeString(sessionId.toString()))
            .replace("{" + "commandId" + "}", localVarApiClient.escapeString(commandId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call getSessionCommandDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull String commandId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling getSessionCommandDeprecated(Async)");
        }

        // verify the required parameter 'sessionId' is set
        if (sessionId == null) {
            throw new ApiException("Missing the required parameter 'sessionId' when calling getSessionCommandDeprecated(Async)");
        }

        // verify the required parameter 'commandId' is set
        if (commandId == null) {
            throw new ApiException("Missing the required parameter 'commandId' when calling getSessionCommandDeprecated(Async)");
        }

        return getSessionCommandDeprecatedCall(sandboxId, sessionId, commandId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Get session command
     * Get session command by ID
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param commandId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return Command
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Session command retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public Command getSessionCommandDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull String commandId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<Command> localVarResp = getSessionCommandDeprecatedWithHttpInfo(sandboxId, sessionId, commandId, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get session command
     * Get session command by ID
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param commandId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Command&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Session command retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Command> getSessionCommandDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull String commandId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = getSessionCommandDeprecatedValidateBeforeCall(sandboxId, sessionId, commandId, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<Command>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get session command (asynchronously)
     * Get session command by ID
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param commandId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Session command retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getSessionCommandDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull String commandId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Command> _callback) throws ApiException {

        okhttp3.Call localVarCall = getSessionCommandDeprecatedValidateBeforeCall(sandboxId, sessionId, commandId, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<Command>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for getSessionCommandLogsDeprecated
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param commandId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param follow Whether to stream the logs (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Command log stream marked with stdout and stderr prefixes </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getSessionCommandLogsDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull String commandId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean follow, 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 = "/toolbox/{sandboxId}/toolbox/process/session/{sessionId}/command/{commandId}/logs"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()))
            .replace("{" + "sessionId" + "}", localVarApiClient.escapeString(sessionId.toString()))
            .replace("{" + "commandId" + "}", localVarApiClient.escapeString(commandId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (follow != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("follow", follow));
        }

        final String[] localVarAccepts = {
            "text/plain"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call getSessionCommandLogsDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull String commandId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean follow, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling getSessionCommandLogsDeprecated(Async)");
        }

        // verify the required parameter 'sessionId' is set
        if (sessionId == null) {
            throw new ApiException("Missing the required parameter 'sessionId' when calling getSessionCommandLogsDeprecated(Async)");
        }

        // verify the required parameter 'commandId' is set
        if (commandId == null) {
            throw new ApiException("Missing the required parameter 'commandId' when calling getSessionCommandLogsDeprecated(Async)");
        }

        return getSessionCommandLogsDeprecatedCall(sandboxId, sessionId, commandId, xDaytonaOrganizationID, follow, _callback);

    }

    /**
     * [DEPRECATED] Get command logs
     * Get logs for a specific command in a session
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param commandId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param follow Whether to stream the logs (optional)
     * @return String
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Command log stream marked with stdout and stderr prefixes </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public String getSessionCommandLogsDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull String commandId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean follow) throws ApiException {
        ApiResponse<String> localVarResp = getSessionCommandLogsDeprecatedWithHttpInfo(sandboxId, sessionId, commandId, xDaytonaOrganizationID, follow);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get command logs
     * Get logs for a specific command in a session
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param commandId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param follow Whether to stream the logs (optional)
     * @return ApiResponse&lt;String&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Command log stream marked with stdout and stderr prefixes </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<String> getSessionCommandLogsDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull String commandId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean follow) throws ApiException {
        okhttp3.Call localVarCall = getSessionCommandLogsDeprecatedValidateBeforeCall(sandboxId, sessionId, commandId, xDaytonaOrganizationID, follow, null);
        Type localVarReturnType = new TypeToken<String>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get command logs (asynchronously)
     * Get logs for a specific command in a session
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param commandId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param follow Whether to stream the logs (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Command log stream marked with stdout and stderr prefixes </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getSessionCommandLogsDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull String commandId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean follow, final ApiCallback<String> _callback) throws ApiException {

        okhttp3.Call localVarCall = getSessionCommandLogsDeprecatedValidateBeforeCall(sandboxId, sessionId, commandId, xDaytonaOrganizationID, follow, _callback);
        Type localVarReturnType = new TypeToken<String>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for getSessionDeprecated
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Session retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getSessionDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/process/session/{sessionId}"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()))
            .replace("{" + "sessionId" + "}", localVarApiClient.escapeString(sessionId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call getSessionDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling getSessionDeprecated(Async)");
        }

        // verify the required parameter 'sessionId' is set
        if (sessionId == null) {
            throw new ApiException("Missing the required parameter 'sessionId' when calling getSessionDeprecated(Async)");
        }

        return getSessionDeprecatedCall(sandboxId, sessionId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Get session
     * Get session by ID
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return Session
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Session retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public Session getSessionDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<Session> localVarResp = getSessionDeprecatedWithHttpInfo(sandboxId, sessionId, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get session
     * Get session by ID
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Session&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Session retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Session> getSessionDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = getSessionDeprecatedValidateBeforeCall(sandboxId, sessionId, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<Session>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get session (asynchronously)
     * Get session by ID
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Session retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getSessionDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Session> _callback) throws ApiException {

        okhttp3.Call localVarCall = getSessionDeprecatedValidateBeforeCall(sandboxId, sessionId, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<Session>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for getUserHomeDirDeprecated
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> User home directory retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getUserHomeDirDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/user-home-dir"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call getUserHomeDirDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling getUserHomeDirDeprecated(Async)");
        }

        return getUserHomeDirDeprecatedCall(sandboxId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Get sandbox user home dir
     * 
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return UserHomeDirResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> User home directory retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public UserHomeDirResponse getUserHomeDirDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<UserHomeDirResponse> localVarResp = getUserHomeDirDeprecatedWithHttpInfo(sandboxId, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get sandbox user home dir
     * 
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;UserHomeDirResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> User home directory retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<UserHomeDirResponse> getUserHomeDirDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = getUserHomeDirDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<UserHomeDirResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get sandbox user home dir (asynchronously)
     * 
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> User home directory retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getUserHomeDirDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<UserHomeDirResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = getUserHomeDirDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<UserHomeDirResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for getWindowsDeprecated
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Windows list retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getWindowsDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/computeruse/display/windows"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call getWindowsDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling getWindowsDeprecated(Async)");
        }

        return getWindowsDeprecatedCall(sandboxId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Get windows
     * Get list of open windows
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return WindowsResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Windows list retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public WindowsResponse getWindowsDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<WindowsResponse> localVarResp = getWindowsDeprecatedWithHttpInfo(sandboxId, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get windows
     * Get list of open windows
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;WindowsResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Windows list retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<WindowsResponse> getWindowsDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = getWindowsDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<WindowsResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get windows (asynchronously)
     * Get list of open windows
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Windows list retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getWindowsDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<WindowsResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = getWindowsDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<WindowsResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for getWorkDirDeprecated
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Work-dir retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getWorkDirDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/work-dir"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call getWorkDirDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling getWorkDirDeprecated(Async)");
        }

        return getWorkDirDeprecatedCall(sandboxId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Get sandbox work-dir
     * 
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return WorkDirResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Work-dir retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public WorkDirResponse getWorkDirDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<WorkDirResponse> localVarResp = getWorkDirDeprecatedWithHttpInfo(sandboxId, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get sandbox work-dir
     * 
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;WorkDirResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Work-dir retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<WorkDirResponse> getWorkDirDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = getWorkDirDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<WorkDirResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get sandbox work-dir (asynchronously)
     * 
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Work-dir retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call getWorkDirDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<WorkDirResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = getWorkDirDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<WorkDirResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for gitAddFilesDeprecated
     * @param sandboxId  (required)
     * @param gitAddRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Files added to git successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitAddFilesDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitAddRequest gitAddRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = gitAddRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/git/add"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call gitAddFilesDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitAddRequest gitAddRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling gitAddFilesDeprecated(Async)");
        }

        // verify the required parameter 'gitAddRequest' is set
        if (gitAddRequest == null) {
            throw new ApiException("Missing the required parameter 'gitAddRequest' when calling gitAddFilesDeprecated(Async)");
        }

        return gitAddFilesDeprecatedCall(sandboxId, gitAddRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Add files
     * Add files to git commit
     * @param sandboxId  (required)
     * @param gitAddRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Files added to git successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void gitAddFilesDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitAddRequest gitAddRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        gitAddFilesDeprecatedWithHttpInfo(sandboxId, gitAddRequest, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Add files
     * Add files to git commit
     * @param sandboxId  (required)
     * @param gitAddRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Files added to git successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> gitAddFilesDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitAddRequest gitAddRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = gitAddFilesDeprecatedValidateBeforeCall(sandboxId, gitAddRequest, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Add files (asynchronously)
     * Add files to git commit
     * @param sandboxId  (required)
     * @param gitAddRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Files added to git successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitAddFilesDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitAddRequest gitAddRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = gitAddFilesDeprecatedValidateBeforeCall(sandboxId, gitAddRequest, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for gitCheckoutBranchDeprecated
     * @param sandboxId  (required)
     * @param gitCheckoutRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Branch checked out successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitCheckoutBranchDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitCheckoutRequest gitCheckoutRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = gitCheckoutRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/git/checkout"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call gitCheckoutBranchDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitCheckoutRequest gitCheckoutRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling gitCheckoutBranchDeprecated(Async)");
        }

        // verify the required parameter 'gitCheckoutRequest' is set
        if (gitCheckoutRequest == null) {
            throw new ApiException("Missing the required parameter 'gitCheckoutRequest' when calling gitCheckoutBranchDeprecated(Async)");
        }

        return gitCheckoutBranchDeprecatedCall(sandboxId, gitCheckoutRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Checkout branch
     * Checkout branch or commit in git repository
     * @param sandboxId  (required)
     * @param gitCheckoutRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Branch checked out successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void gitCheckoutBranchDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitCheckoutRequest gitCheckoutRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        gitCheckoutBranchDeprecatedWithHttpInfo(sandboxId, gitCheckoutRequest, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Checkout branch
     * Checkout branch or commit in git repository
     * @param sandboxId  (required)
     * @param gitCheckoutRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Branch checked out successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> gitCheckoutBranchDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitCheckoutRequest gitCheckoutRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = gitCheckoutBranchDeprecatedValidateBeforeCall(sandboxId, gitCheckoutRequest, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Checkout branch (asynchronously)
     * Checkout branch or commit in git repository
     * @param sandboxId  (required)
     * @param gitCheckoutRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Branch checked out successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitCheckoutBranchDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitCheckoutRequest gitCheckoutRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = gitCheckoutBranchDeprecatedValidateBeforeCall(sandboxId, gitCheckoutRequest, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for gitCloneRepositoryDeprecated
     * @param sandboxId  (required)
     * @param gitCloneRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Repository cloned successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitCloneRepositoryDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitCloneRequest gitCloneRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = gitCloneRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/git/clone"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call gitCloneRepositoryDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitCloneRequest gitCloneRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling gitCloneRepositoryDeprecated(Async)");
        }

        // verify the required parameter 'gitCloneRequest' is set
        if (gitCloneRequest == null) {
            throw new ApiException("Missing the required parameter 'gitCloneRequest' when calling gitCloneRepositoryDeprecated(Async)");
        }

        return gitCloneRepositoryDeprecatedCall(sandboxId, gitCloneRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Clone repository
     * Clone git repository
     * @param sandboxId  (required)
     * @param gitCloneRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Repository cloned successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void gitCloneRepositoryDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitCloneRequest gitCloneRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        gitCloneRepositoryDeprecatedWithHttpInfo(sandboxId, gitCloneRequest, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Clone repository
     * Clone git repository
     * @param sandboxId  (required)
     * @param gitCloneRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Repository cloned successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> gitCloneRepositoryDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitCloneRequest gitCloneRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = gitCloneRepositoryDeprecatedValidateBeforeCall(sandboxId, gitCloneRequest, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Clone repository (asynchronously)
     * Clone git repository
     * @param sandboxId  (required)
     * @param gitCloneRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Repository cloned successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitCloneRepositoryDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitCloneRequest gitCloneRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = gitCloneRepositoryDeprecatedValidateBeforeCall(sandboxId, gitCloneRequest, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for gitCommitChangesDeprecated
     * @param sandboxId  (required)
     * @param gitCommitRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Changes committed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitCommitChangesDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitCommitRequest gitCommitRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = gitCommitRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/git/commit"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call gitCommitChangesDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitCommitRequest gitCommitRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling gitCommitChangesDeprecated(Async)");
        }

        // verify the required parameter 'gitCommitRequest' is set
        if (gitCommitRequest == null) {
            throw new ApiException("Missing the required parameter 'gitCommitRequest' when calling gitCommitChangesDeprecated(Async)");
        }

        return gitCommitChangesDeprecatedCall(sandboxId, gitCommitRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Commit changes
     * Commit changes to git repository
     * @param sandboxId  (required)
     * @param gitCommitRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return GitCommitResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Changes committed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public GitCommitResponse gitCommitChangesDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitCommitRequest gitCommitRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<GitCommitResponse> localVarResp = gitCommitChangesDeprecatedWithHttpInfo(sandboxId, gitCommitRequest, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Commit changes
     * Commit changes to git repository
     * @param sandboxId  (required)
     * @param gitCommitRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;GitCommitResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Changes committed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<GitCommitResponse> gitCommitChangesDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitCommitRequest gitCommitRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = gitCommitChangesDeprecatedValidateBeforeCall(sandboxId, gitCommitRequest, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<GitCommitResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Commit changes (asynchronously)
     * Commit changes to git repository
     * @param sandboxId  (required)
     * @param gitCommitRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Changes committed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitCommitChangesDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitCommitRequest gitCommitRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<GitCommitResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = gitCommitChangesDeprecatedValidateBeforeCall(sandboxId, gitCommitRequest, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<GitCommitResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for gitCreateBranchDeprecated
     * @param sandboxId  (required)
     * @param gitBranchRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Branch created successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitCreateBranchDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitBranchRequest gitBranchRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = gitBranchRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/git/branches"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call gitCreateBranchDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitBranchRequest gitBranchRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling gitCreateBranchDeprecated(Async)");
        }

        // verify the required parameter 'gitBranchRequest' is set
        if (gitBranchRequest == null) {
            throw new ApiException("Missing the required parameter 'gitBranchRequest' when calling gitCreateBranchDeprecated(Async)");
        }

        return gitCreateBranchDeprecatedCall(sandboxId, gitBranchRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Create branch
     * Create branch on git repository
     * @param sandboxId  (required)
     * @param gitBranchRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Branch created successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void gitCreateBranchDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitBranchRequest gitBranchRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        gitCreateBranchDeprecatedWithHttpInfo(sandboxId, gitBranchRequest, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Create branch
     * Create branch on git repository
     * @param sandboxId  (required)
     * @param gitBranchRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Branch created successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> gitCreateBranchDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitBranchRequest gitBranchRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = gitCreateBranchDeprecatedValidateBeforeCall(sandboxId, gitBranchRequest, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Create branch (asynchronously)
     * Create branch on git repository
     * @param sandboxId  (required)
     * @param gitBranchRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Branch created successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitCreateBranchDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitBranchRequest gitBranchRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = gitCreateBranchDeprecatedValidateBeforeCall(sandboxId, gitBranchRequest, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for gitDeleteBranchDeprecated
     * @param sandboxId  (required)
     * @param gitDeleteBranchRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Branch deleted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitDeleteBranchDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitDeleteBranchRequest gitDeleteBranchRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = gitDeleteBranchRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/git/branches"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call gitDeleteBranchDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitDeleteBranchRequest gitDeleteBranchRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling gitDeleteBranchDeprecated(Async)");
        }

        // verify the required parameter 'gitDeleteBranchRequest' is set
        if (gitDeleteBranchRequest == null) {
            throw new ApiException("Missing the required parameter 'gitDeleteBranchRequest' when calling gitDeleteBranchDeprecated(Async)");
        }

        return gitDeleteBranchDeprecatedCall(sandboxId, gitDeleteBranchRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Delete branch
     * Delete branch on git repository
     * @param sandboxId  (required)
     * @param gitDeleteBranchRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Branch deleted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void gitDeleteBranchDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitDeleteBranchRequest gitDeleteBranchRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        gitDeleteBranchDeprecatedWithHttpInfo(sandboxId, gitDeleteBranchRequest, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Delete branch
     * Delete branch on git repository
     * @param sandboxId  (required)
     * @param gitDeleteBranchRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Branch deleted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> gitDeleteBranchDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitDeleteBranchRequest gitDeleteBranchRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = gitDeleteBranchDeprecatedValidateBeforeCall(sandboxId, gitDeleteBranchRequest, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Delete branch (asynchronously)
     * Delete branch on git repository
     * @param sandboxId  (required)
     * @param gitDeleteBranchRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Branch deleted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitDeleteBranchDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitDeleteBranchRequest gitDeleteBranchRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = gitDeleteBranchDeprecatedValidateBeforeCall(sandboxId, gitDeleteBranchRequest, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for gitGetHistoryDeprecated
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Commit history retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitGetHistoryDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/git/history"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (path != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path));
        }

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call gitGetHistoryDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling gitGetHistoryDeprecated(Async)");
        }

        // verify the required parameter 'path' is set
        if (path == null) {
            throw new ApiException("Missing the required parameter 'path' when calling gitGetHistoryDeprecated(Async)");
        }

        return gitGetHistoryDeprecatedCall(sandboxId, path, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Get commit history
     * Get commit history from git repository
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return List&lt;GitCommitInfo&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Commit history retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public List<GitCommitInfo> gitGetHistoryDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<List<GitCommitInfo>> localVarResp = gitGetHistoryDeprecatedWithHttpInfo(sandboxId, path, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get commit history
     * Get commit history from git repository
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;List&lt;GitCommitInfo&gt;&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Commit history retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<List<GitCommitInfo>> gitGetHistoryDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = gitGetHistoryDeprecatedValidateBeforeCall(sandboxId, path, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<List<GitCommitInfo>>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get commit history (asynchronously)
     * Get commit history from git repository
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Commit history retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitGetHistoryDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<List<GitCommitInfo>> _callback) throws ApiException {

        okhttp3.Call localVarCall = gitGetHistoryDeprecatedValidateBeforeCall(sandboxId, path, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<List<GitCommitInfo>>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for gitGetStatusDeprecated
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Git status retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitGetStatusDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/git/status"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (path != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path));
        }

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call gitGetStatusDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling gitGetStatusDeprecated(Async)");
        }

        // verify the required parameter 'path' is set
        if (path == null) {
            throw new ApiException("Missing the required parameter 'path' when calling gitGetStatusDeprecated(Async)");
        }

        return gitGetStatusDeprecatedCall(sandboxId, path, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Get git status
     * Get status from git repository
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return GitStatus
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Git status retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public GitStatus gitGetStatusDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<GitStatus> localVarResp = gitGetStatusDeprecatedWithHttpInfo(sandboxId, path, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get git status
     * Get status from git repository
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;GitStatus&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Git status retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<GitStatus> gitGetStatusDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = gitGetStatusDeprecatedValidateBeforeCall(sandboxId, path, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<GitStatus>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get git status (asynchronously)
     * Get status from git repository
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Git status retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitGetStatusDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<GitStatus> _callback) throws ApiException {

        okhttp3.Call localVarCall = gitGetStatusDeprecatedValidateBeforeCall(sandboxId, path, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<GitStatus>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for gitListBranchesDeprecated
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Branch list retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitListBranchesDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/git/branches"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (path != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path));
        }

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call gitListBranchesDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling gitListBranchesDeprecated(Async)");
        }

        // verify the required parameter 'path' is set
        if (path == null) {
            throw new ApiException("Missing the required parameter 'path' when calling gitListBranchesDeprecated(Async)");
        }

        return gitListBranchesDeprecatedCall(sandboxId, path, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Get branch list
     * Get branch list from git repository
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ListBranchResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Branch list retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ListBranchResponse gitListBranchesDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<ListBranchResponse> localVarResp = gitListBranchesDeprecatedWithHttpInfo(sandboxId, path, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get branch list
     * Get branch list from git repository
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;ListBranchResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Branch list retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<ListBranchResponse> gitListBranchesDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = gitListBranchesDeprecatedValidateBeforeCall(sandboxId, path, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<ListBranchResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get branch list (asynchronously)
     * Get branch list from git repository
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Branch list retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitListBranchesDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<ListBranchResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = gitListBranchesDeprecatedValidateBeforeCall(sandboxId, path, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<ListBranchResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for gitPullChangesDeprecated
     * @param sandboxId  (required)
     * @param gitRepoRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Changes pulled successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitPullChangesDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitRepoRequest gitRepoRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = gitRepoRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/git/pull"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call gitPullChangesDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitRepoRequest gitRepoRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling gitPullChangesDeprecated(Async)");
        }

        // verify the required parameter 'gitRepoRequest' is set
        if (gitRepoRequest == null) {
            throw new ApiException("Missing the required parameter 'gitRepoRequest' when calling gitPullChangesDeprecated(Async)");
        }

        return gitPullChangesDeprecatedCall(sandboxId, gitRepoRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Pull changes
     * Pull changes from remote
     * @param sandboxId  (required)
     * @param gitRepoRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Changes pulled successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void gitPullChangesDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitRepoRequest gitRepoRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        gitPullChangesDeprecatedWithHttpInfo(sandboxId, gitRepoRequest, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Pull changes
     * Pull changes from remote
     * @param sandboxId  (required)
     * @param gitRepoRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Changes pulled successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> gitPullChangesDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitRepoRequest gitRepoRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = gitPullChangesDeprecatedValidateBeforeCall(sandboxId, gitRepoRequest, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Pull changes (asynchronously)
     * Pull changes from remote
     * @param sandboxId  (required)
     * @param gitRepoRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Changes pulled successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitPullChangesDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitRepoRequest gitRepoRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = gitPullChangesDeprecatedValidateBeforeCall(sandboxId, gitRepoRequest, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for gitPushChangesDeprecated
     * @param sandboxId  (required)
     * @param gitRepoRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Changes pushed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitPushChangesDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitRepoRequest gitRepoRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = gitRepoRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/git/push"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call gitPushChangesDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitRepoRequest gitRepoRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling gitPushChangesDeprecated(Async)");
        }

        // verify the required parameter 'gitRepoRequest' is set
        if (gitRepoRequest == null) {
            throw new ApiException("Missing the required parameter 'gitRepoRequest' when calling gitPushChangesDeprecated(Async)");
        }

        return gitPushChangesDeprecatedCall(sandboxId, gitRepoRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Push changes
     * Push changes to remote
     * @param sandboxId  (required)
     * @param gitRepoRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Changes pushed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void gitPushChangesDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitRepoRequest gitRepoRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        gitPushChangesDeprecatedWithHttpInfo(sandboxId, gitRepoRequest, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Push changes
     * Push changes to remote
     * @param sandboxId  (required)
     * @param gitRepoRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Changes pushed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> gitPushChangesDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitRepoRequest gitRepoRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = gitPushChangesDeprecatedValidateBeforeCall(sandboxId, gitRepoRequest, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Push changes (asynchronously)
     * Push changes to remote
     * @param sandboxId  (required)
     * @param gitRepoRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Changes pushed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call gitPushChangesDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull GitRepoRequest gitRepoRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = gitPushChangesDeprecatedValidateBeforeCall(sandboxId, gitRepoRequest, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for listFilesDeprecated
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param path  (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Files listed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call listFilesDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable String path, 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 = "/toolbox/{sandboxId}/toolbox/files"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (path != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path));
        }

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call listFilesDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable String path, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling listFilesDeprecated(Async)");
        }

        return listFilesDeprecatedCall(sandboxId, xDaytonaOrganizationID, path, _callback);

    }

    /**
     * [DEPRECATED] List files
     * 
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param path  (optional)
     * @return List&lt;FileInfo&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Files listed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public List<FileInfo> listFilesDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable String path) throws ApiException {
        ApiResponse<List<FileInfo>> localVarResp = listFilesDeprecatedWithHttpInfo(sandboxId, xDaytonaOrganizationID, path);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] List files
     * 
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param path  (optional)
     * @return ApiResponse&lt;List&lt;FileInfo&gt;&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Files listed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<List<FileInfo>> listFilesDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable String path) throws ApiException {
        okhttp3.Call localVarCall = listFilesDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, path, null);
        Type localVarReturnType = new TypeToken<List<FileInfo>>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] List files (asynchronously)
     * 
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param path  (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Files listed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call listFilesDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable String path, final ApiCallback<List<FileInfo>> _callback) throws ApiException {

        okhttp3.Call localVarCall = listFilesDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, path, _callback);
        Type localVarReturnType = new TypeToken<List<FileInfo>>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for listPTYSessionsDeprecated
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> PTY sessions retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call listPTYSessionsDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/process/pty"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call listPTYSessionsDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling listPTYSessionsDeprecated(Async)");
        }

        return listPTYSessionsDeprecatedCall(sandboxId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] List PTY sessions
     * List all active PTY sessions in the sandbox
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return PtyListResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> PTY sessions retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public PtyListResponse listPTYSessionsDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<PtyListResponse> localVarResp = listPTYSessionsDeprecatedWithHttpInfo(sandboxId, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] List PTY sessions
     * List all active PTY sessions in the sandbox
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;PtyListResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> PTY sessions retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<PtyListResponse> listPTYSessionsDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = listPTYSessionsDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<PtyListResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] List PTY sessions (asynchronously)
     * List all active PTY sessions in the sandbox
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> PTY sessions retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call listPTYSessionsDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<PtyListResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = listPTYSessionsDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<PtyListResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for listSessionsDeprecated
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Sessions retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call listSessionsDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/process/session"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call listSessionsDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling listSessionsDeprecated(Async)");
        }

        return listSessionsDeprecatedCall(sandboxId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] List sessions
     * List all active sessions in the sandbox
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return List&lt;Session&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Sessions retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public List<Session> listSessionsDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<List<Session>> localVarResp = listSessionsDeprecatedWithHttpInfo(sandboxId, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] List sessions
     * List all active sessions in the sandbox
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;List&lt;Session&gt;&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Sessions retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<List<Session>> listSessionsDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = listSessionsDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<List<Session>>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] List sessions (asynchronously)
     * List all active sessions in the sandbox
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Sessions retrieved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call listSessionsDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<List<Session>> _callback) throws ApiException {

        okhttp3.Call localVarCall = listSessionsDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<List<Session>>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for lspCompletionsDeprecated
     * @param sandboxId  (required)
     * @param lspCompletionParams  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call lspCompletionsDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspCompletionParams lspCompletionParams, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = lspCompletionParams;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/lsp/completions"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call lspCompletionsDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspCompletionParams lspCompletionParams, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling lspCompletionsDeprecated(Async)");
        }

        // verify the required parameter 'lspCompletionParams' is set
        if (lspCompletionParams == null) {
            throw new ApiException("Missing the required parameter 'lspCompletionParams' when calling lspCompletionsDeprecated(Async)");
        }

        return lspCompletionsDeprecatedCall(sandboxId, lspCompletionParams, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Get Lsp Completions
     * The Completion request is sent from the client to the server to compute completion items at a given cursor position.
     * @param sandboxId  (required)
     * @param lspCompletionParams  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return CompletionList
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public CompletionList lspCompletionsDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspCompletionParams lspCompletionParams, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<CompletionList> localVarResp = lspCompletionsDeprecatedWithHttpInfo(sandboxId, lspCompletionParams, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Get Lsp Completions
     * The Completion request is sent from the client to the server to compute completion items at a given cursor position.
     * @param sandboxId  (required)
     * @param lspCompletionParams  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;CompletionList&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<CompletionList> lspCompletionsDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspCompletionParams lspCompletionParams, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = lspCompletionsDeprecatedValidateBeforeCall(sandboxId, lspCompletionParams, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<CompletionList>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Get Lsp Completions (asynchronously)
     * The Completion request is sent from the client to the server to compute completion items at a given cursor position.
     * @param sandboxId  (required)
     * @param lspCompletionParams  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call lspCompletionsDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspCompletionParams lspCompletionParams, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<CompletionList> _callback) throws ApiException {

        okhttp3.Call localVarCall = lspCompletionsDeprecatedValidateBeforeCall(sandboxId, lspCompletionParams, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<CompletionList>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for lspDidCloseDeprecated
     * @param sandboxId  (required)
     * @param lspDocumentRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call lspDidCloseDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspDocumentRequest lspDocumentRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = lspDocumentRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/lsp/did-close"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call lspDidCloseDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspDocumentRequest lspDocumentRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling lspDidCloseDeprecated(Async)");
        }

        // verify the required parameter 'lspDocumentRequest' is set
        if (lspDocumentRequest == null) {
            throw new ApiException("Missing the required parameter 'lspDocumentRequest' when calling lspDidCloseDeprecated(Async)");
        }

        return lspDidCloseDeprecatedCall(sandboxId, lspDocumentRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Call Lsp DidClose
     * The document close notification is sent from the client to the server when the document got closed in the client.
     * @param sandboxId  (required)
     * @param lspDocumentRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void lspDidCloseDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspDocumentRequest lspDocumentRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        lspDidCloseDeprecatedWithHttpInfo(sandboxId, lspDocumentRequest, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Call Lsp DidClose
     * The document close notification is sent from the client to the server when the document got closed in the client.
     * @param sandboxId  (required)
     * @param lspDocumentRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> lspDidCloseDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspDocumentRequest lspDocumentRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = lspDidCloseDeprecatedValidateBeforeCall(sandboxId, lspDocumentRequest, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Call Lsp DidClose (asynchronously)
     * The document close notification is sent from the client to the server when the document got closed in the client.
     * @param sandboxId  (required)
     * @param lspDocumentRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call lspDidCloseDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspDocumentRequest lspDocumentRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = lspDidCloseDeprecatedValidateBeforeCall(sandboxId, lspDocumentRequest, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for lspDidOpenDeprecated
     * @param sandboxId  (required)
     * @param lspDocumentRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call lspDidOpenDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspDocumentRequest lspDocumentRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = lspDocumentRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/lsp/did-open"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call lspDidOpenDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspDocumentRequest lspDocumentRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling lspDidOpenDeprecated(Async)");
        }

        // verify the required parameter 'lspDocumentRequest' is set
        if (lspDocumentRequest == null) {
            throw new ApiException("Missing the required parameter 'lspDocumentRequest' when calling lspDidOpenDeprecated(Async)");
        }

        return lspDidOpenDeprecatedCall(sandboxId, lspDocumentRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Call Lsp DidOpen
     * The document open notification is sent from the client to the server to signal newly opened text documents.
     * @param sandboxId  (required)
     * @param lspDocumentRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void lspDidOpenDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspDocumentRequest lspDocumentRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        lspDidOpenDeprecatedWithHttpInfo(sandboxId, lspDocumentRequest, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Call Lsp DidOpen
     * The document open notification is sent from the client to the server to signal newly opened text documents.
     * @param sandboxId  (required)
     * @param lspDocumentRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> lspDidOpenDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspDocumentRequest lspDocumentRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = lspDidOpenDeprecatedValidateBeforeCall(sandboxId, lspDocumentRequest, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Call Lsp DidOpen (asynchronously)
     * The document open notification is sent from the client to the server to signal newly opened text documents.
     * @param sandboxId  (required)
     * @param lspDocumentRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call lspDidOpenDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspDocumentRequest lspDocumentRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = lspDidOpenDeprecatedValidateBeforeCall(sandboxId, lspDocumentRequest, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for lspDocumentSymbolsDeprecated
     * @param sandboxId  (required)
     * @param languageId  (required)
     * @param pathToProject  (required)
     * @param uri  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call lspDocumentSymbolsDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String languageId, @javax.annotation.Nonnull String pathToProject, @javax.annotation.Nonnull String uri, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/lsp/document-symbols"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (languageId != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("languageId", languageId));
        }

        if (pathToProject != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("pathToProject", pathToProject));
        }

        if (uri != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("uri", uri));
        }

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call lspDocumentSymbolsDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String languageId, @javax.annotation.Nonnull String pathToProject, @javax.annotation.Nonnull String uri, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling lspDocumentSymbolsDeprecated(Async)");
        }

        // verify the required parameter 'languageId' is set
        if (languageId == null) {
            throw new ApiException("Missing the required parameter 'languageId' when calling lspDocumentSymbolsDeprecated(Async)");
        }

        // verify the required parameter 'pathToProject' is set
        if (pathToProject == null) {
            throw new ApiException("Missing the required parameter 'pathToProject' when calling lspDocumentSymbolsDeprecated(Async)");
        }

        // verify the required parameter 'uri' is set
        if (uri == null) {
            throw new ApiException("Missing the required parameter 'uri' when calling lspDocumentSymbolsDeprecated(Async)");
        }

        return lspDocumentSymbolsDeprecatedCall(sandboxId, languageId, pathToProject, uri, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Call Lsp DocumentSymbols
     * The document symbol request is sent from the client to the server.
     * @param sandboxId  (required)
     * @param languageId  (required)
     * @param pathToProject  (required)
     * @param uri  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return List&lt;LspSymbol&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public List<LspSymbol> lspDocumentSymbolsDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String languageId, @javax.annotation.Nonnull String pathToProject, @javax.annotation.Nonnull String uri, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<List<LspSymbol>> localVarResp = lspDocumentSymbolsDeprecatedWithHttpInfo(sandboxId, languageId, pathToProject, uri, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Call Lsp DocumentSymbols
     * The document symbol request is sent from the client to the server.
     * @param sandboxId  (required)
     * @param languageId  (required)
     * @param pathToProject  (required)
     * @param uri  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;List&lt;LspSymbol&gt;&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<List<LspSymbol>> lspDocumentSymbolsDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String languageId, @javax.annotation.Nonnull String pathToProject, @javax.annotation.Nonnull String uri, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = lspDocumentSymbolsDeprecatedValidateBeforeCall(sandboxId, languageId, pathToProject, uri, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<List<LspSymbol>>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Call Lsp DocumentSymbols (asynchronously)
     * The document symbol request is sent from the client to the server.
     * @param sandboxId  (required)
     * @param languageId  (required)
     * @param pathToProject  (required)
     * @param uri  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call lspDocumentSymbolsDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String languageId, @javax.annotation.Nonnull String pathToProject, @javax.annotation.Nonnull String uri, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<List<LspSymbol>> _callback) throws ApiException {

        okhttp3.Call localVarCall = lspDocumentSymbolsDeprecatedValidateBeforeCall(sandboxId, languageId, pathToProject, uri, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<List<LspSymbol>>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for lspStartDeprecated
     * @param sandboxId  (required)
     * @param lspServerRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call lspStartDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspServerRequest lspServerRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = lspServerRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/lsp/start"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call lspStartDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspServerRequest lspServerRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling lspStartDeprecated(Async)");
        }

        // verify the required parameter 'lspServerRequest' is set
        if (lspServerRequest == null) {
            throw new ApiException("Missing the required parameter 'lspServerRequest' when calling lspStartDeprecated(Async)");
        }

        return lspStartDeprecatedCall(sandboxId, lspServerRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Start Lsp server
     * Start Lsp server process inside sandbox project
     * @param sandboxId  (required)
     * @param lspServerRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void lspStartDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspServerRequest lspServerRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        lspStartDeprecatedWithHttpInfo(sandboxId, lspServerRequest, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Start Lsp server
     * Start Lsp server process inside sandbox project
     * @param sandboxId  (required)
     * @param lspServerRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> lspStartDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspServerRequest lspServerRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = lspStartDeprecatedValidateBeforeCall(sandboxId, lspServerRequest, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Start Lsp server (asynchronously)
     * Start Lsp server process inside sandbox project
     * @param sandboxId  (required)
     * @param lspServerRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call lspStartDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspServerRequest lspServerRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = lspStartDeprecatedValidateBeforeCall(sandboxId, lspServerRequest, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for lspStopDeprecated
     * @param sandboxId  (required)
     * @param lspServerRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call lspStopDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspServerRequest lspServerRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = lspServerRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/lsp/stop"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call lspStopDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspServerRequest lspServerRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling lspStopDeprecated(Async)");
        }

        // verify the required parameter 'lspServerRequest' is set
        if (lspServerRequest == null) {
            throw new ApiException("Missing the required parameter 'lspServerRequest' when calling lspStopDeprecated(Async)");
        }

        return lspStopDeprecatedCall(sandboxId, lspServerRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Stop Lsp server
     * Stop Lsp server process inside sandbox project
     * @param sandboxId  (required)
     * @param lspServerRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void lspStopDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspServerRequest lspServerRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        lspStopDeprecatedWithHttpInfo(sandboxId, lspServerRequest, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Stop Lsp server
     * Stop Lsp server process inside sandbox project
     * @param sandboxId  (required)
     * @param lspServerRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> lspStopDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspServerRequest lspServerRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = lspStopDeprecatedValidateBeforeCall(sandboxId, lspServerRequest, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Stop Lsp server (asynchronously)
     * Stop Lsp server process inside sandbox project
     * @param sandboxId  (required)
     * @param lspServerRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call lspStopDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull LspServerRequest lspServerRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = lspStopDeprecatedValidateBeforeCall(sandboxId, lspServerRequest, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for lspWorkspaceSymbolsDeprecated
     * @param sandboxId  (required)
     * @param languageId  (required)
     * @param pathToProject  (required)
     * @param query  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call lspWorkspaceSymbolsDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String languageId, @javax.annotation.Nonnull String pathToProject, @javax.annotation.Nonnull String query, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/lsp/workspace-symbols"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (languageId != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("languageId", languageId));
        }

        if (pathToProject != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("pathToProject", pathToProject));
        }

        if (query != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("query", query));
        }

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call lspWorkspaceSymbolsDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String languageId, @javax.annotation.Nonnull String pathToProject, @javax.annotation.Nonnull String query, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling lspWorkspaceSymbolsDeprecated(Async)");
        }

        // verify the required parameter 'languageId' is set
        if (languageId == null) {
            throw new ApiException("Missing the required parameter 'languageId' when calling lspWorkspaceSymbolsDeprecated(Async)");
        }

        // verify the required parameter 'pathToProject' is set
        if (pathToProject == null) {
            throw new ApiException("Missing the required parameter 'pathToProject' when calling lspWorkspaceSymbolsDeprecated(Async)");
        }

        // verify the required parameter 'query' is set
        if (query == null) {
            throw new ApiException("Missing the required parameter 'query' when calling lspWorkspaceSymbolsDeprecated(Async)");
        }

        return lspWorkspaceSymbolsDeprecatedCall(sandboxId, languageId, pathToProject, query, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Call Lsp WorkspaceSymbols
     * The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
     * @param sandboxId  (required)
     * @param languageId  (required)
     * @param pathToProject  (required)
     * @param query  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return List&lt;LspSymbol&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public List<LspSymbol> lspWorkspaceSymbolsDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String languageId, @javax.annotation.Nonnull String pathToProject, @javax.annotation.Nonnull String query, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<List<LspSymbol>> localVarResp = lspWorkspaceSymbolsDeprecatedWithHttpInfo(sandboxId, languageId, pathToProject, query, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Call Lsp WorkspaceSymbols
     * The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
     * @param sandboxId  (required)
     * @param languageId  (required)
     * @param pathToProject  (required)
     * @param query  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;List&lt;LspSymbol&gt;&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<List<LspSymbol>> lspWorkspaceSymbolsDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String languageId, @javax.annotation.Nonnull String pathToProject, @javax.annotation.Nonnull String query, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = lspWorkspaceSymbolsDeprecatedValidateBeforeCall(sandboxId, languageId, pathToProject, query, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<List<LspSymbol>>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Call Lsp WorkspaceSymbols (asynchronously)
     * The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
     * @param sandboxId  (required)
     * @param languageId  (required)
     * @param pathToProject  (required)
     * @param query  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> OK </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call lspWorkspaceSymbolsDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String languageId, @javax.annotation.Nonnull String pathToProject, @javax.annotation.Nonnull String query, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<List<LspSymbol>> _callback) throws ApiException {

        okhttp3.Call localVarCall = lspWorkspaceSymbolsDeprecatedValidateBeforeCall(sandboxId, languageId, pathToProject, query, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<List<LspSymbol>>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for moveFileDeprecated
     * @param sandboxId  (required)
     * @param source  (required)
     * @param destination  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File moved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call moveFileDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String source, @javax.annotation.Nonnull String destination, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/files/move"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (source != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("source", source));
        }

        if (destination != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("destination", destination));
        }

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call moveFileDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String source, @javax.annotation.Nonnull String destination, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling moveFileDeprecated(Async)");
        }

        // verify the required parameter 'source' is set
        if (source == null) {
            throw new ApiException("Missing the required parameter 'source' when calling moveFileDeprecated(Async)");
        }

        // verify the required parameter 'destination' is set
        if (destination == null) {
            throw new ApiException("Missing the required parameter 'destination' when calling moveFileDeprecated(Async)");
        }

        return moveFileDeprecatedCall(sandboxId, source, destination, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Move file
     * Move file inside sandbox
     * @param sandboxId  (required)
     * @param source  (required)
     * @param destination  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File moved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void moveFileDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String source, @javax.annotation.Nonnull String destination, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        moveFileDeprecatedWithHttpInfo(sandboxId, source, destination, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Move file
     * Move file inside sandbox
     * @param sandboxId  (required)
     * @param source  (required)
     * @param destination  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File moved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> moveFileDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String source, @javax.annotation.Nonnull String destination, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = moveFileDeprecatedValidateBeforeCall(sandboxId, source, destination, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Move file (asynchronously)
     * Move file inside sandbox
     * @param sandboxId  (required)
     * @param source  (required)
     * @param destination  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File moved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call moveFileDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String source, @javax.annotation.Nonnull String destination, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = moveFileDeprecatedValidateBeforeCall(sandboxId, source, destination, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for moveMouseDeprecated
     * @param sandboxId  (required)
     * @param mouseMoveRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse moved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call moveMouseDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseMoveRequest mouseMoveRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = mouseMoveRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/computeruse/mouse/move"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call moveMouseDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseMoveRequest mouseMoveRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling moveMouseDeprecated(Async)");
        }

        // verify the required parameter 'mouseMoveRequest' is set
        if (mouseMoveRequest == null) {
            throw new ApiException("Missing the required parameter 'mouseMoveRequest' when calling moveMouseDeprecated(Async)");
        }

        return moveMouseDeprecatedCall(sandboxId, mouseMoveRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Move mouse
     * Move mouse cursor to specified coordinates
     * @param sandboxId  (required)
     * @param mouseMoveRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return MouseMoveResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse moved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public MouseMoveResponse moveMouseDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseMoveRequest mouseMoveRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<MouseMoveResponse> localVarResp = moveMouseDeprecatedWithHttpInfo(sandboxId, mouseMoveRequest, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Move mouse
     * Move mouse cursor to specified coordinates
     * @param sandboxId  (required)
     * @param mouseMoveRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;MouseMoveResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse moved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<MouseMoveResponse> moveMouseDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseMoveRequest mouseMoveRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = moveMouseDeprecatedValidateBeforeCall(sandboxId, mouseMoveRequest, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<MouseMoveResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Move mouse (asynchronously)
     * Move mouse cursor to specified coordinates
     * @param sandboxId  (required)
     * @param mouseMoveRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse moved successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call moveMouseDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseMoveRequest mouseMoveRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<MouseMoveResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = moveMouseDeprecatedValidateBeforeCall(sandboxId, mouseMoveRequest, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<MouseMoveResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for pressHotkeyDeprecated
     * @param sandboxId  (required)
     * @param keyboardHotkeyRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Hotkey pressed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call pressHotkeyDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull KeyboardHotkeyRequest keyboardHotkeyRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = keyboardHotkeyRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/computeruse/keyboard/hotkey"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call pressHotkeyDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull KeyboardHotkeyRequest keyboardHotkeyRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling pressHotkeyDeprecated(Async)");
        }

        // verify the required parameter 'keyboardHotkeyRequest' is set
        if (keyboardHotkeyRequest == null) {
            throw new ApiException("Missing the required parameter 'keyboardHotkeyRequest' when calling pressHotkeyDeprecated(Async)");
        }

        return pressHotkeyDeprecatedCall(sandboxId, keyboardHotkeyRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Press hotkey
     * Press a hotkey combination
     * @param sandboxId  (required)
     * @param keyboardHotkeyRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Hotkey pressed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void pressHotkeyDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull KeyboardHotkeyRequest keyboardHotkeyRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        pressHotkeyDeprecatedWithHttpInfo(sandboxId, keyboardHotkeyRequest, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Press hotkey
     * Press a hotkey combination
     * @param sandboxId  (required)
     * @param keyboardHotkeyRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Hotkey pressed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> pressHotkeyDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull KeyboardHotkeyRequest keyboardHotkeyRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = pressHotkeyDeprecatedValidateBeforeCall(sandboxId, keyboardHotkeyRequest, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Press hotkey (asynchronously)
     * Press a hotkey combination
     * @param sandboxId  (required)
     * @param keyboardHotkeyRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Hotkey pressed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call pressHotkeyDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull KeyboardHotkeyRequest keyboardHotkeyRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = pressHotkeyDeprecatedValidateBeforeCall(sandboxId, keyboardHotkeyRequest, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for pressKeyDeprecated
     * @param sandboxId  (required)
     * @param keyboardPressRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Key pressed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call pressKeyDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull KeyboardPressRequest keyboardPressRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = keyboardPressRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/computeruse/keyboard/key"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call pressKeyDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull KeyboardPressRequest keyboardPressRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling pressKeyDeprecated(Async)");
        }

        // verify the required parameter 'keyboardPressRequest' is set
        if (keyboardPressRequest == null) {
            throw new ApiException("Missing the required parameter 'keyboardPressRequest' when calling pressKeyDeprecated(Async)");
        }

        return pressKeyDeprecatedCall(sandboxId, keyboardPressRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Press key
     * Press a key with optional modifiers
     * @param sandboxId  (required)
     * @param keyboardPressRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Key pressed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void pressKeyDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull KeyboardPressRequest keyboardPressRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        pressKeyDeprecatedWithHttpInfo(sandboxId, keyboardPressRequest, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Press key
     * Press a key with optional modifiers
     * @param sandboxId  (required)
     * @param keyboardPressRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Key pressed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> pressKeyDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull KeyboardPressRequest keyboardPressRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = pressKeyDeprecatedValidateBeforeCall(sandboxId, keyboardPressRequest, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Press key (asynchronously)
     * Press a key with optional modifiers
     * @param sandboxId  (required)
     * @param keyboardPressRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Key pressed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call pressKeyDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull KeyboardPressRequest keyboardPressRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = pressKeyDeprecatedValidateBeforeCall(sandboxId, keyboardPressRequest, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for replaceInFilesDeprecated
     * @param sandboxId  (required)
     * @param replaceRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Text replaced successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call replaceInFilesDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull ReplaceRequest replaceRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = replaceRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/files/replace"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call replaceInFilesDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull ReplaceRequest replaceRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling replaceInFilesDeprecated(Async)");
        }

        // verify the required parameter 'replaceRequest' is set
        if (replaceRequest == null) {
            throw new ApiException("Missing the required parameter 'replaceRequest' when calling replaceInFilesDeprecated(Async)");
        }

        return replaceInFilesDeprecatedCall(sandboxId, replaceRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Replace in files
     * Replace text/pattern in multiple files inside sandbox
     * @param sandboxId  (required)
     * @param replaceRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return List&lt;ReplaceResult&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Text replaced successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public List<ReplaceResult> replaceInFilesDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull ReplaceRequest replaceRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<List<ReplaceResult>> localVarResp = replaceInFilesDeprecatedWithHttpInfo(sandboxId, replaceRequest, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Replace in files
     * Replace text/pattern in multiple files inside sandbox
     * @param sandboxId  (required)
     * @param replaceRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;List&lt;ReplaceResult&gt;&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Text replaced successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<List<ReplaceResult>> replaceInFilesDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull ReplaceRequest replaceRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = replaceInFilesDeprecatedValidateBeforeCall(sandboxId, replaceRequest, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<List<ReplaceResult>>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Replace in files (asynchronously)
     * Replace text/pattern in multiple files inside sandbox
     * @param sandboxId  (required)
     * @param replaceRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Text replaced successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call replaceInFilesDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull ReplaceRequest replaceRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<List<ReplaceResult>> _callback) throws ApiException {

        okhttp3.Call localVarCall = replaceInFilesDeprecatedValidateBeforeCall(sandboxId, replaceRequest, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<List<ReplaceResult>>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for resizePTYSessionDeprecated
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param ptyResizeRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> PTY session resized successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call resizePTYSessionDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull PtyResizeRequest ptyResizeRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = ptyResizeRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/process/pty/{sessionId}/resize"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()))
            .replace("{" + "sessionId" + "}", localVarApiClient.escapeString(sessionId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call resizePTYSessionDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull PtyResizeRequest ptyResizeRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling resizePTYSessionDeprecated(Async)");
        }

        // verify the required parameter 'sessionId' is set
        if (sessionId == null) {
            throw new ApiException("Missing the required parameter 'sessionId' when calling resizePTYSessionDeprecated(Async)");
        }

        // verify the required parameter 'ptyResizeRequest' is set
        if (ptyResizeRequest == null) {
            throw new ApiException("Missing the required parameter 'ptyResizeRequest' when calling resizePTYSessionDeprecated(Async)");
        }

        return resizePTYSessionDeprecatedCall(sandboxId, sessionId, ptyResizeRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Resize PTY session
     * Resize a PTY session
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param ptyResizeRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return PtySessionInfo
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> PTY session resized successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public PtySessionInfo resizePTYSessionDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull PtyResizeRequest ptyResizeRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<PtySessionInfo> localVarResp = resizePTYSessionDeprecatedWithHttpInfo(sandboxId, sessionId, ptyResizeRequest, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Resize PTY session
     * Resize a PTY session
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param ptyResizeRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;PtySessionInfo&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> PTY session resized successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<PtySessionInfo> resizePTYSessionDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull PtyResizeRequest ptyResizeRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = resizePTYSessionDeprecatedValidateBeforeCall(sandboxId, sessionId, ptyResizeRequest, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<PtySessionInfo>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Resize PTY session (asynchronously)
     * Resize a PTY session
     * @param sandboxId  (required)
     * @param sessionId  (required)
     * @param ptyResizeRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> PTY session resized successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call resizePTYSessionDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String sessionId, @javax.annotation.Nonnull PtyResizeRequest ptyResizeRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<PtySessionInfo> _callback) throws ApiException {

        okhttp3.Call localVarCall = resizePTYSessionDeprecatedValidateBeforeCall(sandboxId, sessionId, ptyResizeRequest, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<PtySessionInfo>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for restartProcessDeprecated
     * @param processName  (required)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Process restarted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call restartProcessDeprecatedCall(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/computeruse/process/{processName}/restart"
            .replace("{" + "processName" + "}", localVarApiClient.escapeString(processName.toString()))
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call restartProcessDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'processName' is set
        if (processName == null) {
            throw new ApiException("Missing the required parameter 'processName' when calling restartProcessDeprecated(Async)");
        }

        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling restartProcessDeprecated(Async)");
        }

        return restartProcessDeprecatedCall(processName, sandboxId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Restart process
     * Restart a specific VNC process
     * @param processName  (required)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ProcessRestartResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Process restarted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ProcessRestartResponse restartProcessDeprecated(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<ProcessRestartResponse> localVarResp = restartProcessDeprecatedWithHttpInfo(processName, sandboxId, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Restart process
     * Restart a specific VNC process
     * @param processName  (required)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;ProcessRestartResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Process restarted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<ProcessRestartResponse> restartProcessDeprecatedWithHttpInfo(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = restartProcessDeprecatedValidateBeforeCall(processName, sandboxId, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<ProcessRestartResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Restart process (asynchronously)
     * Restart a specific VNC process
     * @param processName  (required)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Process restarted successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call restartProcessDeprecatedAsync(@javax.annotation.Nonnull String processName, @javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<ProcessRestartResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = restartProcessDeprecatedValidateBeforeCall(processName, sandboxId, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<ProcessRestartResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for scrollMouseDeprecated
     * @param sandboxId  (required)
     * @param mouseScrollRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse scrolled successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call scrollMouseDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseScrollRequest mouseScrollRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = mouseScrollRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/computeruse/mouse/scroll"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call scrollMouseDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseScrollRequest mouseScrollRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling scrollMouseDeprecated(Async)");
        }

        // verify the required parameter 'mouseScrollRequest' is set
        if (mouseScrollRequest == null) {
            throw new ApiException("Missing the required parameter 'mouseScrollRequest' when calling scrollMouseDeprecated(Async)");
        }

        return scrollMouseDeprecatedCall(sandboxId, mouseScrollRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Scroll mouse
     * Scroll mouse at specified coordinates
     * @param sandboxId  (required)
     * @param mouseScrollRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return MouseScrollResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse scrolled successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public MouseScrollResponse scrollMouseDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseScrollRequest mouseScrollRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<MouseScrollResponse> localVarResp = scrollMouseDeprecatedWithHttpInfo(sandboxId, mouseScrollRequest, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Scroll mouse
     * Scroll mouse at specified coordinates
     * @param sandboxId  (required)
     * @param mouseScrollRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;MouseScrollResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse scrolled successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<MouseScrollResponse> scrollMouseDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseScrollRequest mouseScrollRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = scrollMouseDeprecatedValidateBeforeCall(sandboxId, mouseScrollRequest, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<MouseScrollResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Scroll mouse (asynchronously)
     * Scroll mouse at specified coordinates
     * @param sandboxId  (required)
     * @param mouseScrollRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Mouse scrolled successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call scrollMouseDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull MouseScrollRequest mouseScrollRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<MouseScrollResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = scrollMouseDeprecatedValidateBeforeCall(sandboxId, mouseScrollRequest, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<MouseScrollResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for searchFilesDeprecated
     * @param sandboxId  (required)
     * @param path  (required)
     * @param pattern  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Search completed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call searchFilesDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nonnull String pattern, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/files/search"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (path != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path));
        }

        if (pattern != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("pattern", pattern));
        }

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call searchFilesDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nonnull String pattern, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling searchFilesDeprecated(Async)");
        }

        // verify the required parameter 'path' is set
        if (path == null) {
            throw new ApiException("Missing the required parameter 'path' when calling searchFilesDeprecated(Async)");
        }

        // verify the required parameter 'pattern' is set
        if (pattern == null) {
            throw new ApiException("Missing the required parameter 'pattern' when calling searchFilesDeprecated(Async)");
        }

        return searchFilesDeprecatedCall(sandboxId, path, pattern, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Search files
     * Search for files inside sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param pattern  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return SearchFilesResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Search completed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public SearchFilesResponse searchFilesDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nonnull String pattern, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<SearchFilesResponse> localVarResp = searchFilesDeprecatedWithHttpInfo(sandboxId, path, pattern, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Search files
     * Search for files inside sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param pattern  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;SearchFilesResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Search completed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<SearchFilesResponse> searchFilesDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nonnull String pattern, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = searchFilesDeprecatedValidateBeforeCall(sandboxId, path, pattern, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<SearchFilesResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Search files (asynchronously)
     * Search for files inside sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param pattern  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Search completed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call searchFilesDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nonnull String pattern, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<SearchFilesResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = searchFilesDeprecatedValidateBeforeCall(sandboxId, path, pattern, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<SearchFilesResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for setFilePermissionsDeprecated
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param owner  (optional)
     * @param group  (optional)
     * @param mode  (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File permissions updated successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call setFilePermissionsDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable String owner, @javax.annotation.Nullable String group, @javax.annotation.Nullable String mode, 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 = "/toolbox/{sandboxId}/toolbox/files/permissions"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (path != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path));
        }

        if (owner != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("owner", owner));
        }

        if (group != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("group", group));
        }

        if (mode != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("mode", mode));
        }

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call setFilePermissionsDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable String owner, @javax.annotation.Nullable String group, @javax.annotation.Nullable String mode, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling setFilePermissionsDeprecated(Async)");
        }

        // verify the required parameter 'path' is set
        if (path == null) {
            throw new ApiException("Missing the required parameter 'path' when calling setFilePermissionsDeprecated(Async)");
        }

        return setFilePermissionsDeprecatedCall(sandboxId, path, xDaytonaOrganizationID, owner, group, mode, _callback);

    }

    /**
     * [DEPRECATED] Set file permissions
     * Set file owner/group/permissions inside sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param owner  (optional)
     * @param group  (optional)
     * @param mode  (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File permissions updated successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void setFilePermissionsDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable String owner, @javax.annotation.Nullable String group, @javax.annotation.Nullable String mode) throws ApiException {
        setFilePermissionsDeprecatedWithHttpInfo(sandboxId, path, xDaytonaOrganizationID, owner, group, mode);
    }

    /**
     * [DEPRECATED] Set file permissions
     * Set file owner/group/permissions inside sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param owner  (optional)
     * @param group  (optional)
     * @param mode  (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File permissions updated successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> setFilePermissionsDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable String owner, @javax.annotation.Nullable String group, @javax.annotation.Nullable String mode) throws ApiException {
        okhttp3.Call localVarCall = setFilePermissionsDeprecatedValidateBeforeCall(sandboxId, path, xDaytonaOrganizationID, owner, group, mode, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Set file permissions (asynchronously)
     * Set file owner/group/permissions inside sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param owner  (optional)
     * @param group  (optional)
     * @param mode  (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File permissions updated successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call setFilePermissionsDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable String owner, @javax.annotation.Nullable String group, @javax.annotation.Nullable String mode, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = setFilePermissionsDeprecatedValidateBeforeCall(sandboxId, path, xDaytonaOrganizationID, owner, group, mode, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for startComputerUseDeprecated
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Computer use processes started successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call startComputerUseDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/computeruse/start"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call startComputerUseDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling startComputerUseDeprecated(Async)");
        }

        return startComputerUseDeprecatedCall(sandboxId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Start computer use processes
     * Start all VNC desktop processes (Xvfb, xfce4, x11vnc, novnc)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ComputerUseStartResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Computer use processes started successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ComputerUseStartResponse startComputerUseDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<ComputerUseStartResponse> localVarResp = startComputerUseDeprecatedWithHttpInfo(sandboxId, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Start computer use processes
     * Start all VNC desktop processes (Xvfb, xfce4, x11vnc, novnc)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;ComputerUseStartResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Computer use processes started successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<ComputerUseStartResponse> startComputerUseDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = startComputerUseDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<ComputerUseStartResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Start computer use processes (asynchronously)
     * Start all VNC desktop processes (Xvfb, xfce4, x11vnc, novnc)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Computer use processes started successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call startComputerUseDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<ComputerUseStartResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = startComputerUseDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<ComputerUseStartResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for stopComputerUseDeprecated
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Computer use processes stopped successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call stopComputerUseDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/computeruse/stop"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call stopComputerUseDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling stopComputerUseDeprecated(Async)");
        }

        return stopComputerUseDeprecatedCall(sandboxId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Stop computer use processes
     * Stop all VNC desktop processes (Xvfb, xfce4, x11vnc, novnc)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ComputerUseStopResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Computer use processes stopped successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ComputerUseStopResponse stopComputerUseDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        ApiResponse<ComputerUseStopResponse> localVarResp = stopComputerUseDeprecatedWithHttpInfo(sandboxId, xDaytonaOrganizationID);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Stop computer use processes
     * Stop all VNC desktop processes (Xvfb, xfce4, x11vnc, novnc)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;ComputerUseStopResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Computer use processes stopped successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<ComputerUseStopResponse> stopComputerUseDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = stopComputerUseDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, null);
        Type localVarReturnType = new TypeToken<ComputerUseStopResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Stop computer use processes (asynchronously)
     * Stop all VNC desktop processes (Xvfb, xfce4, x11vnc, novnc)
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Computer use processes stopped successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call stopComputerUseDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<ComputerUseStopResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = stopComputerUseDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, _callback);
        Type localVarReturnType = new TypeToken<ComputerUseStopResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for takeCompressedRegionScreenshotDeprecated
     * @param sandboxId  (required)
     * @param height  (required)
     * @param width  (required)
     * @param y  (required)
     * @param x  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param scale  (optional)
     * @param quality  (optional)
     * @param format  (optional)
     * @param showCursor  (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Compressed region screenshot taken successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call takeCompressedRegionScreenshotDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull BigDecimal height, @javax.annotation.Nonnull BigDecimal width, @javax.annotation.Nonnull BigDecimal y, @javax.annotation.Nonnull BigDecimal x, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable BigDecimal scale, @javax.annotation.Nullable BigDecimal quality, @javax.annotation.Nullable String format, @javax.annotation.Nullable Boolean showCursor, 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 = "/toolbox/{sandboxId}/toolbox/computeruse/screenshot/region/compressed"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (scale != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("scale", scale));
        }

        if (quality != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("quality", quality));
        }

        if (format != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("format", format));
        }

        if (showCursor != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("show_cursor", showCursor));
        }

        if (height != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("height", height));
        }

        if (width != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("width", width));
        }

        if (y != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("y", y));
        }

        if (x != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("x", x));
        }

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call takeCompressedRegionScreenshotDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull BigDecimal height, @javax.annotation.Nonnull BigDecimal width, @javax.annotation.Nonnull BigDecimal y, @javax.annotation.Nonnull BigDecimal x, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable BigDecimal scale, @javax.annotation.Nullable BigDecimal quality, @javax.annotation.Nullable String format, @javax.annotation.Nullable Boolean showCursor, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling takeCompressedRegionScreenshotDeprecated(Async)");
        }

        // verify the required parameter 'height' is set
        if (height == null) {
            throw new ApiException("Missing the required parameter 'height' when calling takeCompressedRegionScreenshotDeprecated(Async)");
        }

        // verify the required parameter 'width' is set
        if (width == null) {
            throw new ApiException("Missing the required parameter 'width' when calling takeCompressedRegionScreenshotDeprecated(Async)");
        }

        // verify the required parameter 'y' is set
        if (y == null) {
            throw new ApiException("Missing the required parameter 'y' when calling takeCompressedRegionScreenshotDeprecated(Async)");
        }

        // verify the required parameter 'x' is set
        if (x == null) {
            throw new ApiException("Missing the required parameter 'x' when calling takeCompressedRegionScreenshotDeprecated(Async)");
        }

        return takeCompressedRegionScreenshotDeprecatedCall(sandboxId, height, width, y, x, xDaytonaOrganizationID, scale, quality, format, showCursor, _callback);

    }

    /**
     * [DEPRECATED] Take compressed region screenshot
     * Take a compressed screenshot of a specific region
     * @param sandboxId  (required)
     * @param height  (required)
     * @param width  (required)
     * @param y  (required)
     * @param x  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param scale  (optional)
     * @param quality  (optional)
     * @param format  (optional)
     * @param showCursor  (optional)
     * @return CompressedScreenshotResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Compressed region screenshot taken successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public CompressedScreenshotResponse takeCompressedRegionScreenshotDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull BigDecimal height, @javax.annotation.Nonnull BigDecimal width, @javax.annotation.Nonnull BigDecimal y, @javax.annotation.Nonnull BigDecimal x, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable BigDecimal scale, @javax.annotation.Nullable BigDecimal quality, @javax.annotation.Nullable String format, @javax.annotation.Nullable Boolean showCursor) throws ApiException {
        ApiResponse<CompressedScreenshotResponse> localVarResp = takeCompressedRegionScreenshotDeprecatedWithHttpInfo(sandboxId, height, width, y, x, xDaytonaOrganizationID, scale, quality, format, showCursor);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Take compressed region screenshot
     * Take a compressed screenshot of a specific region
     * @param sandboxId  (required)
     * @param height  (required)
     * @param width  (required)
     * @param y  (required)
     * @param x  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param scale  (optional)
     * @param quality  (optional)
     * @param format  (optional)
     * @param showCursor  (optional)
     * @return ApiResponse&lt;CompressedScreenshotResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Compressed region screenshot taken successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<CompressedScreenshotResponse> takeCompressedRegionScreenshotDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull BigDecimal height, @javax.annotation.Nonnull BigDecimal width, @javax.annotation.Nonnull BigDecimal y, @javax.annotation.Nonnull BigDecimal x, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable BigDecimal scale, @javax.annotation.Nullable BigDecimal quality, @javax.annotation.Nullable String format, @javax.annotation.Nullable Boolean showCursor) throws ApiException {
        okhttp3.Call localVarCall = takeCompressedRegionScreenshotDeprecatedValidateBeforeCall(sandboxId, height, width, y, x, xDaytonaOrganizationID, scale, quality, format, showCursor, null);
        Type localVarReturnType = new TypeToken<CompressedScreenshotResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Take compressed region screenshot (asynchronously)
     * Take a compressed screenshot of a specific region
     * @param sandboxId  (required)
     * @param height  (required)
     * @param width  (required)
     * @param y  (required)
     * @param x  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param scale  (optional)
     * @param quality  (optional)
     * @param format  (optional)
     * @param showCursor  (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Compressed region screenshot taken successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call takeCompressedRegionScreenshotDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull BigDecimal height, @javax.annotation.Nonnull BigDecimal width, @javax.annotation.Nonnull BigDecimal y, @javax.annotation.Nonnull BigDecimal x, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable BigDecimal scale, @javax.annotation.Nullable BigDecimal quality, @javax.annotation.Nullable String format, @javax.annotation.Nullable Boolean showCursor, final ApiCallback<CompressedScreenshotResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = takeCompressedRegionScreenshotDeprecatedValidateBeforeCall(sandboxId, height, width, y, x, xDaytonaOrganizationID, scale, quality, format, showCursor, _callback);
        Type localVarReturnType = new TypeToken<CompressedScreenshotResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for takeCompressedScreenshotDeprecated
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param scale  (optional)
     * @param quality  (optional)
     * @param format  (optional)
     * @param showCursor  (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Compressed screenshot taken successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call takeCompressedScreenshotDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable BigDecimal scale, @javax.annotation.Nullable BigDecimal quality, @javax.annotation.Nullable String format, @javax.annotation.Nullable Boolean showCursor, 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 = "/toolbox/{sandboxId}/toolbox/computeruse/screenshot/compressed"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (scale != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("scale", scale));
        }

        if (quality != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("quality", quality));
        }

        if (format != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("format", format));
        }

        if (showCursor != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("show_cursor", showCursor));
        }

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call takeCompressedScreenshotDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable BigDecimal scale, @javax.annotation.Nullable BigDecimal quality, @javax.annotation.Nullable String format, @javax.annotation.Nullable Boolean showCursor, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling takeCompressedScreenshotDeprecated(Async)");
        }

        return takeCompressedScreenshotDeprecatedCall(sandboxId, xDaytonaOrganizationID, scale, quality, format, showCursor, _callback);

    }

    /**
     * [DEPRECATED] Take compressed screenshot
     * Take a compressed screenshot with format, quality, and scale options
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param scale  (optional)
     * @param quality  (optional)
     * @param format  (optional)
     * @param showCursor  (optional)
     * @return CompressedScreenshotResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Compressed screenshot taken successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public CompressedScreenshotResponse takeCompressedScreenshotDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable BigDecimal scale, @javax.annotation.Nullable BigDecimal quality, @javax.annotation.Nullable String format, @javax.annotation.Nullable Boolean showCursor) throws ApiException {
        ApiResponse<CompressedScreenshotResponse> localVarResp = takeCompressedScreenshotDeprecatedWithHttpInfo(sandboxId, xDaytonaOrganizationID, scale, quality, format, showCursor);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Take compressed screenshot
     * Take a compressed screenshot with format, quality, and scale options
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param scale  (optional)
     * @param quality  (optional)
     * @param format  (optional)
     * @param showCursor  (optional)
     * @return ApiResponse&lt;CompressedScreenshotResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Compressed screenshot taken successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<CompressedScreenshotResponse> takeCompressedScreenshotDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable BigDecimal scale, @javax.annotation.Nullable BigDecimal quality, @javax.annotation.Nullable String format, @javax.annotation.Nullable Boolean showCursor) throws ApiException {
        okhttp3.Call localVarCall = takeCompressedScreenshotDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, scale, quality, format, showCursor, null);
        Type localVarReturnType = new TypeToken<CompressedScreenshotResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Take compressed screenshot (asynchronously)
     * Take a compressed screenshot with format, quality, and scale options
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param scale  (optional)
     * @param quality  (optional)
     * @param format  (optional)
     * @param showCursor  (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Compressed screenshot taken successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call takeCompressedScreenshotDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable BigDecimal scale, @javax.annotation.Nullable BigDecimal quality, @javax.annotation.Nullable String format, @javax.annotation.Nullable Boolean showCursor, final ApiCallback<CompressedScreenshotResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = takeCompressedScreenshotDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, scale, quality, format, showCursor, _callback);
        Type localVarReturnType = new TypeToken<CompressedScreenshotResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for takeRegionScreenshotDeprecated
     * @param sandboxId  (required)
     * @param height  (required)
     * @param width  (required)
     * @param y  (required)
     * @param x  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param showCursor  (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Region screenshot taken successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call takeRegionScreenshotDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull BigDecimal height, @javax.annotation.Nonnull BigDecimal width, @javax.annotation.Nonnull BigDecimal y, @javax.annotation.Nonnull BigDecimal x, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean showCursor, 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 = "/toolbox/{sandboxId}/toolbox/computeruse/screenshot/region"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (showCursor != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("show_cursor", showCursor));
        }

        if (height != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("height", height));
        }

        if (width != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("width", width));
        }

        if (y != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("y", y));
        }

        if (x != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("x", x));
        }

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call takeRegionScreenshotDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull BigDecimal height, @javax.annotation.Nonnull BigDecimal width, @javax.annotation.Nonnull BigDecimal y, @javax.annotation.Nonnull BigDecimal x, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean showCursor, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling takeRegionScreenshotDeprecated(Async)");
        }

        // verify the required parameter 'height' is set
        if (height == null) {
            throw new ApiException("Missing the required parameter 'height' when calling takeRegionScreenshotDeprecated(Async)");
        }

        // verify the required parameter 'width' is set
        if (width == null) {
            throw new ApiException("Missing the required parameter 'width' when calling takeRegionScreenshotDeprecated(Async)");
        }

        // verify the required parameter 'y' is set
        if (y == null) {
            throw new ApiException("Missing the required parameter 'y' when calling takeRegionScreenshotDeprecated(Async)");
        }

        // verify the required parameter 'x' is set
        if (x == null) {
            throw new ApiException("Missing the required parameter 'x' when calling takeRegionScreenshotDeprecated(Async)");
        }

        return takeRegionScreenshotDeprecatedCall(sandboxId, height, width, y, x, xDaytonaOrganizationID, showCursor, _callback);

    }

    /**
     * [DEPRECATED] Take region screenshot
     * Take a screenshot of a specific region
     * @param sandboxId  (required)
     * @param height  (required)
     * @param width  (required)
     * @param y  (required)
     * @param x  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param showCursor  (optional)
     * @return RegionScreenshotResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Region screenshot taken successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public RegionScreenshotResponse takeRegionScreenshotDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull BigDecimal height, @javax.annotation.Nonnull BigDecimal width, @javax.annotation.Nonnull BigDecimal y, @javax.annotation.Nonnull BigDecimal x, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean showCursor) throws ApiException {
        ApiResponse<RegionScreenshotResponse> localVarResp = takeRegionScreenshotDeprecatedWithHttpInfo(sandboxId, height, width, y, x, xDaytonaOrganizationID, showCursor);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Take region screenshot
     * Take a screenshot of a specific region
     * @param sandboxId  (required)
     * @param height  (required)
     * @param width  (required)
     * @param y  (required)
     * @param x  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param showCursor  (optional)
     * @return ApiResponse&lt;RegionScreenshotResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Region screenshot taken successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<RegionScreenshotResponse> takeRegionScreenshotDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull BigDecimal height, @javax.annotation.Nonnull BigDecimal width, @javax.annotation.Nonnull BigDecimal y, @javax.annotation.Nonnull BigDecimal x, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean showCursor) throws ApiException {
        okhttp3.Call localVarCall = takeRegionScreenshotDeprecatedValidateBeforeCall(sandboxId, height, width, y, x, xDaytonaOrganizationID, showCursor, null);
        Type localVarReturnType = new TypeToken<RegionScreenshotResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Take region screenshot (asynchronously)
     * Take a screenshot of a specific region
     * @param sandboxId  (required)
     * @param height  (required)
     * @param width  (required)
     * @param y  (required)
     * @param x  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param showCursor  (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Region screenshot taken successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call takeRegionScreenshotDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull BigDecimal height, @javax.annotation.Nonnull BigDecimal width, @javax.annotation.Nonnull BigDecimal y, @javax.annotation.Nonnull BigDecimal x, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean showCursor, final ApiCallback<RegionScreenshotResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = takeRegionScreenshotDeprecatedValidateBeforeCall(sandboxId, height, width, y, x, xDaytonaOrganizationID, showCursor, _callback);
        Type localVarReturnType = new TypeToken<RegionScreenshotResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for takeScreenshotDeprecated
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param showCursor  (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Screenshot taken successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call takeScreenshotDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean showCursor, 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 = "/toolbox/{sandboxId}/toolbox/computeruse/screenshot"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (showCursor != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("show_cursor", showCursor));
        }

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call takeScreenshotDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean showCursor, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling takeScreenshotDeprecated(Async)");
        }

        return takeScreenshotDeprecatedCall(sandboxId, xDaytonaOrganizationID, showCursor, _callback);

    }

    /**
     * [DEPRECATED] Take screenshot
     * Take a screenshot of the entire screen
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param showCursor  (optional)
     * @return ScreenshotResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Screenshot taken successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ScreenshotResponse takeScreenshotDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean showCursor) throws ApiException {
        ApiResponse<ScreenshotResponse> localVarResp = takeScreenshotDeprecatedWithHttpInfo(sandboxId, xDaytonaOrganizationID, showCursor);
        return localVarResp.getData();
    }

    /**
     * [DEPRECATED] Take screenshot
     * Take a screenshot of the entire screen
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param showCursor  (optional)
     * @return ApiResponse&lt;ScreenshotResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Screenshot taken successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<ScreenshotResponse> takeScreenshotDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean showCursor) throws ApiException {
        okhttp3.Call localVarCall = takeScreenshotDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, showCursor, null);
        Type localVarReturnType = new TypeToken<ScreenshotResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     * [DEPRECATED] Take screenshot (asynchronously)
     * Take a screenshot of the entire screen
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param showCursor  (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Screenshot taken successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call takeScreenshotDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable Boolean showCursor, final ApiCallback<ScreenshotResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = takeScreenshotDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, showCursor, _callback);
        Type localVarReturnType = new TypeToken<ScreenshotResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for typeTextDeprecated
     * @param sandboxId  (required)
     * @param keyboardTypeRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Text typed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call typeTextDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull KeyboardTypeRequest keyboardTypeRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = keyboardTypeRequest;

        // create path and map variables
        String localVarPath = "/toolbox/{sandboxId}/toolbox/computeruse/keyboard/type"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call typeTextDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull KeyboardTypeRequest keyboardTypeRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling typeTextDeprecated(Async)");
        }

        // verify the required parameter 'keyboardTypeRequest' is set
        if (keyboardTypeRequest == null) {
            throw new ApiException("Missing the required parameter 'keyboardTypeRequest' when calling typeTextDeprecated(Async)");
        }

        return typeTextDeprecatedCall(sandboxId, keyboardTypeRequest, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Type text
     * Type text using keyboard
     * @param sandboxId  (required)
     * @param keyboardTypeRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Text typed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void typeTextDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull KeyboardTypeRequest keyboardTypeRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        typeTextDeprecatedWithHttpInfo(sandboxId, keyboardTypeRequest, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Type text
     * Type text using keyboard
     * @param sandboxId  (required)
     * @param keyboardTypeRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Text typed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> typeTextDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull KeyboardTypeRequest keyboardTypeRequest, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = typeTextDeprecatedValidateBeforeCall(sandboxId, keyboardTypeRequest, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Type text (asynchronously)
     * Type text using keyboard
     * @param sandboxId  (required)
     * @param keyboardTypeRequest  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Text typed successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call typeTextDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull KeyboardTypeRequest keyboardTypeRequest, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = typeTextDeprecatedValidateBeforeCall(sandboxId, keyboardTypeRequest, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for uploadFileDeprecated
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param _file  (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File uploaded successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call uploadFileDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable File _file, 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 = "/toolbox/{sandboxId}/toolbox/files/upload"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        if (_file != null) {
            localVarFormParams.put("file", _file);
        }

        if (path != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path));
        }

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "multipart/form-data"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call uploadFileDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable File _file, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling uploadFileDeprecated(Async)");
        }

        // verify the required parameter 'path' is set
        if (path == null) {
            throw new ApiException("Missing the required parameter 'path' when calling uploadFileDeprecated(Async)");
        }

        return uploadFileDeprecatedCall(sandboxId, path, xDaytonaOrganizationID, _file, _callback);

    }

    /**
     * [DEPRECATED] Upload file
     * Upload file inside sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param _file  (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File uploaded successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void uploadFileDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable File _file) throws ApiException {
        uploadFileDeprecatedWithHttpInfo(sandboxId, path, xDaytonaOrganizationID, _file);
    }

    /**
     * [DEPRECATED] Upload file
     * Upload file inside sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param _file  (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File uploaded successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> uploadFileDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable File _file) throws ApiException {
        okhttp3.Call localVarCall = uploadFileDeprecatedValidateBeforeCall(sandboxId, path, xDaytonaOrganizationID, _file, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Upload file (asynchronously)
     * Upload file inside sandbox
     * @param sandboxId  (required)
     * @param path  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @param _file  (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> File uploaded successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call uploadFileDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nonnull String path, @javax.annotation.Nullable String xDaytonaOrganizationID, @javax.annotation.Nullable File _file, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = uploadFileDeprecatedValidateBeforeCall(sandboxId, path, xDaytonaOrganizationID, _file, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
    /**
     * Build call for uploadFilesDeprecated
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Files uploaded successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call uploadFilesDeprecatedCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, 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 = "/toolbox/{sandboxId}/toolbox/files/bulk-upload"
            .replace("{" + "sandboxId" + "}", localVarApiClient.escapeString(sandboxId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, String> localVarCookieParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

        final String[] localVarAccepts = {
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "multipart/form-data"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        if (xDaytonaOrganizationID != null) {
            localVarHeaderParams.put("X-Daytona-Organization-ID", localVarApiClient.parameterToString(xDaytonaOrganizationID));
        }


        String[] localVarAuthNames = new String[] { "bearer", "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call uploadFilesDeprecatedValidateBeforeCall(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback _callback) throws ApiException {
        // verify the required parameter 'sandboxId' is set
        if (sandboxId == null) {
            throw new ApiException("Missing the required parameter 'sandboxId' when calling uploadFilesDeprecated(Async)");
        }

        return uploadFilesDeprecatedCall(sandboxId, xDaytonaOrganizationID, _callback);

    }

    /**
     * [DEPRECATED] Upload multiple files
     * Upload multiple files inside sandbox
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Files uploaded successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public void uploadFilesDeprecated(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        uploadFilesDeprecatedWithHttpInfo(sandboxId, xDaytonaOrganizationID);
    }

    /**
     * [DEPRECATED] Upload multiple files
     * Upload multiple files inside sandbox
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (optional)
     * @return ApiResponse&lt;Void&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Files uploaded successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<Void> uploadFilesDeprecatedWithHttpInfo(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID) throws ApiException {
        okhttp3.Call localVarCall = uploadFilesDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, null);
        return localVarApiClient.execute(localVarCall);
    }

    /**
     * [DEPRECATED] Upload multiple files (asynchronously)
     * Upload multiple files inside sandbox
     * @param sandboxId  (required)
     * @param xDaytonaOrganizationID Use with JWT to specify the organization ID (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
     <table border="1">
       <caption>Response Details</caption>
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 200 </td><td> Files uploaded successfully </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call uploadFilesDeprecatedAsync(@javax.annotation.Nonnull String sandboxId, @javax.annotation.Nullable String xDaytonaOrganizationID, final ApiCallback<Void> _callback) throws ApiException {

        okhttp3.Call localVarCall = uploadFilesDeprecatedValidateBeforeCall(sandboxId, xDaytonaOrganizationID, _callback);
        localVarApiClient.executeAsync(localVarCall, _callback);
        return localVarCall;
    }
}
