UNPKG

fastcomments-sdk

Version:

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

102 lines 2.53 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 PostVoteResponse */ export interface PostVoteResponse { /** * * @type {APIStatus} * @memberof PostVoteResponse */ status: APIStatus; /** * * @type {string} * @memberof PostVoteResponse */ voteId?: string; /** * * @type {boolean} * @memberof PostVoteResponse */ isVerified?: boolean; /** * * @type {VoteResponseUser} * @memberof PostVoteResponse */ user?: VoteResponseUser; /** * * @type {string} * @memberof PostVoteResponse */ editKey?: string; /** * * @type {string} * @memberof PostVoteResponse */ reason: string; /** * * @type {string} * @memberof PostVoteResponse */ code: string; /** * * @type {string} * @memberof PostVoteResponse */ secondaryCode?: string; /** * * @type {number} * @memberof PostVoteResponse */ bannedUntil?: number; /** * * @type {number} * @memberof PostVoteResponse */ maxCharacterLength?: number; /** * * @type {string} * @memberof PostVoteResponse */ translatedError?: string; /** * * @type {CustomConfigParameters} * @memberof PostVoteResponse */ customConfig?: CustomConfigParameters; } /** * Check if a given object implements the PostVoteResponse interface. */ export declare function instanceOfPostVoteResponse(value: object): value is PostVoteResponse; export declare function PostVoteResponseFromJSON(json: any): PostVoteResponse; export declare function PostVoteResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostVoteResponse; export declare function PostVoteResponseToJSON(json: any): PostVoteResponse; export declare function PostVoteResponseToJSONTyped(value?: PostVoteResponse | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=PostVoteResponse.d.ts.map