# $Id: //depot/prod/test/UM6.0_integ/lib/NACL/CS/RestoreTaskInfo.pm $ # # Copyright (c) 2012 NetApp, Inc., All Rights Reserved # Any use, modification, or distribution is prohibited # without prior written consent from NetApp, Inc. # ## @summary RestoreTaskInfo ComponentState Module (auto-generated by OCUM CGT) ## @author dl-mpo-nacl-dev@netapp.com ## @status shared ## @pod here =head1 NAME NACL::CS::DFM::RestoreTaskInfo =head1 DESCRIPTION C is a derived class of L. It represents the state of a RestoreTaskInfo. =head1 ATTRIBUTES The individual pieces of data that are part of the state of the RestoreTaskInfo element are the attributes of the RestoreTaskInfo ComponentState. =over =item C<< source_snapshot >> ( Type L ) =item C<< destination_path >> =item C<< bytes_transferred >> =item C<< destination_volume_name >> =item C<< source_path >> =item C<< destination_volume_id >> =back =cut package NACL::CS::DFM::RestoreTaskInfo; 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 => [ { -type => 'NACL::CS::DFM::SnapshotIdentifier' }, 'source_snapshot' ], scalar => 'destination_path', scalar => 'bytes_transferred', scalar => 'destination_volume_name', scalar => 'source_path', scalar => 'destination_volume_id', ]; 1;