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

use strict;

package Raritan::RPC::smartlock::KeypadManager::KeypadAttachedEvent;

use constant typeId => "smartlock.KeypadManager.KeypadAttachedEvent:1.0.0";
use Raritan::RPC::smartlock::KeypadManager::KeypadEvent;

sub encode {
    my ($in) = @_;
    my $encoded = Raritan::RPC::smartlock::KeypadManager::KeypadEvent::encode($in);
    return $encoded;
}

sub decode {
    my ($agent, $in) = @_;
    my $decoded = Raritan::RPC::smartlock::KeypadManager::KeypadEvent::decode($agent, $in);
    return $decoded;
}

Raritan::RPC::Registry::registerCodecClass('smartlock.KeypadManager.KeypadAttachedEvent', 1, 0, 0, 'Raritan::RPC::smartlock::KeypadManager::KeypadAttachedEvent');
1;
