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