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