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

filter: Statementstmt 0.0% 0 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 25 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::IoTSiteWise::DescribeAssetResponse;
3 use Moose;
4 has AssetArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'assetArn', required => 1);
5 has AssetCompositeModels => (is => 'ro', isa => 'ArrayRef[Paws::IoTSiteWise::AssetCompositeModel]', traits => ['NameInRequest'], request_name => 'assetCompositeModels');
6 has AssetCreationDate => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'assetCreationDate', required => 1);
7 has AssetHierarchies => (is => 'ro', isa => 'ArrayRef[Paws::IoTSiteWise::AssetHierarchy]', traits => ['NameInRequest'], request_name => 'assetHierarchies', required => 1);
8 has AssetId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'assetId', required => 1);
9 has AssetLastUpdateDate => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'assetLastUpdateDate', required => 1);
10 has AssetModelId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'assetModelId', required => 1);
11 has AssetName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'assetName', required => 1);
12 has AssetProperties => (is => 'ro', isa => 'ArrayRef[Paws::IoTSiteWise::AssetProperty]', traits => ['NameInRequest'], request_name => 'assetProperties', required => 1);
13 has AssetStatus => (is => 'ro', isa => 'Paws::IoTSiteWise::AssetStatus', traits => ['NameInRequest'], request_name => 'assetStatus', required => 1);
14  
15 has _request_id => (is => 'ro', isa => 'Str');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::IoTSiteWise::DescribeAssetResponse
23  
24 =head1 ATTRIBUTES
25  
26  
27 =head2 B<REQUIRED> AssetArn => Str
28  
29 The ARN
30 (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
31 of the asset, which has the following format.
32  
33 C<arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}>
34  
35  
36 =head2 AssetCompositeModels => ArrayRef[L<Paws::IoTSiteWise::AssetCompositeModel>]
37  
38 The composite models for the asset.
39  
40  
41 =head2 B<REQUIRED> AssetCreationDate => Str
42  
43 The date the asset was created, in Unix epoch time.
44  
45  
46 =head2 B<REQUIRED> AssetHierarchies => ArrayRef[L<Paws::IoTSiteWise::AssetHierarchy>]
47  
48 A list of asset hierarchies that each contain a C<hierarchyId>. A
49 hierarchy specifies allowed parent/child asset relationships.
50  
51  
52 =head2 B<REQUIRED> AssetId => Str
53  
54 The ID of the asset.
55  
56  
57 =head2 B<REQUIRED> AssetLastUpdateDate => Str
58  
59 The date the asset was last updated, in Unix epoch time.
60  
61  
62 =head2 B<REQUIRED> AssetModelId => Str
63  
64 The ID of the asset model that was used to create the asset.
65  
66  
67 =head2 B<REQUIRED> AssetName => Str
68  
69 The name of the asset.
70  
71  
72 =head2 B<REQUIRED> AssetProperties => ArrayRef[L<Paws::IoTSiteWise::AssetProperty>]
73  
74 The list of asset properties for the asset.
75  
76 This object doesn't include properties that you define in composite
77 models. You can find composite model properties in the
78 C<assetCompositeModels> object.
79  
80  
81 =head2 B<REQUIRED> AssetStatus => L<Paws::IoTSiteWise::AssetStatus>
82  
83 The current status of the asset, which contains a state and any error
84 message.
85  
86  
87 =head2 _request_id => Str
88  
89  
90 =cut
91