"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.CustomerUsageToJSON = exports.CustomerUsageFromJSONTyped = exports.CustomerUsageFromJSON = void 0;
const runtime_1 = require("../runtime");
function CustomerUsageFromJSON(json) {
    return CustomerUsageFromJSONTyped(json, false);
}
exports.CustomerUsageFromJSON = CustomerUsageFromJSON;
function CustomerUsageFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'usage': !(0, runtime_1.exists)(json, 'usage') ? undefined : json['usage'],
    };
}
exports.CustomerUsageFromJSONTyped = CustomerUsageFromJSONTyped;
function CustomerUsageToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'usage': value.usage,
    };
}
exports.CustomerUsageToJSON = CustomerUsageToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ3VzdG9tZXJVc2FnZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb2RlZ2VuL21vZGVscy9DdXN0b21lclVzYWdlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9CO0FBQ3BCOzs7Ozs7Ozs7O0dBVUc7OztBQUVILHdDQUErQztBQWUvQyxTQUFnQixxQkFBcUIsQ0FBQyxJQUFTO0lBQzNDLE9BQU8sMEJBQTBCLENBQUMsSUFBSSxFQUFFLEtBQUssQ0FBQyxDQUFDO0FBQ25ELENBQUM7QUFGRCxzREFFQztBQUVELFNBQWdCLDBCQUEwQixDQUFDLElBQVM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