UNPKG

umbraco-management-api-client

Version:

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

54 lines (53 loc) 1.76 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.StatusResultTypeModel = void 0; exports.instanceOfStatusResultTypeModel = instanceOfStatusResultTypeModel; exports.StatusResultTypeModelFromJSON = StatusResultTypeModelFromJSON; exports.StatusResultTypeModelFromJSONTyped = StatusResultTypeModelFromJSONTyped; exports.StatusResultTypeModelToJSON = StatusResultTypeModelToJSON; exports.StatusResultTypeModelToJSONTyped = StatusResultTypeModelToJSONTyped; /** * * @export */ exports.StatusResultTypeModel = { Success: 'Success', Warning: 'Warning', Error: 'Error', Info: 'Info' }; function instanceOfStatusResultTypeModel(value) { for (const key in exports.StatusResultTypeModel) { if (Object.prototype.hasOwnProperty.call(exports.StatusResultTypeModel, key)) { if (exports.StatusResultTypeModel[key] === value) { return true; } } } return false; } function StatusResultTypeModelFromJSON(json) { return StatusResultTypeModelFromJSONTyped(json, false); } function StatusResultTypeModelFromJSONTyped(json, ignoreDiscriminator) { return json; } function StatusResultTypeModelToJSON(value) { return value; } function StatusResultTypeModelToJSONTyped(value, ignoreDiscriminator) { return value; }