blib/lib/Paws/IoTSiteWise/PutAssetPropertyValueEntry.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 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::PutAssetPropertyValueEntry;
3 use Moose;
4 has AssetId => (is => 'ro', isa => 'Str', request_name => 'assetId', traits => ['NameInRequest']);
5 has EntryId => (is => 'ro', isa => 'Str', request_name => 'entryId', traits => ['NameInRequest'], required => 1);
6 has PropertyAlias => (is => 'ro', isa => 'Str', request_name => 'propertyAlias', traits => ['NameInRequest']);
7 has PropertyId => (is => 'ro', isa => 'Str', request_name => 'propertyId', traits => ['NameInRequest']);
8 has PropertyValues => (is => 'ro', isa => 'ArrayRef[Paws::IoTSiteWise::AssetPropertyValue]', request_name => 'propertyValues', traits => ['NameInRequest'], required => 1);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::IoTSiteWise::PutAssetPropertyValueEntry
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::IoTSiteWise::PutAssetPropertyValueEntry object:
28  
29 $service_obj->Method(Att1 => { AssetId => $value, ..., PropertyValues => $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::IoTSiteWise::PutAssetPropertyValueEntry object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->AssetId
37  
38 =head1 DESCRIPTION
39  
40 Contains a list of value updates for an asset property in the list of
41 asset entries consumed by the BatchPutAssetPropertyValue
42 (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_BatchPutAssetPropertyValue.html)
43 API operation.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 AssetId => Str
49  
50 The ID of the asset to update.
51  
52  
53 =head2 B<REQUIRED> EntryId => Str
54  
55 The user specified ID for the entry. You can use this ID to identify
56 which entries failed.
57  
58  
59 =head2 PropertyAlias => Str
60  
61 The property alias that identifies the property, such as an OPC-UA
62 server data stream path (for example,
63 C</company/windfarm/3/turbine/7/temperature>). For more information,
64 see Mapping industrial data streams to asset properties
65 (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html)
66 in the I<AWS IoT SiteWise User Guide>.
67  
68  
69 =head2 PropertyId => Str
70  
71 The ID of the asset property for this entry.
72  
73  
74 =head2 B<REQUIRED> PropertyValues => ArrayRef[L<Paws::IoTSiteWise::AssetPropertyValue>]
75  
76 The list of property values to upload. You can specify up to 10
77 C<propertyValues> array elements.
78  
79  
80  
81 =head1 SEE ALSO
82  
83 This class forms part of L<Paws>, describing an object used in L<Paws::IoTSiteWise>
84  
85 =head1 BUGS and CONTRIBUTIONS
86  
87 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
88  
89 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
90  
91 =cut
92