blib/lib/Paws/SavingsPlans/SavingsPlanRate.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::SavingsPlans::SavingsPlanRate;
3 use Moose;
4 has Currency => (is => 'ro', isa => 'Str', request_name => 'currency', traits => ['NameInRequest']);
5 has Operation => (is => 'ro', isa => 'Str', request_name => 'operation', traits => ['NameInRequest']);
6 has ProductType => (is => 'ro', isa => 'Str', request_name => 'productType', traits => ['NameInRequest']);
7 has Properties => (is => 'ro', isa => 'ArrayRef[Paws::SavingsPlans::SavingsPlanRateProperty]', request_name => 'properties', traits => ['NameInRequest']);
8 has Rate => (is => 'ro', isa => 'Str', request_name => 'rate', traits => ['NameInRequest']);
9 has ServiceCode => (is => 'ro', isa => 'Str', request_name => 'serviceCode', traits => ['NameInRequest']);
10 has Unit => (is => 'ro', isa => 'Str', request_name => 'unit', traits => ['NameInRequest']);
11 has UsageType => (is => 'ro', isa => 'Str', request_name => 'usageType', traits => ['NameInRequest']);
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::SavingsPlans::SavingsPlanRate
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::SavingsPlans::SavingsPlanRate object:
31  
32 $service_obj->Method(Att1 => { Currency => $value, ..., UsageType => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::SavingsPlans::SavingsPlanRate object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->Currency
40  
41 =head1 DESCRIPTION
42  
43 Information about a Savings Plan rate.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 Currency => Str
49  
50 The currency.
51  
52  
53 =head2 Operation => Str
54  
55 The specific AWS operation for the line item in the billing report.
56  
57  
58 =head2 ProductType => Str
59  
60 The product type.
61  
62  
63 =head2 Properties => ArrayRef[L<Paws::SavingsPlans::SavingsPlanRateProperty>]
64  
65 The properties.
66  
67  
68 =head2 Rate => Str
69  
70 The rate.
71  
72  
73 =head2 ServiceCode => Str
74  
75 The service.
76  
77  
78 =head2 Unit => Str
79  
80 The unit.
81  
82  
83 =head2 UsageType => Str
84  
85 The usage details of the line item in the billing report.
86  
87  
88  
89 =head1 SEE ALSO
90  
91 This class forms part of L<Paws>, describing an object used in L<Paws::SavingsPlans>
92  
93 =head1 BUGS and CONTRIBUTIONS
94  
95 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
96  
97 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
98  
99 =cut
100