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

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 26 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::SavingsPlanOffering;
3 use Moose;
4 has Currency => (is => 'ro', isa => 'Str', request_name => 'currency', traits => ['NameInRequest']);
5 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
6 has DurationSeconds => (is => 'ro', isa => 'Int', request_name => 'durationSeconds', traits => ['NameInRequest']);
7 has OfferingId => (is => 'ro', isa => 'Str', request_name => 'offeringId', traits => ['NameInRequest']);
8 has Operation => (is => 'ro', isa => 'Str', request_name => 'operation', traits => ['NameInRequest']);
9 has PaymentOption => (is => 'ro', isa => 'Str', request_name => 'paymentOption', traits => ['NameInRequest']);
10 has PlanType => (is => 'ro', isa => 'Str', request_name => 'planType', traits => ['NameInRequest']);
11 has ProductTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'productTypes', traits => ['NameInRequest']);
12 has Properties => (is => 'ro', isa => 'ArrayRef[Paws::SavingsPlans::SavingsPlanOfferingProperty]', request_name => 'properties', traits => ['NameInRequest']);
13 has ServiceCode => (is => 'ro', isa => 'Str', request_name => 'serviceCode', traits => ['NameInRequest']);
14 has UsageType => (is => 'ro', isa => 'Str', request_name => 'usageType', traits => ['NameInRequest']);
15  
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::SavingsPlans::SavingsPlanOffering
23  
24 =head1 USAGE
25  
26 This class represents one of two things:
27  
28 =head3 Arguments in a call to a service
29  
30 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
31 Each attribute should be used as a named argument in the calls that expect this type of object.
32  
33 As an example, if Att1 is expected to be a Paws::SavingsPlans::SavingsPlanOffering object:
34  
35 $service_obj->Method(Att1 => { Currency => $value, ..., UsageType => $value });
36  
37 =head3 Results returned from an API call
38  
39 Use accessors for each attribute. If Att1 is expected to be an Paws::SavingsPlans::SavingsPlanOffering object:
40  
41 $result = $service_obj->Method(...);
42 $result->Att1->Currency
43  
44 =head1 DESCRIPTION
45  
46 Information about a Savings Plan offering.
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 Currency => Str
52  
53 The currency.
54  
55  
56 =head2 Description => Str
57  
58 The description.
59  
60  
61 =head2 DurationSeconds => Int
62  
63 The duration, in seconds.
64  
65  
66 =head2 OfferingId => Str
67  
68 The ID of the offering.
69  
70  
71 =head2 Operation => Str
72  
73 The specific AWS operation for the line item in the billing report.
74  
75  
76 =head2 PaymentOption => Str
77  
78 The payment option.
79  
80  
81 =head2 PlanType => Str
82  
83 The plan type.
84  
85  
86 =head2 ProductTypes => ArrayRef[Str|Undef]
87  
88 The product type.
89  
90  
91 =head2 Properties => ArrayRef[L<Paws::SavingsPlans::SavingsPlanOfferingProperty>]
92  
93 The properties.
94  
95  
96 =head2 ServiceCode => Str
97  
98 The service.
99  
100  
101 =head2 UsageType => Str
102  
103 The usage details of the line item in the billing report.
104  
105  
106  
107 =head1 SEE ALSO
108  
109 This class forms part of L<Paws>, describing an object used in L<Paws::SavingsPlans>
110  
111 =head1 BUGS and CONTRIBUTIONS
112  
113 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
114  
115 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
116  
117 =cut
118