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

use strict;

package Raritan::RPC::smartcard::CardReader_1_0_4::CardRemovedEvent_2_0_0;

use constant typeId => "smartcard.CardReader_1_0_4.CardRemovedEvent:2.0.0";
use Raritan::RPC::smartcard::CardReader_1_0_4::CardEvent_2_0_0;

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

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

Raritan::RPC::Registry::registerCodecClass('smartcard.CardReader_1_0_4.CardRemovedEvent', 2, 0, 0, 'Raritan::RPC::smartcard::CardReader_1_0_4::CardRemovedEvent_2_0_0');
1;
