"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.UpdateMeterArgsToJSON = exports.UpdateMeterArgsFromJSONTyped = exports.UpdateMeterArgsFromJSON = void 0;
const runtime_1 = require("../runtime");
function UpdateMeterArgsFromJSON(json) {
    return UpdateMeterArgsFromJSONTyped(json, false);
}
exports.UpdateMeterArgsFromJSON = UpdateMeterArgsFromJSON;
function UpdateMeterArgsFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'displayName': !(0, runtime_1.exists)(json, 'display_name') ? undefined : json['display_name'],
        'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
    };
}
exports.UpdateMeterArgsFromJSONTyped = UpdateMeterArgsFromJSONTyped;
function UpdateMeterArgsToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'display_name': value.displayName,
        'description': value.description,
    };
}
exports.UpdateMeterArgsToJSON = UpdateMeterArgsToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVXBkYXRlTWV0ZXJBcmdzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2NvZGVnZW4vbW9kZWxzL1VwZGF0ZU1ldGVyQXJncy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjtBQUNwQjs7Ozs7Ozs7OztHQVVHOzs7QUFFSCx3Q0FBK0M7QUFxQi9DLFNBQWdCLHVCQUF1QixDQUFDLElBQVM7SUFDN0MsT0FBTyw0QkFBNEIsQ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