# $Id$ # # Copyright (c) 2001-2011 NetApp, Inc., All Rights Reserved # Any use, modification, or distribution is prohibited # without prior written consent from NetApp, Inc. # ## @summary DebugCrsStreamDmNotifications Component Module (auto-generated by CGT) ## @author dl-nacl-dev@netapp.com ## @status shared ## @pod here =head1 NAME NACL::C::DebugCrsStreamDmNotifications =head1 DESCRIPTION C is a derived class of L. It represents access to an ONTAP DebugCrsStreamDmNotifications. A related class is L, which represents the past state of an ONTAP DebugCrsStreamDmNotifications. =head1 ATTRIBUTES =head2 command_interface See L =head2 stream_uuid =cut package NACL::C::DebugCrsStreamDmNotifications; use strict; use warnings; use NACL::CS::DebugCrsStreamDmNotifications; use NACL::ComponentUtils qw (_optional_scalars Dumper); use base 'NACL::C::Component::ONTAP'; use Params::Validate qw(validate_with SCALAR ARRAYREF SCALARREF); use NATE::Log qw(log_global); my $Log = log_global(); my $may_enter = $Log->may_enter(); my $may_exit = $Log->may_exit(); =head1 METHODS =head2 new my $DebugCrsStreamDmNotifications = NACL::C::DebugCrsStreamDmNotifications->new( command_interface => $ci, 'stream-uuid' => $stream_uuid, ); Return a new DebugCrsStreamDmNotifications component object with the given attributes. =cut use Class::MethodMaker [scalar => 'stream_uuid',]; =head2 find my $DebugCrsStreamDmNotifications_obj = NACL::C::DebugCrsStreamDmNotifications->find(command_interface => $ci, ...); my @DebugCrsStreamDmNotifications_objs = NACL::C::DebugCrsStreamDmNotifications->find(command_interface => $ci, ...); (Class method) A constructor of sorts, which discovers which elements are present (by interacting with the given command interface). In an array context it creates a component object for each present element and returns them. In a scalar context it creates a component object for just one element. This method is generally not implemented in individual components. The base class (L provides an implementation. See for a more detailed description along with explanation of all the options accepted. Uses a CMode CLI APISet. =head2 state my DebugCrsStreamDmNotifications_state = $DebugCrsStreamDmNotifications_obj->state(); (Instance method) Fetch the current state of the element associated with this component, and return a Component State object corresponding to this component (calling this on NACL::C::DebugCrsStreamDmNotifications would return a NACL::CS::DebugCrsStreamDmNotifications object) This method is generally not implemented in individual components. The base class (L provides an implementation. See for a more detailed description along with explanation of all the options accepted. Uses a CMode CLI APISet. =cut __PACKAGE__->_load_event_class(); sub _primary_keys_validate_spec { return ('stream-uuid' => {type => SCALAR},); } 1;