File Coverage

blib/lib/Paws/S3/ObjectVersion.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::S3::ObjectVersion;
2 1     1   536 use Moose;
  1     1   2  
  1         8  
  1         419  
  1         3  
  1         5  
3             has ETag => (is => 'ro', isa => 'Str');
4             has IsLatest => (is => 'ro', isa => 'Bool');
5             has Key => (is => 'ro', isa => 'Str');
6             has LastModified => (is => 'ro', isa => 'Str');
7             has Owner => (is => 'ro', isa => 'Paws::S3::Owner');
8             has Size => (is => 'ro', isa => 'Int');
9             has StorageClass => (is => 'ro', isa => 'Str');
10             has VersionId => (is => 'ro', isa => 'Str');
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::S3::ObjectVersion
18              
19             =head1 USAGE
20              
21             This class represents one of two things:
22              
23             =head3 Arguments in a call to a service
24              
25             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26             Each attribute should be used as a named argument in the calls that expect this type of object.
27              
28             As an example, if Att1 is expected to be a Paws::S3::ObjectVersion object:
29              
30             $service_obj->Method(Att1 => { ETag => $value, ..., VersionId => $value });
31              
32             =head3 Results returned from an API call
33              
34             Use accessors for each attribute. If Att1 is expected to be an Paws::S3::ObjectVersion object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->ETag
38              
39             =head1 DESCRIPTION
40              
41             This class has no description
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 ETag => Str
47              
48            
49              
50              
51             =head2 IsLatest => Bool
52              
53             Specifies whether the object is (true) or is not (false) the latest
54             version of an object.
55              
56              
57             =head2 Key => Str
58              
59             The object key.
60              
61              
62             =head2 LastModified => Str
63              
64             Date and time the object was last modified.
65              
66              
67             =head2 Owner => L<Paws::S3::Owner>
68              
69            
70              
71              
72             =head2 Size => Int
73              
74             Size in bytes of the object.
75              
76              
77             =head2 StorageClass => Str
78              
79             The class of storage used to store the object.
80              
81              
82             =head2 VersionId => Str
83              
84             Version ID of an object.
85              
86              
87              
88             =head1 SEE ALSO
89              
90             This class forms part of L<Paws>, describing an object used in L<Paws::S3>
91              
92             =head1 BUGS and CONTRIBUTIONS
93              
94             The source code is located here: https://github.com/pplu/aws-sdk-perl
95              
96             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
97              
98             =cut
99