File Coverage

blib/lib/Paws/DeviceFarm/Job.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::Job;
2 1     1   731 use Moose;
  1         5  
  1         12  
3             has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
4             has Counters => (is => 'ro', isa => 'Paws::DeviceFarm::Counters', request_name => 'counters', traits => ['NameInRequest']);
5             has Created => (is => 'ro', isa => 'Str', request_name => 'created', traits => ['NameInRequest']);
6             has Device => (is => 'ro', isa => 'Paws::DeviceFarm::Device', request_name => 'device', traits => ['NameInRequest']);
7             has DeviceMinutes => (is => 'ro', isa => 'Paws::DeviceFarm::DeviceMinutes', request_name => 'deviceMinutes', traits => ['NameInRequest']);
8             has Message => (is => 'ro', isa => 'Str', request_name => 'message', traits => ['NameInRequest']);
9             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
10             has Result => (is => 'ro', isa => 'Str', request_name => 'result', traits => ['NameInRequest']);
11             has Started => (is => 'ro', isa => 'Str', request_name => 'started', traits => ['NameInRequest']);
12             has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
13             has Stopped => (is => 'ro', isa => 'Str', request_name => 'stopped', traits => ['NameInRequest']);
14             has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::DeviceFarm::Job
22              
23             =head1 USAGE
24              
25             This class represents one of two things:
26              
27             =head3 Arguments in a call to a service
28              
29             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30             Each attribute should be used as a named argument in the calls that expect this type of object.
31              
32             As an example, if Att1 is expected to be a Paws::DeviceFarm::Job object:
33              
34             $service_obj->Method(Att1 => { Arn => $value, ..., Type => $value });
35              
36             =head3 Results returned from an API call
37              
38             Use accessors for each attribute. If Att1 is expected to be an Paws::DeviceFarm::Job object:
39              
40             $result = $service_obj->Method(...);
41             $result->Att1->Arn
42              
43             =head1 DESCRIPTION
44              
45             Represents a device.
46              
47             =head1 ATTRIBUTES
48              
49              
50             =head2 Arn => Str
51              
52             The job's ARN.
53              
54              
55             =head2 Counters => L<Paws::DeviceFarm::Counters>
56              
57             The job's result counters.
58              
59              
60             =head2 Created => Str
61              
62             When the job was created.
63              
64              
65             =head2 Device => L<Paws::DeviceFarm::Device>
66              
67             The device (phone or tablet).
68              
69              
70             =head2 DeviceMinutes => L<Paws::DeviceFarm::DeviceMinutes>
71              
72             Represents the total (metered or unmetered) minutes used by the job.
73              
74              
75             =head2 Message => Str
76              
77             A message about the job's result.
78              
79              
80             =head2 Name => Str
81              
82             The job's name.
83              
84              
85             =head2 Result => Str
86              
87             The job's result.
88              
89             Allowed values include:
90              
91             =over
92              
93             =item *
94              
95             PENDING: A pending condition.
96              
97             =item *
98              
99             PASSED: A passing condition.
100              
101             =item *
102              
103             WARNED: A warning condition.
104              
105             =item *
106              
107             FAILED: A failed condition.
108              
109             =item *
110              
111             SKIPPED: A skipped condition.
112              
113             =item *
114              
115             ERRORED: An error condition.
116              
117             =item *
118              
119             STOPPED: A stopped condition.
120              
121             =back
122              
123              
124              
125             =head2 Started => Str
126              
127             The job's start time.
128              
129              
130             =head2 Status => Str
131              
132             The job's status.
133              
134             Allowed values include:
135              
136             =over
137              
138             =item *
139              
140             PENDING: A pending status.
141              
142             =item *
143              
144             PENDING_CONCURRENCY: A pending concurrency status.
145              
146             =item *
147              
148             PENDING_DEVICE: A pending device status.
149              
150             =item *
151              
152             PROCESSING: A processing status.
153              
154             =item *
155              
156             SCHEDULING: A scheduling status.
157              
158             =item *
159              
160             PREPARING: A preparing status.
161              
162             =item *
163              
164             RUNNING: A running status.
165              
166             =item *
167              
168             COMPLETED: A completed status.
169              
170             =item *
171              
172             STOPPING: A stopping status.
173              
174             =back
175              
176              
177              
178             =head2 Stopped => Str
179              
180             The job's stop time.
181              
182              
183             =head2 Type => Str
184              
185             The job's type.
186              
187             Allowed values include the following:
188              
189             =over
190              
191             =item *
192              
193             BUILTIN_FUZZ: The built-in fuzz type.
194              
195             =item *
196              
197             BUILTIN_EXPLORER: For Android, an app explorer that will traverse an
198             Android app, interacting with it and capturing screenshots at the same
199             time.
200              
201             =item *
202              
203             APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
204              
205             =item *
206              
207             APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
208              
209             =item *
210              
211             APPIUM_PYTHON: The Appium Python type.
212              
213             =item *
214              
215             APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
216              
217             =item *
218              
219             APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
220              
221             =item *
222              
223             APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
224              
225             =item *
226              
227             CALABASH: The Calabash type.
228              
229             =item *
230              
231             INSTRUMENTATION: The Instrumentation type.
232              
233             =item *
234              
235             UIAUTOMATION: The uiautomation type.
236              
237             =item *
238              
239             UIAUTOMATOR: The uiautomator type.
240              
241             =item *
242              
243             XCTEST: The XCode test type.
244              
245             =item *
246              
247             XCTEST_UI: The XCode UI test type.
248              
249             =back
250              
251              
252              
253              
254             =head1 SEE ALSO
255              
256             This class forms part of L<Paws>, describing an object used in L<Paws::DeviceFarm>
257              
258             =head1 BUGS and CONTRIBUTIONS
259              
260             The source code is located here: https://github.com/pplu/aws-sdk-perl
261              
262             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
263              
264             =cut
265