blib/lib/Paws/IoT/MetricValue.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::IoT::MetricValue;
3 use Moose;
4 has Cidrs => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'cidrs', traits => ['NameInRequest']);
5 has Count => (is => 'ro', isa => 'Int', request_name => 'count', traits => ['NameInRequest']);
6 has Number => (is => 'ro', isa => 'Num', request_name => 'number', traits => ['NameInRequest']);
7 has Numbers => (is => 'ro', isa => 'ArrayRef[Num]', request_name => 'numbers', traits => ['NameInRequest']);
8 has Ports => (is => 'ro', isa => 'ArrayRef[Int]', request_name => 'ports', traits => ['NameInRequest']);
9 has Strings => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'strings', traits => ['NameInRequest']);
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::IoT::MetricValue
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::IoT::MetricValue object:
29  
30 $service_obj->Method(Att1 => { Cidrs => $value, ..., Strings => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::MetricValue object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->Cidrs
38  
39 =head1 DESCRIPTION
40  
41 The value to be compared with the C<metric>.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 Cidrs => ArrayRef[Str|Undef]
47  
48 If the C<comparisonOperator> calls for a set of CIDRs, use this to
49 specify that set to be compared with the C<metric>.
50  
51  
52 =head2 Count => Int
53  
54 If the C<comparisonOperator> calls for a numeric value, use this to
55 specify that numeric value to be compared with the C<metric>.
56  
57  
58 =head2 Number => Num
59  
60 The numeral value of a metric.
61  
62  
63 =head2 Numbers => ArrayRef[Num]
64  
65 The numeral values of a metric.
66  
67  
68 =head2 Ports => ArrayRef[Int]
69  
70 If the C<comparisonOperator> calls for a set of ports, use this to
71 specify that set to be compared with the C<metric>.
72  
73  
74 =head2 Strings => ArrayRef[Str|Undef]
75  
76 The string values of a metric.
77  
78  
79  
80 =head1 SEE ALSO
81  
82 This class forms part of L<Paws>, describing an object used in L<Paws::IoT>
83  
84 =head1 BUGS and CONTRIBUTIONS
85  
86 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
87  
88 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
89  
90 =cut
91