UNPKG

fastcomments-sdk

Version:

FastComments API Client - A SDK for interacting with the FastComments API

84 lines 2.28 kB
/** * fastcomments * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 0.0.0 * * * 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 { CustomConfigParameters } from './CustomConfigParameters'; import type { APIComment } from './APIComment'; import type { APIStatus } from './APIStatus'; /** * * @export * @interface GetCommentsResponse */ export interface GetCommentsResponse { /** * * @type {APIStatus} * @memberof GetCommentsResponse */ status: APIStatus; /** * * @type {Array<APIComment>} * @memberof GetCommentsResponse */ comments: Array<APIComment>; /** * * @type {string} * @memberof GetCommentsResponse */ reason: string; /** * * @type {string} * @memberof GetCommentsResponse */ code: string; /** * * @type {string} * @memberof GetCommentsResponse */ secondaryCode?: string; /** * * @type {number} * @memberof GetCommentsResponse */ bannedUntil?: number; /** * * @type {number} * @memberof GetCommentsResponse */ maxCharacterLength?: number; /** * * @type {string} * @memberof GetCommentsResponse */ translatedError?: string; /** * * @type {CustomConfigParameters} * @memberof GetCommentsResponse */ customConfig?: CustomConfigParameters; } /** * Check if a given object implements the GetCommentsResponse interface. */ export declare function instanceOfGetCommentsResponse(value: object): value is GetCommentsResponse; export declare function GetCommentsResponseFromJSON(json: any): GetCommentsResponse; export declare function GetCommentsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCommentsResponse; export declare function GetCommentsResponseToJSON(json: any): GetCommentsResponse; export declare function GetCommentsResponseToJSONTyped(value?: GetCommentsResponse | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=GetCommentsResponse.d.ts.map