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