UNPKG

fastcomments-sdk

Version:

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

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