release 0.1.0
This commit is contained in:
60
dist/models/CargoesV2CargoesGetResponseSuppliesCargoes.js
vendored
Normal file
60
dist/models/CargoesV2CargoesGetResponseSuppliesCargoes.js
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
"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.instanceOfCargoesV2CargoesGetResponseSuppliesCargoes = instanceOfCargoesV2CargoesGetResponseSuppliesCargoes;
|
||||
exports.CargoesV2CargoesGetResponseSuppliesCargoesFromJSON = CargoesV2CargoesGetResponseSuppliesCargoesFromJSON;
|
||||
exports.CargoesV2CargoesGetResponseSuppliesCargoesFromJSONTyped = CargoesV2CargoesGetResponseSuppliesCargoesFromJSONTyped;
|
||||
exports.CargoesV2CargoesGetResponseSuppliesCargoesToJSON = CargoesV2CargoesGetResponseSuppliesCargoesToJSON;
|
||||
const CargoesV2CargoesGetResponseSuppliesCargoesContentTypeEnum_1 = require("./CargoesV2CargoesGetResponseSuppliesCargoesContentTypeEnum");
|
||||
const CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfo_1 = require("./CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfo");
|
||||
const CargoesV2CargoesGetResponseSuppliesCargoesPlacementZoneTypeEnum_1 = require("./CargoesV2CargoesGetResponseSuppliesCargoesPlacementZoneTypeEnum");
|
||||
const CargoesV2CargoesGetResponseSuppliesCargoesTypeEnum_1 = require("./CargoesV2CargoesGetResponseSuppliesCargoesTypeEnum");
|
||||
/**
|
||||
* Check if a given object implements the CargoesV2CargoesGetResponseSuppliesCargoes interface.
|
||||
*/
|
||||
function instanceOfCargoesV2CargoesGetResponseSuppliesCargoes(value) {
|
||||
return true;
|
||||
}
|
||||
function CargoesV2CargoesGetResponseSuppliesCargoesFromJSON(json) {
|
||||
return CargoesV2CargoesGetResponseSuppliesCargoesFromJSONTyped(json, false);
|
||||
}
|
||||
function CargoesV2CargoesGetResponseSuppliesCargoesFromJSONTyped(json, ignoreDiscriminator) {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
'bundle_id': json['bundle_id'] == null ? undefined : json['bundle_id'],
|
||||
'cargo_id': json['cargo_id'] == null ? undefined : json['cargo_id'],
|
||||
'content_type': json['content_type'] == null ? undefined : (0, CargoesV2CargoesGetResponseSuppliesCargoesContentTypeEnum_1.CargoesV2CargoesGetResponseSuppliesCargoesContentTypeEnumFromJSON)(json['content_type']),
|
||||
'placement_zone_type': json['placement_zone_type'] == null ? undefined : (0, CargoesV2CargoesGetResponseSuppliesCargoesPlacementZoneTypeEnum_1.CargoesV2CargoesGetResponseSuppliesCargoesPlacementZoneTypeEnumFromJSON)(json['placement_zone_type']),
|
||||
'tracking_info': json['tracking_info'] == null ? undefined : (0, CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfo_1.CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoFromJSON)(json['tracking_info']),
|
||||
'transport_cargo_id': json['transport_cargo_id'] == null ? undefined : json['transport_cargo_id'],
|
||||
'type': json['type'] == null ? undefined : (0, CargoesV2CargoesGetResponseSuppliesCargoesTypeEnum_1.CargoesV2CargoesGetResponseSuppliesCargoesTypeEnumFromJSON)(json['type']),
|
||||
};
|
||||
}
|
||||
function CargoesV2CargoesGetResponseSuppliesCargoesToJSON(value) {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
'bundle_id': value['bundle_id'],
|
||||
'cargo_id': value['cargo_id'],
|
||||
'content_type': (0, CargoesV2CargoesGetResponseSuppliesCargoesContentTypeEnum_1.CargoesV2CargoesGetResponseSuppliesCargoesContentTypeEnumToJSON)(value['content_type']),
|
||||
'placement_zone_type': (0, CargoesV2CargoesGetResponseSuppliesCargoesPlacementZoneTypeEnum_1.CargoesV2CargoesGetResponseSuppliesCargoesPlacementZoneTypeEnumToJSON)(value['placement_zone_type']),
|
||||
'tracking_info': (0, CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfo_1.CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoToJSON)(value['tracking_info']),
|
||||
'transport_cargo_id': value['transport_cargo_id'],
|
||||
'type': (0, CargoesV2CargoesGetResponseSuppliesCargoesTypeEnum_1.CargoesV2CargoesGetResponseSuppliesCargoesTypeEnumToJSON)(value['type']),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user