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