"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.instanceOfV1FbpDraftDirectGetTimeslotResponse = instanceOfV1FbpDraftDirectGetTimeslotResponse; exports.V1FbpDraftDirectGetTimeslotResponseFromJSON = V1FbpDraftDirectGetTimeslotResponseFromJSON; exports.V1FbpDraftDirectGetTimeslotResponseFromJSONTyped = V1FbpDraftDirectGetTimeslotResponseFromJSONTyped; exports.V1FbpDraftDirectGetTimeslotResponseToJSON = V1FbpDraftDirectGetTimeslotResponseToJSON; const V1FbpDraftDirectGetTimeslotResponseEmptyTimeslotsReason_1 = require("./V1FbpDraftDirectGetTimeslotResponseEmptyTimeslotsReason"); const V1FbpDraftDirectGetTimeslotResponseTimeslot_1 = require("./V1FbpDraftDirectGetTimeslotResponseTimeslot"); /** * Check if a given object implements the V1FbpDraftDirectGetTimeslotResponse interface. */ function instanceOfV1FbpDraftDirectGetTimeslotResponse(value) { return true; } function V1FbpDraftDirectGetTimeslotResponseFromJSON(json) { return V1FbpDraftDirectGetTimeslotResponseFromJSONTyped(json, false); } function V1FbpDraftDirectGetTimeslotResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'reasons': json['reasons'] == null ? undefined : (json['reasons'].map(V1FbpDraftDirectGetTimeslotResponseEmptyTimeslotsReason_1.V1FbpDraftDirectGetTimeslotResponseEmptyTimeslotsReasonFromJSON)), 'timeslots': json['timeslots'] == null ? undefined : (json['timeslots'].map(V1FbpDraftDirectGetTimeslotResponseTimeslot_1.V1FbpDraftDirectGetTimeslotResponseTimeslotFromJSON)), 'warehouse_timezone_name': json['warehouse_timezone_name'] == null ? undefined : json['warehouse_timezone_name'], }; } function V1FbpDraftDirectGetTimeslotResponseToJSON(value) { if (value == null) { return value; } return { 'reasons': value['reasons'] == null ? undefined : (value['reasons'].map(V1FbpDraftDirectGetTimeslotResponseEmptyTimeslotsReason_1.V1FbpDraftDirectGetTimeslotResponseEmptyTimeslotsReasonToJSON)), 'timeslots': value['timeslots'] == null ? undefined : (value['timeslots'].map(V1FbpDraftDirectGetTimeslotResponseTimeslot_1.V1FbpDraftDirectGetTimeslotResponseTimeslotToJSON)), 'warehouse_timezone_name': value['warehouse_timezone_name'], }; }