fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
56 lines • 1.6 kB
JavaScript
;
/* 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.GifRating = void 0;
exports.instanceOfGifRating = instanceOfGifRating;
exports.GifRatingFromJSON = GifRatingFromJSON;
exports.GifRatingFromJSONTyped = GifRatingFromJSONTyped;
exports.GifRatingToJSON = GifRatingToJSON;
exports.GifRatingToJSONTyped = GifRatingToJSONTyped;
/**
*
* @export
* @enum {string}
*/
var GifRating;
(function (GifRating) {
GifRating["g"] = "g";
GifRating["pg"] = "pg";
GifRating["pg_13"] = "pg-13";
GifRating["r"] = "r";
})(GifRating || (exports.GifRating = GifRating = {}));
function instanceOfGifRating(value) {
for (const key in GifRating) {
if (Object.prototype.hasOwnProperty.call(GifRating, key)) {
if (GifRating[key] === value) {
return true;
}
}
}
return false;
}
function GifRatingFromJSON(json) {
return GifRatingFromJSONTyped(json, false);
}
function GifRatingFromJSONTyped(json, ignoreDiscriminator) {
return json;
}
function GifRatingToJSON(value) {
return value;
}
function GifRatingToJSONTyped(value, ignoreDiscriminator) {
return value;
}
//# sourceMappingURL=GifRating.js.map