/*
 * 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 io.daytona.api.client.model.CreateDockerRegistry;
import io.daytona.api.client.model.DockerRegistry;
import io.daytona.api.client.model.RegistryPushAccessDto;
import io.daytona.api.client.model.UpdateDockerRegistry;
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 DockerRegistryApi
 */
@Disabled
public class DockerRegistryApiTest {

    private final DockerRegistryApi api = new DockerRegistryApi();

    /**
     * Create registry
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void createRegistryTest() throws ApiException {
        CreateDockerRegistry createDockerRegistry = null;
        String xDaytonaOrganizationID = null;
        DockerRegistry response = api.createRegistry(createDockerRegistry, xDaytonaOrganizationID);
        // TODO: test validations
    }

    /**
     * Delete registry
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void deleteRegistryTest() throws ApiException {
        String id = null;
        String xDaytonaOrganizationID = null;
        api.deleteRegistry(id, xDaytonaOrganizationID);
        // TODO: test validations
    }

    /**
     * Get registry
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void getRegistryTest() throws ApiException {
        String id = null;
        String xDaytonaOrganizationID = null;
        DockerRegistry response = api.getRegistry(id, xDaytonaOrganizationID);
        // TODO: test validations
    }

    /**
     * Get temporary registry access for pushing snapshots
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void getTransientPushAccessTest() throws ApiException {
        String xDaytonaOrganizationID = null;
        String regionId = null;
        RegistryPushAccessDto response = api.getTransientPushAccess(xDaytonaOrganizationID, regionId);
        // TODO: test validations
    }

    /**
     * List registries
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void listRegistriesTest() throws ApiException {
        String xDaytonaOrganizationID = null;
        List<DockerRegistry> response = api.listRegistries(xDaytonaOrganizationID);
        // TODO: test validations
    }

    /**
     * Update registry
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void updateRegistryTest() throws ApiException {
        String id = null;
        UpdateDockerRegistry updateDockerRegistry = null;
        String xDaytonaOrganizationID = null;
        DockerRegistry response = api.updateRegistry(id, updateDockerRegistry, xDaytonaOrganizationID);
        // TODO: test validations
    }

}
