"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.PriceInputArgsToJSON = exports.PriceInputArgsFromJSONTyped = exports.PriceInputArgsFromJSON = void 0;
const runtime_1 = require("../runtime");
function PriceInputArgsFromJSON(json) {
    return PriceInputArgsFromJSONTyped(json, false);
}
exports.PriceInputArgsFromJSON = PriceInputArgsFromJSON;
function PriceInputArgsFromJSONTyped(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.PriceInputArgsFromJSONTyped = PriceInputArgsFromJSONTyped;
function PriceInputArgsToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'cap': value.cap,
        'description': value.description,
        'price': value.price,
    };
}
exports.PriceInputArgsToJSON = PriceInputArgsToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUHJpY2VJbnB1dEFyZ3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29kZWdlbi9tb2RlbHMvUHJpY2VJbnB1dEFyZ3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLG9CQUFvQjtBQUNwQixvQkFBb0I7QUFDcEI7Ozs7Ozs7Ozs7R0FVRzs7O0FBRUgsd0NBQStDO0FBMkIvQyxTQUFnQixzQkFBc0IsQ0FBQyxJQUFTO0lBQzVDLE9BQU8sMkJ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