UNPKG

umbraco-management-api-client

Version:

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

51 lines (50 loc) 1.68 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.instanceOfRebuildStatusModel = instanceOfRebuildStatusModel; exports.RebuildStatusModelFromJSON = RebuildStatusModelFromJSON; exports.RebuildStatusModelFromJSONTyped = RebuildStatusModelFromJSONTyped; exports.RebuildStatusModelToJSON = RebuildStatusModelToJSON; exports.RebuildStatusModelToJSONTyped = RebuildStatusModelToJSONTyped; /** * Check if a given object implements the RebuildStatusModel interface. */ function instanceOfRebuildStatusModel(value) { if (!('isRebuilding' in value) || value['isRebuilding'] === undefined) return false; return true; } function RebuildStatusModelFromJSON(json) { return RebuildStatusModelFromJSONTyped(json, false); } function RebuildStatusModelFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'isRebuilding': json['isRebuilding'], }; } function RebuildStatusModelToJSON(json) { return RebuildStatusModelToJSONTyped(json, false); } function RebuildStatusModelToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'isRebuilding': value['isRebuilding'], }; }