blib/lib/Paws/Lightsail/Bundle.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::Lightsail::Bundle;
3 use Moose;
4 has BundleId => (is => 'ro', isa => 'Str', request_name => 'bundleId', traits => ['NameInRequest']);
5 has CpuCount => (is => 'ro', isa => 'Int', request_name => 'cpuCount', traits => ['NameInRequest']);
6 has DiskSizeInGb => (is => 'ro', isa => 'Int', request_name => 'diskSizeInGb', traits => ['NameInRequest']);
7 has InstanceType => (is => 'ro', isa => 'Str', request_name => 'instanceType', traits => ['NameInRequest']);
8 has IsActive => (is => 'ro', isa => 'Bool', request_name => 'isActive', traits => ['NameInRequest']);
9 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
10 has Power => (is => 'ro', isa => 'Int', request_name => 'power', traits => ['NameInRequest']);
11 has Price => (is => 'ro', isa => 'Num', request_name => 'price', traits => ['NameInRequest']);
12 has RamSizeInGb => (is => 'ro', isa => 'Num', request_name => 'ramSizeInGb', traits => ['NameInRequest']);
13 has SupportedPlatforms => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'supportedPlatforms', traits => ['NameInRequest']);
14 has TransferPerMonthInGb => (is => 'ro', isa => 'Int', request_name => 'transferPerMonthInGb', traits => ['NameInRequest']);
15  
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::Lightsail::Bundle
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::Lightsail::Bundle object:
34  
35 $service_obj->Method(Att1 => { BundleId => $value, ..., TransferPerMonthInGb => $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::Lightsail::Bundle object:
40  
41 $result = $service_obj->Method(...);
42 $result->Att1->BundleId
43  
44 =head1 DESCRIPTION
45  
46 Describes a bundle, which is a set of specs describing your virtual
47 private server (or I<instance>).
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 BundleId => Str
53  
54 The bundle ID (e.g., C<micro_1_0>).
55  
56  
57 =head2 CpuCount => Int
58  
59 The number of vCPUs included in the bundle (e.g., C<2>).
60  
61  
62 =head2 DiskSizeInGb => Int
63  
64 The size of the SSD (e.g., C<30>).
65  
66  
67 =head2 InstanceType => Str
68  
69 The Amazon EC2 instance type (e.g., C<t2.micro>).
70  
71  
72 =head2 IsActive => Bool
73  
74 A Boolean value indicating whether the bundle is active.
75  
76  
77 =head2 Name => Str
78  
79 A friendly name for the bundle (e.g., C<Micro>).
80  
81  
82 =head2 Power => Int
83  
84 A numeric value that represents the power of the bundle (e.g., C<500>).
85 You can use the bundle's power value in conjunction with a blueprint's
86 minimum power value to determine whether the blueprint will run on the
87 bundle. For example, you need a bundle with a power value of 500 or
88 more to create an instance that uses a blueprint with a minimum power
89 value of 500.
90  
91  
92 =head2 Price => Num
93  
94 The price in US dollars (e.g., C<5.0>) of the bundle.
95  
96  
97 =head2 RamSizeInGb => Num
98  
99 The amount of RAM in GB (e.g., C<2.0>).
100  
101  
102 =head2 SupportedPlatforms => ArrayRef[Str|Undef]
103  
104 The operating system platform (Linux/Unix-based or Windows
105 Server-based) that the bundle supports. You can only launch a
106 C<WINDOWS> bundle on a blueprint that supports the C<WINDOWS> platform.
107 C<LINUX_UNIX> blueprints require a C<LINUX_UNIX> bundle.
108  
109  
110 =head2 TransferPerMonthInGb => Int
111  
112 The data transfer rate per month in GB (e.g., C<2000>).
113  
114  
115  
116 =head1 SEE ALSO
117  
118 This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
119  
120 =head1 BUGS and CONTRIBUTIONS
121  
122 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
123  
124 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
125  
126 =cut
127