"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.10.0-rc1
 * 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.instanceOfServiceConnectionState = instanceOfServiceConnectionState;
exports.ServiceConnectionStateFromJSON = ServiceConnectionStateFromJSON;
exports.ServiceConnectionStateFromJSONTyped = ServiceConnectionStateFromJSONTyped;
exports.ServiceConnectionStateToJSON = ServiceConnectionStateToJSON;
exports.ServiceConnectionStateToJSONTyped = ServiceConnectionStateToJSONTyped;
/**
 * Check if a given object implements the ServiceConnectionState interface.
 */
function instanceOfServiceConnectionState(value) {
    if (!('healthy' in value) || value['healthy'] === undefined)
        return false;
    if (!('version' in value) || value['version'] === undefined)
        return false;
    return true;
}
function ServiceConnectionStateFromJSON(json) {
    return ServiceConnectionStateFromJSONTyped(json, false);
}
function ServiceConnectionStateFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'healthy': json['healthy'],
        'version': json['version'],
    };
}
function ServiceConnectionStateToJSON(json) {
    return ServiceConnectionStateToJSONTyped(json, false);
}
function ServiceConnectionStateToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {};
}
//# sourceMappingURL=ServiceConnectionState.js.map