umbraco-management-api-client
Version:
TypeScript client for the Umbraco Management API (auto-generated by OpenAPI Generator)
52 lines (51 loc) • 1.68 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.RedirectStatusModel = void 0;
exports.instanceOfRedirectStatusModel = instanceOfRedirectStatusModel;
exports.RedirectStatusModelFromJSON = RedirectStatusModelFromJSON;
exports.RedirectStatusModelFromJSONTyped = RedirectStatusModelFromJSONTyped;
exports.RedirectStatusModelToJSON = RedirectStatusModelToJSON;
exports.RedirectStatusModelToJSONTyped = RedirectStatusModelToJSONTyped;
/**
*
* @export
*/
exports.RedirectStatusModel = {
Enabled: 'Enabled',
Disabled: 'Disabled'
};
function instanceOfRedirectStatusModel(value) {
for (const key in exports.RedirectStatusModel) {
if (Object.prototype.hasOwnProperty.call(exports.RedirectStatusModel, key)) {
if (exports.RedirectStatusModel[key] === value) {
return true;
}
}
}
return false;
}
function RedirectStatusModelFromJSON(json) {
return RedirectStatusModelFromJSONTyped(json, false);
}
function RedirectStatusModelFromJSONTyped(json, ignoreDiscriminator) {
return json;
}
function RedirectStatusModelToJSON(value) {
return value;
}
function RedirectStatusModelToJSONTyped(value, ignoreDiscriminator) {
return value;
}