UNPKG

fastcomments-sdk

Version:

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

96 lines 2.56 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 { PublicVote } from './PublicVote'; import type { APIStatus } from './APIStatus'; /** * * @export * @interface GetVotes200Response */ export interface GetVotes200Response { /** * * @type {APIStatus} * @memberof GetVotes200Response */ status: APIStatus; /** * * @type {Array<PublicVote>} * @memberof GetVotes200Response */ appliedAuthorizedVotes: Array<PublicVote>; /** * * @type {Array<PublicVote>} * @memberof GetVotes200Response */ appliedAnonymousVotes: Array<PublicVote>; /** * * @type {Array<PublicVote>} * @memberof GetVotes200Response */ pendingVotes: Array<PublicVote>; /** * * @type {string} * @memberof GetVotes200Response */ reason: string; /** * * @type {string} * @memberof GetVotes200Response */ code: string; /** * * @type {string} * @memberof GetVotes200Response */ secondaryCode?: string; /** * * @type {number} * @memberof GetVotes200Response */ bannedUntil?: number; /** * * @type {number} * @memberof GetVotes200Response */ maxCharacterLength?: number; /** * * @type {string} * @memberof GetVotes200Response */ translatedError?: string; /** * * @type {CustomConfigParameters} * @memberof GetVotes200Response */ customConfig?: CustomConfigParameters; } /** * Check if a given object implements the GetVotes200Response interface. */ export declare function instanceOfGetVotes200Response(value: object): value is GetVotes200Response; export declare function GetVotes200ResponseFromJSON(json: any): GetVotes200Response; export declare function GetVotes200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetVotes200Response; export declare function GetVotes200ResponseToJSON(json: any): GetVotes200Response; export declare function GetVotes200ResponseToJSONTyped(value?: GetVotes200Response | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=GetVotes200Response.d.ts.map