UNPKG

fastcomments-sdk

Version:

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

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