release 0.1.0
This commit is contained in:
87
dist/models/V1PolygonTimeSetRequest.js
vendored
Normal file
87
dist/models/V1PolygonTimeSetRequest.js
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
"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.V1PolygonTimeSetRequestNewTimeEnum = exports.V1PolygonTimeSetRequestCurrentTimeEnum = void 0;
|
||||
exports.instanceOfV1PolygonTimeSetRequest = instanceOfV1PolygonTimeSetRequest;
|
||||
exports.V1PolygonTimeSetRequestFromJSON = V1PolygonTimeSetRequestFromJSON;
|
||||
exports.V1PolygonTimeSetRequestFromJSONTyped = V1PolygonTimeSetRequestFromJSONTyped;
|
||||
exports.V1PolygonTimeSetRequestToJSON = V1PolygonTimeSetRequestToJSON;
|
||||
/**
|
||||
* @export
|
||||
*/
|
||||
exports.V1PolygonTimeSetRequestCurrentTimeEnum = {
|
||||
NUMBER_15: 15,
|
||||
NUMBER_30: 30,
|
||||
NUMBER_45: 45,
|
||||
NUMBER_60: 60,
|
||||
NUMBER_90: 90,
|
||||
NUMBER_120: 120,
|
||||
NUMBER_150: 150
|
||||
};
|
||||
/**
|
||||
* @export
|
||||
*/
|
||||
exports.V1PolygonTimeSetRequestNewTimeEnum = {
|
||||
NUMBER_15: 15,
|
||||
NUMBER_30: 30,
|
||||
NUMBER_45: 45,
|
||||
NUMBER_60: 60,
|
||||
NUMBER_90: 90,
|
||||
NUMBER_120: 120,
|
||||
NUMBER_150: 150
|
||||
};
|
||||
/**
|
||||
* Check if a given object implements the V1PolygonTimeSetRequest interface.
|
||||
*/
|
||||
function instanceOfV1PolygonTimeSetRequest(value) {
|
||||
if (!('current_time' in value) || value['current_time'] === undefined)
|
||||
return false;
|
||||
if (!('delivery_method_id' in value) || value['delivery_method_id'] === undefined)
|
||||
return false;
|
||||
if (!('new_time' in value) || value['new_time'] === undefined)
|
||||
return false;
|
||||
if (!('polygon_id' in value) || value['polygon_id'] === undefined)
|
||||
return false;
|
||||
if (!('warehouse_id' in value) || value['warehouse_id'] === undefined)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
function V1PolygonTimeSetRequestFromJSON(json) {
|
||||
return V1PolygonTimeSetRequestFromJSONTyped(json, false);
|
||||
}
|
||||
function V1PolygonTimeSetRequestFromJSONTyped(json, ignoreDiscriminator) {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
'current_time': json['current_time'],
|
||||
'delivery_method_id': json['delivery_method_id'],
|
||||
'new_time': json['new_time'],
|
||||
'polygon_id': json['polygon_id'],
|
||||
'warehouse_id': json['warehouse_id'],
|
||||
};
|
||||
}
|
||||
function V1PolygonTimeSetRequestToJSON(value) {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
'current_time': value['current_time'],
|
||||
'delivery_method_id': value['delivery_method_id'],
|
||||
'new_time': value['new_time'],
|
||||
'polygon_id': value['polygon_id'],
|
||||
'warehouse_id': value['warehouse_id'],
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user