fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
102 lines • 2.6 kB
TypeScript
/**
* 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 PostVote200Response
*/
export interface PostVote200Response {
/**
*
* @type {APIStatus}
* @memberof PostVote200Response
*/
status: APIStatus;
/**
*
* @type {string}
* @memberof PostVote200Response
*/
voteId?: string;
/**
*
* @type {boolean}
* @memberof PostVote200Response
*/
isVerified?: boolean;
/**
*
* @type {VoteResponseUser}
* @memberof PostVote200Response
*/
user?: VoteResponseUser;
/**
*
* @type {string}
* @memberof PostVote200Response
*/
editKey?: string;
/**
*
* @type {string}
* @memberof PostVote200Response
*/
reason: string;
/**
*
* @type {string}
* @memberof PostVote200Response
*/
code: string;
/**
*
* @type {string}
* @memberof PostVote200Response
*/
secondaryCode?: string;
/**
*
* @type {number}
* @memberof PostVote200Response
*/
bannedUntil?: number;
/**
*
* @type {number}
* @memberof PostVote200Response
*/
maxCharacterLength?: number;
/**
*
* @type {string}
* @memberof PostVote200Response
*/
translatedError?: string;
/**
*
* @type {CustomConfigParameters}
* @memberof PostVote200Response
*/
customConfig?: CustomConfigParameters;
}
/**
* Check if a given object implements the PostVote200Response interface.
*/
export declare function instanceOfPostVote200Response(value: object): value is PostVote200Response;
export declare function PostVote200ResponseFromJSON(json: any): PostVote200Response;
export declare function PostVote200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostVote200Response;
export declare function PostVote200ResponseToJSON(json: any): PostVote200Response;
export declare function PostVote200ResponseToJSONTyped(value?: PostVote200Response | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=PostVote200Response.d.ts.map