fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
55 lines • 1.85 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.UserSearchSection = void 0;
exports.instanceOfUserSearchSection = instanceOfUserSearchSection;
exports.UserSearchSectionFromJSON = UserSearchSectionFromJSON;
exports.UserSearchSectionFromJSONTyped = UserSearchSectionFromJSONTyped;
exports.UserSearchSectionToJSON = UserSearchSectionToJSON;
exports.UserSearchSectionToJSONTyped = UserSearchSectionToJSONTyped;
/**
*
* @export
* @enum {string}
*/
var UserSearchSection;
(function (UserSearchSection) {
UserSearchSection["moderators"] = "moderators";
UserSearchSection["onThisPage"] = "onThisPage";
UserSearchSection["onThisSite"] = "onThisSite";
})(UserSearchSection || (exports.UserSearchSection = UserSearchSection = {}));
function instanceOfUserSearchSection(value) {
for (const key in UserSearchSection) {
if (Object.prototype.hasOwnProperty.call(UserSearchSection, key)) {
if (UserSearchSection[key] === value) {
return true;
}
}
}
return false;
}
function UserSearchSectionFromJSON(json) {
return UserSearchSectionFromJSONTyped(json, false);
}
function UserSearchSectionFromJSONTyped(json, ignoreDiscriminator) {
return json;
}
function UserSearchSectionToJSON(value) {
return value;
}
function UserSearchSectionToJSONTyped(value, ignoreDiscriminator) {
return value;
}
//# sourceMappingURL=UserSearchSection.js.map