"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.ValidateCredentialsArgsToJSON = exports.ValidateCredentialsArgsFromJSONTyped = exports.ValidateCredentialsArgsFromJSON = void 0;
function ValidateCredentialsArgsFromJSON(json) {
    return ValidateCredentialsArgsFromJSONTyped(json, false);
}
exports.ValidateCredentialsArgsFromJSON = ValidateCredentialsArgsFromJSON;
function ValidateCredentialsArgsFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'username': json['username'],
        'sandboxMode': json['sandbox_mode'],
        'password': json['password'],
    };
}
exports.ValidateCredentialsArgsFromJSONTyped = ValidateCredentialsArgsFromJSONTyped;
function ValidateCredentialsArgsToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'username': value.username,
        'sandbox_mode': value.sandboxMode,
        'password': value.password,
    };
}
exports.ValidateCredentialsArgsToJSON = ValidateCredentialsArgsToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVmFsaWRhdGVDcmVkZW50aWFsc0FyZ3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29kZWdlbi9tb2RlbHMvVmFsaWRhdGVDcmVkZW50aWFsc0FyZ3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLG9CQUFvQjtBQUNwQixvQkFBb0I7QUFDcEI7Ozs7Ozs7Ozs7R0FVRzs7O0FBNkJILFNBQWdCLCtCQUErQixDQUFDLElBQVM7SUFDckQsT0FBTyxvQ0FBb0MsQ0FBQyxJQUFJLEVB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