blib/lib/Paws/AlexaForBusiness/SearchRooms.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::SearchRooms;
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 => 'SearchRooms');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AlexaForBusiness::SearchRoomsResponse');
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::SearchRooms - Arguments for method SearchRooms on L<Paws::AlexaForBusiness>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method SearchRooms on the
25 L<Alexa For Business|Paws::AlexaForBusiness> service. Use the attributes of this class
26 as arguments to method SearchRooms.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SearchRooms.
29  
30 =head1 SYNOPSIS
31  
32 my $a4b = Paws->service('AlexaForBusiness');
33 my $SearchRoomsResponse = $a4b->SearchRooms(
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 $NextToken = $SearchRoomsResponse->NextToken;
58 my $Rooms = $SearchRoomsResponse->Rooms;
59 my $TotalCount = $SearchRoomsResponse->TotalCount;
60  
61 # Returns a L<Paws::AlexaForBusiness::SearchRoomsResponse> 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/SearchRooms>
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 rooms. The supported
72 filter keys are RoomName and ProfileName.
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 C<MaxResults> value, a token is
80 included in the response so that the remaining results can be
81 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 includes only results beyond the token, up to the value
90 specified by C<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 rooms. The
97 supported sort keys are RoomName and ProfileName.
98  
99  
100  
101  
102 =head1 SEE ALSO
103  
104 This class forms part of L<Paws>, documenting arguments for method SearchRooms 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