Appengine/V1beta/Certificate/Types.pm untested

filter: Statementstmt 0.0% 0 / 56 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 61 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Appengine::V1beta::Certificate::Types;
2  
3 use strict;
4 use warnings;
5  
6 use Type::Library -base;
7 use Type::Utils -all;
8 use Types::Standard -types;
9  
10 declare 'ManagementStatus',
11 as (Int | Str);
12  
13 declare 'AuthorizedCertificate',
14 as InstanceOf['Google::Appengine::V1beta::Certificate::AuthorizedCertificate'];
15  
16 coerce 'AuthorizedCertificate',
17 from HashRef, via { 'Google::Appengine::V1beta::Certificate::AuthorizedCertificate'->new($_) };
18  
19 declare 'RepeatedAuthorizedCertificate',
20 as ArrayRef[AuthorizedCertificate()];
21  
22 coerce 'RepeatedAuthorizedCertificate',
23 from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Certificate::AuthorizedCertificate'->new($_) } @$_ ] };
24  
25 declare 'MapStringAuthorizedCertificate',
26 as HashRef[AuthorizedCertificate()];
27  
28 declare 'CertificateRawData',
29 as InstanceOf['Google::Appengine::V1beta::Certificate::CertificateRawData'];
30  
31 coerce 'CertificateRawData',
32 from HashRef, via { 'Google::Appengine::V1beta::Certificate::CertificateRawData'->new($_) };
33  
34 declare 'RepeatedCertificateRawData',
35 as ArrayRef[CertificateRawData()];
36  
37 coerce 'RepeatedCertificateRawData',
38 from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Certificate::CertificateRawData'->new($_) } @$_ ] };
39  
40 declare 'MapStringCertificateRawData',
41 as HashRef[CertificateRawData()];
42  
43 declare 'ManagedCertificate',
44 as InstanceOf['Google::Appengine::V1beta::Certificate::ManagedCertificate'];
45  
46 coerce 'ManagedCertificate',
47 from HashRef, via { 'Google::Appengine::V1beta::Certificate::ManagedCertificate'->new($_) };
48  
49 declare 'RepeatedManagedCertificate',
50 as ArrayRef[ManagedCertificate()];
51  
52 coerce 'RepeatedManagedCertificate',
53 from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Certificate::ManagedCertificate'->new($_) } @$_ ] };
54  
55 declare 'MapStringManagedCertificate',
56 as HashRef[ManagedCertificate()];
57  
58 1;
59  
60 __END__