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

use strict;

package Raritan::RPC::serial::AnalogModem::CallReceivedEvent;

use constant typeId => "serial.AnalogModem.CallReceivedEvent:1.0.0";
use Raritan::RPC::serial::AnalogModem::DialInEvent;

sub encode {
    my ($in) = @_;
    my $encoded = Raritan::RPC::serial::AnalogModem::DialInEvent::encode($in);
    return $encoded;
}

sub decode {
    my ($agent, $in) = @_;
    my $decoded = Raritan::RPC::serial::AnalogModem::DialInEvent::decode($agent, $in);
    return $decoded;
}

Raritan::RPC::Registry::registerCodecClass('serial.AnalogModem.CallReceivedEvent', 1, 0, 0, 'Raritan::RPC::serial::AnalogModem::CallReceivedEvent');
1;
