"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.instanceOfV1FbpDraftDirectGetTimeslotRequest = instanceOfV1FbpDraftDirectGetTimeslotRequest; exports.V1FbpDraftDirectGetTimeslotRequestFromJSON = V1FbpDraftDirectGetTimeslotRequestFromJSON; exports.V1FbpDraftDirectGetTimeslotRequestFromJSONTyped = V1FbpDraftDirectGetTimeslotRequestFromJSONTyped; exports.V1FbpDraftDirectGetTimeslotRequestToJSON = V1FbpDraftDirectGetTimeslotRequestToJSON; /** * Check if a given object implements the V1FbpDraftDirectGetTimeslotRequest interface. */ function instanceOfV1FbpDraftDirectGetTimeslotRequest(value) { if (!('bundle_id' in value) || value['bundle_id'] === undefined) return false; if (!('interval_end' in value) || value['interval_end'] === undefined) return false; if (!('interval_start' in value) || value['interval_start'] === undefined) return false; if (!('warehouse_id' in value) || value['warehouse_id'] === undefined) return false; return true; } function V1FbpDraftDirectGetTimeslotRequestFromJSON(json) { return V1FbpDraftDirectGetTimeslotRequestFromJSONTyped(json, false); } function V1FbpDraftDirectGetTimeslotRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'bundle_id': json['bundle_id'], 'interval_end': json['interval_end'], 'interval_start': json['interval_start'], 'warehouse_id': json['warehouse_id'], }; } function V1FbpDraftDirectGetTimeslotRequestToJSON(value) { if (value == null) { return value; } return { 'bundle_id': value['bundle_id'], 'interval_end': value['interval_end'], 'interval_start': value['interval_start'], 'warehouse_id': value['warehouse_id'], }; }