V1/Lva/Types.pm untested

filter: Statementstmt 0.0% 0 / 187 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 192 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::Lva::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 'RunMode',
11 as (Int | Str);
12  
13 declare 'OperatorDefinition',
14 as InstanceOf['Google::Cloud::Visionai::V1::Lva::OperatorDefinition'];
15  
16 coerce 'OperatorDefinition',
17 from HashRef, via { 'Google::Cloud::Visionai::V1::Lva::OperatorDefinition'->new($_) };
18  
19 declare 'RepeatedOperatorDefinition',
20 as ArrayRef[OperatorDefinition()];
21  
22 coerce 'RepeatedOperatorDefinition',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Lva::OperatorDefinition'->new($_) } @$_ ] };
24  
25 declare 'MapStringOperatorDefinition',
26 as HashRef[OperatorDefinition()];
27  
28 declare 'ArgumentDefinition',
29 as InstanceOf['Google::Cloud::Visionai::V1::Lva::OperatorDefinition::ArgumentDefinition'];
30  
31 coerce 'ArgumentDefinition',
32 from HashRef, via { 'Google::Cloud::Visionai::V1::Lva::OperatorDefinition::ArgumentDefinition'->new($_) };
33  
34 declare 'RepeatedArgumentDefinition',
35 as ArrayRef[ArgumentDefinition()];
36  
37 coerce 'RepeatedArgumentDefinition',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Lva::OperatorDefinition::ArgumentDefinition'->new($_) } @$_ ] };
39  
40 declare 'MapStringArgumentDefinition',
41 as HashRef[ArgumentDefinition()];
42  
43 declare 'AttributeDefinition',
44 as InstanceOf['Google::Cloud::Visionai::V1::Lva::OperatorDefinition::AttributeDefinition'];
45  
46 coerce 'AttributeDefinition',
47 from HashRef, via { 'Google::Cloud::Visionai::V1::Lva::OperatorDefinition::AttributeDefinition'->new($_) };
48  
49 declare 'RepeatedAttributeDefinition',
50 as ArrayRef[AttributeDefinition()];
51  
52 coerce 'RepeatedAttributeDefinition',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Lva::OperatorDefinition::AttributeDefinition'->new($_) } @$_ ] };
54  
55 declare 'MapStringAttributeDefinition',
56 as HashRef[AttributeDefinition()];
57  
58 declare 'ResourceSpecification',
59 as InstanceOf['Google::Cloud::Visionai::V1::Lva::ResourceSpecification'];
60  
61 coerce 'ResourceSpecification',
62 from HashRef, via { 'Google::Cloud::Visionai::V1::Lva::ResourceSpecification'->new($_) };
63  
64 declare 'RepeatedResourceSpecification',
65 as ArrayRef[ResourceSpecification()];
66  
67 coerce 'RepeatedResourceSpecification',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Lva::ResourceSpecification'->new($_) } @$_ ] };
69  
70 declare 'MapStringResourceSpecification',
71 as HashRef[ResourceSpecification()];
72  
73 declare 'AttributeValue',
74 as InstanceOf['Google::Cloud::Visionai::V1::Lva::AttributeValue'];
75  
76 coerce 'AttributeValue',
77 from HashRef, via { 'Google::Cloud::Visionai::V1::Lva::AttributeValue'->new($_) };
78  
79 declare 'RepeatedAttributeValue',
80 as ArrayRef[AttributeValue()];
81  
82 coerce 'RepeatedAttributeValue',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Lva::AttributeValue'->new($_) } @$_ ] };
84  
85 declare 'MapStringAttributeValue',
86 as HashRef[AttributeValue()];
87  
88 declare 'AnalyzerDefinition',
89 as InstanceOf['Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition'];
90  
91 coerce 'AnalyzerDefinition',
92 from HashRef, via { 'Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition'->new($_) };
93  
94 declare 'RepeatedAnalyzerDefinition',
95 as ArrayRef[AnalyzerDefinition()];
96  
97 coerce 'RepeatedAnalyzerDefinition',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition'->new($_) } @$_ ] };
99  
100 declare 'MapStringAnalyzerDefinition',
101 as HashRef[AnalyzerDefinition()];
102  
103 declare 'StreamInput',
104 as InstanceOf['Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition::StreamInput'];
105  
106 coerce 'StreamInput',
107 from HashRef, via { 'Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition::StreamInput'->new($_) };
108  
109 declare 'RepeatedStreamInput',
110 as ArrayRef[StreamInput()];
111  
112 coerce 'RepeatedStreamInput',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition::StreamInput'->new($_) } @$_ ] };
114  
115 declare 'MapStringStreamInput',
116 as HashRef[StreamInput()];
117  
118 declare 'DebugOptions',
119 as InstanceOf['Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition::DebugOptions'];
120  
121 coerce 'DebugOptions',
122 from HashRef, via { 'Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition::DebugOptions'->new($_) };
123  
124 declare 'RepeatedDebugOptions',
125 as ArrayRef[DebugOptions()];
126  
127 coerce 'RepeatedDebugOptions',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition::DebugOptions'->new($_) } @$_ ] };
129  
130 declare 'MapStringDebugOptions',
131 as HashRef[DebugOptions()];
132  
133 declare 'EnvironmentVariablesEntry',
134 as InstanceOf['Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition::DebugOptions::EnvironmentVariablesEntry'];
135  
136 coerce 'EnvironmentVariablesEntry',
137 from HashRef, via { 'Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition::DebugOptions::EnvironmentVariablesEntry'->new($_) };
138  
139 declare 'RepeatedEnvironmentVariablesEntry',
140 as ArrayRef[EnvironmentVariablesEntry()];
141  
142 coerce 'RepeatedEnvironmentVariablesEntry',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition::DebugOptions::EnvironmentVariablesEntry'->new($_) } @$_ ] };
144  
145 declare 'MapStringEnvironmentVariablesEntry',
146 as HashRef[EnvironmentVariablesEntry()];
147  
148 declare 'OperatorOption',
149 as InstanceOf['Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition::OperatorOption'];
150  
151 coerce 'OperatorOption',
152 from HashRef, via { 'Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition::OperatorOption'->new($_) };
153  
154 declare 'RepeatedOperatorOption',
155 as ArrayRef[OperatorOption()];
156  
157 coerce 'RepeatedOperatorOption',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition::OperatorOption'->new($_) } @$_ ] };
159  
160 declare 'MapStringOperatorOption',
161 as HashRef[OperatorOption()];
162  
163 declare 'AttrsEntry',
164 as InstanceOf['Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition::AttrsEntry'];
165  
166 coerce 'AttrsEntry',
167 from HashRef, via { 'Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition::AttrsEntry'->new($_) };
168  
169 declare 'RepeatedAttrsEntry',
170 as ArrayRef[AttrsEntry()];
171  
172 coerce 'RepeatedAttrsEntry',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition::AttrsEntry'->new($_) } @$_ ] };
174  
175 declare 'MapStringAttrsEntry',
176 as HashRef[AttrsEntry()];
177  
178 declare 'AnalysisDefinition',
179 as InstanceOf['Google::Cloud::Visionai::V1::Lva::AnalysisDefinition'];
180  
181 coerce 'AnalysisDefinition',
182 from HashRef, via { 'Google::Cloud::Visionai::V1::Lva::AnalysisDefinition'->new($_) };
183  
184 declare 'RepeatedAnalysisDefinition',
185 as ArrayRef[AnalysisDefinition()];
186  
187 coerce 'RepeatedAnalysisDefinition',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Lva::AnalysisDefinition'->new($_) } @$_ ] };
189  
190 declare 'MapStringAnalysisDefinition',
191 as HashRef[AnalysisDefinition()];
192  
193 declare 'RunStatus',
194 as InstanceOf['Google::Cloud::Visionai::V1::Lva::RunStatus'];
195  
196 coerce 'RunStatus',
197 from HashRef, via { 'Google::Cloud::Visionai::V1::Lva::RunStatus'->new($_) };
198  
199 declare 'RepeatedRunStatus',
200 as ArrayRef[RunStatus()];
201  
202 coerce 'RepeatedRunStatus',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Lva::RunStatus'->new($_) } @$_ ] };
204  
205 declare 'MapStringRunStatus',
206 as HashRef[RunStatus()];
207  
208 declare 'State',
209 as (Int | Str);
210  
211 1;
212  
213 __END__