UNPKG

fastcomments-sdk

Version:

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

97 lines 2.7 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 { ModerationAPIComment } from './ModerationAPIComment'; import type { APIStatus } from './APIStatus'; import type { ModerationFilter } from './ModerationFilter'; /** * * @export * @interface GetApiCommentsResponse */ export interface GetApiCommentsResponse { /** * * @type {APIStatus} * @memberof GetApiCommentsResponse */ status: APIStatus; /** * * @type {object} * @memberof GetApiCommentsResponse */ translations: object; /** * * @type {Array<ModerationAPIComment>} * @memberof GetApiCommentsResponse */ comments: Array<ModerationAPIComment>; /** * * @type {ModerationFilter} * @memberof GetApiCommentsResponse */ moderationFilter?: ModerationFilter; /** * * @type {string} * @memberof GetApiCommentsResponse */ reason: string; /** * * @type {string} * @memberof GetApiCommentsResponse */ code: string; /** * * @type {string} * @memberof GetApiCommentsResponse */ secondaryCode?: string; /** * * @type {number} * @memberof GetApiCommentsResponse */ bannedUntil?: number; /** * * @type {number} * @memberof GetApiCommentsResponse */ maxCharacterLength?: number; /** * * @type {string} * @memberof GetApiCommentsResponse */ translatedError?: string; /** * * @type {CustomConfigParameters} * @memberof GetApiCommentsResponse */ customConfig?: CustomConfigParameters; } /** * Check if a given object implements the GetApiCommentsResponse interface. */ export declare function instanceOfGetApiCommentsResponse(value: object): value is GetApiCommentsResponse; export declare function GetApiCommentsResponseFromJSON(json: any): GetApiCommentsResponse; export declare function GetApiCommentsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetApiCommentsResponse; export declare function GetApiCommentsResponseToJSON(json: any): GetApiCommentsResponse; export declare function GetApiCommentsResponseToJSONTyped(value?: GetApiCommentsResponse | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=GetApiCommentsResponse.d.ts.map