File Coverage

blib/lib/Paws/WorkDocs/Activity.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::Activity;
2 1     1   433 use Moose;
  1         3  
  1         9  
3             has CommentMetadata => (is => 'ro', isa => 'Paws::WorkDocs::CommentMetadata');
4             has Initiator => (is => 'ro', isa => 'Paws::WorkDocs::UserMetadata');
5             has OrganizationId => (is => 'ro', isa => 'Str');
6             has OriginalParent => (is => 'ro', isa => 'Paws::WorkDocs::ResourceMetadata');
7             has Participants => (is => 'ro', isa => 'Paws::WorkDocs::Participants');
8             has ResourceMetadata => (is => 'ro', isa => 'Paws::WorkDocs::ResourceMetadata');
9             has TimeStamp => (is => 'ro', isa => 'Str');
10             has Type => (is => 'ro', isa => 'Str');
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::WorkDocs::Activity
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::Activity object:
29              
30             $service_obj->Method(Att1 => { CommentMetadata => $value, ..., Type => $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::Activity object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->CommentMetadata
38              
39             =head1 DESCRIPTION
40              
41             Describes the activity information.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 CommentMetadata => L<Paws::WorkDocs::CommentMetadata>
47              
48             Metadata of the commenting activity. This is an optional field and is
49             filled for commenting activities.
50              
51              
52             =head2 Initiator => L<Paws::WorkDocs::UserMetadata>
53              
54             The user who performed the action.
55              
56              
57             =head2 OrganizationId => Str
58              
59             The ID of the organization.
60              
61              
62             =head2 OriginalParent => L<Paws::WorkDocs::ResourceMetadata>
63              
64             The original parent of the resource. This is an optional field and is
65             filled for move activities.
66              
67              
68             =head2 Participants => L<Paws::WorkDocs::Participants>
69              
70             The list of users or groups impacted by this action. This is an
71             optional field and is filled for the following sharing activities:
72             DOCUMENT_SHARED, DOCUMENT_SHARED, DOCUMENT_UNSHARED, FOLDER_SHARED,
73             FOLDER_UNSHARED.
74              
75              
76             =head2 ResourceMetadata => L<Paws::WorkDocs::ResourceMetadata>
77              
78             The metadata of the resource involved in the user action.
79              
80              
81             =head2 TimeStamp => Str
82              
83             The timestamp when the action was performed.
84              
85              
86             =head2 Type => Str
87              
88             The activity type.
89              
90              
91              
92             =head1 SEE ALSO
93              
94             This class forms part of L<Paws>, describing an object used in L<Paws::WorkDocs>
95              
96             =head1 BUGS and CONTRIBUTIONS
97              
98             The source code is located here: https://github.com/pplu/aws-sdk-perl
99              
100             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
101              
102             =cut
103