UNPKG

fastcomments-sdk

Version:

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

54 lines 1.56 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.APIStatus = void 0; exports.instanceOfAPIStatus = instanceOfAPIStatus; exports.APIStatusFromJSON = APIStatusFromJSON; exports.APIStatusFromJSONTyped = APIStatusFromJSONTyped; exports.APIStatusToJSON = APIStatusToJSON; exports.APIStatusToJSONTyped = APIStatusToJSONTyped; /** * * @export * @enum {string} */ var APIStatus; (function (APIStatus) { APIStatus["success"] = "success"; APIStatus["failed"] = "failed"; })(APIStatus || (exports.APIStatus = APIStatus = {})); function instanceOfAPIStatus(value) { for (const key in APIStatus) { if (Object.prototype.hasOwnProperty.call(APIStatus, key)) { if (APIStatus[key] === value) { return true; } } } return false; } function APIStatusFromJSON(json) { return APIStatusFromJSONTyped(json, false); } function APIStatusFromJSONTyped(json, ignoreDiscriminator) { return json; } function APIStatusToJSON(value) { return value; } function APIStatusToJSONTyped(value, ignoreDiscriminator) { return value; } //# sourceMappingURL=APIStatus.js.map