"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.instanceOfResultData = instanceOfResultData; exports.ResultDataFromJSON = ResultDataFromJSON; exports.ResultDataFromJSONTyped = ResultDataFromJSONTyped; exports.ResultDataToJSON = ResultDataToJSON; const DataMacrolocalCluster_1 = require("./DataMacrolocalCluster"); const DataFulfillment_1 = require("./DataFulfillment"); /** * Check if a given object implements the ResultData interface. */ function instanceOfResultData(value) { return true; } function ResultDataFromJSON(json) { return ResultDataFromJSONTyped(json, false); } function ResultDataFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'fulfillments': json['fulfillments'] == null ? undefined : (json['fulfillments'].map(DataFulfillment_1.DataFulfillmentFromJSON)), 'macrolocal_cluster': json['macrolocal_cluster'] == null ? undefined : (0, DataMacrolocalCluster_1.DataMacrolocalClusterFromJSON)(json['macrolocal_cluster']), }; } function ResultDataToJSON(value) { if (value == null) { return value; } return { 'fulfillments': value['fulfillments'] == null ? undefined : (value['fulfillments'].map(DataFulfillment_1.DataFulfillmentToJSON)), 'macrolocal_cluster': (0, DataMacrolocalCluster_1.DataMacrolocalClusterToJSON)(value['macrolocal_cluster']), }; }