# $Id: //depot/prod/test/main/lib/NACL/CS/TrapDestination.pm $ # # Copyright (c) 2013 NetApp, Inc., All Rights Reserved # Any use, modification, or distribution is prohibited # without prior written consent from NetApp, Inc. # ## @summary TrapDestination ComponentState Module (auto-generated by OCUM CGT) ## @author dl-mpo-nacl-dev@netapp.com ## @status shared ## @pod here =head1 NAME NACL::CS::DFM::TrapDestination =head1 DESCRIPTION C is a derived class of L. It represents the state of a TrapDestination. =head1 ATTRIBUTES The individual pieces of data that are part of the state of the TrapDestination element are the attributes of the TrapDestination ComponentState. =over =item C<< trap_port >> =item C<< trap_host >> =item C<< trap_community >> =back =cut package NACL::CS::DFM::TrapDestination; use strict; use warnings; use Params::Validate qw(validate validate_with SCALAR ARRAYREF HASHREF); use NACL::ComponentUtils qw(Dumper); use NATE::Log qw(log_global); my $Log = log_global(); my $may_enter = $Log->may_enter(); my $may_exit = $Log->may_exit(); use base 'NACL::CS::ComponentState::DFM'; use Class::MethodMaker [ new => [ '-hash', 'new' ], scalar => 'trap_port', scalar => 'trap_host', scalar => 'trap_community', ]; 1;