File Coverage

blib/lib/Paws/WorkDocs/DocumentMetadata.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::WorkDocs::DocumentMetadata;
2 1     1   522 use Moose;
  1         4  
  1         9  
3             has CreatedTimestamp => (is => 'ro', isa => 'Str');
4             has CreatorId => (is => 'ro', isa => 'Str');
5             has Id => (is => 'ro', isa => 'Str');
6             has Labels => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
7             has LatestVersionMetadata => (is => 'ro', isa => 'Paws::WorkDocs::DocumentVersionMetadata');
8             has ModifiedTimestamp => (is => 'ro', isa => 'Str');
9             has ParentFolderId => (is => 'ro', isa => 'Str');
10             has ResourceState => (is => 'ro', isa => 'Str');
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::WorkDocs::DocumentMetadata
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::WorkDocs::DocumentMetadata object:
29              
30             $service_obj->Method(Att1 => { CreatedTimestamp => $value, ..., ResourceState => $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::WorkDocs::DocumentMetadata object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->CreatedTimestamp
38              
39             =head1 DESCRIPTION
40              
41             Describes the document.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 CreatedTimestamp => Str
47              
48             The time when the document was created.
49              
50              
51             =head2 CreatorId => Str
52              
53             The ID of the creator.
54              
55              
56             =head2 Id => Str
57              
58             The ID of the document.
59              
60              
61             =head2 Labels => ArrayRef[Str|Undef]
62              
63             List of labels on the document.
64              
65              
66             =head2 LatestVersionMetadata => L<Paws::WorkDocs::DocumentVersionMetadata>
67              
68             The latest version of the document.
69              
70              
71             =head2 ModifiedTimestamp => Str
72              
73             The time when the document was updated.
74              
75              
76             =head2 ParentFolderId => Str
77              
78             The ID of the parent folder.
79              
80              
81             =head2 ResourceState => Str
82              
83             The resource state.
84              
85              
86              
87             =head1 SEE ALSO
88              
89             This class forms part of L<Paws>, describing an object used in L<Paws::WorkDocs>
90              
91             =head1 BUGS and CONTRIBUTIONS
92              
93             The source code is located here: https://github.com/pplu/aws-sdk-perl
94              
95             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
96              
97             =cut
98