umbraco-management-api-client
Version:
TypeScript client for the Umbraco Management API (auto-generated by OpenAPI Generator)
52 lines (51 loc) • 1.58 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.DirectionModel = void 0;
exports.instanceOfDirectionModel = instanceOfDirectionModel;
exports.DirectionModelFromJSON = DirectionModelFromJSON;
exports.DirectionModelFromJSONTyped = DirectionModelFromJSONTyped;
exports.DirectionModelToJSON = DirectionModelToJSON;
exports.DirectionModelToJSONTyped = DirectionModelToJSONTyped;
/**
*
* @export
*/
exports.DirectionModel = {
Ascending: 'Ascending',
Descending: 'Descending'
};
function instanceOfDirectionModel(value) {
for (const key in exports.DirectionModel) {
if (Object.prototype.hasOwnProperty.call(exports.DirectionModel, key)) {
if (exports.DirectionModel[key] === value) {
return true;
}
}
}
return false;
}
function DirectionModelFromJSON(json) {
return DirectionModelFromJSONTyped(json, false);
}
function DirectionModelFromJSONTyped(json, ignoreDiscriminator) {
return json;
}
function DirectionModelToJSON(value) {
return value;
}
function DirectionModelToJSONTyped(value, ignoreDiscriminator) {
return value;
}