/* tslint:disable */
/* eslint-disable */
/**
 * Synapse REST API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import * as runtime from '../runtime';
import { DockerRegistryEventListToJSON, } from '../models/index';
/**
 *
 */
export class DockerRegistryEventServicesApi extends runtime.BaseAPI {
    /**
     */
    async postDockerRegistryListenerV1EventsRaw(requestParameters, initOverrides) {
        if (requestParameters['dockerRegistryEventList'] == null) {
            throw new runtime.RequiredError('dockerRegistryEventList', 'Required parameter "dockerRegistryEventList" was null or undefined when calling postDockerRegistryListenerV1Events().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        let urlPath = `/dockerRegistryListener/v1/events`;
        const response = await this.request({
            path: urlPath,
            method: 'POST',
            headers: headerParameters,
            query: queryParameters,
            body: DockerRegistryEventListToJSON(requestParameters['dockerRegistryEventList']),
        }, initOverrides);
        return new runtime.VoidApiResponse(response);
    }
    /**
     */
    async postDockerRegistryListenerV1Events(requestParameters, initOverrides) {
        await this.postDockerRegistryListenerV1EventsRaw(requestParameters, initOverrides);
    }
}
//# sourceMappingURL=DockerRegistryEventServicesApi.js.map