UNPKG

fastcomments-sdk

Version:

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

102 lines 2.58 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 { APIStatus } from './APIStatus'; import type { VoteResponseUser } from './VoteResponseUser'; /** * * @export * @interface CreateVoteResponse */ export interface CreateVoteResponse { /** * * @type {APIStatus} * @memberof CreateVoteResponse */ status: APIStatus; /** * * @type {string} * @memberof CreateVoteResponse */ voteId?: string; /** * * @type {boolean} * @memberof CreateVoteResponse */ isVerified?: boolean; /** * * @type {VoteResponseUser} * @memberof CreateVoteResponse */ user?: VoteResponseUser; /** * * @type {string} * @memberof CreateVoteResponse */ editKey?: string; /** * * @type {string} * @memberof CreateVoteResponse */ reason: string; /** * * @type {string} * @memberof CreateVoteResponse */ code: string; /** * * @type {string} * @memberof CreateVoteResponse */ secondaryCode?: string; /** * * @type {number} * @memberof CreateVoteResponse */ bannedUntil?: number; /** * * @type {number} * @memberof CreateVoteResponse */ maxCharacterLength?: number; /** * * @type {string} * @memberof CreateVoteResponse */ translatedError?: string; /** * * @type {CustomConfigParameters} * @memberof CreateVoteResponse */ customConfig?: CustomConfigParameters; } /** * Check if a given object implements the CreateVoteResponse interface. */ export declare function instanceOfCreateVoteResponse(value: object): value is CreateVoteResponse; export declare function CreateVoteResponseFromJSON(json: any): CreateVoteResponse; export declare function CreateVoteResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateVoteResponse; export declare function CreateVoteResponseToJSON(json: any): CreateVoteResponse; export declare function CreateVoteResponseToJSONTyped(value?: CreateVoteResponse | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=CreateVoteResponse.d.ts.map