blib/lib/Paws/IoTEventsData/Alarm.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::IoTEventsData::Alarm;
3 use Moose;
4 has AlarmModelName => (is => 'ro', isa => 'Str', request_name => 'alarmModelName', traits => ['NameInRequest']);
5 has AlarmModelVersion => (is => 'ro', isa => 'Str', request_name => 'alarmModelVersion', traits => ['NameInRequest']);
6 has AlarmState => (is => 'ro', isa => 'Paws::IoTEventsData::AlarmState', request_name => 'alarmState', traits => ['NameInRequest']);
7 has CreationTime => (is => 'ro', isa => 'Str', request_name => 'creationTime', traits => ['NameInRequest']);
8 has KeyValue => (is => 'ro', isa => 'Str', request_name => 'keyValue', traits => ['NameInRequest']);
9 has LastUpdateTime => (is => 'ro', isa => 'Str', request_name => 'lastUpdateTime', traits => ['NameInRequest']);
10 has Severity => (is => 'ro', isa => 'Int', request_name => 'severity', traits => ['NameInRequest']);
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::IoTEventsData::Alarm
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::IoTEventsData::Alarm object:
30  
31 $service_obj->Method(Att1 => { AlarmModelName => $value, ..., Severity => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::IoTEventsData::Alarm object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->AlarmModelName
39  
40 =head1 DESCRIPTION
41  
42 Contains information about an alarm.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 AlarmModelName => Str
48  
49 The name of the alarm model.
50  
51  
52 =head2 AlarmModelVersion => Str
53  
54 The version of the alarm model.
55  
56  
57 =head2 AlarmState => L<Paws::IoTEventsData::AlarmState>
58  
59 Contains information about the current state of the alarm.
60  
61  
62 =head2 CreationTime => Str
63  
64 The time the alarm was created, in the Unix epoch format.
65  
66  
67 =head2 KeyValue => Str
68  
69 The value of the key used as a filter to select only the alarms
70 associated with the key
71 (https://docs.aws.amazon.com/iotevents/latest/apireference/API_CreateAlarmModel.html#iotevents-CreateAlarmModel-request-key).
72  
73  
74 =head2 LastUpdateTime => Str
75  
76 The time the alarm was last updated, in the Unix epoch format.
77  
78  
79 =head2 Severity => Int
80  
81 A non-negative integer that reflects the severity level of the alarm.
82  
83  
84  
85 =head1 SEE ALSO
86  
87 This class forms part of L<Paws>, describing an object used in L<Paws::IoTEventsData>
88  
89 =head1 BUGS and CONTRIBUTIONS
90  
91 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
92  
93 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
94  
95 =cut
96