umbraco-management-api-client
Version:
TypeScript client for the Umbraco Management API (auto-generated by OpenAPI Generator)
54 lines (53 loc) • 1.7 kB
JavaScript
;
/* 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.HealthStatusModel = void 0;
exports.instanceOfHealthStatusModel = instanceOfHealthStatusModel;
exports.HealthStatusModelFromJSON = HealthStatusModelFromJSON;
exports.HealthStatusModelFromJSONTyped = HealthStatusModelFromJSONTyped;
exports.HealthStatusModelToJSON = HealthStatusModelToJSON;
exports.HealthStatusModelToJSONTyped = HealthStatusModelToJSONTyped;
/**
*
* @export
*/
exports.HealthStatusModel = {
Healthy: 'Healthy',
Unhealthy: 'Unhealthy',
Rebuilding: 'Rebuilding',
Corrupt: 'Corrupt'
};
function instanceOfHealthStatusModel(value) {
for (const key in exports.HealthStatusModel) {
if (Object.prototype.hasOwnProperty.call(exports.HealthStatusModel, key)) {
if (exports.HealthStatusModel[key] === value) {
return true;
}
}
}
return false;
}
function HealthStatusModelFromJSON(json) {
return HealthStatusModelFromJSONTyped(json, false);
}
function HealthStatusModelFromJSONTyped(json, ignoreDiscriminator) {
return json;
}
function HealthStatusModelToJSON(value) {
return value;
}
function HealthStatusModelToJSONTyped(value, ignoreDiscriminator) {
return value;
}