blib/lib/Paws/IoT/CACertificateDescription.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::IoT::CACertificateDescription;
3 use Moose;
4 has AutoRegistrationStatus => (is => 'ro', isa => 'Str', request_name => 'autoRegistrationStatus', traits => ['NameInRequest']);
5 has CertificateArn => (is => 'ro', isa => 'Str', request_name => 'certificateArn', traits => ['NameInRequest']);
6 has CertificateId => (is => 'ro', isa => 'Str', request_name => 'certificateId', traits => ['NameInRequest']);
7 has CertificatePem => (is => 'ro', isa => 'Str', request_name => 'certificatePem', traits => ['NameInRequest']);
8 has CreationDate => (is => 'ro', isa => 'Str', request_name => 'creationDate', traits => ['NameInRequest']);
9 has CustomerVersion => (is => 'ro', isa => 'Int', request_name => 'customerVersion', traits => ['NameInRequest']);
10 has GenerationId => (is => 'ro', isa => 'Str', request_name => 'generationId', traits => ['NameInRequest']);
11 has LastModifiedDate => (is => 'ro', isa => 'Str', request_name => 'lastModifiedDate', traits => ['NameInRequest']);
12 has OwnedBy => (is => 'ro', isa => 'Str', request_name => 'ownedBy', traits => ['NameInRequest']);
13 has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
14 has Validity => (is => 'ro', isa => 'Paws::IoT::CertificateValidity', request_name => 'validity', traits => ['NameInRequest']);
15  
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::IoT::CACertificateDescription
23  
24 =head1 USAGE
25  
26 This class represents one of two things:
27  
28 =head3 Arguments in a call to a service
29  
30 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
31 Each attribute should be used as a named argument in the calls that expect this type of object.
32  
33 As an example, if Att1 is expected to be a Paws::IoT::CACertificateDescription object:
34  
35 $service_obj->Method(Att1 => { AutoRegistrationStatus => $value, ..., Validity => $value });
36  
37 =head3 Results returned from an API call
38  
39 Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::CACertificateDescription object:
40  
41 $result = $service_obj->Method(...);
42 $result->Att1->AutoRegistrationStatus
43  
44 =head1 DESCRIPTION
45  
46 Describes a CA certificate.
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 AutoRegistrationStatus => Str
52  
53 Whether the CA certificate configured for auto registration of device
54 certificates. Valid values are "ENABLE" and "DISABLE"
55  
56  
57 =head2 CertificateArn => Str
58  
59 The CA certificate ARN.
60  
61  
62 =head2 CertificateId => Str
63  
64 The CA certificate ID.
65  
66  
67 =head2 CertificatePem => Str
68  
69 The CA certificate data, in PEM format.
70  
71  
72 =head2 CreationDate => Str
73  
74 The date the CA certificate was created.
75  
76  
77 =head2 CustomerVersion => Int
78  
79 The customer version of the CA certificate.
80  
81  
82 =head2 GenerationId => Str
83  
84 The generation ID of the CA certificate.
85  
86  
87 =head2 LastModifiedDate => Str
88  
89 The date the CA certificate was last modified.
90  
91  
92 =head2 OwnedBy => Str
93  
94 The owner of the CA certificate.
95  
96  
97 =head2 Status => Str
98  
99 The status of a CA certificate.
100  
101  
102 =head2 Validity => L<Paws::IoT::CertificateValidity>
103  
104 When the CA certificate is valid.
105  
106  
107  
108 =head1 SEE ALSO
109  
110 This class forms part of L<Paws>, describing an object used in L<Paws::IoT>
111  
112 =head1 BUGS and CONTRIBUTIONS
113  
114 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
115  
116 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
117  
118 =cut
119