"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.instanceOfPostingV1GetFbpPostingResponsePostingCancellation = instanceOfPostingV1GetFbpPostingResponsePostingCancellation; exports.PostingV1GetFbpPostingResponsePostingCancellationFromJSON = PostingV1GetFbpPostingResponsePostingCancellationFromJSON; exports.PostingV1GetFbpPostingResponsePostingCancellationFromJSONTyped = PostingV1GetFbpPostingResponsePostingCancellationFromJSONTyped; exports.PostingV1GetFbpPostingResponsePostingCancellationToJSON = PostingV1GetFbpPostingResponsePostingCancellationToJSON; /** * Check if a given object implements the PostingV1GetFbpPostingResponsePostingCancellation interface. */ function instanceOfPostingV1GetFbpPostingResponsePostingCancellation(value) { return true; } function PostingV1GetFbpPostingResponsePostingCancellationFromJSON(json) { return PostingV1GetFbpPostingResponsePostingCancellationFromJSONTyped(json, false); } function PostingV1GetFbpPostingResponsePostingCancellationFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'cancel_reason': json['cancel_reason'] == null ? undefined : json['cancel_reason'], 'cancel_reason_id': json['cancel_reason_id'] == null ? undefined : json['cancel_reason_id'], 'cancellation_initiator': json['cancellation_initiator'] == null ? undefined : json['cancellation_initiator'], 'cancellation_type': json['cancellation_type'] == null ? undefined : json['cancellation_type'], }; } function PostingV1GetFbpPostingResponsePostingCancellationToJSON(value) { if (value == null) { return value; } return { 'cancel_reason': value['cancel_reason'], 'cancel_reason_id': value['cancel_reason_id'], 'cancellation_initiator': value['cancellation_initiator'], 'cancellation_type': value['cancellation_type'], }; }