File Coverage

blib/lib/Paws/WorkDocs/InitiateDocumentVersionUpload.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              
2             package Paws::WorkDocs::InitiateDocumentVersionUpload;
3 1     1   516 use Moose;
  1         2  
  1         9  
4             has AuthenticationToken => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'Authentication' );
5             has ContentCreatedTimestamp => (is => 'ro', isa => 'Str');
6             has ContentModifiedTimestamp => (is => 'ro', isa => 'Str');
7             has ContentType => (is => 'ro', isa => 'Str');
8             has DocumentSizeInBytes => (is => 'ro', isa => 'Int');
9             has Id => (is => 'ro', isa => 'Str');
10             has Name => (is => 'ro', isa => 'Str');
11             has ParentFolderId => (is => 'ro', isa => 'Str', required => 1);
12              
13 1     1   6809 use MooseX::ClassAttribute;
  1         2  
  1         12  
14              
15             class_has _api_call => (isa => 'Str', is => 'ro', default => 'InitiateDocumentVersionUpload');
16             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/api/v1/documents');
17             class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
18             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::WorkDocs::InitiateDocumentVersionUploadResponse');
19             class_has _result_key => (isa => 'Str', is => 'ro');
20             1;
21              
22             ### main pod documentation begin ###
23              
24             =head1 NAME
25              
26             Paws::WorkDocs::InitiateDocumentVersionUpload - Arguments for method InitiateDocumentVersionUpload on Paws::WorkDocs
27              
28             =head1 DESCRIPTION
29              
30             This class represents the parameters used for calling the method InitiateDocumentVersionUpload on the
31             Amazon WorkDocs service. Use the attributes of this class
32             as arguments to method InitiateDocumentVersionUpload.
33              
34             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to InitiateDocumentVersionUpload.
35              
36             As an example:
37              
38             $service_obj->InitiateDocumentVersionUpload(Att1 => $value1, Att2 => $value2, ...);
39              
40             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 AuthenticationToken => Str
46              
47             Amazon WorkDocs authentication token. This field should not be set when
48             using administrative API actions, as in accessing the API using AWS
49             credentials.
50              
51              
52              
53             =head2 ContentCreatedTimestamp => Str
54              
55             The time stamp when the content of the document was originally created.
56              
57              
58              
59             =head2 ContentModifiedTimestamp => Str
60              
61             The time stamp when the content of the document was modified.
62              
63              
64              
65             =head2 ContentType => Str
66              
67             The content type of the document.
68              
69              
70              
71             =head2 DocumentSizeInBytes => Int
72              
73             The size of the document, in bytes.
74              
75              
76              
77             =head2 Id => Str
78              
79             The ID of the document.
80              
81              
82              
83             =head2 Name => Str
84              
85             The name of the document.
86              
87              
88              
89             =head2 B<REQUIRED> ParentFolderId => Str
90              
91             The ID of the parent folder.
92              
93              
94              
95              
96             =head1 SEE ALSO
97              
98             This class forms part of L<Paws>, documenting arguments for method InitiateDocumentVersionUpload in L<Paws::WorkDocs>
99              
100             =head1 BUGS and CONTRIBUTIONS
101              
102             The source code is located here: https://github.com/pplu/aws-sdk-perl
103              
104             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
105              
106             =cut
107