"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.instanceOfResultDropOffWarehouseTimeslots = instanceOfResultDropOffWarehouseTimeslots; exports.ResultDropOffWarehouseTimeslotsFromJSON = ResultDropOffWarehouseTimeslotsFromJSON; exports.ResultDropOffWarehouseTimeslotsFromJSONTyped = ResultDropOffWarehouseTimeslotsFromJSONTyped; exports.ResultDropOffWarehouseTimeslotsToJSON = ResultDropOffWarehouseTimeslotsToJSON; const DropOffWarehouseTimeslotsDay_1 = require("./DropOffWarehouseTimeslotsDay"); /** * Check if a given object implements the ResultDropOffWarehouseTimeslots interface. */ function instanceOfResultDropOffWarehouseTimeslots(value) { return true; } function ResultDropOffWarehouseTimeslotsFromJSON(json) { return ResultDropOffWarehouseTimeslotsFromJSONTyped(json, false); } function ResultDropOffWarehouseTimeslotsFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'current_time_in_timezone': json['current_time_in_timezone'] == null ? undefined : json['current_time_in_timezone'], 'days': json['days'] == null ? undefined : (json['days'].map(DropOffWarehouseTimeslotsDay_1.DropOffWarehouseTimeslotsDayFromJSON)), 'warehouse_timezone': json['warehouse_timezone'] == null ? undefined : json['warehouse_timezone'], }; } function ResultDropOffWarehouseTimeslotsToJSON(value) { if (value == null) { return value; } return { 'current_time_in_timezone': value['current_time_in_timezone'], 'days': value['days'] == null ? undefined : (value['days'].map(DropOffWarehouseTimeslotsDay_1.DropOffWarehouseTimeslotsDayToJSON)), 'warehouse_timezone': value['warehouse_timezone'], }; }