"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.PriceInputArgs1ToJSON = exports.PriceInputArgs1FromJSONTyped = exports.PriceInputArgs1FromJSON = void 0;
const runtime_1 = require("../runtime");
function PriceInputArgs1FromJSON(json) {
    return PriceInputArgs1FromJSONTyped(json, false);
}
exports.PriceInputArgs1FromJSON = PriceInputArgs1FromJSON;
function PriceInputArgs1FromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'cap': !(0, runtime_1.exists)(json, 'cap') ? undefined : json['cap'],
        'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
        'price': !(0, runtime_1.exists)(json, 'price') ? undefined : json['price'],
    };
}
exports.PriceInputArgs1FromJSONTyped = PriceInputArgs1FromJSONTyped;
function PriceInputArgs1ToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'cap': value.cap,
        'description': value.description,
        'price': value.price,
    };
}
exports.PriceInputArgs1ToJSON = PriceInputArgs1ToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUHJpY2VJbnB1dEFyZ3MxLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2NvZGVnZW4vbW9kZWxzL1ByaWNlSW5wdXRBcmdzMS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjtBQUNwQjs7Ozs7Ozs7OztHQVVHOzs7QUFFSCx3Q0FBK0M7QUEyQi9DLFNBQWdCLHVCQUF1QixDQUFDLEl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