UNPKG

umbraco-management-api-client

Version:

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

52 lines (51 loc) 2 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.instanceOfOutOfDateStatusResponseModel = instanceOfOutOfDateStatusResponseModel; exports.OutOfDateStatusResponseModelFromJSON = OutOfDateStatusResponseModelFromJSON; exports.OutOfDateStatusResponseModelFromJSONTyped = OutOfDateStatusResponseModelFromJSONTyped; exports.OutOfDateStatusResponseModelToJSON = OutOfDateStatusResponseModelToJSON; exports.OutOfDateStatusResponseModelToJSONTyped = OutOfDateStatusResponseModelToJSONTyped; const OutOfDateTypeModel_1 = require("./OutOfDateTypeModel"); /** * Check if a given object implements the OutOfDateStatusResponseModel interface. */ function instanceOfOutOfDateStatusResponseModel(value) { if (!('status' in value) || value['status'] === undefined) return false; return true; } function OutOfDateStatusResponseModelFromJSON(json) { return OutOfDateStatusResponseModelFromJSONTyped(json, false); } function OutOfDateStatusResponseModelFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'status': (0, OutOfDateTypeModel_1.OutOfDateTypeModelFromJSON)(json['status']), }; } function OutOfDateStatusResponseModelToJSON(json) { return OutOfDateStatusResponseModelToJSONTyped(json, false); } function OutOfDateStatusResponseModelToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'status': (0, OutOfDateTypeModel_1.OutOfDateTypeModelToJSON)(value['status']), }; }