UNPKG

umbraco-management-api-client

Version:

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

55 lines (54 loc) 2.13 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.instanceOfEntityImportAnalysisResponseModel = instanceOfEntityImportAnalysisResponseModel; exports.EntityImportAnalysisResponseModelFromJSON = EntityImportAnalysisResponseModelFromJSON; exports.EntityImportAnalysisResponseModelFromJSONTyped = EntityImportAnalysisResponseModelFromJSONTyped; exports.EntityImportAnalysisResponseModelToJSON = EntityImportAnalysisResponseModelToJSON; exports.EntityImportAnalysisResponseModelToJSONTyped = EntityImportAnalysisResponseModelToJSONTyped; /** * Check if a given object implements the EntityImportAnalysisResponseModel interface. */ function instanceOfEntityImportAnalysisResponseModel(value) { if (!('entityType' in value) || value['entityType'] === undefined) return false; return true; } function EntityImportAnalysisResponseModelFromJSON(json) { return EntityImportAnalysisResponseModelFromJSONTyped(json, false); } function EntityImportAnalysisResponseModelFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'entityType': json['entityType'], 'alias': json['alias'] == null ? undefined : json['alias'], 'key': json['key'] == null ? undefined : json['key'], }; } function EntityImportAnalysisResponseModelToJSON(json) { return EntityImportAnalysisResponseModelToJSONTyped(json, false); } function EntityImportAnalysisResponseModelToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'entityType': value['entityType'], 'alias': value['alias'], 'key': value['key'], }; }