/*
 * 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.WebhookAppPortalAccess;
import io.daytona.api.client.model.WebhookInitializationStatus;
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 WebhooksApi
 */
@Disabled
public class WebhooksApiTest {

    private final WebhooksApi api = new WebhooksApi();

    /**
     * Get Svix Consumer App Portal access for an organization
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void webhookControllerGetAppPortalAccessTest() throws ApiException {
        String organizationId = null;
        String xDaytonaOrganizationID = null;
        WebhookAppPortalAccess response = api.webhookControllerGetAppPortalAccess(organizationId, xDaytonaOrganizationID);
        // TODO: test validations
    }

    /**
     * Get webhook initialization status for an organization
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void webhookControllerGetInitializationStatusTest() throws ApiException {
        String organizationId = null;
        String xDaytonaOrganizationID = null;
        WebhookInitializationStatus response = api.webhookControllerGetInitializationStatus(organizationId, xDaytonaOrganizationID);
        // TODO: test validations
    }

    /**
     * Refresh cached endpoint presence flag for an organization
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void webhookControllerRefreshEndpointsTest() throws ApiException {
        String organizationId = null;
        String xDaytonaOrganizationID = null;
        api.webhookControllerRefreshEndpoints(organizationId, xDaytonaOrganizationID);
        // TODO: test validations
    }

}
