umbraco-management-api-client
Version:
TypeScript client for the Umbraco Management API (auto-generated by OpenAPI Generator)
52 lines (51 loc) • 1.72 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.CompositionTypeModel = void 0;
exports.instanceOfCompositionTypeModel = instanceOfCompositionTypeModel;
exports.CompositionTypeModelFromJSON = CompositionTypeModelFromJSON;
exports.CompositionTypeModelFromJSONTyped = CompositionTypeModelFromJSONTyped;
exports.CompositionTypeModelToJSON = CompositionTypeModelToJSON;
exports.CompositionTypeModelToJSONTyped = CompositionTypeModelToJSONTyped;
/**
*
* @export
*/
exports.CompositionTypeModel = {
Composition: 'Composition',
Inheritance: 'Inheritance'
};
function instanceOfCompositionTypeModel(value) {
for (const key in exports.CompositionTypeModel) {
if (Object.prototype.hasOwnProperty.call(exports.CompositionTypeModel, key)) {
if (exports.CompositionTypeModel[key] === value) {
return true;
}
}
}
return false;
}
function CompositionTypeModelFromJSON(json) {
return CompositionTypeModelFromJSONTyped(json, false);
}
function CompositionTypeModelFromJSONTyped(json, ignoreDiscriminator) {
return json;
}
function CompositionTypeModelToJSON(value) {
return value;
}
function CompositionTypeModelToJSONTyped(value, ignoreDiscriminator) {
return value;
}