V1alpha/Question/Types.pm untested

filter: Statementstmt 0.0% 0 / 202 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 207 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::Dataqna::V1alpha::Question::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 'InterpretEntity',
11 as (Int | Str);
12  
13 declare 'Question',
14 as InstanceOf['Google::Cloud::Dataqna::V1alpha::Question::Question'];
15  
16 coerce 'Question',
17 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::Question::Question'->new($_) };
18  
19 declare 'RepeatedQuestion',
20 as ArrayRef[Question()];
21  
22 coerce 'RepeatedQuestion',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::Question::Question'->new($_) } @$_ ] };
24  
25 declare 'MapStringQuestion',
26 as HashRef[Question()];
27  
28 declare 'InterpretError',
29 as InstanceOf['Google::Cloud::Dataqna::V1alpha::Question::InterpretError'];
30  
31 coerce 'InterpretError',
32 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::Question::InterpretError'->new($_) };
33  
34 declare 'RepeatedInterpretError',
35 as ArrayRef[InterpretError()];
36  
37 coerce 'RepeatedInterpretError',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::Question::InterpretError'->new($_) } @$_ ] };
39  
40 declare 'MapStringInterpretError',
41 as HashRef[InterpretError()];
42  
43 declare 'InterpretErrorCode',
44 as (Int | Str);
45  
46 declare 'InterpretErrorDetails',
47 as InstanceOf['Google::Cloud::Dataqna::V1alpha::Question::InterpretError::InterpretErrorDetails'];
48  
49 coerce 'InterpretErrorDetails',
50 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::Question::InterpretError::InterpretErrorDetails'->new($_) };
51  
52 declare 'RepeatedInterpretErrorDetails',
53 as ArrayRef[InterpretErrorDetails()];
54  
55 coerce 'RepeatedInterpretErrorDetails',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::Question::InterpretError::InterpretErrorDetails'->new($_) } @$_ ] };
57  
58 declare 'MapStringInterpretErrorDetails',
59 as HashRef[InterpretErrorDetails()];
60  
61 declare 'InterpretUnsupportedDetails',
62 as InstanceOf['Google::Cloud::Dataqna::V1alpha::Question::InterpretError::InterpretUnsupportedDetails'];
63  
64 coerce 'InterpretUnsupportedDetails',
65 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::Question::InterpretError::InterpretUnsupportedDetails'->new($_) };
66  
67 declare 'RepeatedInterpretUnsupportedDetails',
68 as ArrayRef[InterpretUnsupportedDetails()];
69  
70 coerce 'RepeatedInterpretUnsupportedDetails',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::Question::InterpretError::InterpretUnsupportedDetails'->new($_) } @$_ ] };
72  
73 declare 'MapStringInterpretUnsupportedDetails',
74 as HashRef[InterpretUnsupportedDetails()];
75  
76 declare 'InterpretIncompleteQueryDetails',
77 as InstanceOf['Google::Cloud::Dataqna::V1alpha::Question::InterpretError::InterpretIncompleteQueryDetails'];
78  
79 coerce 'InterpretIncompleteQueryDetails',
80 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::Question::InterpretError::InterpretIncompleteQueryDetails'->new($_) };
81  
82 declare 'RepeatedInterpretIncompleteQueryDetails',
83 as ArrayRef[InterpretIncompleteQueryDetails()];
84  
85 coerce 'RepeatedInterpretIncompleteQueryDetails',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::Question::InterpretError::InterpretIncompleteQueryDetails'->new($_) } @$_ ] };
87  
88 declare 'MapStringInterpretIncompleteQueryDetails',
89 as HashRef[InterpretIncompleteQueryDetails()];
90  
91 declare 'InterpretAmbiguityDetails',
92 as InstanceOf['Google::Cloud::Dataqna::V1alpha::Question::InterpretError::InterpretAmbiguityDetails'];
93  
94 coerce 'InterpretAmbiguityDetails',
95 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::Question::InterpretError::InterpretAmbiguityDetails'->new($_) };
96  
97 declare 'RepeatedInterpretAmbiguityDetails',
98 as ArrayRef[InterpretAmbiguityDetails()];
99  
100 coerce 'RepeatedInterpretAmbiguityDetails',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::Question::InterpretError::InterpretAmbiguityDetails'->new($_) } @$_ ] };
102  
103 declare 'MapStringInterpretAmbiguityDetails',
104 as HashRef[InterpretAmbiguityDetails()];
105  
106 declare 'ExecutionInfo',
107 as InstanceOf['Google::Cloud::Dataqna::V1alpha::Question::ExecutionInfo'];
108  
109 coerce 'ExecutionInfo',
110 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::Question::ExecutionInfo'->new($_) };
111  
112 declare 'RepeatedExecutionInfo',
113 as ArrayRef[ExecutionInfo()];
114  
115 coerce 'RepeatedExecutionInfo',
116 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::Question::ExecutionInfo'->new($_) } @$_ ] };
117  
118 declare 'MapStringExecutionInfo',
119 as HashRef[ExecutionInfo()];
120  
121 declare 'JobExecutionState',
122 as (Int | Str);
123  
124 declare 'BigQueryJob',
125 as InstanceOf['Google::Cloud::Dataqna::V1alpha::Question::BigQueryJob'];
126  
127 coerce 'BigQueryJob',
128 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::Question::BigQueryJob'->new($_) };
129  
130 declare 'RepeatedBigQueryJob',
131 as ArrayRef[BigQueryJob()];
132  
133 coerce 'RepeatedBigQueryJob',
134 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::Question::BigQueryJob'->new($_) } @$_ ] };
135  
136 declare 'MapStringBigQueryJob',
137 as HashRef[BigQueryJob()];
138  
139 declare 'Interpretation',
140 as InstanceOf['Google::Cloud::Dataqna::V1alpha::Question::Interpretation'];
141  
142 coerce 'Interpretation',
143 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::Question::Interpretation'->new($_) };
144  
145 declare 'RepeatedInterpretation',
146 as ArrayRef[Interpretation()];
147  
148 coerce 'RepeatedInterpretation',
149 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::Question::Interpretation'->new($_) } @$_ ] };
150  
151 declare 'MapStringInterpretation',
152 as HashRef[Interpretation()];
153  
154 declare 'DataQuery',
155 as InstanceOf['Google::Cloud::Dataqna::V1alpha::Question::DataQuery'];
156  
157 coerce 'DataQuery',
158 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::Question::DataQuery'->new($_) };
159  
160 declare 'RepeatedDataQuery',
161 as ArrayRef[DataQuery()];
162  
163 coerce 'RepeatedDataQuery',
164 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::Question::DataQuery'->new($_) } @$_ ] };
165  
166 declare 'MapStringDataQuery',
167 as HashRef[DataQuery()];
168  
169 declare 'HumanReadable',
170 as InstanceOf['Google::Cloud::Dataqna::V1alpha::Question::HumanReadable'];
171  
172 coerce 'HumanReadable',
173 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::Question::HumanReadable'->new($_) };
174  
175 declare 'RepeatedHumanReadable',
176 as ArrayRef[HumanReadable()];
177  
178 coerce 'RepeatedHumanReadable',
179 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::Question::HumanReadable'->new($_) } @$_ ] };
180  
181 declare 'MapStringHumanReadable',
182 as HashRef[HumanReadable()];
183  
184 declare 'InterpretationStructure',
185 as InstanceOf['Google::Cloud::Dataqna::V1alpha::Question::InterpretationStructure'];
186  
187 coerce 'InterpretationStructure',
188 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::Question::InterpretationStructure'->new($_) };
189  
190 declare 'RepeatedInterpretationStructure',
191 as ArrayRef[InterpretationStructure()];
192  
193 coerce 'RepeatedInterpretationStructure',
194 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::Question::InterpretationStructure'->new($_) } @$_ ] };
195  
196 declare 'MapStringInterpretationStructure',
197 as HashRef[InterpretationStructure()];
198  
199 declare 'VisualizationType',
200 as (Int | Str);
201  
202 declare 'ColumnInfo',
203 as InstanceOf['Google::Cloud::Dataqna::V1alpha::Question::InterpretationStructure::ColumnInfo'];
204  
205 coerce 'ColumnInfo',
206 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::Question::InterpretationStructure::ColumnInfo'->new($_) };
207  
208 declare 'RepeatedColumnInfo',
209 as ArrayRef[ColumnInfo()];
210  
211 coerce 'RepeatedColumnInfo',
212 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::Question::InterpretationStructure::ColumnInfo'->new($_) } @$_ ] };
213  
214 declare 'MapStringColumnInfo',
215 as HashRef[ColumnInfo()];
216  
217 declare 'DebugFlags',
218 as InstanceOf['Google::Cloud::Dataqna::V1alpha::Question::DebugFlags'];
219  
220 coerce 'DebugFlags',
221 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::Question::DebugFlags'->new($_) };
222  
223 declare 'RepeatedDebugFlags',
224 as ArrayRef[DebugFlags()];
225  
226 coerce 'RepeatedDebugFlags',
227 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::Question::DebugFlags'->new($_) } @$_ ] };
228  
229 declare 'MapStringDebugFlags',
230 as HashRef[DebugFlags()];
231  
232 1;
233  
234 __END__