"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.instanceOfV1CarriageCourierContactGetResponseContact = instanceOfV1CarriageCourierContactGetResponseContact; exports.V1CarriageCourierContactGetResponseContactFromJSON = V1CarriageCourierContactGetResponseContactFromJSON; exports.V1CarriageCourierContactGetResponseContactFromJSONTyped = V1CarriageCourierContactGetResponseContactFromJSONTyped; exports.V1CarriageCourierContactGetResponseContactToJSON = V1CarriageCourierContactGetResponseContactToJSON; /** * Check if a given object implements the V1CarriageCourierContactGetResponseContact interface. */ function instanceOfV1CarriageCourierContactGetResponseContact(value) { return true; } function V1CarriageCourierContactGetResponseContactFromJSON(json) { return V1CarriageCourierContactGetResponseContactFromJSONTyped(json, false); } function V1CarriageCourierContactGetResponseContactFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'carriage_id': json['carriage_id'] == null ? undefined : json['carriage_id'], 'phone': json['phone'] == null ? undefined : json['phone'], 'wechat_nickname': json['wechat_nickname'] == null ? undefined : json['wechat_nickname'], 'comment': json['comment'] == null ? undefined : json['comment'], 'updated_at': json['updated_at'] == null ? undefined : json['updated_at'], }; } function V1CarriageCourierContactGetResponseContactToJSON(value) { if (value == null) { return value; } return { 'carriage_id': value['carriage_id'], 'phone': value['phone'], 'wechat_nickname': value['wechat_nickname'], 'comment': value['comment'], 'updated_at': value['updated_at'], }; }