blib/lib/Paws/IoTEvents/State.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::IoTEvents::State;
3 use Moose;
4 has OnEnter => (is => 'ro', isa => 'Paws::IoTEvents::OnEnterLifecycle', request_name => 'onEnter', traits => ['NameInRequest']);
5 has OnExit => (is => 'ro', isa => 'Paws::IoTEvents::OnExitLifecycle', request_name => 'onExit', traits => ['NameInRequest']);
6 has OnInput => (is => 'ro', isa => 'Paws::IoTEvents::OnInputLifecycle', request_name => 'onInput', traits => ['NameInRequest']);
7 has StateName => (is => 'ro', isa => 'Str', request_name => 'stateName', traits => ['NameInRequest'], required => 1);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::IoTEvents::State
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::IoTEvents::State object:
27  
28 $service_obj->Method(Att1 => { OnEnter => $value, ..., StateName => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::IoTEvents::State object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->OnEnter
36  
37 =head1 DESCRIPTION
38  
39 Information that defines a state of a detector.
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 OnEnter => L<Paws::IoTEvents::OnEnterLifecycle>
45  
46 When entering this state, perform these C<actions> if the C<condition>
47 is TRUE.
48  
49  
50 =head2 OnExit => L<Paws::IoTEvents::OnExitLifecycle>
51  
52 When exiting this state, perform these C<actions> if the specified
53 C<condition> is C<TRUE>.
54  
55  
56 =head2 OnInput => L<Paws::IoTEvents::OnInputLifecycle>
57  
58 When an input is received and the C<condition> is TRUE, perform the
59 specified C<actions>.
60  
61  
62 =head2 B<REQUIRED> StateName => Str
63  
64 The name of the state.
65  
66  
67  
68 =head1 SEE ALSO
69  
70 This class forms part of L<Paws>, describing an object used in L<Paws::IoTEvents>
71  
72 =head1 BUGS and CONTRIBUTIONS
73  
74 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
75  
76 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
77  
78 =cut
79