51 lines
3.9 KiB
JavaScript
51 lines
3.9 KiB
JavaScript
"use strict";
|
||
/* tslint:disable */
|
||
/* eslint-disable */
|
||
/**
|
||
* Документация Ozon Seller API
|
||
* По вопросам работы с Seller API обращайтесь в поддержку через личный кабинет. <aside class=\"warning\">Обновляем корневой TLS/SSL-сертификат GlobalSign — вместо него будем использовать <a href=\"https://app.harica.gr/\">HARICA</a>.<br><a href=\"https://dev.ozon.ru/news/775-Izmeneniia-v-Ozon-API-migratsiia-kornevogo-sertifikata-UTs-Ozon/\">Подробнее о переходе на HARICA на платформе разработчиков Ozon for dev</a></aside> > [Инструкции по работе с маркетплейсом](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.instanceOfV1FbpDraftDropOffPointTimetableResponseCalendarCalendarItem = instanceOfV1FbpDraftDropOffPointTimetableResponseCalendarCalendarItem;
|
||
exports.V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemFromJSON = V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemFromJSON;
|
||
exports.V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemFromJSONTyped = V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemFromJSONTyped;
|
||
exports.V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemToJSON = V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemToJSON;
|
||
const V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemTimeslotWithTimeOpening_1 = require("./V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemTimeslotWithTimeOpening");
|
||
const V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemTimeslotWithTime_1 = require("./V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemTimeslotWithTime");
|
||
/**
|
||
* Check if a given object implements the V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItem interface.
|
||
*/
|
||
function instanceOfV1FbpDraftDropOffPointTimetableResponseCalendarCalendarItem(value) {
|
||
return true;
|
||
}
|
||
function V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemFromJSON(json) {
|
||
return V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemFromJSONTyped(json, false);
|
||
}
|
||
function V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'break_hours': json['break_hours'] == null ? undefined : (0, V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemTimeslotWithTime_1.V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemTimeslotWithTimeFromJSON)(json['break_hours']),
|
||
'is_holiday': json['is_holiday'] == null ? undefined : json['is_holiday'],
|
||
'opening_hours': json['opening_hours'] == null ? undefined : (0, V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemTimeslotWithTimeOpening_1.V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemTimeslotWithTimeOpeningFromJSON)(json['opening_hours']),
|
||
};
|
||
}
|
||
function V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'break_hours': (0, V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemTimeslotWithTime_1.V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemTimeslotWithTimeToJSON)(value['break_hours']),
|
||
'is_holiday': value['is_holiday'],
|
||
'opening_hours': (0, V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemTimeslotWithTimeOpening_1.V1FbpDraftDropOffPointTimetableResponseCalendarCalendarItemTimeslotWithTimeOpeningToJSON)(value['opening_hours']),
|
||
};
|
||
}
|