V1/ConnectorTool/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::Cloud::Ces::V1::ConnectorTool::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 'Action',
11 as InstanceOf['Google::Cloud::Ces::V1::ConnectorTool::Action'];
12  
13 coerce 'Action',
14 from HashRef, via { 'Google::Cloud::Ces::V1::ConnectorTool::Action'->new($_) };
15  
16 declare 'RepeatedAction',
17 as ArrayRef[Action()];
18  
19 coerce 'RepeatedAction',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::ConnectorTool::Action'->new($_) } @$_ ] };
21  
22 declare 'MapStringAction',
23 as HashRef[Action()];
24  
25 declare 'EntityOperation',
26 as InstanceOf['Google::Cloud::Ces::V1::ConnectorTool::Action::EntityOperation'];
27  
28 coerce 'EntityOperation',
29 from HashRef, via { 'Google::Cloud::Ces::V1::ConnectorTool::Action::EntityOperation'->new($_) };
30  
31 declare 'RepeatedEntityOperation',
32 as ArrayRef[EntityOperation()];
33  
34 coerce 'RepeatedEntityOperation',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::ConnectorTool::Action::EntityOperation'->new($_) } @$_ ] };
36  
37 declare 'MapStringEntityOperation',
38 as HashRef[EntityOperation()];
39  
40 declare 'OperationType',
41 as (Int | Str);
42  
43 declare 'ConnectorTool',
44 as InstanceOf['Google::Cloud::Ces::V1::ConnectorTool::ConnectorTool'];
45  
46 coerce 'ConnectorTool',
47 from HashRef, via { 'Google::Cloud::Ces::V1::ConnectorTool::ConnectorTool'->new($_) };
48  
49 declare 'RepeatedConnectorTool',
50 as ArrayRef[ConnectorTool()];
51  
52 coerce 'RepeatedConnectorTool',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::ConnectorTool::ConnectorTool'->new($_) } @$_ ] };
54  
55 declare 'MapStringConnectorTool',
56 as HashRef[ConnectorTool()];
57  
58 1;
59  
60 __END__