"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.0-rc5
 * 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.instanceOfOutpostHealth = instanceOfOutpostHealth;
exports.OutpostHealthFromJSON = OutpostHealthFromJSON;
exports.OutpostHealthFromJSONTyped = OutpostHealthFromJSONTyped;
exports.OutpostHealthToJSON = OutpostHealthToJSON;
exports.OutpostHealthToJSONTyped = OutpostHealthToJSONTyped;
/**
 * Check if a given object implements the OutpostHealth interface.
 */
function instanceOfOutpostHealth(value) {
    if (!('uid' in value) || value['uid'] === undefined)
        return false;
    if (!('lastSeen' in value) || value['lastSeen'] === undefined)
        return false;
    if (!('version' in value) || value['version'] === undefined)
        return false;
    if (!('golangVersion' in value) || value['golangVersion'] === undefined)
        return false;
    if (!('opensslEnabled' in value) || value['opensslEnabled'] === undefined)
        return false;
    if (!('opensslVersion' in value) || value['opensslVersion'] === undefined)
        return false;
    if (!('fipsEnabled' in value) || value['fipsEnabled'] === undefined)
        return false;
    if (!('versionShould' in value) || value['versionShould'] === undefined)
        return false;
    if (!('versionOutdated' in value) || value['versionOutdated'] === undefined)
        return false;
    if (!('buildHash' in value) || value['buildHash'] === undefined)
        return false;
    if (!('buildHashShould' in value) || value['buildHashShould'] === undefined)
        return false;
    if (!('hostname' in value) || value['hostname'] === undefined)
        return false;
    return true;
}
function OutpostHealthFromJSON(json) {
    return OutpostHealthFromJSONTyped(json, false);
}
function OutpostHealthFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'uid': json['uid'],
        'lastSeen': (new Date(json['last_seen'])),
        'version': json['version'],
        'golangVersion': json['golang_version'],
        'opensslEnabled': json['openssl_enabled'],
        'opensslVersion': json['openssl_version'],
        'fipsEnabled': json['fips_enabled'],
        'versionShould': json['version_should'],
        'versionOutdated': json['version_outdated'],
        'buildHash': json['build_hash'],
        'buildHashShould': json['build_hash_should'],
        'hostname': json['hostname'],
    };
}
function OutpostHealthToJSON(json) {
    return OutpostHealthToJSONTyped(json, false);
}
function OutpostHealthToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {};
}
//# sourceMappingURL=OutpostHealth.js.map