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

use strict;

package Raritan::RPC::smartcard::CardReader_1_0_2::CardRemovedEvent;

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

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

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

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