/** * Kafka Management API * Kafka Management API is a REST API to manage Kafka instances * * The version of the OpenAPI document: 1.16.0 * Contact: rhosak-support@redhat.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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { ErrorList } from '../model'; /** * ErrorsApi - axios parameter creator * @export */ export declare const ErrorsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the error by Id * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} */ getErrorById: (id: string, options?: AxiosRequestConfig) => Promise; /** * Returns the list of possible API errors * @param {*} [options] Override http request option. * @throws {RequiredError} */ getErrors: (options?: AxiosRequestConfig) => Promise; }; /** * ErrorsApi - functional programming interface * @export */ export declare const ErrorsApiFp: (configuration?: Configuration) => { /** * Returns the error by Id * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} */ getErrorById(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the list of possible API errors * @param {*} [options] Override http request option. * @throws {RequiredError} */ getErrors(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ErrorsApi - factory interface * @export */ export declare const ErrorsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the error by Id * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} */ getErrorById(id: string, options?: any): AxiosPromise; /** * Returns the list of possible API errors * @param {*} [options] Override http request option. * @throws {RequiredError} */ getErrors(options?: any): AxiosPromise; }; /** * ErrorsApi - interface * @export * @interface ErrorsApi */ export interface ErrorsApiInterface { /** * Returns the error by Id * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ErrorsApiInterface */ getErrorById(id: string, options?: AxiosRequestConfig): AxiosPromise; /** * Returns the list of possible API errors * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ErrorsApiInterface */ getErrors(options?: AxiosRequestConfig): AxiosPromise; } /** * ErrorsApi - object-oriented interface * @export * @class ErrorsApi * @extends {BaseAPI} */ export declare class ErrorsApi extends BaseAPI implements ErrorsApiInterface { /** * Returns the error by Id * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ErrorsApi */ getErrorById(id: string, options?: AxiosRequestConfig): Promise>; /** * Returns the list of possible API errors * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ErrorsApi */ getErrors(options?: AxiosRequestConfig): Promise>; }