# SPDX-License-Identifier: BSD-3-Clause
#
# Copyright 2025 Raritan Inc. All rights reserved.
#
# This file was generated by IdlC from CardReader.idl.

use strict;

package Raritan::RPC::smartcard::CardReader_1_0_1::CardRemovedEvent;

use constant typeId => "smartcard.CardReader_1_0_1.CardRemovedEvent:1.0.0";
use Raritan::RPC::smartcard::CardReader_1_0_1::CardEvent;

sub encode {
    my ($in) = @_;
    my $encoded = Raritan::RPC::smartcard::CardReader_1_0_1::CardEvent::encode($in);
    return $encoded;
}

sub decode {
    my ($agent, $in) = @_;
    my $decoded = Raritan::RPC::smartcard::CardReader_1_0_1::CardEvent::decode($agent, $in);
    return $decoded;
}

Raritan::RPC::Registry::registerCodecClass('smartcard.CardReader_1_0_1.CardRemovedEvent', 1, 0, 0, 'Raritan::RPC::smartcard::CardReader_1_0_1::CardRemovedEvent');
1;
