blib/lib/Paws/WorkDocs/Activity.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::WorkDocs::Activity;
3 use Moose;
4 has CommentMetadata => (is => 'ro', isa => 'Paws::WorkDocs::CommentMetadata');
5 has Initiator => (is => 'ro', isa => 'Paws::WorkDocs::UserMetadata');
6 has IsIndirectActivity => (is => 'ro', isa => 'Bool');
7 has OrganizationId => (is => 'ro', isa => 'Str');
8 has OriginalParent => (is => 'ro', isa => 'Paws::WorkDocs::ResourceMetadata');
9 has Participants => (is => 'ro', isa => 'Paws::WorkDocs::Participants');
10 has ResourceMetadata => (is => 'ro', isa => 'Paws::WorkDocs::ResourceMetadata');
11 has TimeStamp => (is => 'ro', isa => 'Str');
12 has Type => (is => 'ro', isa => 'Str');
13  
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::WorkDocs::Activity
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::WorkDocs::Activity object:
32  
33 $service_obj->Method(Att1 => { CommentMetadata => $value, ..., Type => $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::WorkDocs::Activity object:
38  
39 $result = $service_obj->Method(...);
40 $result->Att1->CommentMetadata
41  
42 =head1 DESCRIPTION
43  
44 Describes the activity information.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 CommentMetadata => L<Paws::WorkDocs::CommentMetadata>
50  
51 Metadata of the commenting activity. This is an optional field and is
52 filled for commenting activities.
53  
54  
55 =head2 Initiator => L<Paws::WorkDocs::UserMetadata>
56  
57 The user who performed the action.
58  
59  
60 =head2 IsIndirectActivity => Bool
61  
62 Indicates whether an activity is indirect or direct. An indirect
63 activity results from a direct activity performed on a parent resource.
64 For example, sharing a parent folder (the direct activity) shares all
65 of the subfolders and documents within the parent folder (the indirect
66 activity).
67  
68  
69 =head2 OrganizationId => Str
70  
71 The ID of the organization.
72  
73  
74 =head2 OriginalParent => L<Paws::WorkDocs::ResourceMetadata>
75  
76 The original parent of the resource. This is an optional field and is
77 filled for move activities.
78  
79  
80 =head2 Participants => L<Paws::WorkDocs::Participants>
81  
82 The list of users or groups impacted by this action. This is an
83 optional field and is filled for the following sharing activities:
84 DOCUMENT_SHARED, DOCUMENT_SHARED, DOCUMENT_UNSHARED, FOLDER_SHARED,
85 FOLDER_UNSHARED.
86  
87  
88 =head2 ResourceMetadata => L<Paws::WorkDocs::ResourceMetadata>
89  
90 The metadata of the resource involved in the user action.
91  
92  
93 =head2 TimeStamp => Str
94  
95 The timestamp when the action was performed.
96  
97  
98 =head2 Type => Str
99  
100 The activity type.
101  
102  
103  
104 =head1 SEE ALSO
105  
106 This class forms part of L<Paws>, describing an object used in L<Paws::WorkDocs>
107  
108 =head1 BUGS and CONTRIBUTIONS
109  
110 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
111  
112 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
113  
114 =cut
115