blib/lib/Paws/IoT1ClickDevices/DeviceDescription.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::IoT1ClickDevices::DeviceDescription;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
5 has Attributes => (is => 'ro', isa => 'Paws::IoT1ClickDevices::DeviceAttributes', request_name => 'attributes', traits => ['NameInRequest']);
6 has DeviceId => (is => 'ro', isa => 'Str', request_name => 'deviceId', traits => ['NameInRequest']);
7 has Enabled => (is => 'ro', isa => 'Bool', request_name => 'enabled', traits => ['NameInRequest']);
8 has RemainingLife => (is => 'ro', isa => 'Num', request_name => 'remainingLife', traits => ['NameInRequest']);
9 has Tags => (is => 'ro', isa => 'Paws::IoT1ClickDevices::__mapOf__string', request_name => 'tags', traits => ['NameInRequest']);
10 has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::IoT1ClickDevices::DeviceDescription
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::IoT1ClickDevices::DeviceDescription object:
30  
31 $service_obj->Method(Att1 => { Arn => $value, ..., Type => $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::IoT1ClickDevices::DeviceDescription object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->Arn
39  
40 =head1 DESCRIPTION
41  
42 This class has no description
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 Arn => Str
48  
49 The ARN of the device.
50  
51  
52 =head2 Attributes => L<Paws::IoT1ClickDevices::DeviceAttributes>
53  
54 An array of zero or more elements of DeviceAttribute objects providing
55 user specified device attributes.
56  
57  
58 =head2 DeviceId => Str
59  
60 The unique identifier of the device.
61  
62  
63 =head2 Enabled => Bool
64  
65 A Boolean value indicating whether or not the device is enabled.
66  
67  
68 =head2 RemainingLife => Num
69  
70 A value between 0 and 1 inclusive, representing the fraction of life
71 remaining for the device.
72  
73  
74 =head2 Tags => L<Paws::IoT1ClickDevices::__mapOf__string>
75  
76 The tags currently associated with the AWS IoT 1-Click device.
77  
78  
79 =head2 Type => Str
80  
81 The type of the device, such as "button".
82  
83  
84  
85 =head1 SEE ALSO
86  
87 This class forms part of L<Paws>, describing an object used in L<Paws::IoT1ClickDevices>
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