"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.0-rc4
 * Contact: hello@goauthentik.io
 *
 * 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.instanceOfSystemInfoRuntime = instanceOfSystemInfoRuntime;
exports.SystemInfoRuntimeFromJSON = SystemInfoRuntimeFromJSON;
exports.SystemInfoRuntimeFromJSONTyped = SystemInfoRuntimeFromJSONTyped;
exports.SystemInfoRuntimeToJSON = SystemInfoRuntimeToJSON;
exports.SystemInfoRuntimeToJSONTyped = SystemInfoRuntimeToJSONTyped;
/**
 * Check if a given object implements the SystemInfoRuntime interface.
 */
function instanceOfSystemInfoRuntime(value) {
    if (!('pythonVersion' in value) || value['pythonVersion'] === undefined)
        return false;
    if (!('environment' in value) || value['environment'] === undefined)
        return false;
    if (!('architecture' in value) || value['architecture'] === undefined)
        return false;
    if (!('platform' in value) || value['platform'] === undefined)
        return false;
    if (!('uname' in value) || value['uname'] === undefined)
        return false;
    if (!('opensslVersion' in value) || value['opensslVersion'] === undefined)
        return false;
    if (!('opensslFipsEnabled' in value) || value['opensslFipsEnabled'] === undefined)
        return false;
    if (!('authentikVersion' in value) || value['authentikVersion'] === undefined)
        return false;
    return true;
}
function SystemInfoRuntimeFromJSON(json) {
    return SystemInfoRuntimeFromJSONTyped(json, false);
}
function SystemInfoRuntimeFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'pythonVersion': json['python_version'],
        'environment': json['environment'],
        'architecture': json['architecture'],
        'platform': json['platform'],
        'uname': json['uname'],
        'opensslVersion': json['openssl_version'],
        'opensslFipsEnabled': json['openssl_fips_enabled'],
        'authentikVersion': json['authentik_version'],
    };
}
function SystemInfoRuntimeToJSON(json) {
    return SystemInfoRuntimeToJSONTyped(json, false);
}
function SystemInfoRuntimeToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'python_version': value['pythonVersion'],
        'environment': value['environment'],
        'architecture': value['architecture'],
        'platform': value['platform'],
        'uname': value['uname'],
        'openssl_version': value['opensslVersion'],
        'openssl_fips_enabled': value['opensslFipsEnabled'],
        'authentik_version': value['authentikVersion'],
    };
}
//# sourceMappingURL=SystemInfoRuntime.js.map