"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.2-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.instanceOfAuthenticatedSessionUserAgentOs = instanceOfAuthenticatedSessionUserAgentOs;
exports.AuthenticatedSessionUserAgentOsFromJSON = AuthenticatedSessionUserAgentOsFromJSON;
exports.AuthenticatedSessionUserAgentOsFromJSONTyped = AuthenticatedSessionUserAgentOsFromJSONTyped;
exports.AuthenticatedSessionUserAgentOsToJSON = AuthenticatedSessionUserAgentOsToJSON;
exports.AuthenticatedSessionUserAgentOsToJSONTyped = AuthenticatedSessionUserAgentOsToJSONTyped;
/**
 * Check if a given object implements the AuthenticatedSessionUserAgentOs interface.
 */
function instanceOfAuthenticatedSessionUserAgentOs(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;
    if (!('patchMinor' in value) || value['patchMinor'] === undefined)
        return false;
    return true;
}
function AuthenticatedSessionUserAgentOsFromJSON(json) {
    return AuthenticatedSessionUserAgentOsFromJSONTyped(json, false);
}
function AuthenticatedSessionUserAgentOsFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'family': json['family'],
        'major': json['major'],
        'minor': json['minor'],
        'patch': json['patch'],
        'patchMinor': json['patch_minor'],
    };
}
function AuthenticatedSessionUserAgentOsToJSON(json) {
    return AuthenticatedSessionUserAgentOsToJSONTyped(json, false);
}
function AuthenticatedSessionUserAgentOsToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'family': value['family'],
        'major': value['major'],
        'minor': value['minor'],
        'patch': value['patch'],
        'patch_minor': value['patchMinor'],
    };
}
//# sourceMappingURL=AuthenticatedSessionUserAgentOs.js.map