V1alpha/AutoSuggestionService/Types.pm untested

filter: Statementstmt 0.0% 0 / 82 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 87 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::AutoSuggestionService::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 'SuggestionType',
11 as (Int | Str);
12  
13 declare 'SuggestQueriesRequest',
14 as InstanceOf['Google::Cloud::Dataqna::V1alpha::AutoSuggestionService::SuggestQueriesRequest'];
15  
16 coerce 'SuggestQueriesRequest',
17 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::AutoSuggestionService::SuggestQueriesRequest'->new($_) };
18  
19 declare 'RepeatedSuggestQueriesRequest',
20 as ArrayRef[SuggestQueriesRequest()];
21  
22 coerce 'RepeatedSuggestQueriesRequest',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::AutoSuggestionService::SuggestQueriesRequest'->new($_) } @$_ ] };
24  
25 declare 'MapStringSuggestQueriesRequest',
26 as HashRef[SuggestQueriesRequest()];
27  
28 declare 'Suggestion',
29 as InstanceOf['Google::Cloud::Dataqna::V1alpha::AutoSuggestionService::Suggestion'];
30  
31 coerce 'Suggestion',
32 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::AutoSuggestionService::Suggestion'->new($_) };
33  
34 declare 'RepeatedSuggestion',
35 as ArrayRef[Suggestion()];
36  
37 coerce 'RepeatedSuggestion',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::AutoSuggestionService::Suggestion'->new($_) } @$_ ] };
39  
40 declare 'MapStringSuggestion',
41 as HashRef[Suggestion()];
42  
43 declare 'SuggestionInfo',
44 as InstanceOf['Google::Cloud::Dataqna::V1alpha::AutoSuggestionService::SuggestionInfo'];
45  
46 coerce 'SuggestionInfo',
47 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::AutoSuggestionService::SuggestionInfo'->new($_) };
48  
49 declare 'RepeatedSuggestionInfo',
50 as ArrayRef[SuggestionInfo()];
51  
52 coerce 'RepeatedSuggestionInfo',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::AutoSuggestionService::SuggestionInfo'->new($_) } @$_ ] };
54  
55 declare 'MapStringSuggestionInfo',
56 as HashRef[SuggestionInfo()];
57  
58 declare 'MatchInfo',
59 as InstanceOf['Google::Cloud::Dataqna::V1alpha::AutoSuggestionService::SuggestionInfo::MatchInfo'];
60  
61 coerce 'MatchInfo',
62 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::AutoSuggestionService::SuggestionInfo::MatchInfo'->new($_) };
63  
64 declare 'RepeatedMatchInfo',
65 as ArrayRef[MatchInfo()];
66  
67 coerce 'RepeatedMatchInfo',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::AutoSuggestionService::SuggestionInfo::MatchInfo'->new($_) } @$_ ] };
69  
70 declare 'MapStringMatchInfo',
71 as HashRef[MatchInfo()];
72  
73 declare 'SuggestQueriesResponse',
74 as InstanceOf['Google::Cloud::Dataqna::V1alpha::AutoSuggestionService::SuggestQueriesResponse'];
75  
76 coerce 'SuggestQueriesResponse',
77 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::AutoSuggestionService::SuggestQueriesResponse'->new($_) };
78  
79 declare 'RepeatedSuggestQueriesResponse',
80 as ArrayRef[SuggestQueriesResponse()];
81  
82 coerce 'RepeatedSuggestQueriesResponse',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::AutoSuggestionService::SuggestQueriesResponse'->new($_) } @$_ ] };
84  
85 declare 'MapStringSuggestQueriesResponse',
86 as HashRef[SuggestQueriesResponse()];
87  
88 1;
89  
90 __END__