"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.instanceOfV1GetStrategyItemInfoResponseResult = instanceOfV1GetStrategyItemInfoResponseResult; exports.V1GetStrategyItemInfoResponseResultFromJSON = V1GetStrategyItemInfoResponseResultFromJSON; exports.V1GetStrategyItemInfoResponseResultFromJSONTyped = V1GetStrategyItemInfoResponseResultFromJSONTyped; exports.V1GetStrategyItemInfoResponseResultToJSON = V1GetStrategyItemInfoResponseResultToJSON; /** * Check if a given object implements the V1GetStrategyItemInfoResponseResult interface. */ function instanceOfV1GetStrategyItemInfoResponseResult(value) { return true; } function V1GetStrategyItemInfoResponseResultFromJSON(json) { return V1GetStrategyItemInfoResponseResultFromJSONTyped(json, false); } function V1GetStrategyItemInfoResponseResultFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'strategy_id': json['strategy_id'] == null ? undefined : json['strategy_id'], 'is_enabled': json['is_enabled'] == null ? undefined : json['is_enabled'], 'strategy_product_price': json['strategy_product_price'] == null ? undefined : json['strategy_product_price'], 'price_downloaded_at': json['price_downloaded_at'] == null ? undefined : json['price_downloaded_at'], 'strategy_competitor_id': json['strategy_competitor_id'] == null ? undefined : json['strategy_competitor_id'], 'strategy_competitor_product_url': json['strategy_competitor_product_url'] == null ? undefined : json['strategy_competitor_product_url'], }; } function V1GetStrategyItemInfoResponseResultToJSON(value) { if (value == null) { return value; } return { 'strategy_id': value['strategy_id'], 'is_enabled': value['is_enabled'], 'strategy_product_price': value['strategy_product_price'], 'price_downloaded_at': value['price_downloaded_at'], 'strategy_competitor_id': value['strategy_competitor_id'], 'strategy_competitor_product_url': value['strategy_competitor_product_url'], }; }