# $Id: //depot/prod/test/main/lib/NACL/CS/VolumeSize.pm $ # # Copyright (c) 2013 NetApp, Inc., All Rights Reserved # Any use, modification, or distribution is prohibited # without prior written consent from NetApp, Inc. # ## @summary VolumeSize ComponentState Module (auto-generated by OCUM CGT) ## @author dl-mpo-nacl-dev@netapp.com ## @status shared ## @pod here =head1 NAME NACL::CS::DFM::VolumeSize =head1 DESCRIPTION C is a derived class of L. It represents the state of a VolumeSize. =head1 ATTRIBUTES The individual pieces of data that are part of the state of the VolumeSize element are the attributes of the VolumeSize ComponentState. =over =item C<< afs_used >> =item C<< snapshot_reserve_days_until_full >> =item C<< actual_volume_size >> =item C<< afs_daily_growth_rate >> =item C<< overwrite_reserve_used >> =item C<< quota_committed_space >> =item C<< overwrite_reserve_avail >> =item C<< is_snapshot_enabled >> =item C<< snapshot_reserve_used >> =item C<< snapshot_reserve_total >> =item C<< afs_avail >> =item C<< snapshot_reserve_avail >> =item C<< total >> =item C<< snapshot_reserve_used_per_day >> =item C<< afs_total >> =item C<< overwrite_reserve_total >> =item C<< afs_used_per_day >> =back =cut package NACL::CS::DFM::VolumeSize; 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 => 'afs_used', scalar => 'snapshot_reserve_days_until_full', scalar => 'actual_volume_size', scalar => 'afs_daily_growth_rate', scalar => 'overwrite_reserve_used', scalar => 'quota_committed_space', scalar => 'overwrite_reserve_avail', scalar => 'is_snapshot_enabled', scalar => 'snapshot_reserve_used', scalar => 'snapshot_reserve_total', scalar => 'afs_avail', scalar => 'snapshot_reserve_avail', scalar => 'total', scalar => 'snapshot_reserve_used_per_day', scalar => 'afs_total', scalar => 'overwrite_reserve_total', scalar => 'afs_used_per_day', ]; 1;