blib/lib/Paws/Lightsail/ExportSnapshotRecordSourceInfo.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::Lightsail::ExportSnapshotRecordSourceInfo;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
5 has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']);
6 has DiskSnapshotInfo => (is => 'ro', isa => 'Paws::Lightsail::DiskSnapshotInfo', request_name => 'diskSnapshotInfo', traits => ['NameInRequest']);
7 has FromResourceArn => (is => 'ro', isa => 'Str', request_name => 'fromResourceArn', traits => ['NameInRequest']);
8 has FromResourceName => (is => 'ro', isa => 'Str', request_name => 'fromResourceName', traits => ['NameInRequest']);
9 has InstanceSnapshotInfo => (is => 'ro', isa => 'Paws::Lightsail::InstanceSnapshotInfo', request_name => 'instanceSnapshotInfo', 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  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::Lightsail::ExportSnapshotRecordSourceInfo
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::Lightsail::ExportSnapshotRecordSourceInfo object:
31  
32 $service_obj->Method(Att1 => { Arn => $value, ..., ResourceType => $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::Lightsail::ExportSnapshotRecordSourceInfo object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->Arn
40  
41 =head1 DESCRIPTION
42  
43 Describes the source of an export snapshot record.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 Arn => Str
49  
50 The Amazon Resource Name (ARN) of the source instance or disk snapshot.
51  
52  
53 =head2 CreatedAt => Str
54  
55 The date when the source instance or disk snapshot was created.
56  
57  
58 =head2 DiskSnapshotInfo => L<Paws::Lightsail::DiskSnapshotInfo>
59  
60 A list of objects describing a disk snapshot.
61  
62  
63 =head2 FromResourceArn => Str
64  
65 The Amazon Resource Name (ARN) of the snapshot's source instance or
66 disk.
67  
68  
69 =head2 FromResourceName => Str
70  
71 The name of the snapshot's source instance or disk.
72  
73  
74 =head2 InstanceSnapshotInfo => L<Paws::Lightsail::InstanceSnapshotInfo>
75  
76 A list of objects describing an instance snapshot.
77  
78  
79 =head2 Name => Str
80  
81 The name of the source instance or disk snapshot.
82  
83  
84 =head2 ResourceType => Str
85  
86 The Lightsail resource type (e.g., C<InstanceSnapshot> or
87 C<DiskSnapshot>).
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
94  
95 =head1 BUGS and CONTRIBUTIONS
96  
97 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
98  
99 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
100  
101 =cut
102