blib/lib/Paws/AlexaForBusiness/SearchContacts.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::AlexaForBusiness::SearchContacts;
3 use Moose;
4 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::AlexaForBusiness::Filter]');
5 has MaxResults => (is => 'ro', isa => 'Int');
6 has NextToken => (is => 'ro', isa => 'Str');
7 has SortCriteria => (is => 'ro', isa => 'ArrayRef[Paws::AlexaForBusiness::Sort]');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'SearchContacts');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AlexaForBusiness::SearchContactsResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::AlexaForBusiness::SearchContacts - Arguments for method SearchContacts on L<Paws::AlexaForBusiness>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method SearchContacts on the
25 L<Alexa For Business|Paws::AlexaForBusiness> service. Use the attributes of this class
26 as arguments to method SearchContacts.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SearchContacts.
29  
30 =head1 SYNOPSIS
31  
32 my $a4b = Paws->service('AlexaForBusiness');
33 my $SearchContactsResponse = $a4b->SearchContacts(
34 Filters => [
35 {
36 Key => 'MyFilterKey', # min: 1, max: 500
37 Values => [
38 'MyFilterValue', ... # min: 1, max: 500
39 ], # max: 50
40  
41 },
42 ...
43 ], # OPTIONAL
44 MaxResults => 1, # OPTIONAL
45 NextToken => 'MyNextToken', # OPTIONAL
46 SortCriteria => [
47 {
48 Key => 'MySortKey', # min: 1, max: 500
49 Value => 'ASC', # values: ASC, DESC
50  
51 },
52 ...
53 ], # OPTIONAL
54 );
55  
56 # Results:
57 my $Contacts = $SearchContactsResponse->Contacts;
58 my $NextToken = $SearchContactsResponse->NextToken;
59 my $TotalCount = $SearchContactsResponse->TotalCount;
60  
61 # Returns a L<Paws::AlexaForBusiness::SearchContactsResponse> object.
62  
63 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.
64 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/a4b/SearchContacts>
65  
66 =head1 ATTRIBUTES
67  
68  
69 =head2 Filters => ArrayRef[L<Paws::AlexaForBusiness::Filter>]
70  
71 The filters to use to list a specified set of address books. The
72 supported filter keys are DisplayName, FirstName, LastName, and
73 AddressBookArns.
74  
75  
76  
77 =head2 MaxResults => Int
78  
79 The maximum number of results to include in the response. If more
80 results exist than the specified MaxResults value, a token is included
81 in the response so that the remaining results can be retrieved.
82  
83  
84  
85 =head2 NextToken => Str
86  
87 An optional token returned from a prior request. Use this token for
88 pagination of results from this action. If this parameter is specified,
89 the response only includes results beyond the token, up to the value
90 specified by MaxResults.
91  
92  
93  
94 =head2 SortCriteria => ArrayRef[L<Paws::AlexaForBusiness::Sort>]
95  
96 The sort order to use in listing the specified set of contacts. The
97 supported sort keys are DisplayName, FirstName, and LastName.
98  
99  
100  
101  
102 =head1 SEE ALSO
103  
104 This class forms part of L<Paws>, documenting arguments for method SearchContacts in L<Paws::AlexaForBusiness>
105  
106 =head1 BUGS and CONTRIBUTIONS
107  
108 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
109  
110 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
111  
112 =cut
113