File Coverage

blib/lib/Paws/DeviceFarm/Device.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::DeviceFarm::Device;
2 1     1   562 use Moose;
  1         2  
  1         8  
3             has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
4             has Carrier => (is => 'ro', isa => 'Str', request_name => 'carrier', traits => ['NameInRequest']);
5             has Cpu => (is => 'ro', isa => 'Paws::DeviceFarm::CPU', request_name => 'cpu', traits => ['NameInRequest']);
6             has FleetName => (is => 'ro', isa => 'Str', request_name => 'fleetName', traits => ['NameInRequest']);
7             has FleetType => (is => 'ro', isa => 'Str', request_name => 'fleetType', traits => ['NameInRequest']);
8             has FormFactor => (is => 'ro', isa => 'Str', request_name => 'formFactor', traits => ['NameInRequest']);
9             has HeapSize => (is => 'ro', isa => 'Int', request_name => 'heapSize', traits => ['NameInRequest']);
10             has Image => (is => 'ro', isa => 'Str', request_name => 'image', traits => ['NameInRequest']);
11             has Manufacturer => (is => 'ro', isa => 'Str', request_name => 'manufacturer', traits => ['NameInRequest']);
12             has Memory => (is => 'ro', isa => 'Int', request_name => 'memory', traits => ['NameInRequest']);
13             has Model => (is => 'ro', isa => 'Str', request_name => 'model', traits => ['NameInRequest']);
14             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
15             has Os => (is => 'ro', isa => 'Str', request_name => 'os', traits => ['NameInRequest']);
16             has Platform => (is => 'ro', isa => 'Str', request_name => 'platform', traits => ['NameInRequest']);
17             has Radio => (is => 'ro', isa => 'Str', request_name => 'radio', traits => ['NameInRequest']);
18             has RemoteAccessEnabled => (is => 'ro', isa => 'Bool', request_name => 'remoteAccessEnabled', traits => ['NameInRequest']);
19             has RemoteDebugEnabled => (is => 'ro', isa => 'Bool', request_name => 'remoteDebugEnabled', traits => ['NameInRequest']);
20             has Resolution => (is => 'ro', isa => 'Paws::DeviceFarm::Resolution', request_name => 'resolution', traits => ['NameInRequest']);
21             1;
22              
23             ### main pod documentation begin ###
24              
25             =head1 NAME
26              
27             Paws::DeviceFarm::Device
28              
29             =head1 USAGE
30              
31             This class represents one of two things:
32              
33             =head3 Arguments in a call to a service
34              
35             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
36             Each attribute should be used as a named argument in the calls that expect this type of object.
37              
38             As an example, if Att1 is expected to be a Paws::DeviceFarm::Device object:
39              
40             $service_obj->Method(Att1 => { Arn => $value, ..., Resolution => $value });
41              
42             =head3 Results returned from an API call
43              
44             Use accessors for each attribute. If Att1 is expected to be an Paws::DeviceFarm::Device object:
45              
46             $result = $service_obj->Method(...);
47             $result->Att1->Arn
48              
49             =head1 DESCRIPTION
50              
51             Represents a device type that an app is tested against.
52              
53             =head1 ATTRIBUTES
54              
55              
56             =head2 Arn => Str
57              
58             The device's ARN.
59              
60              
61             =head2 Carrier => Str
62              
63             The device's carrier.
64              
65              
66             =head2 Cpu => L<Paws::DeviceFarm::CPU>
67              
68             Information about the device's CPU.
69              
70              
71             =head2 FleetName => Str
72              
73             The name of the fleet to which this device belongs.
74              
75              
76             =head2 FleetType => Str
77              
78             The type of fleet to which this device belongs. Possible values for
79             fleet type are PRIVATE and PUBLIC.
80              
81              
82             =head2 FormFactor => Str
83              
84             The device's form factor.
85              
86             Allowed values include:
87              
88             =over
89              
90             =item *
91              
92             PHONE: The phone form factor.
93              
94             =item *
95              
96             TABLET: The tablet form factor.
97              
98             =back
99              
100              
101              
102             =head2 HeapSize => Int
103              
104             The device's heap size, expressed in bytes.
105              
106              
107             =head2 Image => Str
108              
109             The device's image name.
110              
111              
112             =head2 Manufacturer => Str
113              
114             The device's manufacturer name.
115              
116              
117             =head2 Memory => Int
118              
119             The device's total memory size, expressed in bytes.
120              
121              
122             =head2 Model => Str
123              
124             The device's model name.
125              
126              
127             =head2 Name => Str
128              
129             The device's display name.
130              
131              
132             =head2 Os => Str
133              
134             The device's operating system type.
135              
136              
137             =head2 Platform => Str
138              
139             The device's platform.
140              
141             Allowed values include:
142              
143             =over
144              
145             =item *
146              
147             ANDROID: The Android platform.
148              
149             =item *
150              
151             IOS: The iOS platform.
152              
153             =back
154              
155              
156              
157             =head2 Radio => Str
158              
159             The device's radio.
160              
161              
162             =head2 RemoteAccessEnabled => Bool
163              
164             Specifies whether remote access has been enabled for the specified
165             device.
166              
167              
168             =head2 RemoteDebugEnabled => Bool
169              
170             This flag is set to C<true> if remote debugging is enabled for the
171             device.
172              
173              
174             =head2 Resolution => L<Paws::DeviceFarm::Resolution>
175              
176             The resolution of the device.
177              
178              
179              
180             =head1 SEE ALSO
181              
182             This class forms part of L<Paws>, describing an object used in L<Paws::DeviceFarm>
183              
184             =head1 BUGS and CONTRIBUTIONS
185              
186             The source code is located here: https://github.com/pplu/aws-sdk-perl
187              
188             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
189              
190             =cut
191