V1/LvaResources/Types.pm untested

filter: Statementstmt 0.0% 0 / 107 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 112 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::Visionai::V1::LvaResources::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 'Operator',
11 as InstanceOf['Google::Cloud::Visionai::V1::LvaResources::Operator'];
12  
13 coerce 'Operator',
14 from HashRef, via { 'Google::Cloud::Visionai::V1::LvaResources::Operator'->new($_) };
15  
16 declare 'RepeatedOperator',
17 as ArrayRef[Operator()];
18  
19 coerce 'RepeatedOperator',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::LvaResources::Operator'->new($_) } @$_ ] };
21  
22 declare 'MapStringOperator',
23 as HashRef[Operator()];
24  
25 declare 'LabelsEntry',
26 as InstanceOf['Google::Cloud::Visionai::V1::LvaResources::Operator::LabelsEntry'];
27  
28 coerce 'LabelsEntry',
29 from HashRef, via { 'Google::Cloud::Visionai::V1::LvaResources::Operator::LabelsEntry'->new($_) };
30  
31 declare 'RepeatedLabelsEntry',
32 as ArrayRef[LabelsEntry()];
33  
34 coerce 'RepeatedLabelsEntry',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::LvaResources::Operator::LabelsEntry'->new($_) } @$_ ] };
36  
37 declare 'MapStringLabelsEntry',
38 as HashRef[LabelsEntry()];
39  
40 declare 'Analysis',
41 as InstanceOf['Google::Cloud::Visionai::V1::LvaResources::Analysis'];
42  
43 coerce 'Analysis',
44 from HashRef, via { 'Google::Cloud::Visionai::V1::LvaResources::Analysis'->new($_) };
45  
46 declare 'RepeatedAnalysis',
47 as ArrayRef[Analysis()];
48  
49 coerce 'RepeatedAnalysis',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::LvaResources::Analysis'->new($_) } @$_ ] };
51  
52 declare 'MapStringAnalysis',
53 as HashRef[Analysis()];
54  
55 declare 'LabelsEntry',
56 as InstanceOf['Google::Cloud::Visionai::V1::LvaResources::Analysis::LabelsEntry'];
57  
58 coerce 'LabelsEntry',
59 from HashRef, via { 'Google::Cloud::Visionai::V1::LvaResources::Analysis::LabelsEntry'->new($_) };
60  
61 declare 'RepeatedLabelsEntry',
62 as ArrayRef[LabelsEntry()];
63  
64 coerce 'RepeatedLabelsEntry',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::LvaResources::Analysis::LabelsEntry'->new($_) } @$_ ] };
66  
67 declare 'MapStringLabelsEntry',
68 as HashRef[LabelsEntry()];
69  
70 declare 'InputStreamsMappingEntry',
71 as InstanceOf['Google::Cloud::Visionai::V1::LvaResources::Analysis::InputStreamsMappingEntry'];
72  
73 coerce 'InputStreamsMappingEntry',
74 from HashRef, via { 'Google::Cloud::Visionai::V1::LvaResources::Analysis::InputStreamsMappingEntry'->new($_) };
75  
76 declare 'RepeatedInputStreamsMappingEntry',
77 as ArrayRef[InputStreamsMappingEntry()];
78  
79 coerce 'RepeatedInputStreamsMappingEntry',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::LvaResources::Analysis::InputStreamsMappingEntry'->new($_) } @$_ ] };
81  
82 declare 'MapStringInputStreamsMappingEntry',
83 as HashRef[InputStreamsMappingEntry()];
84  
85 declare 'OutputStreamsMappingEntry',
86 as InstanceOf['Google::Cloud::Visionai::V1::LvaResources::Analysis::OutputStreamsMappingEntry'];
87  
88 coerce 'OutputStreamsMappingEntry',
89 from HashRef, via { 'Google::Cloud::Visionai::V1::LvaResources::Analysis::OutputStreamsMappingEntry'->new($_) };
90  
91 declare 'RepeatedOutputStreamsMappingEntry',
92 as ArrayRef[OutputStreamsMappingEntry()];
93  
94 coerce 'RepeatedOutputStreamsMappingEntry',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::LvaResources::Analysis::OutputStreamsMappingEntry'->new($_) } @$_ ] };
96  
97 declare 'MapStringOutputStreamsMappingEntry',
98 as HashRef[OutputStreamsMappingEntry()];
99  
100 declare 'Process',
101 as InstanceOf['Google::Cloud::Visionai::V1::LvaResources::Process'];
102  
103 coerce 'Process',
104 from HashRef, via { 'Google::Cloud::Visionai::V1::LvaResources::Process'->new($_) };
105  
106 declare 'RepeatedProcess',
107 as ArrayRef[Process()];
108  
109 coerce 'RepeatedProcess',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::LvaResources::Process'->new($_) } @$_ ] };
111  
112 declare 'MapStringProcess',
113 as HashRef[Process()];
114  
115 1;
116  
117 __END__