"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.instanceOfDeliveryMapResponseCluster = instanceOfDeliveryMapResponseCluster; exports.DeliveryMapResponseClusterFromJSON = DeliveryMapResponseClusterFromJSON; exports.DeliveryMapResponseClusterFromJSONTyped = DeliveryMapResponseClusterFromJSONTyped; exports.DeliveryMapResponseClusterToJSON = DeliveryMapResponseClusterToJSON; const DeliveryMapResponseClusterCoordinates_1 = require("./DeliveryMapResponseClusterCoordinates"); const DeliveryMapResponseClusterViewport_1 = require("./DeliveryMapResponseClusterViewport"); /** * Check if a given object implements the DeliveryMapResponseCluster interface. */ function instanceOfDeliveryMapResponseCluster(value) { return true; } function DeliveryMapResponseClusterFromJSON(json) { return DeliveryMapResponseClusterFromJSONTyped(json, false); } function DeliveryMapResponseClusterFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'coordinate': json['coordinate'] == null ? undefined : (0, DeliveryMapResponseClusterCoordinates_1.DeliveryMapResponseClusterCoordinatesFromJSON)(json['coordinate']), 'is_same_building': json['is_same_building'] == null ? undefined : json['is_same_building'], 'map_point_ids': json['map_point_ids'] == null ? undefined : json['map_point_ids'], 'points_count': json['points_count'] == null ? undefined : json['points_count'], 'viewport': json['viewport'] == null ? undefined : (0, DeliveryMapResponseClusterViewport_1.DeliveryMapResponseClusterViewportFromJSON)(json['viewport']), }; } function DeliveryMapResponseClusterToJSON(value) { if (value == null) { return value; } return { 'coordinate': (0, DeliveryMapResponseClusterCoordinates_1.DeliveryMapResponseClusterCoordinatesToJSON)(value['coordinate']), 'is_same_building': value['is_same_building'], 'map_point_ids': value['map_point_ids'], 'points_count': value['points_count'], 'viewport': (0, DeliveryMapResponseClusterViewport_1.DeliveryMapResponseClusterViewportToJSON)(value['viewport']), }; }