blib/lib/Paws/AlexaForBusiness/SearchAddressBooks.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::SearchAddressBooks;
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 => 'SearchAddressBooks');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AlexaForBusiness::SearchAddressBooksResponse');
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::SearchAddressBooks - Arguments for method SearchAddressBooks on L<Paws::AlexaForBusiness>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method SearchAddressBooks on the
25 L<Alexa For Business|Paws::AlexaForBusiness> service. Use the attributes of this class
26 as arguments to method SearchAddressBooks.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SearchAddressBooks.
29  
30 =head1 SYNOPSIS
31  
32 my $a4b = Paws->service('AlexaForBusiness');
33 my $SearchAddressBooksResponse = $a4b->SearchAddressBooks(
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 $AddressBooks = $SearchAddressBooksResponse->AddressBooks;
58 my $NextToken = $SearchAddressBooksResponse->NextToken;
59 my $TotalCount = $SearchAddressBooksResponse->TotalCount;
60  
61 # Returns a L<Paws::AlexaForBusiness::SearchAddressBooksResponse> 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/SearchAddressBooks>
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 key is AddressBookName.
73  
74  
75  
76 =head2 MaxResults => Int
77  
78 The maximum number of results to include in the response. If more
79 results exist than the specified MaxResults value, a token is included
80 in the response so that the remaining results can be retrieved.
81  
82  
83  
84 =head2 NextToken => Str
85  
86 An optional token returned from a prior request. Use this token for
87 pagination of results from this action. If this parameter is specified,
88 the response only includes results beyond the token, up to the value
89 specified by MaxResults.
90  
91  
92  
93 =head2 SortCriteria => ArrayRef[L<Paws::AlexaForBusiness::Sort>]
94  
95 The sort order to use in listing the specified set of address books.
96 The supported sort key is AddressBookName.
97  
98  
99  
100  
101 =head1 SEE ALSO
102  
103 This class forms part of L<Paws>, documenting arguments for method SearchAddressBooks in L<Paws::AlexaForBusiness>
104  
105 =head1 BUGS and CONTRIBUTIONS
106  
107 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
108  
109 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
110  
111 =cut
112