"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.instanceOfUploadPostingCodesResponsePostingExemplarInfo = instanceOfUploadPostingCodesResponsePostingExemplarInfo; exports.UploadPostingCodesResponsePostingExemplarInfoFromJSON = UploadPostingCodesResponsePostingExemplarInfoFromJSON; exports.UploadPostingCodesResponsePostingExemplarInfoFromJSONTyped = UploadPostingCodesResponsePostingExemplarInfoFromJSONTyped; exports.UploadPostingCodesResponsePostingExemplarInfoToJSON = UploadPostingCodesResponsePostingExemplarInfoToJSON; const PostingExemplarInfoExemplarError_1 = require("./PostingExemplarInfoExemplarError"); /** * Check if a given object implements the UploadPostingCodesResponsePostingExemplarInfo interface. */ function instanceOfUploadPostingCodesResponsePostingExemplarInfo(value) { return true; } function UploadPostingCodesResponsePostingExemplarInfoFromJSON(json) { return UploadPostingCodesResponsePostingExemplarInfoFromJSONTyped(json, false); } function UploadPostingCodesResponsePostingExemplarInfoFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'failed_exemplars': json['failed_exemplars'] == null ? undefined : (json['failed_exemplars'].map(PostingExemplarInfoExemplarError_1.PostingExemplarInfoExemplarErrorFromJSON)), 'received_qty': json['received_qty'] == null ? undefined : json['received_qty'], 'rejected_qty': json['rejected_qty'] == null ? undefined : json['rejected_qty'], 'sku': json['sku'] == null ? undefined : json['sku'], }; } function UploadPostingCodesResponsePostingExemplarInfoToJSON(value) { if (value == null) { return value; } return { 'failed_exemplars': value['failed_exemplars'] == null ? undefined : (value['failed_exemplars'].map(PostingExemplarInfoExemplarError_1.PostingExemplarInfoExemplarErrorToJSON)), 'received_qty': value['received_qty'], 'rejected_qty': value['rejected_qty'], 'sku': value['sku'], }; }