V1/SslConfig/Types.pm untested

filter: Statementstmt 0.0% 0 / 45 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 50 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Cloud::Connectors::V1::SslConfig::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 'SslType',
11 as (Int | Str);
12  
13 declare 'CertType',
14 as (Int | Str);
15  
16 declare 'SslConfigTemplate',
17 as InstanceOf['Google::Cloud::Connectors::V1::SslConfig::SslConfigTemplate'];
18  
19 coerce 'SslConfigTemplate',
20 from HashRef, via { 'Google::Cloud::Connectors::V1::SslConfig::SslConfigTemplate'->new($_) };
21  
22 declare 'RepeatedSslConfigTemplate',
23 as ArrayRef[SslConfigTemplate()];
24  
25 coerce 'RepeatedSslConfigTemplate',
26 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::SslConfig::SslConfigTemplate'->new($_) } @$_ ] };
27  
28 declare 'MapStringSslConfigTemplate',
29 as HashRef[SslConfigTemplate()];
30  
31 declare 'SslConfig',
32 as InstanceOf['Google::Cloud::Connectors::V1::SslConfig::SslConfig'];
33  
34 coerce 'SslConfig',
35 from HashRef, via { 'Google::Cloud::Connectors::V1::SslConfig::SslConfig'->new($_) };
36  
37 declare 'RepeatedSslConfig',
38 as ArrayRef[SslConfig()];
39  
40 coerce 'RepeatedSslConfig',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::SslConfig::SslConfig'->new($_) } @$_ ] };
42  
43 declare 'MapStringSslConfig',
44 as HashRef[SslConfig()];
45  
46 declare 'TrustModel',
47 as (Int | Str);
48  
49 1;
50  
51 __END__