/** * Athena API * REST API for the Athena system * * The version of the OpenAPI document: 1.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. */ /** * * @export * @interface UpsertVoteRequest */ export interface UpsertVoteRequest { /** * The ID of the message to vote on * @type {string} * @memberof UpsertVoteRequest */ messageId: string; /** * Vote direction * @type {string} * @memberof UpsertVoteRequest */ type: UpsertVoteRequestTypeEnum; } /** * @export */ export declare const UpsertVoteRequestTypeEnum: { readonly Up: "up"; readonly Down: "down"; }; export type UpsertVoteRequestTypeEnum = typeof UpsertVoteRequestTypeEnum[keyof typeof UpsertVoteRequestTypeEnum]; /** * Check if a given object implements the UpsertVoteRequest interface. */ export declare function instanceOfUpsertVoteRequest(value: object): value is UpsertVoteRequest; export declare function UpsertVoteRequestFromJSON(json: any): UpsertVoteRequest; export declare function UpsertVoteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpsertVoteRequest; export declare function UpsertVoteRequestToJSON(json: any): UpsertVoteRequest; export declare function UpsertVoteRequestToJSONTyped(value?: UpsertVoteRequest | null, ignoreDiscriminator?: boolean): any;