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