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