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