"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.instanceOfV1QuestionInfoResponse = instanceOfV1QuestionInfoResponse; exports.V1QuestionInfoResponseFromJSON = V1QuestionInfoResponseFromJSON; exports.V1QuestionInfoResponseFromJSONTyped = V1QuestionInfoResponseFromJSONTyped; exports.V1QuestionInfoResponseToJSON = V1QuestionInfoResponseToJSON; /** * Check if a given object implements the V1QuestionInfoResponse interface. */ function instanceOfV1QuestionInfoResponse(value) { return true; } function V1QuestionInfoResponseFromJSON(json) { return V1QuestionInfoResponseFromJSONTyped(json, false); } function V1QuestionInfoResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'answers_count': json['answers_count'] == null ? undefined : json['answers_count'], 'author_name': json['author_name'] == null ? undefined : json['author_name'], 'id': json['id'] == null ? undefined : json['id'], 'product_url': json['product_url'] == null ? undefined : json['product_url'], 'published_at': json['published_at'] == null ? undefined : json['published_at'], 'question_link': json['question_link'] == null ? undefined : json['question_link'], 'sku': json['sku'] == null ? undefined : json['sku'], 'status': json['status'] == null ? undefined : json['status'], 'text': json['text'] == null ? undefined : json['text'], }; } function V1QuestionInfoResponseToJSON(value) { if (value == null) { return value; } return { 'answers_count': value['answers_count'], 'author_name': value['author_name'], 'id': value['id'], 'product_url': value['product_url'], 'published_at': value['published_at'], 'question_link': value['question_link'], 'sku': value['sku'], 'status': value['status'], 'text': value['text'], }; }