blib/lib/Paws/EC2/Purchase.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 package Paws::EC2::Purchase;
2 use Moose;
3 has CurrencyCode => (is => 'ro', isa => 'Str', request_name => 'currencyCode', traits => ['NameInRequest']);
4 has Duration => (is => 'ro', isa => 'Int', request_name => 'duration', traits => ['NameInRequest']);
5 has HostIdSet => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'hostIdSet', traits => ['NameInRequest']);
6 has HostReservationId => (is => 'ro', isa => 'Str', request_name => 'hostReservationId', traits => ['NameInRequest']);
7 has HourlyPrice => (is => 'ro', isa => 'Str', request_name => 'hourlyPrice', traits => ['NameInRequest']);
8 has InstanceFamily => (is => 'ro', isa => 'Str', request_name => 'instanceFamily', traits => ['NameInRequest']);
9 has PaymentOption => (is => 'ro', isa => 'Str', request_name => 'paymentOption', traits => ['NameInRequest']);
10 has UpfrontPrice => (is => 'ro', isa => 'Str', request_name => 'upfrontPrice', traits => ['NameInRequest']);
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::EC2::Purchase
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::EC2::Purchase object:
29  
30 $service_obj->Method(Att1 => { CurrencyCode => $value, ..., UpfrontPrice => $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::EC2::Purchase object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->CurrencyCode
38  
39 =head1 DESCRIPTION
40  
41 This class has no description
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 CurrencyCode => Str
47  
48 The currency in which the C<UpfrontPrice> and C<HourlyPrice> amounts
49 are specified. At this time, the only supported currency is C<USD>.
50  
51  
52 =head2 Duration => Int
53  
54 The duration of the reservation's term in seconds.
55  
56  
57 =head2 HostIdSet => ArrayRef[Str|Undef]
58  
59 The IDs of the Dedicated Hosts associated with the reservation.
60  
61  
62 =head2 HostReservationId => Str
63  
64 The ID of the reservation.
65  
66  
67 =head2 HourlyPrice => Str
68  
69 The hourly price of the reservation per hour.
70  
71  
72 =head2 InstanceFamily => Str
73  
74 The instance family on the Dedicated Host that the reservation can be
75 associated with.
76  
77  
78 =head2 PaymentOption => Str
79  
80 The payment option for the reservation.
81  
82  
83 =head2 UpfrontPrice => Str
84  
85 The upfront price of the reservation.
86  
87  
88  
89 =head1 SEE ALSO
90  
91 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
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