File Coverage

blib/lib/Paws/EC2/GetHostReservationPurchasePreviewResult.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::EC2::GetHostReservationPurchasePreviewResult;
3 1     1   625 use Moose;
  1         4  
  1         10  
4             has CurrencyCode => (is => 'ro', isa => 'Str', request_name => 'currencyCode', traits => ['NameInRequest',]);
5             has Purchase => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Purchase]', request_name => 'purchase', traits => ['NameInRequest',]);
6             has TotalHourlyPrice => (is => 'ro', isa => 'Str', request_name => 'totalHourlyPrice', traits => ['NameInRequest',]);
7             has TotalUpfrontPrice => (is => 'ro', isa => 'Str', request_name => 'totalUpfrontPrice', traits => ['NameInRequest',]);
8              
9             has _request_id => (is => 'ro', isa => 'Str');
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::EC2::GetHostReservationPurchasePreviewResult
17              
18             =head1 ATTRIBUTES
19              
20              
21             =head2 CurrencyCode => Str
22              
23             The currency in which the C<totalUpfrontPrice> and C<totalHourlyPrice>
24             amounts are specified. At this time, the only supported currency is
25             C<USD>.
26              
27             Valid values are: C<"USD">
28             =head2 Purchase => ArrayRef[L<Paws::EC2::Purchase>]
29              
30             The purchase information of the Dedicated Host Reservation and the
31             Dedicated Hosts associated with it.
32              
33              
34             =head2 TotalHourlyPrice => Str
35              
36             The potential total hourly price of the reservation per hour.
37              
38              
39             =head2 TotalUpfrontPrice => Str
40              
41             The potential total upfront price. This is billed immediately.
42              
43              
44             =head2 _request_id => Str
45              
46              
47             =cut
48