UNPKG

umbraco-management-api-client

Version:

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

56 lines (55 loc) 1.73 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.RuntimeLevelModel = void 0; exports.instanceOfRuntimeLevelModel = instanceOfRuntimeLevelModel; exports.RuntimeLevelModelFromJSON = RuntimeLevelModelFromJSON; exports.RuntimeLevelModelFromJSONTyped = RuntimeLevelModelFromJSONTyped; exports.RuntimeLevelModelToJSON = RuntimeLevelModelToJSON; exports.RuntimeLevelModelToJSONTyped = RuntimeLevelModelToJSONTyped; /** * * @export */ exports.RuntimeLevelModel = { Unknown: 'Unknown', Boot: 'Boot', Install: 'Install', Upgrade: 'Upgrade', Run: 'Run', BootFailed: 'BootFailed' }; function instanceOfRuntimeLevelModel(value) { for (const key in exports.RuntimeLevelModel) { if (Object.prototype.hasOwnProperty.call(exports.RuntimeLevelModel, key)) { if (exports.RuntimeLevelModel[key] === value) { return true; } } } return false; } function RuntimeLevelModelFromJSON(json) { return RuntimeLevelModelFromJSONTyped(json, false); } function RuntimeLevelModelFromJSONTyped(json, ignoreDiscriminator) { return json; } function RuntimeLevelModelToJSON(value) { return value; } function RuntimeLevelModelToJSONTyped(value, ignoreDiscriminator) { return value; }