"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.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.instanceOfAgentPSSODeviceRegistrationRequest = instanceOfAgentPSSODeviceRegistrationRequest;
exports.AgentPSSODeviceRegistrationRequestFromJSON = AgentPSSODeviceRegistrationRequestFromJSON;
exports.AgentPSSODeviceRegistrationRequestFromJSONTyped = AgentPSSODeviceRegistrationRequestFromJSONTyped;
exports.AgentPSSODeviceRegistrationRequestToJSON = AgentPSSODeviceRegistrationRequestToJSON;
exports.AgentPSSODeviceRegistrationRequestToJSONTyped = AgentPSSODeviceRegistrationRequestToJSONTyped;
/**
 * Check if a given object implements the AgentPSSODeviceRegistrationRequest interface.
 */
function instanceOfAgentPSSODeviceRegistrationRequest(value) {
    if (!('deviceSigningKey' in value) || value['deviceSigningKey'] === undefined)
        return false;
    if (!('deviceEncryptionKey' in value) || value['deviceEncryptionKey'] === undefined)
        return false;
    if (!('signKeyId' in value) || value['signKeyId'] === undefined)
        return false;
    if (!('encKeyId' in value) || value['encKeyId'] === undefined)
        return false;
    return true;
}
function AgentPSSODeviceRegistrationRequestFromJSON(json) {
    return AgentPSSODeviceRegistrationRequestFromJSONTyped(json, false);
}
function AgentPSSODeviceRegistrationRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'deviceSigningKey': json['device_signing_key'],
        'deviceEncryptionKey': json['device_encryption_key'],
        'signKeyId': json['sign_key_id'],
        'encKeyId': json['enc_key_id'],
    };
}
function AgentPSSODeviceRegistrationRequestToJSON(json) {
    return AgentPSSODeviceRegistrationRequestToJSONTyped(json, false);
}
function AgentPSSODeviceRegistrationRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'device_signing_key': value['deviceSigningKey'],
        'device_encryption_key': value['deviceEncryptionKey'],
        'sign_key_id': value['signKeyId'],
        'enc_key_id': value['encKeyId'],
    };
}
//# sourceMappingURL=AgentPSSODeviceRegistrationRequest.js.map