60 lines
3.0 KiB
JavaScript
60 lines
3.0 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.instanceOfV1RatingItem = instanceOfV1RatingItem;
|
||
exports.V1RatingItemFromJSON = V1RatingItemFromJSON;
|
||
exports.V1RatingItemFromJSONTyped = V1RatingItemFromJSONTyped;
|
||
exports.V1RatingItemToJSON = V1RatingItemToJSON;
|
||
const RatingItemChange_1 = require("./RatingItemChange");
|
||
/**
|
||
* Check if a given object implements the V1RatingItem interface.
|
||
*/
|
||
function instanceOfV1RatingItem(value) {
|
||
return true;
|
||
}
|
||
function V1RatingItemFromJSON(json) {
|
||
return V1RatingItemFromJSONTyped(json, false);
|
||
}
|
||
function V1RatingItemFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'change': json['change'] == null ? undefined : (0, RatingItemChange_1.RatingItemChangeFromJSON)(json['change']),
|
||
'current_value': json['current_value'] == null ? undefined : json['current_value'],
|
||
'name': json['name'] == null ? undefined : json['name'],
|
||
'past_value': json['past_value'] == null ? undefined : json['past_value'],
|
||
'rating': json['rating'] == null ? undefined : json['rating'],
|
||
'rating_direction': json['rating_direction'] == null ? undefined : json['rating_direction'],
|
||
'status': json['status'] == null ? undefined : json['status'],
|
||
'value_type': json['value_type'] == null ? undefined : json['value_type'],
|
||
};
|
||
}
|
||
function V1RatingItemToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'change': (0, RatingItemChange_1.RatingItemChangeToJSON)(value['change']),
|
||
'current_value': value['current_value'],
|
||
'name': value['name'],
|
||
'past_value': value['past_value'],
|
||
'rating': value['rating'],
|
||
'rating_direction': value['rating_direction'],
|
||
'status': value['status'],
|
||
'value_type': value['value_type'],
|
||
};
|
||
}
|