"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.instanceOfV1QuestionCountResponse = instanceOfV1QuestionCountResponse; exports.V1QuestionCountResponseFromJSON = V1QuestionCountResponseFromJSON; exports.V1QuestionCountResponseFromJSONTyped = V1QuestionCountResponseFromJSONTyped; exports.V1QuestionCountResponseToJSON = V1QuestionCountResponseToJSON; /** * Check if a given object implements the V1QuestionCountResponse interface. */ function instanceOfV1QuestionCountResponse(value) { return true; } function V1QuestionCountResponseFromJSON(json) { return V1QuestionCountResponseFromJSONTyped(json, false); } function V1QuestionCountResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'all': json['all'] == null ? undefined : json['all'], '_new': json['new'] == null ? undefined : json['new'], 'processed': json['processed'] == null ? undefined : json['processed'], 'unprocessed': json['unprocessed'] == null ? undefined : json['unprocessed'], 'viewed': json['viewed'] == null ? undefined : json['viewed'], }; } function V1QuestionCountResponseToJSON(value) { if (value == null) { return value; } return { 'all': value['all'], 'new': value['_new'], 'processed': value['processed'], 'unprocessed': value['unprocessed'], 'viewed': value['viewed'], }; }