UNPKG

fastcomments-sdk

Version:

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

56 lines 1.93 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.BannedUserMatchType = void 0; exports.instanceOfBannedUserMatchType = instanceOfBannedUserMatchType; exports.BannedUserMatchTypeFromJSON = BannedUserMatchTypeFromJSON; exports.BannedUserMatchTypeFromJSONTyped = BannedUserMatchTypeFromJSONTyped; exports.BannedUserMatchTypeToJSON = BannedUserMatchTypeToJSON; exports.BannedUserMatchTypeToJSONTyped = BannedUserMatchTypeToJSONTyped; /** * * @export * @enum {string} */ var BannedUserMatchType; (function (BannedUserMatchType) { BannedUserMatchType["userId"] = "userId"; BannedUserMatchType["email"] = "email"; BannedUserMatchType["email_wildcard"] = "email-wildcard"; BannedUserMatchType["IP"] = "IP"; })(BannedUserMatchType || (exports.BannedUserMatchType = BannedUserMatchType = {})); function instanceOfBannedUserMatchType(value) { for (const key in BannedUserMatchType) { if (Object.prototype.hasOwnProperty.call(BannedUserMatchType, key)) { if (BannedUserMatchType[key] === value) { return true; } } } return false; } function BannedUserMatchTypeFromJSON(json) { return BannedUserMatchTypeFromJSONTyped(json, false); } function BannedUserMatchTypeFromJSONTyped(json, ignoreDiscriminator) { return json; } function BannedUserMatchTypeToJSON(value) { return value; } function BannedUserMatchTypeToJSONTyped(value, ignoreDiscriminator) { return value; } //# sourceMappingURL=BannedUserMatchType.js.map