UNPKG

fastcomments-sdk

Version:

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

105 lines 2.99 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 { PublicComment } from './PublicComment'; import type { APIStatus } from './APIStatus'; import type { UserSessionInfo } from './UserSessionInfo'; /** * * @export * @interface CreateCommentPublicResponse */ export interface CreateCommentPublicResponse { /** * * @type {APIStatus} * @memberof CreateCommentPublicResponse */ status: APIStatus; /** * * @type {PublicComment} * @memberof CreateCommentPublicResponse */ comment: PublicComment; /** * * @type {UserSessionInfo} * @memberof CreateCommentPublicResponse */ user: UserSessionInfo | null; /** * Construct a type with a set of properties K of type T * @type {{ [key: string]: object; }} * @memberof CreateCommentPublicResponse */ moduleData?: { [key: string]: object; }; /** * * @type {string} * @memberof CreateCommentPublicResponse */ userIdWS?: string; /** * * @type {string} * @memberof CreateCommentPublicResponse */ reason: string; /** * * @type {string} * @memberof CreateCommentPublicResponse */ code: string; /** * * @type {string} * @memberof CreateCommentPublicResponse */ secondaryCode?: string; /** * * @type {number} * @memberof CreateCommentPublicResponse */ bannedUntil?: number; /** * * @type {number} * @memberof CreateCommentPublicResponse */ maxCharacterLength?: number; /** * * @type {string} * @memberof CreateCommentPublicResponse */ translatedError?: string; /** * * @type {CustomConfigParameters} * @memberof CreateCommentPublicResponse */ customConfig?: CustomConfigParameters; } /** * Check if a given object implements the CreateCommentPublicResponse interface. */ export declare function instanceOfCreateCommentPublicResponse(value: object): value is CreateCommentPublicResponse; export declare function CreateCommentPublicResponseFromJSON(json: any): CreateCommentPublicResponse; export declare function CreateCommentPublicResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateCommentPublicResponse; export declare function CreateCommentPublicResponseToJSON(json: any): CreateCommentPublicResponse; export declare function CreateCommentPublicResponseToJSONTyped(value?: CreateCommentPublicResponse | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=CreateCommentPublicResponse.d.ts.map