"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.instanceOfAuthenticatedSessionUserAgentDevice = instanceOfAuthenticatedSessionUserAgentDevice;
exports.AuthenticatedSessionUserAgentDeviceFromJSON = AuthenticatedSessionUserAgentDeviceFromJSON;
exports.AuthenticatedSessionUserAgentDeviceFromJSONTyped = AuthenticatedSessionUserAgentDeviceFromJSONTyped;
exports.AuthenticatedSessionUserAgentDeviceToJSON = AuthenticatedSessionUserAgentDeviceToJSON;
exports.AuthenticatedSessionUserAgentDeviceToJSONTyped = AuthenticatedSessionUserAgentDeviceToJSONTyped;
/**
 * Check if a given object implements the AuthenticatedSessionUserAgentDevice interface.
 */
function instanceOfAuthenticatedSessionUserAgentDevice(value) {
    if (!('brand' in value) || value['brand'] === undefined)
        return false;
    if (!('family' in value) || value['family'] === undefined)
        return false;
    if (!('model' in value) || value['model'] === undefined)
        return false;
    return true;
}
function AuthenticatedSessionUserAgentDeviceFromJSON(json) {
    return AuthenticatedSessionUserAgentDeviceFromJSONTyped(json, false);
}
function AuthenticatedSessionUserAgentDeviceFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'brand': json['brand'],
        'family': json['family'],
        'model': json['model'],
    };
}
function AuthenticatedSessionUserAgentDeviceToJSON(json) {
    return AuthenticatedSessionUserAgentDeviceToJSONTyped(json, false);
}
function AuthenticatedSessionUserAgentDeviceToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'brand': value['brand'],
        'family': value['family'],
        'model': value['model'],
    };
}
//# sourceMappingURL=AuthenticatedSessionUserAgentDevice.js.map