UNPKG

fastcomments-sdk

Version:

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

96 lines 2.52 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 GetVotesResponse1 */ export interface GetVotesResponse1 { /** * * @type {APIStatus} * @memberof GetVotesResponse1 */ status: APIStatus; /** * * @type {Array<PublicVote>} * @memberof GetVotesResponse1 */ appliedAuthorizedVotes: Array<PublicVote>; /** * * @type {Array<PublicVote>} * @memberof GetVotesResponse1 */ appliedAnonymousVotes: Array<PublicVote>; /** * * @type {Array<PublicVote>} * @memberof GetVotesResponse1 */ pendingVotes: Array<PublicVote>; /** * * @type {string} * @memberof GetVotesResponse1 */ reason: string; /** * * @type {string} * @memberof GetVotesResponse1 */ code: string; /** * * @type {string} * @memberof GetVotesResponse1 */ secondaryCode?: string; /** * * @type {number} * @memberof GetVotesResponse1 */ bannedUntil?: number; /** * * @type {number} * @memberof GetVotesResponse1 */ maxCharacterLength?: number; /** * * @type {string} * @memberof GetVotesResponse1 */ translatedError?: string; /** * * @type {CustomConfigParameters} * @memberof GetVotesResponse1 */ customConfig?: CustomConfigParameters; } /** * Check if a given object implements the GetVotesResponse1 interface. */ export declare function instanceOfGetVotesResponse1(value: object): value is GetVotesResponse1; export declare function GetVotesResponse1FromJSON(json: any): GetVotesResponse1; export declare function GetVotesResponse1FromJSONTyped(json: any, ignoreDiscriminator: boolean): GetVotesResponse1; export declare function GetVotesResponse1ToJSON(json: any): GetVotesResponse1; export declare function GetVotesResponse1ToJSONTyped(value?: GetVotesResponse1 | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=GetVotesResponse1.d.ts.map