UNPKG

fastcomments-sdk

Version:

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

84 lines 2.24 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 GetCommentResponse */ export interface GetCommentResponse { /** * * @type {APIStatus} * @memberof GetCommentResponse */ status: APIStatus; /** * * @type {APIComment} * @memberof GetCommentResponse */ comment: APIComment; /** * * @type {string} * @memberof GetCommentResponse */ reason: string; /** * * @type {string} * @memberof GetCommentResponse */ code: string; /** * * @type {string} * @memberof GetCommentResponse */ secondaryCode?: string; /** * * @type {number} * @memberof GetCommentResponse */ bannedUntil?: number; /** * * @type {number} * @memberof GetCommentResponse */ maxCharacterLength?: number; /** * * @type {string} * @memberof GetCommentResponse */ translatedError?: string; /** * * @type {CustomConfigParameters} * @memberof GetCommentResponse */ customConfig?: CustomConfigParameters; } /** * Check if a given object implements the GetCommentResponse interface. */ export declare function instanceOfGetCommentResponse(value: object): value is GetCommentResponse; export declare function GetCommentResponseFromJSON(json: any): GetCommentResponse; export declare function GetCommentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCommentResponse; export declare function GetCommentResponseToJSON(json: any): GetCommentResponse; export declare function GetCommentResponseToJSONTyped(value?: GetCommentResponse | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=GetCommentResponse.d.ts.map