"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.instanceOfRatingSummaryV1ResponseGroup = instanceOfRatingSummaryV1ResponseGroup; exports.RatingSummaryV1ResponseGroupFromJSON = RatingSummaryV1ResponseGroupFromJSON; exports.RatingSummaryV1ResponseGroupFromJSONTyped = RatingSummaryV1ResponseGroupFromJSONTyped; exports.RatingSummaryV1ResponseGroupToJSON = RatingSummaryV1ResponseGroupToJSON; const V1RatingItem_1 = require("./V1RatingItem"); /** * Check if a given object implements the RatingSummaryV1ResponseGroup interface. */ function instanceOfRatingSummaryV1ResponseGroup(value) { return true; } function RatingSummaryV1ResponseGroupFromJSON(json) { return RatingSummaryV1ResponseGroupFromJSONTyped(json, false); } function RatingSummaryV1ResponseGroupFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'group_name': json['group_name'] == null ? undefined : json['group_name'], 'items': json['items'] == null ? undefined : (json['items'].map(V1RatingItem_1.V1RatingItemFromJSON)), }; } function RatingSummaryV1ResponseGroupToJSON(value) { if (value == null) { return value; } return { 'group_name': value['group_name'], 'items': value['items'] == null ? undefined : (value['items'].map(V1RatingItem_1.V1RatingItemToJSON)), }; }