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

use strict;

package Raritan::RPC::pdumodel::CircuitBreakerStatistic;

sub encode {
    my ($in) = @_;
    my $encoded = {};
    $encoded->{'tripCnt'} = 1 * $in->{'tripCnt'};
    return $encoded;
}

sub decode {
    my ($agent, $in) = @_;
    my $decoded = {};
    $decoded->{'tripCnt'} = $in->{'tripCnt'};
    return $decoded;
}

1;
