/*
 * 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 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 PreviewApi
 */
@Disabled
public class PreviewApiTest {

    private final PreviewApi api = new PreviewApi();

    /**
     * Get sandbox ID from signed preview URL token
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void getSandboxIdFromSignedPreviewUrlTokenTest() throws ApiException {
        String signedPreviewToken = null;
        BigDecimal port = null;
        String response = api.getSandboxIdFromSignedPreviewUrlToken(signedPreviewToken, port);
        // TODO: test validations
    }

    /**
     * Check if user has access to the sandbox
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void hasSandboxAccessTest() throws ApiException {
        String sandboxId = null;
        Boolean response = api.hasSandboxAccess(sandboxId);
        // TODO: test validations
    }

    /**
     * Check if sandbox is public
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void isSandboxPublicTest() throws ApiException {
        String sandboxId = null;
        Boolean response = api.isSandboxPublic(sandboxId);
        // TODO: test validations
    }

    /**
     * Check if sandbox auth token is valid
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void isValidAuthTokenTest() throws ApiException {
        String sandboxId = null;
        String authToken = null;
        Boolean response = api.isValidAuthToken(sandboxId, authToken);
        // TODO: test validations
    }

}
