blib/lib/Paws/Lightsail/StaticIp.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 22 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::StaticIp;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
5 has AttachedTo => (is => 'ro', isa => 'Str', request_name => 'attachedTo', traits => ['NameInRequest']);
6 has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']);
7 has IpAddress => (is => 'ro', isa => 'Str', request_name => 'ipAddress', traits => ['NameInRequest']);
8 has IsAttached => (is => 'ro', isa => 'Bool', request_name => 'isAttached', traits => ['NameInRequest']);
9 has Location => (is => 'ro', isa => 'Paws::Lightsail::ResourceLocation', request_name => 'location', traits => ['NameInRequest']);
10 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
11 has ResourceType => (is => 'ro', isa => 'Str', request_name => 'resourceType', traits => ['NameInRequest']);
12 has SupportCode => (is => 'ro', isa => 'Str', request_name => 'supportCode', traits => ['NameInRequest']);
13  
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::Lightsail::StaticIp
21  
22 =head1 USAGE
23  
24 This class represents one of two things:
25  
26 =head3 Arguments in a call to a service
27  
28 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29 Each attribute should be used as a named argument in the calls that expect this type of object.
30  
31 As an example, if Att1 is expected to be a Paws::Lightsail::StaticIp object:
32  
33 $service_obj->Method(Att1 => { Arn => $value, ..., SupportCode => $value });
34  
35 =head3 Results returned from an API call
36  
37 Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::StaticIp object:
38  
39 $result = $service_obj->Method(...);
40 $result->Att1->Arn
41  
42 =head1 DESCRIPTION
43  
44 Describes the static IP.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 Arn => Str
50  
51 The Amazon Resource Name (ARN) of the static IP (e.g.,
52 C<arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE>).
53  
54  
55 =head2 AttachedTo => Str
56  
57 The instance where the static IP is attached (e.g.,
58 C<Amazon_Linux-1GB-Ohio-1>).
59  
60  
61 =head2 CreatedAt => Str
62  
63 The timestamp when the static IP was created (e.g., C<1479735304.222>).
64  
65  
66 =head2 IpAddress => Str
67  
68 The static IP address.
69  
70  
71 =head2 IsAttached => Bool
72  
73 A Boolean value indicating whether the static IP is attached.
74  
75  
76 =head2 Location => L<Paws::Lightsail::ResourceLocation>
77  
78 The region and Availability Zone where the static IP was created.
79  
80  
81 =head2 Name => Str
82  
83 The name of the static IP (e.g., C<StaticIP-Ohio-EXAMPLE>).
84  
85  
86 =head2 ResourceType => Str
87  
88 The resource type (usually C<StaticIp>).
89  
90  
91 =head2 SupportCode => Str
92  
93 The support code. Include this code in your email to support when you
94 have questions about an instance or another resource in Lightsail. This
95 code enables our support team to look up your Lightsail information
96 more easily.
97  
98  
99  
100 =head1 SEE ALSO
101  
102 This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
103  
104 =head1 BUGS and CONTRIBUTIONS
105  
106 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
107  
108 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
109  
110 =cut
111