"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.instanceOfRatingValue = instanceOfRatingValue; exports.RatingValueFromJSON = RatingValueFromJSON; exports.RatingValueFromJSONTyped = RatingValueFromJSONTyped; exports.RatingValueToJSON = RatingValueToJSON; const V1RatingStatus_1 = require("./V1RatingStatus"); /** * Check if a given object implements the RatingValue interface. */ function instanceOfRatingValue(value) { return true; } function RatingValueFromJSON(json) { return RatingValueFromJSONTyped(json, false); } function RatingValueFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'date_from': json['date_from'] == null ? undefined : json['date_from'], 'date_to': json['date_to'] == null ? undefined : json['date_to'], 'status': json['status'] == null ? undefined : (0, V1RatingStatus_1.V1RatingStatusFromJSON)(json['status']), 'value': json['value'] == null ? undefined : json['value'], }; } function RatingValueToJSON(value) { if (value == null) { return value; } return { 'date_from': value['date_from'], 'date_to': value['date_to'], 'status': (0, V1RatingStatus_1.V1RatingStatusToJSON)(value['status']), 'value': value['value'], }; }