« blib/lib/Paws/MTurk/Assignment.pm
↑ Summary
blib/lib/Paws/MTurk/AssociateQualificationWithWorkerResponse.pm »
| 1 | |||
| 2 | package Paws::MTurk::AssociateQualificationWithWorker; | ||
| 3 | use Moose; | ||
| 4 | has IntegerValue => (is => 'ro', isa => 'Int'); | ||
| 5 | has QualificationTypeId => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has SendNotification => (is => 'ro', isa => 'Bool'); | ||
| 7 | has WorkerId => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'AssociateQualificationWithWorker'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MTurk::AssociateQualificationWithWorkerResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::MTurk::AssociateQualificationWithWorker - Arguments for method AssociateQualificationWithWorker on L<Paws::MTurk> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method AssociateQualificationWithWorker on the | ||
| 25 | L<Amazon Mechanical Turk|Paws::MTurk> service. Use the attributes of this class | ||
| 26 | as arguments to method AssociateQualificationWithWorker. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AssociateQualificationWithWorker. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $mturk-requester = Paws->service('MTurk'); | ||
| 33 | my $AssociateQualificationWithWorkerResponse = | ||
| 34 | $mturk -requester->AssociateQualificationWithWorker( | ||
| 35 | QualificationTypeId => 'MyEntityId', | ||
| 36 | WorkerId => 'MyCustomerId', | ||
| 37 | IntegerValue => 1, # OPTIONAL | ||
| 38 | SendNotification => 1, # OPTIONAL | ||
| 39 | ); | ||
| 40 | |||
| 41 | 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. | ||
| 42 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mturk-requester/AssociateQualificationWithWorker> | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 IntegerValue => Int | ||
| 48 | |||
| 49 | The value of the Qualification to assign. | ||
| 50 | |||
| 51 | |||
| 52 | |||
| 53 | =head2 B<REQUIRED> QualificationTypeId => Str | ||
| 54 | |||
| 55 | The ID of the Qualification type to use for the assigned Qualification. | ||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | =head2 SendNotification => Bool | ||
| 60 | |||
| 61 | Specifies whether to send a notification email message to the Worker | ||
| 62 | saying that the qualification was assigned to the Worker. Note: this is | ||
| 63 | true by default. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 B<REQUIRED> WorkerId => Str | ||
| 68 | |||
| 69 | The ID of the Worker to whom the Qualification is being assigned. | ||
| 70 | Worker IDs are included with submitted HIT assignments and | ||
| 71 | Qualification requests. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head1 SEE ALSO | ||
| 77 | |||
| 78 | This class forms part of L<Paws>, documenting arguments for method AssociateQualificationWithWorker in L<Paws::MTurk> | ||
| 79 | |||
| 80 | =head1 BUGS and CONTRIBUTIONS | ||
| 81 | |||
| 82 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 83 | |||
| 84 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 85 | |||
| 86 | =cut | ||
| 87 |