59 lines
3.4 KiB
JavaScript
59 lines
3.4 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.instanceOfSellerInfoResponseRating = instanceOfSellerInfoResponseRating;
|
||
exports.SellerInfoResponseRatingFromJSON = SellerInfoResponseRatingFromJSON;
|
||
exports.SellerInfoResponseRatingFromJSONTyped = SellerInfoResponseRatingFromJSONTyped;
|
||
exports.SellerInfoResponseRatingToJSON = SellerInfoResponseRatingToJSON;
|
||
const RatingValueCurrent_1 = require("./RatingValueCurrent");
|
||
const RatingStatusEnum_1 = require("./RatingStatusEnum");
|
||
const SellerInfoResponseRatingTypeEnum_1 = require("./SellerInfoResponseRatingTypeEnum");
|
||
const RatingValuePast_1 = require("./RatingValuePast");
|
||
/**
|
||
* Check if a given object implements the SellerInfoResponseRating interface.
|
||
*/
|
||
function instanceOfSellerInfoResponseRating(value) {
|
||
return true;
|
||
}
|
||
function SellerInfoResponseRatingFromJSON(json) {
|
||
return SellerInfoResponseRatingFromJSONTyped(json, false);
|
||
}
|
||
function SellerInfoResponseRatingFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'current_value': json['current_value'] == null ? undefined : (0, RatingValueCurrent_1.RatingValueCurrentFromJSON)(json['current_value']),
|
||
'name': json['name'] == null ? undefined : json['name'],
|
||
'past_value': json['past_value'] == null ? undefined : (0, RatingValuePast_1.RatingValuePastFromJSON)(json['past_value']),
|
||
'rating': json['rating'] == null ? undefined : json['rating'],
|
||
'status': json['status'] == null ? undefined : (0, RatingStatusEnum_1.RatingStatusEnumFromJSON)(json['status']),
|
||
'value_type': json['value_type'] == null ? undefined : (0, SellerInfoResponseRatingTypeEnum_1.SellerInfoResponseRatingTypeEnumFromJSON)(json['value_type']),
|
||
};
|
||
}
|
||
function SellerInfoResponseRatingToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'current_value': (0, RatingValueCurrent_1.RatingValueCurrentToJSON)(value['current_value']),
|
||
'name': value['name'],
|
||
'past_value': (0, RatingValuePast_1.RatingValuePastToJSON)(value['past_value']),
|
||
'rating': value['rating'],
|
||
'status': (0, RatingStatusEnum_1.RatingStatusEnumToJSON)(value['status']),
|
||
'value_type': (0, SellerInfoResponseRatingTypeEnum_1.SellerInfoResponseRatingTypeEnumToJSON)(value['value_type']),
|
||
};
|
||
}
|