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