"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.instanceOfV1GetSupplyOrderTimeslotsResponse = instanceOfV1GetSupplyOrderTimeslotsResponse; exports.V1GetSupplyOrderTimeslotsResponseFromJSON = V1GetSupplyOrderTimeslotsResponseFromJSON; exports.V1GetSupplyOrderTimeslotsResponseFromJSONTyped = V1GetSupplyOrderTimeslotsResponseFromJSONTyped; exports.V1GetSupplyOrderTimeslotsResponseToJSON = V1GetSupplyOrderTimeslotsResponseToJSON; const V1SupplyOrderTimeslot_1 = require("./V1SupplyOrderTimeslot"); const V1Timezone_1 = require("./V1Timezone"); /** * Check if a given object implements the V1GetSupplyOrderTimeslotsResponse interface. */ function instanceOfV1GetSupplyOrderTimeslotsResponse(value) { return true; } function V1GetSupplyOrderTimeslotsResponseFromJSON(json) { return V1GetSupplyOrderTimeslotsResponseFromJSONTyped(json, false); } function V1GetSupplyOrderTimeslotsResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'timeslots': json['timeslots'] == null ? undefined : (json['timeslots'].map(V1SupplyOrderTimeslot_1.V1SupplyOrderTimeslotFromJSON)), 'timezone': json['timezone'] == null ? undefined : (json['timezone'].map(V1Timezone_1.V1TimezoneFromJSON)), }; } function V1GetSupplyOrderTimeslotsResponseToJSON(value) { if (value == null) { return value; } return { 'timeslots': value['timeslots'] == null ? undefined : (value['timeslots'].map(V1SupplyOrderTimeslot_1.V1SupplyOrderTimeslotToJSON)), 'timezone': value['timezone'] == null ? undefined : (value['timezone'].map(V1Timezone_1.V1TimezoneToJSON)), }; }