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

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::MTurk::ListQualificationTypes;
3 use Moose;
4 has MaxResults => (is => 'ro', isa => 'Int');
5 has MustBeOwnedByCaller => (is => 'ro', isa => 'Bool');
6 has MustBeRequestable => (is => 'ro', isa => 'Bool', required => 1);
7 has NextToken => (is => 'ro', isa => 'Str');
8 has Query => (is => 'ro', isa => 'Str');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListQualificationTypes');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MTurk::ListQualificationTypesResponse');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::MTurk::ListQualificationTypes - Arguments for method ListQualificationTypes on L<Paws::MTurk>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method ListQualificationTypes on the
26 L<Amazon Mechanical Turk|Paws::MTurk> service. Use the attributes of this class
27 as arguments to method ListQualificationTypes.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListQualificationTypes.
30  
31 =head1 SYNOPSIS
32  
33 my $mturk-requester = Paws->service('MTurk');
34 my $ListQualificationTypesResponse =
35 $mturk -requester->ListQualificationTypes(
36 MustBeRequestable => 1,
37 MaxResults => 1, # OPTIONAL
38 MustBeOwnedByCaller => 1, # OPTIONAL
39 NextToken => 'MyPaginationToken', # OPTIONAL
40 Query => 'MyString', # OPTIONAL
41 );
42  
43 # Results:
44 my $NextToken = $ListQualificationTypesResponse->NextToken;
45 my $NumResults = $ListQualificationTypesResponse->NumResults;
46 my $QualificationTypes =
47 $ListQualificationTypesResponse->QualificationTypes;
48  
49 # Returns a L<Paws::MTurk::ListQualificationTypesResponse> object.
50  
51 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.
52 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mturk-requester/ListQualificationTypes>
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 MaxResults => Int
58  
59 The maximum number of results to return in a single call.
60  
61  
62  
63 =head2 MustBeOwnedByCaller => Bool
64  
65 Specifies that only Qualification types that the Requester created are
66 returned. If false, the operation returns all Qualification types.
67  
68  
69  
70 =head2 B<REQUIRED> MustBeRequestable => Bool
71  
72 Specifies that only Qualification types that a user can request through
73 the Amazon Mechanical Turk web site, such as by taking a Qualification
74 test, are returned as results of the search. Some Qualification types,
75 such as those assigned automatically by the system, cannot be requested
76 directly by users. If false, all Qualification types, including those
77 managed by the system, are considered. Valid values are True | False.
78  
79  
80  
81 =head2 NextToken => Str
82  
83  
84  
85  
86  
87 =head2 Query => Str
88  
89 A text query against all of the searchable attributes of Qualification
90 types.
91  
92  
93  
94  
95 =head1 SEE ALSO
96  
97 This class forms part of L<Paws>, documenting arguments for method ListQualificationTypes in L<Paws::MTurk>
98  
99 =head1 BUGS and CONTRIBUTIONS
100  
101 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
102  
103 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
104  
105 =cut
106