File Coverage

blib/lib/Paws/MTurk/Qualification.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::MTurk::Qualification;
2 1     1   351 use Moose;
  1         2  
  1         7  
3             has GrantTime => (is => 'ro', isa => 'Str');
4             has IntegerValue => (is => 'ro', isa => 'Int');
5             has LocaleValue => (is => 'ro', isa => 'Paws::MTurk::Locale');
6             has QualificationTypeId => (is => 'ro', isa => 'Str');
7             has Status => (is => 'ro', isa => 'Str');
8             has WorkerId => (is => 'ro', isa => 'Str');
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::MTurk::Qualification
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::MTurk::Qualification object:
27              
28             $service_obj->Method(Att1 => { GrantTime => $value, ..., WorkerId => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::MTurk::Qualification object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->GrantTime
36              
37             =head1 DESCRIPTION
38              
39             The Qualification data structure represents a Qualification assigned to
40             a user, including the Qualification type and the value (score).
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 GrantTime => Str
46              
47             The date and time the Qualification was granted to the Worker. If the
48             Worker's Qualification was revoked, and then re-granted based on a new
49             Qualification request, GrantTime is the date and time of the last call
50             to the AcceptQualificationRequest operation.
51              
52              
53             =head2 IntegerValue => Int
54              
55             The value (score) of the Qualification, if the Qualification has an
56             integer value.
57              
58              
59             =head2 LocaleValue => L<Paws::MTurk::Locale>
60              
61            
62              
63              
64             =head2 QualificationTypeId => Str
65              
66             The ID of the Qualification type for the Qualification.
67              
68              
69             =head2 Status => Str
70              
71             The status of the Qualification. Valid values are Granted | Revoked.
72              
73              
74             =head2 WorkerId => Str
75              
76             The ID of the Worker who possesses the Qualification.
77              
78              
79              
80             =head1 SEE ALSO
81              
82             This class forms part of L<Paws>, describing an object used in L<Paws::MTurk>
83              
84             =head1 BUGS and CONTRIBUTIONS
85              
86             The source code is located here: https://github.com/pplu/aws-sdk-perl
87              
88             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
89              
90             =cut
91