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