"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.CustomerMetadataInputToJSON = exports.CustomerMetadataInputFromJSONTyped = exports.CustomerMetadataInputFromJSON = void 0;
const runtime_1 = require("../runtime");
function CustomerMetadataInputFromJSON(json) {
    return CustomerMetadataInputFromJSONTyped(json, false);
}
exports.CustomerMetadataInputFromJSON = CustomerMetadataInputFromJSON;
function CustomerMetadataInputFromJSONTyped(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.CustomerMetadataInputFromJSONTyped = CustomerMetadataInputFromJSONTyped;
function CustomerMetadataInputToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'value': value.value,
        'property': value.property,
    };
}
exports.CustomerMetadataInputToJSON = CustomerMetadataInputToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ3VzdG9tZXJNZXRhZGF0YUlucHV0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2NvZGVnZW4vbW9kZWxzL0N1c3RvbWVyTWV0YWRhdGFJbnB1dC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjtBQUNwQjs7Ozs7Ozs7OztHQVVHOzs7QUFFSCx3Q0FBK0M7QUFxQi9DLFNBQWdCLDZCQUE2QixDQUFDLElBQVM7SUFDbkQsT0FBTyxrQ0FB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