fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
55 lines • 1.71 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.SortDirections = void 0;
exports.instanceOfSortDirections = instanceOfSortDirections;
exports.SortDirectionsFromJSON = SortDirectionsFromJSON;
exports.SortDirectionsFromJSONTyped = SortDirectionsFromJSONTyped;
exports.SortDirectionsToJSON = SortDirectionsToJSON;
exports.SortDirectionsToJSONTyped = SortDirectionsToJSONTyped;
/**
*
* @export
* @enum {string}
*/
var SortDirections;
(function (SortDirections) {
SortDirections["OF"] = "OF";
SortDirections["NF"] = "NF";
SortDirections["MR"] = "MR";
})(SortDirections || (exports.SortDirections = SortDirections = {}));
function instanceOfSortDirections(value) {
for (const key in SortDirections) {
if (Object.prototype.hasOwnProperty.call(SortDirections, key)) {
if (SortDirections[key] === value) {
return true;
}
}
}
return false;
}
function SortDirectionsFromJSON(json) {
return SortDirectionsFromJSONTyped(json, false);
}
function SortDirectionsFromJSONTyped(json, ignoreDiscriminator) {
return json;
}
function SortDirectionsToJSON(value) {
return value;
}
function SortDirectionsToJSONTyped(value, ignoreDiscriminator) {
return value;
}
//# sourceMappingURL=SortDirections.js.map