V2beta/CompletionService/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::Retail::V2beta::CompletionService::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 'CompleteQueryRequest',
11 as InstanceOf['Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryRequest'];
12  
13 coerce 'CompleteQueryRequest',
14 from HashRef, via { 'Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryRequest'->new($_) };
15  
16 declare 'RepeatedCompleteQueryRequest',
17 as ArrayRef[CompleteQueryRequest()];
18  
19 coerce 'RepeatedCompleteQueryRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringCompleteQueryRequest',
23 as HashRef[CompleteQueryRequest()];
24  
25 declare 'CompleteQueryResponse',
26 as InstanceOf['Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryResponse'];
27  
28 coerce 'CompleteQueryResponse',
29 from HashRef, via { 'Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryResponse'->new($_) };
30  
31 declare 'RepeatedCompleteQueryResponse',
32 as ArrayRef[CompleteQueryResponse()];
33  
34 coerce 'RepeatedCompleteQueryResponse',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryResponse'->new($_) } @$_ ] };
36  
37 declare 'MapStringCompleteQueryResponse',
38 as HashRef[CompleteQueryResponse()];
39  
40 declare 'CompletionResult',
41 as InstanceOf['Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryResponse::CompletionResult'];
42  
43 coerce 'CompletionResult',
44 from HashRef, via { 'Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryResponse::CompletionResult'->new($_) };
45  
46 declare 'RepeatedCompletionResult',
47 as ArrayRef[CompletionResult()];
48  
49 coerce 'RepeatedCompletionResult',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryResponse::CompletionResult'->new($_) } @$_ ] };
51  
52 declare 'MapStringCompletionResult',
53 as HashRef[CompletionResult()];
54  
55 declare 'AttributesEntry',
56 as InstanceOf['Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryResponse::CompletionResult::AttributesEntry'];
57  
58 coerce 'AttributesEntry',
59 from HashRef, via { 'Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryResponse::CompletionResult::AttributesEntry'->new($_) };
60  
61 declare 'RepeatedAttributesEntry',
62 as ArrayRef[AttributesEntry()];
63  
64 coerce 'RepeatedAttributesEntry',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryResponse::CompletionResult::AttributesEntry'->new($_) } @$_ ] };
66  
67 declare 'MapStringAttributesEntry',
68 as HashRef[AttributesEntry()];
69  
70 declare 'RecentSearchResult',
71 as InstanceOf['Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryResponse::RecentSearchResult'];
72  
73 coerce 'RecentSearchResult',
74 from HashRef, via { 'Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryResponse::RecentSearchResult'->new($_) };
75  
76 declare 'RepeatedRecentSearchResult',
77 as ArrayRef[RecentSearchResult()];
78  
79 coerce 'RepeatedRecentSearchResult',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryResponse::RecentSearchResult'->new($_) } @$_ ] };
81  
82 declare 'MapStringRecentSearchResult',
83 as HashRef[RecentSearchResult()];
84  
85 declare 'AttributeResult',
86 as InstanceOf['Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryResponse::AttributeResult'];
87  
88 coerce 'AttributeResult',
89 from HashRef, via { 'Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryResponse::AttributeResult'->new($_) };
90  
91 declare 'RepeatedAttributeResult',
92 as ArrayRef[AttributeResult()];
93  
94 coerce 'RepeatedAttributeResult',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryResponse::AttributeResult'->new($_) } @$_ ] };
96  
97 declare 'MapStringAttributeResult',
98 as HashRef[AttributeResult()];
99  
100 declare 'AttributeResultsEntry',
101 as InstanceOf['Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryResponse::AttributeResultsEntry'];
102  
103 coerce 'AttributeResultsEntry',
104 from HashRef, via { 'Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryResponse::AttributeResultsEntry'->new($_) };
105  
106 declare 'RepeatedAttributeResultsEntry',
107 as ArrayRef[AttributeResultsEntry()];
108  
109 coerce 'RepeatedAttributeResultsEntry',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::CompletionService::CompleteQueryResponse::AttributeResultsEntry'->new($_) } @$_ ] };
111  
112 declare 'MapStringAttributeResultsEntry',
113 as HashRef[AttributeResultsEntry()];
114  
115 1;
116  
117 __END__