"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.instanceOfV1PostingFbsSplitResponse = instanceOfV1PostingFbsSplitResponse; exports.V1PostingFbsSplitResponseFromJSON = V1PostingFbsSplitResponseFromJSON; exports.V1PostingFbsSplitResponseFromJSONTyped = V1PostingFbsSplitResponseFromJSONTyped; exports.V1PostingFbsSplitResponseToJSON = V1PostingFbsSplitResponseToJSON; const V1PostingFbsSplitResponsePostingParent_1 = require("./V1PostingFbsSplitResponsePostingParent"); const V1PostingFbsSplitResponsePosting_1 = require("./V1PostingFbsSplitResponsePosting"); /** * Check if a given object implements the V1PostingFbsSplitResponse interface. */ function instanceOfV1PostingFbsSplitResponse(value) { return true; } function V1PostingFbsSplitResponseFromJSON(json) { return V1PostingFbsSplitResponseFromJSONTyped(json, false); } function V1PostingFbsSplitResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'parent_posting': json['parent_posting'] == null ? undefined : (0, V1PostingFbsSplitResponsePostingParent_1.V1PostingFbsSplitResponsePostingParentFromJSON)(json['parent_posting']), 'postings': json['postings'] == null ? undefined : (json['postings'].map(V1PostingFbsSplitResponsePosting_1.V1PostingFbsSplitResponsePostingFromJSON)), }; } function V1PostingFbsSplitResponseToJSON(value) { if (value == null) { return value; } return { 'parent_posting': (0, V1PostingFbsSplitResponsePostingParent_1.V1PostingFbsSplitResponsePostingParentToJSON)(value['parent_posting']), 'postings': value['postings'] == null ? undefined : (value['postings'].map(V1PostingFbsSplitResponsePosting_1.V1PostingFbsSplitResponsePostingToJSON)), }; }