blib/lib/Paws/IoTSiteWise/PropertyType.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::IoTSiteWise::PropertyType;
3 use Moose;
4 has Attribute => (is => 'ro', isa => 'Paws::IoTSiteWise::Attribute', request_name => 'attribute', traits => ['NameInRequest']);
5 has Measurement => (is => 'ro', isa => 'Paws::IoTSiteWise::Measurement', request_name => 'measurement', traits => ['NameInRequest']);
6 has Metric => (is => 'ro', isa => 'Paws::IoTSiteWise::Metric', request_name => 'metric', traits => ['NameInRequest']);
7 has Transform => (is => 'ro', isa => 'Paws::IoTSiteWise::Transform', request_name => 'transform', traits => ['NameInRequest']);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::IoTSiteWise::PropertyType
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::IoTSiteWise::PropertyType object:
27  
28 $service_obj->Method(Att1 => { Attribute => $value, ..., Transform => $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::IoTSiteWise::PropertyType object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->Attribute
36  
37 =head1 DESCRIPTION
38  
39 Contains a property type, which can be one of C<attribute>,
40 C<measurement>, C<metric>, or C<transform>.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 Attribute => L<Paws::IoTSiteWise::Attribute>
46  
47 Specifies an asset attribute property. An attribute generally contains
48 static information, such as the serial number of an IIoT
49 (https://en.wikipedia.org/wiki/Internet_of_things#Industrial_applications)
50 wind turbine.
51  
52  
53 =head2 Measurement => L<Paws::IoTSiteWise::Measurement>
54  
55 Specifies an asset measurement property. A measurement represents a
56 device's raw sensor data stream, such as timestamped temperature values
57 or timestamped power values.
58  
59  
60 =head2 Metric => L<Paws::IoTSiteWise::Metric>
61  
62 Specifies an asset metric property. A metric contains a mathematical
63 expression that uses aggregate functions to process all input data
64 points over a time interval and output a single data point, such as to
65 calculate the average hourly temperature.
66  
67  
68 =head2 Transform => L<Paws::IoTSiteWise::Transform>
69  
70 Specifies an asset transform property. A transform contains a
71 mathematical expression that maps a property's data points from one
72 form to another, such as a unit conversion from Celsius to Fahrenheit.
73  
74  
75  
76 =head1 SEE ALSO
77  
78 This class forms part of L<Paws>, describing an object used in L<Paws::IoTSiteWise>
79  
80 =head1 BUGS and CONTRIBUTIONS
81  
82 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
83  
84 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
85  
86 =cut
87