UNPKG

umbraco-management-api-client

Version:

TypeScript client for the Umbraco Management API (auto-generated by OpenAPI Generator)

56 lines (55 loc) 1.67 kB
"use strict"; /* tslint:disable */ /* eslint-disable */ /** * Umbraco Management API * This shows all APIs available in this version of Umbraco - including all the legacy apis that are available for backward compatibility * * The version of the OpenAPI document: Latest * * * 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.UserStateModel = void 0; exports.instanceOfUserStateModel = instanceOfUserStateModel; exports.UserStateModelFromJSON = UserStateModelFromJSON; exports.UserStateModelFromJSONTyped = UserStateModelFromJSONTyped; exports.UserStateModelToJSON = UserStateModelToJSON; exports.UserStateModelToJSONTyped = UserStateModelToJSONTyped; /** * * @export */ exports.UserStateModel = { Active: 'Active', Disabled: 'Disabled', LockedOut: 'LockedOut', Invited: 'Invited', Inactive: 'Inactive', All: 'All' }; function instanceOfUserStateModel(value) { for (const key in exports.UserStateModel) { if (Object.prototype.hasOwnProperty.call(exports.UserStateModel, key)) { if (exports.UserStateModel[key] === value) { return true; } } } return false; } function UserStateModelFromJSON(json) { return UserStateModelFromJSONTyped(json, false); } function UserStateModelFromJSONTyped(json, ignoreDiscriminator) { return json; } function UserStateModelToJSON(value) { return value; } function UserStateModelToJSONTyped(value, ignoreDiscriminator) { return value; }