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