blib/lib/Paws/MediaConnect/Offering.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::MediaConnect::Offering;
3 use Moose;
4 has CurrencyCode => (is => 'ro', isa => 'Str', request_name => 'currencyCode', traits => ['NameInRequest'], required => 1);
5 has Duration => (is => 'ro', isa => 'Int', request_name => 'duration', traits => ['NameInRequest'], required => 1);
6 has DurationUnits => (is => 'ro', isa => 'Str', request_name => 'durationUnits', traits => ['NameInRequest'], required => 1);
7 has OfferingArn => (is => 'ro', isa => 'Str', request_name => 'offeringArn', traits => ['NameInRequest'], required => 1);
8 has OfferingDescription => (is => 'ro', isa => 'Str', request_name => 'offeringDescription', traits => ['NameInRequest'], required => 1);
9 has PricePerUnit => (is => 'ro', isa => 'Str', request_name => 'pricePerUnit', traits => ['NameInRequest'], required => 1);
10 has PriceUnits => (is => 'ro', isa => 'Str', request_name => 'priceUnits', traits => ['NameInRequest'], required => 1);
11 has ResourceSpecification => (is => 'ro', isa => 'Paws::MediaConnect::ResourceSpecification', request_name => 'resourceSpecification', traits => ['NameInRequest'], required => 1);
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::MediaConnect::Offering
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::MediaConnect::Offering object:
31  
32 $service_obj->Method(Att1 => { CurrencyCode => $value, ..., ResourceSpecification => $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::MediaConnect::Offering object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->CurrencyCode
40  
41 =head1 DESCRIPTION
42  
43 A savings plan that reserves a certain amount of outbound bandwidth
44 usage at a discounted rate each month over a period of time.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 B<REQUIRED> CurrencyCode => Str
50  
51 The type of currency that is used for billing. The currencyCode used
52 for all reservations is US dollars.
53  
54  
55 =head2 B<REQUIRED> Duration => Int
56  
57 The length of time that your reservation would be active.
58  
59  
60 =head2 B<REQUIRED> DurationUnits => Str
61  
62 The unit of measurement for the duration of the offering.
63  
64  
65 =head2 B<REQUIRED> OfferingArn => Str
66  
67 The Amazon Resource Name (ARN) that MediaConnect assigns to the
68 offering.
69  
70  
71 =head2 B<REQUIRED> OfferingDescription => Str
72  
73 A description of the offering.
74  
75  
76 =head2 B<REQUIRED> PricePerUnit => Str
77  
78 The cost of a single unit. This value, in combination with priceUnits,
79 makes up the rate.
80  
81  
82 =head2 B<REQUIRED> PriceUnits => Str
83  
84 The unit of measurement that is used for billing. This value, in
85 combination with pricePerUnit, makes up the rate.
86  
87  
88 =head2 B<REQUIRED> ResourceSpecification => L<Paws::MediaConnect::ResourceSpecification>
89  
90 A definition of the amount of outbound bandwidth that you would be
91 reserving if you purchase the offering.
92  
93  
94  
95 =head1 SEE ALSO
96  
97 This class forms part of L<Paws>, describing an object used in L<Paws::MediaConnect>
98  
99 =head1 BUGS and CONTRIBUTIONS
100  
101 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
102  
103 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
104  
105 =cut
106