blib/lib/Paws/IoTSiteWise/AssetModelSummary.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::IoTSiteWise::AssetModelSummary;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest'], required => 1);
5 has CreationDate => (is => 'ro', isa => 'Str', request_name => 'creationDate', traits => ['NameInRequest'], required => 1);
6 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest'], required => 1);
7 has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest'], required => 1);
8 has LastUpdateDate => (is => 'ro', isa => 'Str', request_name => 'lastUpdateDate', traits => ['NameInRequest'], required => 1);
9 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
10 has Status => (is => 'ro', isa => 'Paws::IoTSiteWise::AssetModelStatus', request_name => 'status', traits => ['NameInRequest'], required => 1);
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::IoTSiteWise::AssetModelSummary
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::IoTSiteWise::AssetModelSummary object:
30  
31 $service_obj->Method(Att1 => { Arn => $value, ..., Status => $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::IoTSiteWise::AssetModelSummary object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->Arn
39  
40 =head1 DESCRIPTION
41  
42 Contains a summary of an asset model.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 B<REQUIRED> Arn => Str
48  
49 The ARN
50 (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
51 of the asset model, which has the following format.
52  
53 C<arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}>
54  
55  
56 =head2 B<REQUIRED> CreationDate => Str
57  
58 The date the asset model was created, in Unix epoch time.
59  
60  
61 =head2 B<REQUIRED> Description => Str
62  
63 The asset model description.
64  
65  
66 =head2 B<REQUIRED> Id => Str
67  
68 The ID of the asset model (used with AWS IoT SiteWise APIs).
69  
70  
71 =head2 B<REQUIRED> LastUpdateDate => Str
72  
73 The date the asset model was last updated, in Unix epoch time.
74  
75  
76 =head2 B<REQUIRED> Name => Str
77  
78 The name of the asset model.
79  
80  
81 =head2 B<REQUIRED> Status => L<Paws::IoTSiteWise::AssetModelStatus>
82  
83 The current status of the asset model.
84  
85  
86  
87 =head1 SEE ALSO
88  
89 This class forms part of L<Paws>, describing an object used in L<Paws::IoTSiteWise>
90  
91 =head1 BUGS and CONTRIBUTIONS
92  
93 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
94  
95 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
96  
97 =cut
98