UNPKG

umbraco-management-api-client

Version:

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

55 lines (54 loc) 1.96 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.instanceOfHelpPageResponseModel = instanceOfHelpPageResponseModel; exports.HelpPageResponseModelFromJSON = HelpPageResponseModelFromJSON; exports.HelpPageResponseModelFromJSONTyped = HelpPageResponseModelFromJSONTyped; exports.HelpPageResponseModelToJSON = HelpPageResponseModelToJSON; exports.HelpPageResponseModelToJSONTyped = HelpPageResponseModelToJSONTyped; /** * Check if a given object implements the HelpPageResponseModel interface. */ function instanceOfHelpPageResponseModel(value) { return true; } function HelpPageResponseModelFromJSON(json) { return HelpPageResponseModelFromJSONTyped(json, false); } function HelpPageResponseModelFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'name': json['name'] == null ? undefined : json['name'], 'description': json['description'] == null ? undefined : json['description'], 'url': json['url'] == null ? undefined : json['url'], 'type': json['type'] == null ? undefined : json['type'], }; } function HelpPageResponseModelToJSON(json) { return HelpPageResponseModelToJSONTyped(json, false); } function HelpPageResponseModelToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'name': value['name'], 'description': value['description'], 'url': value['url'], 'type': value['type'], }; }