UNPKG

jack-kafka-management-sdk

Version:
118 lines (117 loc) 3.99 kB
/** * Kafka Management API * Kafka Management API is a REST API to manage Kafka instances * * The version of the OpenAPI document: 1.15.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<RequestArgs>; /** * Returns the list of possible API errors * @param {*} [options] Override http request option. * @throws {RequiredError} */ getErrors: (options?: AxiosRequestConfig) => Promise<RequestArgs>; }; /** * 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<Error>>; /** * Returns the list of possible API errors * @param {*} [options] Override http request option. * @throws {RequiredError} */ getErrors(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorList>>; }; /** * 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<Error>; /** * Returns the list of possible API errors * @param {*} [options] Override http request option. * @throws {RequiredError} */ getErrors(options?: any): AxiosPromise<ErrorList>; }; /** * 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<Error>; /** * Returns the list of possible API errors * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ErrorsApiInterface */ getErrors(options?: AxiosRequestConfig): AxiosPromise<ErrorList>; } /** * 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<import("axios").AxiosResponse<Error, any>>; /** * Returns the list of possible API errors * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ErrorsApi */ getErrors(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ErrorList, any>>; }