"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * Octane API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * 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.CustomerPortalSubscriptionInputArgsToJSON = exports.CustomerPortalSubscriptionInputArgsFromJSONTyped = exports.CustomerPortalSubscriptionInputArgsFromJSON = void 0;
const runtime_1 = require("../runtime");
function CustomerPortalSubscriptionInputArgsFromJSON(json) {
    return CustomerPortalSubscriptionInputArgsFromJSONTyped(json, false);
}
exports.CustomerPortalSubscriptionInputArgsFromJSON = CustomerPortalSubscriptionInputArgsFromJSON;
function CustomerPortalSubscriptionInputArgsFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'pricePlanName': !(0, runtime_1.exists)(json, 'price_plan_name') ? undefined : json['price_plan_name'],
        'customerName': !(0, runtime_1.exists)(json, 'customer_name') ? undefined : json['customer_name'],
    };
}
exports.CustomerPortalSubscriptionInputArgsFromJSONTyped = CustomerPortalSubscriptionInputArgsFromJSONTyped;
function CustomerPortalSubscriptionInputArgsToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'price_plan_name': value.pricePlanName,
        'customer_name': value.customerName,
    };
}
exports.CustomerPortalSubscriptionInputArgsToJSON = CustomerPortalSubscriptionInputArgsToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ3VzdG9tZXJQb3J0YWxTdWJzY3JpcHRpb25JbnB1dEFyZ3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29kZWdlbi9tb2RlbHMvQ3VzdG9tZXJQb3J0YWxTdWJzY3JpcHRpb25JbnB1dEFyZ3M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