/*
 * 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.ApiException;
import java.math.BigDecimal;
import io.daytona.api.client.model.CreateWorkspace;
import io.daytona.api.client.model.SandboxLabels;
import io.daytona.api.client.model.Workspace;
import io.daytona.api.client.model.WorkspacePortPreviewUrl;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * API tests for WorkspaceApi
 */
@Disabled
public class WorkspaceApiTest {

    private final WorkspaceApi api = new WorkspaceApi();

    /**
     * [DEPRECATED] Archive workspace
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void archiveWorkspaceDeprecatedTest() throws ApiException {
        String workspaceId = null;
        String xDaytonaOrganizationID = null;
        api.archiveWorkspaceDeprecated(workspaceId, xDaytonaOrganizationID);
        // TODO: test validations
    }

    /**
     * [DEPRECATED] Create workspace backup
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void createBackupWorkspaceDeprecatedTest() throws ApiException {
        String workspaceId = null;
        String xDaytonaOrganizationID = null;
        Workspace response = api.createBackupWorkspaceDeprecated(workspaceId, xDaytonaOrganizationID);
        // TODO: test validations
    }

    /**
     * [DEPRECATED] Create a new workspace
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void createWorkspaceDeprecatedTest() throws ApiException {
        CreateWorkspace createWorkspace = null;
        String xDaytonaOrganizationID = null;
        Workspace response = api.createWorkspaceDeprecated(createWorkspace, xDaytonaOrganizationID);
        // TODO: test validations
    }

    /**
     * [DEPRECATED] Delete workspace
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void deleteWorkspaceDeprecatedTest() throws ApiException {
        String workspaceId = null;
        Boolean force = null;
        String xDaytonaOrganizationID = null;
        api.deleteWorkspaceDeprecated(workspaceId, force, xDaytonaOrganizationID);
        // TODO: test validations
    }

    /**
     * [DEPRECATED] Get build logs
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void getBuildLogsWorkspaceDeprecatedTest() throws ApiException {
        String workspaceId = null;
        String xDaytonaOrganizationID = null;
        Boolean follow = null;
        api.getBuildLogsWorkspaceDeprecated(workspaceId, xDaytonaOrganizationID, follow);
        // TODO: test validations
    }

    /**
     * [DEPRECATED] Get preview URL for a workspace port
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void getPortPreviewUrlWorkspaceDeprecatedTest() throws ApiException {
        String workspaceId = null;
        BigDecimal port = null;
        String xDaytonaOrganizationID = null;
        WorkspacePortPreviewUrl response = api.getPortPreviewUrlWorkspaceDeprecated(workspaceId, port, xDaytonaOrganizationID);
        // TODO: test validations
    }

    /**
     * [DEPRECATED] Get workspace details
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void getWorkspaceDeprecatedTest() throws ApiException {
        String workspaceId = null;
        String xDaytonaOrganizationID = null;
        Boolean verbose = null;
        Workspace response = api.getWorkspaceDeprecated(workspaceId, xDaytonaOrganizationID, verbose);
        // TODO: test validations
    }

    /**
     * [DEPRECATED] List all workspaces
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void listWorkspacesDeprecatedTest() throws ApiException {
        String xDaytonaOrganizationID = null;
        Boolean verbose = null;
        String labels = null;
        List<Workspace> response = api.listWorkspacesDeprecated(xDaytonaOrganizationID, verbose, labels);
        // TODO: test validations
    }

    /**
     * [DEPRECATED] Replace workspace labels
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void replaceLabelsWorkspaceDeprecatedTest() throws ApiException {
        String workspaceId = null;
        SandboxLabels sandboxLabels = null;
        String xDaytonaOrganizationID = null;
        SandboxLabels response = api.replaceLabelsWorkspaceDeprecated(workspaceId, sandboxLabels, xDaytonaOrganizationID);
        // TODO: test validations
    }

    /**
     * [DEPRECATED] Set workspace auto-archive interval
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void setAutoArchiveIntervalWorkspaceDeprecatedTest() throws ApiException {
        String workspaceId = null;
        BigDecimal interval = null;
        String xDaytonaOrganizationID = null;
        api.setAutoArchiveIntervalWorkspaceDeprecated(workspaceId, interval, xDaytonaOrganizationID);
        // TODO: test validations
    }

    /**
     * [DEPRECATED] Set workspace auto-stop interval
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void setAutostopIntervalWorkspaceDeprecatedTest() throws ApiException {
        String workspaceId = null;
        BigDecimal interval = null;
        String xDaytonaOrganizationID = null;
        api.setAutostopIntervalWorkspaceDeprecated(workspaceId, interval, xDaytonaOrganizationID);
        // TODO: test validations
    }

    /**
     * [DEPRECATED] Start workspace
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void startWorkspaceDeprecatedTest() throws ApiException {
        String workspaceId = null;
        String xDaytonaOrganizationID = null;
        api.startWorkspaceDeprecated(workspaceId, xDaytonaOrganizationID);
        // TODO: test validations
    }

    /**
     * [DEPRECATED] Stop workspace
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void stopWorkspaceDeprecatedTest() throws ApiException {
        String workspaceId = null;
        String xDaytonaOrganizationID = null;
        api.stopWorkspaceDeprecated(workspaceId, xDaytonaOrganizationID);
        // TODO: test validations
    }

    /**
     * [DEPRECATED] Update public status
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void updatePublicStatusWorkspaceDeprecatedTest() throws ApiException {
        String workspaceId = null;
        Boolean isPublic = null;
        String xDaytonaOrganizationID = null;
        api.updatePublicStatusWorkspaceDeprecated(workspaceId, isPublic, xDaytonaOrganizationID);
        // TODO: test validations
    }

}
