V2/Common/Types.pm untested

filter: Statementstmt 0.0% 0 / 475 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 480 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::Retail::V2::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 'AttributeConfigLevel',
11 as (Int | Str);
12  
13 declare 'SolutionType',
14 as (Int | Str);
15  
16 declare 'RecommendationsFilteringOption',
17 as (Int | Str);
18  
19 declare 'SearchSolutionUseCase',
20 as (Int | Str);
21  
22 declare 'Condition',
23 as InstanceOf['Google::Cloud::Retail::V2::Common::Condition'];
24  
25 coerce 'Condition',
26 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Condition'->new($_) };
27  
28 declare 'RepeatedCondition',
29 as ArrayRef[Condition()];
30  
31 coerce 'RepeatedCondition',
32 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Condition'->new($_) } @$_ ] };
33  
34 declare 'MapStringCondition',
35 as HashRef[Condition()];
36  
37 declare 'QueryTerm',
38 as InstanceOf['Google::Cloud::Retail::V2::Common::Condition::QueryTerm'];
39  
40 coerce 'QueryTerm',
41 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Condition::QueryTerm'->new($_) };
42  
43 declare 'RepeatedQueryTerm',
44 as ArrayRef[QueryTerm()];
45  
46 coerce 'RepeatedQueryTerm',
47 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Condition::QueryTerm'->new($_) } @$_ ] };
48  
49 declare 'MapStringQueryTerm',
50 as HashRef[QueryTerm()];
51  
52 declare 'TimeRange',
53 as InstanceOf['Google::Cloud::Retail::V2::Common::Condition::TimeRange'];
54  
55 coerce 'TimeRange',
56 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Condition::TimeRange'->new($_) };
57  
58 declare 'RepeatedTimeRange',
59 as ArrayRef[TimeRange()];
60  
61 coerce 'RepeatedTimeRange',
62 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Condition::TimeRange'->new($_) } @$_ ] };
63  
64 declare 'MapStringTimeRange',
65 as HashRef[TimeRange()];
66  
67 declare 'Rule',
68 as InstanceOf['Google::Cloud::Retail::V2::Common::Rule'];
69  
70 coerce 'Rule',
71 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Rule'->new($_) };
72  
73 declare 'RepeatedRule',
74 as ArrayRef[Rule()];
75  
76 coerce 'RepeatedRule',
77 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Rule'->new($_) } @$_ ] };
78  
79 declare 'MapStringRule',
80 as HashRef[Rule()];
81  
82 declare 'BoostAction',
83 as InstanceOf['Google::Cloud::Retail::V2::Common::Rule::BoostAction'];
84  
85 coerce 'BoostAction',
86 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Rule::BoostAction'->new($_) };
87  
88 declare 'RepeatedBoostAction',
89 as ArrayRef[BoostAction()];
90  
91 coerce 'RepeatedBoostAction',
92 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Rule::BoostAction'->new($_) } @$_ ] };
93  
94 declare 'MapStringBoostAction',
95 as HashRef[BoostAction()];
96  
97 declare 'FilterAction',
98 as InstanceOf['Google::Cloud::Retail::V2::Common::Rule::FilterAction'];
99  
100 coerce 'FilterAction',
101 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Rule::FilterAction'->new($_) };
102  
103 declare 'RepeatedFilterAction',
104 as ArrayRef[FilterAction()];
105  
106 coerce 'RepeatedFilterAction',
107 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Rule::FilterAction'->new($_) } @$_ ] };
108  
109 declare 'MapStringFilterAction',
110 as HashRef[FilterAction()];
111  
112 declare 'RedirectAction',
113 as InstanceOf['Google::Cloud::Retail::V2::Common::Rule::RedirectAction'];
114  
115 coerce 'RedirectAction',
116 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Rule::RedirectAction'->new($_) };
117  
118 declare 'RepeatedRedirectAction',
119 as ArrayRef[RedirectAction()];
120  
121 coerce 'RepeatedRedirectAction',
122 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Rule::RedirectAction'->new($_) } @$_ ] };
123  
124 declare 'MapStringRedirectAction',
125 as HashRef[RedirectAction()];
126  
127 declare 'TwowaySynonymsAction',
128 as InstanceOf['Google::Cloud::Retail::V2::Common::Rule::TwowaySynonymsAction'];
129  
130 coerce 'TwowaySynonymsAction',
131 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Rule::TwowaySynonymsAction'->new($_) };
132  
133 declare 'RepeatedTwowaySynonymsAction',
134 as ArrayRef[TwowaySynonymsAction()];
135  
136 coerce 'RepeatedTwowaySynonymsAction',
137 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Rule::TwowaySynonymsAction'->new($_) } @$_ ] };
138  
139 declare 'MapStringTwowaySynonymsAction',
140 as HashRef[TwowaySynonymsAction()];
141  
142 declare 'OnewaySynonymsAction',
143 as InstanceOf['Google::Cloud::Retail::V2::Common::Rule::OnewaySynonymsAction'];
144  
145 coerce 'OnewaySynonymsAction',
146 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Rule::OnewaySynonymsAction'->new($_) };
147  
148 declare 'RepeatedOnewaySynonymsAction',
149 as ArrayRef[OnewaySynonymsAction()];
150  
151 coerce 'RepeatedOnewaySynonymsAction',
152 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Rule::OnewaySynonymsAction'->new($_) } @$_ ] };
153  
154 declare 'MapStringOnewaySynonymsAction',
155 as HashRef[OnewaySynonymsAction()];
156  
157 declare 'DoNotAssociateAction',
158 as InstanceOf['Google::Cloud::Retail::V2::Common::Rule::DoNotAssociateAction'];
159  
160 coerce 'DoNotAssociateAction',
161 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Rule::DoNotAssociateAction'->new($_) };
162  
163 declare 'RepeatedDoNotAssociateAction',
164 as ArrayRef[DoNotAssociateAction()];
165  
166 coerce 'RepeatedDoNotAssociateAction',
167 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Rule::DoNotAssociateAction'->new($_) } @$_ ] };
168  
169 declare 'MapStringDoNotAssociateAction',
170 as HashRef[DoNotAssociateAction()];
171  
172 declare 'ReplacementAction',
173 as InstanceOf['Google::Cloud::Retail::V2::Common::Rule::ReplacementAction'];
174  
175 coerce 'ReplacementAction',
176 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Rule::ReplacementAction'->new($_) };
177  
178 declare 'RepeatedReplacementAction',
179 as ArrayRef[ReplacementAction()];
180  
181 coerce 'RepeatedReplacementAction',
182 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Rule::ReplacementAction'->new($_) } @$_ ] };
183  
184 declare 'MapStringReplacementAction',
185 as HashRef[ReplacementAction()];
186  
187 declare 'IgnoreAction',
188 as InstanceOf['Google::Cloud::Retail::V2::Common::Rule::IgnoreAction'];
189  
190 coerce 'IgnoreAction',
191 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Rule::IgnoreAction'->new($_) };
192  
193 declare 'RepeatedIgnoreAction',
194 as ArrayRef[IgnoreAction()];
195  
196 coerce 'RepeatedIgnoreAction',
197 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Rule::IgnoreAction'->new($_) } @$_ ] };
198  
199 declare 'MapStringIgnoreAction',
200 as HashRef[IgnoreAction()];
201  
202 declare 'ForceReturnFacetAction',
203 as InstanceOf['Google::Cloud::Retail::V2::Common::Rule::ForceReturnFacetAction'];
204  
205 coerce 'ForceReturnFacetAction',
206 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Rule::ForceReturnFacetAction'->new($_) };
207  
208 declare 'RepeatedForceReturnFacetAction',
209 as ArrayRef[ForceReturnFacetAction()];
210  
211 coerce 'RepeatedForceReturnFacetAction',
212 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Rule::ForceReturnFacetAction'->new($_) } @$_ ] };
213  
214 declare 'MapStringForceReturnFacetAction',
215 as HashRef[ForceReturnFacetAction()];
216  
217 declare 'FacetPositionAdjustment',
218 as InstanceOf['Google::Cloud::Retail::V2::Common::Rule::ForceReturnFacetAction::FacetPositionAdjustment'];
219  
220 coerce 'FacetPositionAdjustment',
221 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Rule::ForceReturnFacetAction::FacetPositionAdjustment'->new($_) };
222  
223 declare 'RepeatedFacetPositionAdjustment',
224 as ArrayRef[FacetPositionAdjustment()];
225  
226 coerce 'RepeatedFacetPositionAdjustment',
227 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Rule::ForceReturnFacetAction::FacetPositionAdjustment'->new($_) } @$_ ] };
228  
229 declare 'MapStringFacetPositionAdjustment',
230 as HashRef[FacetPositionAdjustment()];
231  
232 declare 'RemoveFacetAction',
233 as InstanceOf['Google::Cloud::Retail::V2::Common::Rule::RemoveFacetAction'];
234  
235 coerce 'RemoveFacetAction',
236 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Rule::RemoveFacetAction'->new($_) };
237  
238 declare 'RepeatedRemoveFacetAction',
239 as ArrayRef[RemoveFacetAction()];
240  
241 coerce 'RepeatedRemoveFacetAction',
242 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Rule::RemoveFacetAction'->new($_) } @$_ ] };
243  
244 declare 'MapStringRemoveFacetAction',
245 as HashRef[RemoveFacetAction()];
246  
247 declare 'PinAction',
248 as InstanceOf['Google::Cloud::Retail::V2::Common::Rule::PinAction'];
249  
250 coerce 'PinAction',
251 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Rule::PinAction'->new($_) };
252  
253 declare 'RepeatedPinAction',
254 as ArrayRef[PinAction()];
255  
256 coerce 'RepeatedPinAction',
257 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Rule::PinAction'->new($_) } @$_ ] };
258  
259 declare 'MapStringPinAction',
260 as HashRef[PinAction()];
261  
262 declare 'PinMapEntry',
263 as InstanceOf['Google::Cloud::Retail::V2::Common::Rule::PinAction::PinMapEntry'];
264  
265 coerce 'PinMapEntry',
266 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Rule::PinAction::PinMapEntry'->new($_) };
267  
268 declare 'RepeatedPinMapEntry',
269 as ArrayRef[PinMapEntry()];
270  
271 coerce 'RepeatedPinMapEntry',
272 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Rule::PinAction::PinMapEntry'->new($_) } @$_ ] };
273  
274 declare 'MapStringPinMapEntry',
275 as HashRef[PinMapEntry()];
276  
277 declare 'Audience',
278 as InstanceOf['Google::Cloud::Retail::V2::Common::Audience'];
279  
280 coerce 'Audience',
281 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Audience'->new($_) };
282  
283 declare 'RepeatedAudience',
284 as ArrayRef[Audience()];
285  
286 coerce 'RepeatedAudience',
287 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Audience'->new($_) } @$_ ] };
288  
289 declare 'MapStringAudience',
290 as HashRef[Audience()];
291  
292 declare 'ColorInfo',
293 as InstanceOf['Google::Cloud::Retail::V2::Common::ColorInfo'];
294  
295 coerce 'ColorInfo',
296 from HashRef, via { 'Google::Cloud::Retail::V2::Common::ColorInfo'->new($_) };
297  
298 declare 'RepeatedColorInfo',
299 as ArrayRef[ColorInfo()];
300  
301 coerce 'RepeatedColorInfo',
302 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::ColorInfo'->new($_) } @$_ ] };
303  
304 declare 'MapStringColorInfo',
305 as HashRef[ColorInfo()];
306  
307 declare 'CustomAttribute',
308 as InstanceOf['Google::Cloud::Retail::V2::Common::CustomAttribute'];
309  
310 coerce 'CustomAttribute',
311 from HashRef, via { 'Google::Cloud::Retail::V2::Common::CustomAttribute'->new($_) };
312  
313 declare 'RepeatedCustomAttribute',
314 as ArrayRef[CustomAttribute()];
315  
316 coerce 'RepeatedCustomAttribute',
317 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::CustomAttribute'->new($_) } @$_ ] };
318  
319 declare 'MapStringCustomAttribute',
320 as HashRef[CustomAttribute()];
321  
322 declare 'FulfillmentInfo',
323 as InstanceOf['Google::Cloud::Retail::V2::Common::FulfillmentInfo'];
324  
325 coerce 'FulfillmentInfo',
326 from HashRef, via { 'Google::Cloud::Retail::V2::Common::FulfillmentInfo'->new($_) };
327  
328 declare 'RepeatedFulfillmentInfo',
329 as ArrayRef[FulfillmentInfo()];
330  
331 coerce 'RepeatedFulfillmentInfo',
332 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::FulfillmentInfo'->new($_) } @$_ ] };
333  
334 declare 'MapStringFulfillmentInfo',
335 as HashRef[FulfillmentInfo()];
336  
337 declare 'Image',
338 as InstanceOf['Google::Cloud::Retail::V2::Common::Image'];
339  
340 coerce 'Image',
341 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Image'->new($_) };
342  
343 declare 'RepeatedImage',
344 as ArrayRef[Image()];
345  
346 coerce 'RepeatedImage',
347 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Image'->new($_) } @$_ ] };
348  
349 declare 'MapStringImage',
350 as HashRef[Image()];
351  
352 declare 'Interval',
353 as InstanceOf['Google::Cloud::Retail::V2::Common::Interval'];
354  
355 coerce 'Interval',
356 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Interval'->new($_) };
357  
358 declare 'RepeatedInterval',
359 as ArrayRef[Interval()];
360  
361 coerce 'RepeatedInterval',
362 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Interval'->new($_) } @$_ ] };
363  
364 declare 'MapStringInterval',
365 as HashRef[Interval()];
366  
367 declare 'PriceInfo',
368 as InstanceOf['Google::Cloud::Retail::V2::Common::PriceInfo'];
369  
370 coerce 'PriceInfo',
371 from HashRef, via { 'Google::Cloud::Retail::V2::Common::PriceInfo'->new($_) };
372  
373 declare 'RepeatedPriceInfo',
374 as ArrayRef[PriceInfo()];
375  
376 coerce 'RepeatedPriceInfo',
377 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::PriceInfo'->new($_) } @$_ ] };
378  
379 declare 'MapStringPriceInfo',
380 as HashRef[PriceInfo()];
381  
382 declare 'PriceRange',
383 as InstanceOf['Google::Cloud::Retail::V2::Common::PriceInfo::PriceRange'];
384  
385 coerce 'PriceRange',
386 from HashRef, via { 'Google::Cloud::Retail::V2::Common::PriceInfo::PriceRange'->new($_) };
387  
388 declare 'RepeatedPriceRange',
389 as ArrayRef[PriceRange()];
390  
391 coerce 'RepeatedPriceRange',
392 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::PriceInfo::PriceRange'->new($_) } @$_ ] };
393  
394 declare 'MapStringPriceRange',
395 as HashRef[PriceRange()];
396  
397 declare 'Rating',
398 as InstanceOf['Google::Cloud::Retail::V2::Common::Rating'];
399  
400 coerce 'Rating',
401 from HashRef, via { 'Google::Cloud::Retail::V2::Common::Rating'->new($_) };
402  
403 declare 'RepeatedRating',
404 as ArrayRef[Rating()];
405  
406 coerce 'RepeatedRating',
407 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::Rating'->new($_) } @$_ ] };
408  
409 declare 'MapStringRating',
410 as HashRef[Rating()];
411  
412 declare 'UserInfo',
413 as InstanceOf['Google::Cloud::Retail::V2::Common::UserInfo'];
414  
415 coerce 'UserInfo',
416 from HashRef, via { 'Google::Cloud::Retail::V2::Common::UserInfo'->new($_) };
417  
418 declare 'RepeatedUserInfo',
419 as ArrayRef[UserInfo()];
420  
421 coerce 'RepeatedUserInfo',
422 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::UserInfo'->new($_) } @$_ ] };
423  
424 declare 'MapStringUserInfo',
425 as HashRef[UserInfo()];
426  
427 declare 'LocalInventory',
428 as InstanceOf['Google::Cloud::Retail::V2::Common::LocalInventory'];
429  
430 coerce 'LocalInventory',
431 from HashRef, via { 'Google::Cloud::Retail::V2::Common::LocalInventory'->new($_) };
432  
433 declare 'RepeatedLocalInventory',
434 as ArrayRef[LocalInventory()];
435  
436 coerce 'RepeatedLocalInventory',
437 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::LocalInventory'->new($_) } @$_ ] };
438  
439 declare 'MapStringLocalInventory',
440 as HashRef[LocalInventory()];
441  
442 declare 'AttributesEntry',
443 as InstanceOf['Google::Cloud::Retail::V2::Common::LocalInventory::AttributesEntry'];
444  
445 coerce 'AttributesEntry',
446 from HashRef, via { 'Google::Cloud::Retail::V2::Common::LocalInventory::AttributesEntry'->new($_) };
447  
448 declare 'RepeatedAttributesEntry',
449 as ArrayRef[AttributesEntry()];
450  
451 coerce 'RepeatedAttributesEntry',
452 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::LocalInventory::AttributesEntry'->new($_) } @$_ ] };
453  
454 declare 'MapStringAttributesEntry',
455 as HashRef[AttributesEntry()];
456  
457 declare 'PinControlMetadata',
458 as InstanceOf['Google::Cloud::Retail::V2::Common::PinControlMetadata'];
459  
460 coerce 'PinControlMetadata',
461 from HashRef, via { 'Google::Cloud::Retail::V2::Common::PinControlMetadata'->new($_) };
462  
463 declare 'RepeatedPinControlMetadata',
464 as ArrayRef[PinControlMetadata()];
465  
466 coerce 'RepeatedPinControlMetadata',
467 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::PinControlMetadata'->new($_) } @$_ ] };
468  
469 declare 'MapStringPinControlMetadata',
470 as HashRef[PinControlMetadata()];
471  
472 declare 'ProductPins',
473 as InstanceOf['Google::Cloud::Retail::V2::Common::PinControlMetadata::ProductPins'];
474  
475 coerce 'ProductPins',
476 from HashRef, via { 'Google::Cloud::Retail::V2::Common::PinControlMetadata::ProductPins'->new($_) };
477  
478 declare 'RepeatedProductPins',
479 as ArrayRef[ProductPins()];
480  
481 coerce 'RepeatedProductPins',
482 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::PinControlMetadata::ProductPins'->new($_) } @$_ ] };
483  
484 declare 'MapStringProductPins',
485 as HashRef[ProductPins()];
486  
487 declare 'AllMatchedPinsEntry',
488 as InstanceOf['Google::Cloud::Retail::V2::Common::PinControlMetadata::AllMatchedPinsEntry'];
489  
490 coerce 'AllMatchedPinsEntry',
491 from HashRef, via { 'Google::Cloud::Retail::V2::Common::PinControlMetadata::AllMatchedPinsEntry'->new($_) };
492  
493 declare 'RepeatedAllMatchedPinsEntry',
494 as ArrayRef[AllMatchedPinsEntry()];
495  
496 coerce 'RepeatedAllMatchedPinsEntry',
497 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::PinControlMetadata::AllMatchedPinsEntry'->new($_) } @$_ ] };
498  
499 declare 'MapStringAllMatchedPinsEntry',
500 as HashRef[AllMatchedPinsEntry()];
501  
502 declare 'DroppedPinsEntry',
503 as InstanceOf['Google::Cloud::Retail::V2::Common::PinControlMetadata::DroppedPinsEntry'];
504  
505 coerce 'DroppedPinsEntry',
506 from HashRef, via { 'Google::Cloud::Retail::V2::Common::PinControlMetadata::DroppedPinsEntry'->new($_) };
507  
508 declare 'RepeatedDroppedPinsEntry',
509 as ArrayRef[DroppedPinsEntry()];
510  
511 coerce 'RepeatedDroppedPinsEntry',
512 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::PinControlMetadata::DroppedPinsEntry'->new($_) } @$_ ] };
513  
514 declare 'MapStringDroppedPinsEntry',
515 as HashRef[DroppedPinsEntry()];
516  
517 declare 'StringList',
518 as InstanceOf['Google::Cloud::Retail::V2::Common::StringList'];
519  
520 coerce 'StringList',
521 from HashRef, via { 'Google::Cloud::Retail::V2::Common::StringList'->new($_) };
522  
523 declare 'RepeatedStringList',
524 as ArrayRef[StringList()];
525  
526 coerce 'RepeatedStringList',
527 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::StringList'->new($_) } @$_ ] };
528  
529 declare 'MapStringStringList',
530 as HashRef[StringList()];
531  
532 declare 'DoubleList',
533 as InstanceOf['Google::Cloud::Retail::V2::Common::DoubleList'];
534  
535 coerce 'DoubleList',
536 from HashRef, via { 'Google::Cloud::Retail::V2::Common::DoubleList'->new($_) };
537  
538 declare 'RepeatedDoubleList',
539 as ArrayRef[DoubleList()];
540  
541 coerce 'RepeatedDoubleList',
542 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::Common::DoubleList'->new($_) } @$_ ] };
543  
544 declare 'MapStringDoubleList',
545 as HashRef[DoubleList()];
546  
547 1;
548  
549 __END__