blib/lib/Paws/MTurk/Assignment.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MTurk::Assignment;
3 use Moose;
4 has AcceptTime => (is => 'ro', isa => 'Str');
5 has Answer => (is => 'ro', isa => 'Str');
6 has ApprovalTime => (is => 'ro', isa => 'Str');
7 has AssignmentId => (is => 'ro', isa => 'Str');
8 has AssignmentStatus => (is => 'ro', isa => 'Str');
9 has AutoApprovalTime => (is => 'ro', isa => 'Str');
10 has Deadline => (is => 'ro', isa => 'Str');
11 has HITId => (is => 'ro', isa => 'Str');
12 has RejectionTime => (is => 'ro', isa => 'Str');
13 has RequesterFeedback => (is => 'ro', isa => 'Str');
14 has SubmitTime => (is => 'ro', isa => 'Str');
15 has WorkerId => (is => 'ro', isa => 'Str');
16  
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::MTurk::Assignment
24  
25 =head1 USAGE
26  
27 This class represents one of two things:
28  
29 =head3 Arguments in a call to a service
30  
31 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
32 Each attribute should be used as a named argument in the calls that expect this type of object.
33  
34 As an example, if Att1 is expected to be a Paws::MTurk::Assignment object:
35  
36 $service_obj->Method(Att1 => { AcceptTime => $value, ..., WorkerId => $value });
37  
38 =head3 Results returned from an API call
39  
40 Use accessors for each attribute. If Att1 is expected to be an Paws::MTurk::Assignment object:
41  
42 $result = $service_obj->Method(...);
43 $result->Att1->AcceptTime
44  
45 =head1 DESCRIPTION
46  
47 The Assignment data structure represents a single assignment of a HIT
48 to a Worker. The assignment tracks the Worker's efforts to complete the
49 HIT, and contains the results for later retrieval.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 AcceptTime => Str
55  
56 The date and time the Worker accepted the assignment.
57  
58  
59 =head2 Answer => Str
60  
61 The Worker's answers submitted for the HIT contained in a
62 QuestionFormAnswers document, if the Worker provides an answer. If the
63 Worker does not provide any answers, Answer may contain a
64 QuestionFormAnswers document, or Answer may be empty.
65  
66  
67 =head2 ApprovalTime => Str
68  
69 If the Worker has submitted results and the Requester has approved the
70 results, ApprovalTime is the date and time the Requester approved the
71 results. This value is omitted from the assignment if the Requester has
72 not yet approved the results.
73  
74  
75 =head2 AssignmentId => Str
76  
77 A unique identifier for the assignment.
78  
79  
80 =head2 AssignmentStatus => Str
81  
82 The status of the assignment.
83  
84  
85 =head2 AutoApprovalTime => Str
86  
87 If results have been submitted, AutoApprovalTime is the date and time
88 the results of the assignment results are considered Approved
89 automatically if they have not already been explicitly approved or
90 rejected by the Requester. This value is derived from the auto-approval
91 delay specified by the Requester in the HIT. This value is omitted from
92 the assignment if the Worker has not yet submitted results.
93  
94  
95 =head2 Deadline => Str
96  
97 The date and time of the deadline for the assignment. This value is
98 derived from the deadline specification for the HIT and the date and
99 time the Worker accepted the HIT.
100  
101  
102 =head2 HITId => Str
103  
104 The ID of the HIT.
105  
106  
107 =head2 RejectionTime => Str
108  
109 If the Worker has submitted results and the Requester has rejected the
110 results, RejectionTime is the date and time the Requester rejected the
111 results.
112  
113  
114 =head2 RequesterFeedback => Str
115  
116 The feedback string included with the call to the ApproveAssignment
117 operation or the RejectAssignment operation, if the Requester approved
118 or rejected the assignment and specified feedback.
119  
120  
121 =head2 SubmitTime => Str
122  
123 If the Worker has submitted results, SubmitTime is the date and time
124 the assignment was submitted. This value is omitted from the assignment
125 if the Worker has not yet submitted results.
126  
127  
128 =head2 WorkerId => Str
129  
130 The ID of the Worker who accepted the HIT.
131  
132  
133  
134 =head1 SEE ALSO
135  
136 This class forms part of L<Paws>, describing an object used in L<Paws::MTurk>
137  
138 =head1 BUGS and CONTRIBUTIONS
139  
140 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
141  
142 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
143  
144 =cut
145