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