"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.instanceOfCargoesV2CargoesGetRequestSupplies = instanceOfCargoesV2CargoesGetRequestSupplies; exports.CargoesV2CargoesGetRequestSuppliesFromJSON = CargoesV2CargoesGetRequestSuppliesFromJSON; exports.CargoesV2CargoesGetRequestSuppliesFromJSONTyped = CargoesV2CargoesGetRequestSuppliesFromJSONTyped; exports.CargoesV2CargoesGetRequestSuppliesToJSON = CargoesV2CargoesGetRequestSuppliesToJSON; /** * Check if a given object implements the CargoesV2CargoesGetRequestSupplies interface. */ function instanceOfCargoesV2CargoesGetRequestSupplies(value) { if (!('cargo_ids' in value) || value['cargo_ids'] === undefined) return false; if (!('supply_id' in value) || value['supply_id'] === undefined) return false; return true; } function CargoesV2CargoesGetRequestSuppliesFromJSON(json) { return CargoesV2CargoesGetRequestSuppliesFromJSONTyped(json, false); } function CargoesV2CargoesGetRequestSuppliesFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'cargo_ids': json['cargo_ids'], 'supply_id': json['supply_id'], }; } function CargoesV2CargoesGetRequestSuppliesToJSON(value) { if (value == null) { return value; } return { 'cargo_ids': value['cargo_ids'], 'supply_id': value['supply_id'], }; }