V1/Common/Types.pm untested

filter: Statementstmt 0.0% 0 / 57 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 62 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::Oracledatabase::V1::Common::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 'ComputeModel',
11 as (Int | Str);
12  
13 declare 'CustomerContact',
14 as InstanceOf['Google::Cloud::Oracledatabase::V1::Common::CustomerContact'];
15  
16 coerce 'CustomerContact',
17 from HashRef, via { 'Google::Cloud::Oracledatabase::V1::Common::CustomerContact'->new($_) };
18  
19 declare 'RepeatedCustomerContact',
20 as ArrayRef[CustomerContact()];
21  
22 coerce 'RepeatedCustomerContact',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::Common::CustomerContact'->new($_) } @$_ ] };
24  
25 declare 'MapStringCustomerContact',
26 as HashRef[CustomerContact()];
27  
28 declare 'IdentityConnector',
29 as InstanceOf['Google::Cloud::Oracledatabase::V1::Common::IdentityConnector'];
30  
31 coerce 'IdentityConnector',
32 from HashRef, via { 'Google::Cloud::Oracledatabase::V1::Common::IdentityConnector'->new($_) };
33  
34 declare 'RepeatedIdentityConnector',
35 as ArrayRef[IdentityConnector()];
36  
37 coerce 'RepeatedIdentityConnector',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::Common::IdentityConnector'->new($_) } @$_ ] };
39  
40 declare 'MapStringIdentityConnector',
41 as HashRef[IdentityConnector()];
42  
43 declare 'ConnectionState',
44 as (Int | Str);
45  
46 declare 'DataCollectionOptionsCommon',
47 as InstanceOf['Google::Cloud::Oracledatabase::V1::Common::DataCollectionOptionsCommon'];
48  
49 coerce 'DataCollectionOptionsCommon',
50 from HashRef, via { 'Google::Cloud::Oracledatabase::V1::Common::DataCollectionOptionsCommon'->new($_) };
51  
52 declare 'RepeatedDataCollectionOptionsCommon',
53 as ArrayRef[DataCollectionOptionsCommon()];
54  
55 coerce 'RepeatedDataCollectionOptionsCommon',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::Common::DataCollectionOptionsCommon'->new($_) } @$_ ] };
57  
58 declare 'MapStringDataCollectionOptionsCommon',
59 as HashRef[DataCollectionOptionsCommon()];
60  
61 1;
62  
63 __END__