"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.instanceOfAuthenticatedSessionUserAgentUserAgent = instanceOfAuthenticatedSessionUserAgentUserAgent;
exports.AuthenticatedSessionUserAgentUserAgentFromJSON = AuthenticatedSessionUserAgentUserAgentFromJSON;
exports.AuthenticatedSessionUserAgentUserAgentFromJSONTyped = AuthenticatedSessionUserAgentUserAgentFromJSONTyped;
exports.AuthenticatedSessionUserAgentUserAgentToJSON = AuthenticatedSessionUserAgentUserAgentToJSON;
exports.AuthenticatedSessionUserAgentUserAgentToJSONTyped = AuthenticatedSessionUserAgentUserAgentToJSONTyped;
/**
 * Check if a given object implements the AuthenticatedSessionUserAgentUserAgent interface.
 */
function instanceOfAuthenticatedSessionUserAgentUserAgent(value) {
    if (!('family' in value) || value['family'] === undefined)
        return false;
    if (!('major' in value) || value['major'] === undefined)
        return false;
    if (!('minor' in value) || value['minor'] === undefined)
        return false;
    if (!('patch' in value) || value['patch'] === undefined)
        return false;
    return true;
}
function AuthenticatedSessionUserAgentUserAgentFromJSON(json) {
    return AuthenticatedSessionUserAgentUserAgentFromJSONTyped(json, false);
}
function AuthenticatedSessionUserAgentUserAgentFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'family': json['family'],
        'major': json['major'],
        'minor': json['minor'],
        'patch': json['patch'],
    };
}
function AuthenticatedSessionUserAgentUserAgentToJSON(json) {
    return AuthenticatedSessionUserAgentUserAgentToJSONTyped(json, false);
}
function AuthenticatedSessionUserAgentUserAgentToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'family': value['family'],
        'major': value['major'],
        'minor': value['minor'],
        'patch': value['patch'],
    };
}
//# sourceMappingURL=AuthenticatedSessionUserAgentUserAgent.js.map