UNPKG

fastcomments-sdk

Version:

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

54 lines 1.59 kB
"use strict"; /* tslint:disable */ /* eslint-disable */ /** * 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. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.VoteStyle = void 0; exports.instanceOfVoteStyle = instanceOfVoteStyle; exports.VoteStyleFromJSON = VoteStyleFromJSON; exports.VoteStyleFromJSONTyped = VoteStyleFromJSONTyped; exports.VoteStyleToJSON = VoteStyleToJSON; exports.VoteStyleToJSONTyped = VoteStyleToJSONTyped; /** * * @export * @enum {string} */ var VoteStyle; (function (VoteStyle) { VoteStyle[VoteStyle["NUMBER_0"] = 0] = "NUMBER_0"; VoteStyle[VoteStyle["NUMBER_1"] = 1] = "NUMBER_1"; })(VoteStyle || (exports.VoteStyle = VoteStyle = {})); function instanceOfVoteStyle(value) { for (const key in VoteStyle) { if (Object.prototype.hasOwnProperty.call(VoteStyle, key)) { if (VoteStyle[key] === value) { return true; } } } return false; } function VoteStyleFromJSON(json) { return VoteStyleFromJSONTyped(json, false); } function VoteStyleFromJSONTyped(json, ignoreDiscriminator) { return json; } function VoteStyleToJSON(value) { return value; } function VoteStyleToJSONTyped(value, ignoreDiscriminator) { return value; } //# sourceMappingURL=VoteStyle.js.map