File Coverage

blib/lib/Paws/DeviceFarm/Problem.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::Problem;
2 1     1   431 use Moose;
  1         4  
  1         9  
3             has Device => (is => 'ro', isa => 'Paws::DeviceFarm::Device', request_name => 'device', traits => ['NameInRequest']);
4             has Job => (is => 'ro', isa => 'Paws::DeviceFarm::ProblemDetail', request_name => 'job', traits => ['NameInRequest']);
5             has Message => (is => 'ro', isa => 'Str', request_name => 'message', traits => ['NameInRequest']);
6             has Result => (is => 'ro', isa => 'Str', request_name => 'result', traits => ['NameInRequest']);
7             has Run => (is => 'ro', isa => 'Paws::DeviceFarm::ProblemDetail', request_name => 'run', traits => ['NameInRequest']);
8             has Suite => (is => 'ro', isa => 'Paws::DeviceFarm::ProblemDetail', request_name => 'suite', traits => ['NameInRequest']);
9             has Test => (is => 'ro', isa => 'Paws::DeviceFarm::ProblemDetail', request_name => 'test', traits => ['NameInRequest']);
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::DeviceFarm::Problem
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::DeviceFarm::Problem object:
28              
29             $service_obj->Method(Att1 => { Device => $value, ..., Test => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::DeviceFarm::Problem object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->Device
37              
38             =head1 DESCRIPTION
39              
40             Represents a specific warning or failure.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 Device => L<Paws::DeviceFarm::Device>
46              
47             Information about the associated device.
48              
49              
50             =head2 Job => L<Paws::DeviceFarm::ProblemDetail>
51              
52             Information about the associated job.
53              
54              
55             =head2 Message => Str
56              
57             A message about the problem's result.
58              
59              
60             =head2 Result => Str
61              
62             The problem's result.
63              
64             Allowed values include:
65              
66             =over
67              
68             =item *
69              
70             PENDING: A pending condition.
71              
72             =item *
73              
74             PASSED: A passing condition.
75              
76             =item *
77              
78             WARNED: A warning condition.
79              
80             =item *
81              
82             FAILED: A failed condition.
83              
84             =item *
85              
86             SKIPPED: A skipped condition.
87              
88             =item *
89              
90             ERRORED: An error condition.
91              
92             =item *
93              
94             STOPPED: A stopped condition.
95              
96             =back
97              
98              
99              
100             =head2 Run => L<Paws::DeviceFarm::ProblemDetail>
101              
102             Information about the associated run.
103              
104              
105             =head2 Suite => L<Paws::DeviceFarm::ProblemDetail>
106              
107             Information about the associated suite.
108              
109              
110             =head2 Test => L<Paws::DeviceFarm::ProblemDetail>
111              
112             Information about the associated test.
113              
114              
115              
116             =head1 SEE ALSO
117              
118             This class forms part of L<Paws>, describing an object used in L<Paws::DeviceFarm>
119              
120             =head1 BUGS and CONTRIBUTIONS
121              
122             The source code is located here: https://github.com/pplu/aws-sdk-perl
123              
124             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
125              
126             =cut
127