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

use strict;

package Raritan::RPC::lhxmodel::LhxDevel_1_1_2;

use parent qw(Raritan::RPC::lhxmodel::Lhx_3_2_4);

use constant typeId => "lhxmodel.LhxDevel:1.1.2";

sub new {
    my ($class, $agent, $rid, $typeId) = @_;
    $typeId = $typeId || Raritan::RPC::lhxmodel::LhxDevel_1_1_2::typeId;
    return $class->SUPER::new($agent, $rid, $typeId);
}

use Raritan::RPC::lhxmodel::LhxDevel_1_1_2::ParameterData;

sub dumpParameter($) {
    my ($self) = @_;
    my $agent = $self->{'agent'};
    my $args = {};
    my $rsp = $agent->json_rpc($self->{'rid'}, 'dumpParameter', $args);
    my $_ret_;
    $_ret_ = [];
    for (my $i0 = 0; $i0 <= $#{$rsp->{'_ret_'}}; $i0++) {
        $_ret_->[$i0] = Raritan::RPC::lhxmodel::LhxDevel_1_1_2::ParameterData::decode($agent, $rsp->{'_ret_'}->[$i0]);
    }
    return $_ret_;
}

Raritan::RPC::Registry::registerProxyClass('lhxmodel.LhxDevel', 1, 1, 2, 'Raritan::RPC::lhxmodel::LhxDevel_1_1_2');
1;
