"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.instanceOfSupplyCheckIsValidDistributionRule = instanceOfSupplyCheckIsValidDistributionRule; exports.SupplyCheckIsValidDistributionRuleFromJSON = SupplyCheckIsValidDistributionRuleFromJSON; exports.SupplyCheckIsValidDistributionRuleFromJSONTyped = SupplyCheckIsValidDistributionRuleFromJSONTyped; exports.SupplyCheckIsValidDistributionRuleToJSON = SupplyCheckIsValidDistributionRuleToJSON; /** * Check if a given object implements the SupplyCheckIsValidDistributionRule interface. */ function instanceOfSupplyCheckIsValidDistributionRule(value) { return true; } function SupplyCheckIsValidDistributionRuleFromJSON(json) { return SupplyCheckIsValidDistributionRuleFromJSONTyped(json, false); } function SupplyCheckIsValidDistributionRuleFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'count_distributed_sku': json['count_distributed_sku'] == null ? undefined : json['count_distributed_sku'], 'count_sku_total': json['count_sku_total'] == null ? undefined : json['count_sku_total'], 'is_applicable': json['is_applicable'] == null ? undefined : json['is_applicable'], 'percents_int': json['percents_int'] == null ? undefined : json['percents_int'], 'satisfied': json['satisfied'] == null ? undefined : json['satisfied'], }; } function SupplyCheckIsValidDistributionRuleToJSON(value) { if (value == null) { return value; } return { 'count_distributed_sku': value['count_distributed_sku'], 'count_sku_total': value['count_sku_total'], 'is_applicable': value['is_applicable'], 'percents_int': value['percents_int'], 'satisfied': value['satisfied'], }; }