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