/* tslint:disable */
/* eslint-disable */
/**
 * KubeBlocks Cloud API
 * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources.  The API is organized around REST.  Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs.  We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. 
 *
 * The version of the OpenAPI document: 1.0.0
 * Contact: support@apecloud.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


import type { Configuration } from '../configuration';
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
import globalAxios from 'axios';
// Some imports not used depending on template conditions
// @ts-ignore
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
// @ts-ignore
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
// @ts-ignore
import type { APIErrorResponse } from '../models';
// @ts-ignore
import type { AlertInhibit } from '../models';
// @ts-ignore
import type { AlertInhibitList } from '../models';
/**
 * AlertInhibitApi - axios parameter creator
 * @export
 */
export const AlertInhibitApiAxiosParamCreator = function (configuration?: Configuration) {
    return {
        /**
         * 
         * @summary Create alert inhibit
         * @param {string} orgName name of the Org
         * @param {AlertInhibit} [alertInhibit] 
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        createAlertInhibit: async (orgName: string, alertInhibit?: AlertInhibit, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
            // verify required parameter 'orgName' is not null or undefined
            assertParamExists('createAlertInhibit', 'orgName', orgName)
            const localVarPath = `/api/v1/organizations/{orgName}/alerts/inhibits`
                .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
            let baseOptions;
            if (configuration) {
                baseOptions = configuration.baseOptions;
            }

            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
            const localVarHeaderParameter = {} as any;
            const localVarQueryParameter = {} as any;

            // authentication BearerToken required
            // http bearer authentication required
            await setBearerAuthToObject(localVarHeaderParameter, configuration)

            // authentication DigestAuth required
            await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)


    
            localVarHeaderParameter['Content-Type'] = 'application/json';

            setSearchParams(localVarUrlObj, localVarQueryParameter);
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
            localVarRequestOptions.data = serializeDataIfNeeded(alertInhibit, localVarRequestOptions, configuration)

            return {
                url: toPathString(localVarUrlObj),
                options: localVarRequestOptions,
            };
        },
        /**
         * 
         * @summary Delete alert inhibit
         * @param {string} orgName name of the Org
         * @param {string} inhibitId inhibit id
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        deleteAlertInhibit: async (orgName: string, inhibitId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
            // verify required parameter 'orgName' is not null or undefined
            assertParamExists('deleteAlertInhibit', 'orgName', orgName)
            // verify required parameter 'inhibitId' is not null or undefined
            assertParamExists('deleteAlertInhibit', 'inhibitId', inhibitId)
            const localVarPath = `/api/v1/organizations/{orgName}/alerts/inhibits/{inhibitId}`
                .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
                .replace(`{${"inhibitId"}}`, encodeURIComponent(String(inhibitId)));
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
            let baseOptions;
            if (configuration) {
                baseOptions = configuration.baseOptions;
            }

            const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
            const localVarHeaderParameter = {} as any;
            const localVarQueryParameter = {} as any;

            // authentication BearerToken required
            // http bearer authentication required
            await setBearerAuthToObject(localVarHeaderParameter, configuration)

            // authentication DigestAuth required
            await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)


    
            setSearchParams(localVarUrlObj, localVarQueryParameter);
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};

            return {
                url: toPathString(localVarUrlObj),
                options: localVarRequestOptions,
            };
        },
        /**
         * 
         * @summary Get alert inhibit
         * @param {string} orgName name of the Org
         * @param {string} inhibitId inhibit id
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        getAlertInhibit: async (orgName: string, inhibitId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
            // verify required parameter 'orgName' is not null or undefined
            assertParamExists('getAlertInhibit', 'orgName', orgName)
            // verify required parameter 'inhibitId' is not null or undefined
            assertParamExists('getAlertInhibit', 'inhibitId', inhibitId)
            const localVarPath = `/api/v1/organizations/{orgName}/alerts/inhibits/{inhibitId}`
                .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
                .replace(`{${"inhibitId"}}`, encodeURIComponent(String(inhibitId)));
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
            let baseOptions;
            if (configuration) {
                baseOptions = configuration.baseOptions;
            }

            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
            const localVarHeaderParameter = {} as any;
            const localVarQueryParameter = {} as any;

            // authentication BearerToken required
            // http bearer authentication required
            await setBearerAuthToObject(localVarHeaderParameter, configuration)

            // authentication DigestAuth required
            await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)


    
            setSearchParams(localVarUrlObj, localVarQueryParameter);
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};

            return {
                url: toPathString(localVarUrlObj),
                options: localVarRequestOptions,
            };
        },
        /**
         * 
         * @summary List alert inhibits
         * @param {string} orgName name of the Org
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        listAlertInhibits: async (orgName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
            // verify required parameter 'orgName' is not null or undefined
            assertParamExists('listAlertInhibits', 'orgName', orgName)
            const localVarPath = `/api/v1/organizations/{orgName}/alerts/inhibits`
                .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
            let baseOptions;
            if (configuration) {
                baseOptions = configuration.baseOptions;
            }

            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
            const localVarHeaderParameter = {} as any;
            const localVarQueryParameter = {} as any;

            // authentication BearerToken required
            // http bearer authentication required
            await setBearerAuthToObject(localVarHeaderParameter, configuration)

            // authentication DigestAuth required
            await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)


    
            setSearchParams(localVarUrlObj, localVarQueryParameter);
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};

            return {
                url: toPathString(localVarUrlObj),
                options: localVarRequestOptions,
            };
        },
        /**
         * 
         * @summary Patch alert inhibit
         * @param {string} orgName name of the Org
         * @param {AlertInhibit} [alertInhibit] 
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        patchAlertInhibit: async (orgName: string, alertInhibit?: AlertInhibit, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
            // verify required parameter 'orgName' is not null or undefined
            assertParamExists('patchAlertInhibit', 'orgName', orgName)
            const localVarPath = `/api/v1/organizations/{orgName}/alerts/inhibits`
                .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
            let baseOptions;
            if (configuration) {
                baseOptions = configuration.baseOptions;
            }

            const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
            const localVarHeaderParameter = {} as any;
            const localVarQueryParameter = {} as any;

            // authentication BearerToken required
            // http bearer authentication required
            await setBearerAuthToObject(localVarHeaderParameter, configuration)

            // authentication DigestAuth required
            await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)


    
            localVarHeaderParameter['Content-Type'] = 'application/json';

            setSearchParams(localVarUrlObj, localVarQueryParameter);
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
            localVarRequestOptions.data = serializeDataIfNeeded(alertInhibit, localVarRequestOptions, configuration)

            return {
                url: toPathString(localVarUrlObj),
                options: localVarRequestOptions,
            };
        },
    }
};

/**
 * AlertInhibitApi - functional programming interface
 * @export
 */
export const AlertInhibitApiFp = function(configuration?: Configuration) {
    const localVarAxiosParamCreator = AlertInhibitApiAxiosParamCreator(configuration)
    return {
        /**
         * 
         * @summary Create alert inhibit
         * @param {string} orgName name of the Org
         * @param {AlertInhibit} [alertInhibit] 
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        async createAlertInhibit(orgName: string, alertInhibit?: AlertInhibit, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertInhibit>> {
            const localVarAxiosArgs = await localVarAxiosParamCreator.createAlertInhibit(orgName, alertInhibit, options);
            const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
            const localVarOperationServerBasePath = operationServerMap['AlertInhibitApi.createAlertInhibit']?.[localVarOperationServerIndex]?.url;
            return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
        },
        /**
         * 
         * @summary Delete alert inhibit
         * @param {string} orgName name of the Org
         * @param {string} inhibitId inhibit id
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        async deleteAlertInhibit(orgName: string, inhibitId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
            const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAlertInhibit(orgName, inhibitId, options);
            const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
            const localVarOperationServerBasePath = operationServerMap['AlertInhibitApi.deleteAlertInhibit']?.[localVarOperationServerIndex]?.url;
            return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
        },
        /**
         * 
         * @summary Get alert inhibit
         * @param {string} orgName name of the Org
         * @param {string} inhibitId inhibit id
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        async getAlertInhibit(orgName: string, inhibitId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertInhibit>> {
            const localVarAxiosArgs = await localVarAxiosParamCreator.getAlertInhibit(orgName, inhibitId, options);
            const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
            const localVarOperationServerBasePath = operationServerMap['AlertInhibitApi.getAlertInhibit']?.[localVarOperationServerIndex]?.url;
            return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
        },
        /**
         * 
         * @summary List alert inhibits
         * @param {string} orgName name of the Org
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        async listAlertInhibits(orgName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertInhibitList>> {
            const localVarAxiosArgs = await localVarAxiosParamCreator.listAlertInhibits(orgName, options);
            const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
            const localVarOperationServerBasePath = operationServerMap['AlertInhibitApi.listAlertInhibits']?.[localVarOperationServerIndex]?.url;
            return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
        },
        /**
         * 
         * @summary Patch alert inhibit
         * @param {string} orgName name of the Org
         * @param {AlertInhibit} [alertInhibit] 
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        async patchAlertInhibit(orgName: string, alertInhibit?: AlertInhibit, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertInhibit>> {
            const localVarAxiosArgs = await localVarAxiosParamCreator.patchAlertInhibit(orgName, alertInhibit, options);
            const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
            const localVarOperationServerBasePath = operationServerMap['AlertInhibitApi.patchAlertInhibit']?.[localVarOperationServerIndex]?.url;
            return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
        },
    }
};

/**
 * AlertInhibitApi - factory interface
 * @export
 */
export const AlertInhibitApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
    const localVarFp = AlertInhibitApiFp(configuration)
    return {
        /**
         * 
         * @summary Create alert inhibit
         * @param {AlertInhibitApiCreateAlertInhibitRequest} requestParameters Request parameters.
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        createAlertInhibit(requestParameters: AlertInhibitApiCreateAlertInhibitRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertInhibit> {
            return localVarFp.createAlertInhibit(requestParameters.orgName, requestParameters.alertInhibit, options).then((request) => request(axios, basePath));
        },
        /**
         * 
         * @summary Delete alert inhibit
         * @param {AlertInhibitApiDeleteAlertInhibitRequest} requestParameters Request parameters.
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        deleteAlertInhibit(requestParameters: AlertInhibitApiDeleteAlertInhibitRequest, options?: RawAxiosRequestConfig): AxiosPromise<object> {
            return localVarFp.deleteAlertInhibit(requestParameters.orgName, requestParameters.inhibitId, options).then((request) => request(axios, basePath));
        },
        /**
         * 
         * @summary Get alert inhibit
         * @param {AlertInhibitApiGetAlertInhibitRequest} requestParameters Request parameters.
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        getAlertInhibit(requestParameters: AlertInhibitApiGetAlertInhibitRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertInhibit> {
            return localVarFp.getAlertInhibit(requestParameters.orgName, requestParameters.inhibitId, options).then((request) => request(axios, basePath));
        },
        /**
         * 
         * @summary List alert inhibits
         * @param {AlertInhibitApiListAlertInhibitsRequest} requestParameters Request parameters.
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        listAlertInhibits(requestParameters: AlertInhibitApiListAlertInhibitsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertInhibitList> {
            return localVarFp.listAlertInhibits(requestParameters.orgName, options).then((request) => request(axios, basePath));
        },
        /**
         * 
         * @summary Patch alert inhibit
         * @param {AlertInhibitApiPatchAlertInhibitRequest} requestParameters Request parameters.
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        patchAlertInhibit(requestParameters: AlertInhibitApiPatchAlertInhibitRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertInhibit> {
            return localVarFp.patchAlertInhibit(requestParameters.orgName, requestParameters.alertInhibit, options).then((request) => request(axios, basePath));
        },
    };
};

/**
 * AlertInhibitApi - interface
 * @export
 * @interface AlertInhibitApi
 */
export interface AlertInhibitApiInterface {
    /**
     * 
     * @summary Create alert inhibit
     * @param {AlertInhibitApiCreateAlertInhibitRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertInhibitApiInterface
     */
    createAlertInhibit(requestParameters: AlertInhibitApiCreateAlertInhibitRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertInhibit>;

    /**
     * 
     * @summary Delete alert inhibit
     * @param {AlertInhibitApiDeleteAlertInhibitRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertInhibitApiInterface
     */
    deleteAlertInhibit(requestParameters: AlertInhibitApiDeleteAlertInhibitRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;

    /**
     * 
     * @summary Get alert inhibit
     * @param {AlertInhibitApiGetAlertInhibitRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertInhibitApiInterface
     */
    getAlertInhibit(requestParameters: AlertInhibitApiGetAlertInhibitRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertInhibit>;

    /**
     * 
     * @summary List alert inhibits
     * @param {AlertInhibitApiListAlertInhibitsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertInhibitApiInterface
     */
    listAlertInhibits(requestParameters: AlertInhibitApiListAlertInhibitsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertInhibitList>;

    /**
     * 
     * @summary Patch alert inhibit
     * @param {AlertInhibitApiPatchAlertInhibitRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertInhibitApiInterface
     */
    patchAlertInhibit(requestParameters: AlertInhibitApiPatchAlertInhibitRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertInhibit>;

}

/**
 * Request parameters for createAlertInhibit operation in AlertInhibitApi.
 * @export
 * @interface AlertInhibitApiCreateAlertInhibitRequest
 */
export interface AlertInhibitApiCreateAlertInhibitRequest {
    /**
     * name of the Org
     * @type {string}
     * @memberof AlertInhibitApiCreateAlertInhibit
     */
    readonly orgName: string

    /**
     * 
     * @type {AlertInhibit}
     * @memberof AlertInhibitApiCreateAlertInhibit
     */
    readonly alertInhibit?: AlertInhibit
}

/**
 * Request parameters for deleteAlertInhibit operation in AlertInhibitApi.
 * @export
 * @interface AlertInhibitApiDeleteAlertInhibitRequest
 */
export interface AlertInhibitApiDeleteAlertInhibitRequest {
    /**
     * name of the Org
     * @type {string}
     * @memberof AlertInhibitApiDeleteAlertInhibit
     */
    readonly orgName: string

    /**
     * inhibit id
     * @type {string}
     * @memberof AlertInhibitApiDeleteAlertInhibit
     */
    readonly inhibitId: string
}

/**
 * Request parameters for getAlertInhibit operation in AlertInhibitApi.
 * @export
 * @interface AlertInhibitApiGetAlertInhibitRequest
 */
export interface AlertInhibitApiGetAlertInhibitRequest {
    /**
     * name of the Org
     * @type {string}
     * @memberof AlertInhibitApiGetAlertInhibit
     */
    readonly orgName: string

    /**
     * inhibit id
     * @type {string}
     * @memberof AlertInhibitApiGetAlertInhibit
     */
    readonly inhibitId: string
}

/**
 * Request parameters for listAlertInhibits operation in AlertInhibitApi.
 * @export
 * @interface AlertInhibitApiListAlertInhibitsRequest
 */
export interface AlertInhibitApiListAlertInhibitsRequest {
    /**
     * name of the Org
     * @type {string}
     * @memberof AlertInhibitApiListAlertInhibits
     */
    readonly orgName: string
}

/**
 * Request parameters for patchAlertInhibit operation in AlertInhibitApi.
 * @export
 * @interface AlertInhibitApiPatchAlertInhibitRequest
 */
export interface AlertInhibitApiPatchAlertInhibitRequest {
    /**
     * name of the Org
     * @type {string}
     * @memberof AlertInhibitApiPatchAlertInhibit
     */
    readonly orgName: string

    /**
     * 
     * @type {AlertInhibit}
     * @memberof AlertInhibitApiPatchAlertInhibit
     */
    readonly alertInhibit?: AlertInhibit
}

/**
 * AlertInhibitApi - object-oriented interface
 * @export
 * @class AlertInhibitApi
 * @extends {BaseAPI}
 */
export class AlertInhibitApi extends BaseAPI implements AlertInhibitApiInterface {
    /**
     * 
     * @summary Create alert inhibit
     * @param {AlertInhibitApiCreateAlertInhibitRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertInhibitApi
     */
    public createAlertInhibit(requestParameters: AlertInhibitApiCreateAlertInhibitRequest, options?: RawAxiosRequestConfig) {
        return AlertInhibitApiFp(this.configuration).createAlertInhibit(requestParameters.orgName, requestParameters.alertInhibit, options).then((request) => request(this.axios, this.basePath));
    }

    /**
     * 
     * @summary Delete alert inhibit
     * @param {AlertInhibitApiDeleteAlertInhibitRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertInhibitApi
     */
    public deleteAlertInhibit(requestParameters: AlertInhibitApiDeleteAlertInhibitRequest, options?: RawAxiosRequestConfig) {
        return AlertInhibitApiFp(this.configuration).deleteAlertInhibit(requestParameters.orgName, requestParameters.inhibitId, options).then((request) => request(this.axios, this.basePath));
    }

    /**
     * 
     * @summary Get alert inhibit
     * @param {AlertInhibitApiGetAlertInhibitRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertInhibitApi
     */
    public getAlertInhibit(requestParameters: AlertInhibitApiGetAlertInhibitRequest, options?: RawAxiosRequestConfig) {
        return AlertInhibitApiFp(this.configuration).getAlertInhibit(requestParameters.orgName, requestParameters.inhibitId, options).then((request) => request(this.axios, this.basePath));
    }

    /**
     * 
     * @summary List alert inhibits
     * @param {AlertInhibitApiListAlertInhibitsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertInhibitApi
     */
    public listAlertInhibits(requestParameters: AlertInhibitApiListAlertInhibitsRequest, options?: RawAxiosRequestConfig) {
        return AlertInhibitApiFp(this.configuration).listAlertInhibits(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
    }

    /**
     * 
     * @summary Patch alert inhibit
     * @param {AlertInhibitApiPatchAlertInhibitRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertInhibitApi
     */
    public patchAlertInhibit(requestParameters: AlertInhibitApiPatchAlertInhibitRequest, options?: RawAxiosRequestConfig) {
        return AlertInhibitApiFp(this.configuration).patchAlertInhibit(requestParameters.orgName, requestParameters.alertInhibit, options).then((request) => request(this.axios, this.basePath));
    }
}

