"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.AddAddOnsToPricePlanInputToJSON = exports.AddAddOnsToPricePlanInputFromJSONTyped = exports.AddAddOnsToPricePlanInputFromJSON = void 0;
const AddOnInputArgs_1 = require("./AddOnInputArgs");
function AddAddOnsToPricePlanInputFromJSON(json) {
    return AddAddOnsToPricePlanInputFromJSONTyped(json, false);
}
exports.AddAddOnsToPricePlanInputFromJSON = AddAddOnsToPricePlanInputFromJSON;
function AddAddOnsToPricePlanInputFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'addOns': (json['add_ons'].map(AddOnInputArgs_1.AddOnInputArgsFromJSON)),
    };
}
exports.AddAddOnsToPricePlanInputFromJSONTyped = AddAddOnsToPricePlanInputFromJSONTyped;
function AddAddOnsToPricePlanInputToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'add_ons': (value.addOns.map(AddOnInputArgs_1.AddOnInputArgsToJSON)),
    };
}
exports.AddAddOnsToPricePlanInputToJSON = AddAddOnsToPricePlanInputToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQWRkQWRkT25zVG9QcmljZVBsYW5JbnB1dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb2RlZ2VuL21vZGVscy9BZGRBZGRPbnNUb1ByaWNlUGxhbklucHV0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9CO0FBQ3BCOzs7Ozs7Ozs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