"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.instanceOfPatchedEndpointDeviceRequest = instanceOfPatchedEndpointDeviceRequest;
exports.PatchedEndpointDeviceRequestFromJSON = PatchedEndpointDeviceRequestFromJSON;
exports.PatchedEndpointDeviceRequestFromJSONTyped = PatchedEndpointDeviceRequestFromJSONTyped;
exports.PatchedEndpointDeviceRequestToJSON = PatchedEndpointDeviceRequestToJSON;
exports.PatchedEndpointDeviceRequestToJSONTyped = PatchedEndpointDeviceRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedEndpointDeviceRequest interface.
 */
function instanceOfPatchedEndpointDeviceRequest(value) {
    return true;
}
function PatchedEndpointDeviceRequestFromJSON(json) {
    return PatchedEndpointDeviceRequestFromJSONTyped(json, false);
}
function PatchedEndpointDeviceRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'pk': json['pk'] == null ? undefined : json['pk'],
        'name': json['name'] == null ? undefined : json['name'],
    };
}
function PatchedEndpointDeviceRequestToJSON(json) {
    return PatchedEndpointDeviceRequestToJSONTyped(json, false);
}
function PatchedEndpointDeviceRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'pk': value['pk'],
        'name': value['name'],
    };
}
//# sourceMappingURL=PatchedEndpointDeviceRequest.js.map