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

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