"use strict"; /* tslint:disable */ /* eslint-disable */ /** * Документация Ozon Seller API * По вопросам работы с Seller API обращайтесь в поддержку через личный кабинет. > [Инструкции по работе с маркетплейсом](https://seller-edu.ozon.ru) > [Информационная платформа и сообщество разработчиков Ozon for dev](https://dev.ozon.ru/) * * The version of the OpenAPI document: 2.1 * * * 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.instanceOfV1GetAttributesResponseAttribute = instanceOfV1GetAttributesResponseAttribute; exports.V1GetAttributesResponseAttributeFromJSON = V1GetAttributesResponseAttributeFromJSON; exports.V1GetAttributesResponseAttributeFromJSONTyped = V1GetAttributesResponseAttributeFromJSONTyped; exports.V1GetAttributesResponseAttributeToJSON = V1GetAttributesResponseAttributeToJSON; /** * Check if a given object implements the V1GetAttributesResponseAttribute interface. */ function instanceOfV1GetAttributesResponseAttribute(value) { return true; } function V1GetAttributesResponseAttributeFromJSON(json) { return V1GetAttributesResponseAttributeFromJSONTyped(json, false); } function V1GetAttributesResponseAttributeFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'category_dependent': json['category_dependent'] == null ? undefined : json['category_dependent'], 'description': json['description'] == null ? undefined : json['description'], 'dictionary_id': json['dictionary_id'] == null ? undefined : json['dictionary_id'], 'group_id': json['group_id'] == null ? undefined : json['group_id'], 'group_name': json['group_name'] == null ? undefined : json['group_name'], 'id': json['id'] == null ? undefined : json['id'], 'is_aspect': json['is_aspect'] == null ? undefined : json['is_aspect'], 'is_collection': json['is_collection'] == null ? undefined : json['is_collection'], 'is_required': json['is_required'] == null ? undefined : json['is_required'], 'name': json['name'] == null ? undefined : json['name'], 'type': json['type'] == null ? undefined : json['type'], 'attribute_complex_id': json['attribute_complex_id'] == null ? undefined : json['attribute_complex_id'], 'max_value_count': json['max_value_count'] == null ? undefined : json['max_value_count'], 'complex_is_collection': json['complex_is_collection'] == null ? undefined : json['complex_is_collection'], }; } function V1GetAttributesResponseAttributeToJSON(value) { if (value == null) { return value; } return { 'category_dependent': value['category_dependent'], 'description': value['description'], 'dictionary_id': value['dictionary_id'], 'group_id': value['group_id'], 'group_name': value['group_name'], 'id': value['id'], 'is_aspect': value['is_aspect'], 'is_collection': value['is_collection'], 'is_required': value['is_required'], 'name': value['name'], 'type': value['type'], 'attribute_complex_id': value['attribute_complex_id'], 'max_value_count': value['max_value_count'], 'complex_is_collection': value['complex_is_collection'], }; }