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