"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.instanceOfGiveoutInfoResponseArticleDetails = instanceOfGiveoutInfoResponseArticleDetails; exports.GiveoutInfoResponseArticleDetailsFromJSON = GiveoutInfoResponseArticleDetailsFromJSON; exports.GiveoutInfoResponseArticleDetailsFromJSONTyped = GiveoutInfoResponseArticleDetailsFromJSONTyped; exports.GiveoutInfoResponseArticleDetailsToJSON = GiveoutInfoResponseArticleDetailsToJSON; /** * Check if a given object implements the GiveoutInfoResponseArticleDetails interface. */ function instanceOfGiveoutInfoResponseArticleDetails(value) { return true; } function GiveoutInfoResponseArticleDetailsFromJSON(json) { return GiveoutInfoResponseArticleDetailsFromJSONTyped(json, false); } function GiveoutInfoResponseArticleDetailsFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'approved': json['approved'] == null ? undefined : json['approved'], 'delivery_schema': json['delivery_schema'] == null ? undefined : json['delivery_schema'], 'name': json['name'] == null ? undefined : json['name'], 'seller_id': json['seller_id'] == null ? undefined : json['seller_id'], }; } function GiveoutInfoResponseArticleDetailsToJSON(value) { if (value == null) { return value; } return { 'approved': value['approved'], 'delivery_schema': value['delivery_schema'], 'name': value['name'], 'seller_id': value['seller_id'], }; }