"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.CustomerPortalTokenInputArgsToJSON = exports.CustomerPortalTokenInputArgsFromJSONTyped = exports.CustomerPortalTokenInputArgsFromJSON = void 0;
const runtime_1 = require("../runtime");
function CustomerPortalTokenInputArgsFromJSON(json) {
    return CustomerPortalTokenInputArgsFromJSONTyped(json, false);
}
exports.CustomerPortalTokenInputArgsFromJSON = CustomerPortalTokenInputArgsFromJSON;
function CustomerPortalTokenInputArgsFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'customerName': !(0, runtime_1.exists)(json, 'customer_name') ? undefined : json['customer_name'],
    };
}
exports.CustomerPortalTokenInputArgsFromJSONTyped = CustomerPortalTokenInputArgsFromJSONTyped;
function CustomerPortalTokenInputArgsToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'customer_name': value.customerName,
    };
}
exports.CustomerPortalTokenInputArgsToJSON = CustomerPortalTokenInputArgsToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ3VzdG9tZXJQb3J0YWxUb2tlbklucHV0QXJncy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb2RlZ2VuL21vZGVscy9DdXN0b21lclBvcnRhbFRva2VuSW5wdXRBcmdzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9CO0FBQ3BCOzs7Ozs7Ozs7O0dBVUc7OztBQUVILHdDQUErQztBQWUvQyxTQUFn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