V2beta1/Session/Types.pm untested

filter: Statementstmt 0.0% 0 / 239 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 244 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::Dialogflow::V2beta1::Session::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 'DetectIntentRequest',
11 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Session::DetectIntentRequest'];
12  
13 coerce 'DetectIntentRequest',
14 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Session::DetectIntentRequest'->new($_) };
15  
16 declare 'RepeatedDetectIntentRequest',
17 as ArrayRef[DetectIntentRequest()];
18  
19 coerce 'RepeatedDetectIntentRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Session::DetectIntentRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringDetectIntentRequest',
23 as HashRef[DetectIntentRequest()];
24  
25 declare 'DetectIntentResponse',
26 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Session::DetectIntentResponse'];
27  
28 coerce 'DetectIntentResponse',
29 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Session::DetectIntentResponse'->new($_) };
30  
31 declare 'RepeatedDetectIntentResponse',
32 as ArrayRef[DetectIntentResponse()];
33  
34 coerce 'RepeatedDetectIntentResponse',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Session::DetectIntentResponse'->new($_) } @$_ ] };
36  
37 declare 'MapStringDetectIntentResponse',
38 as HashRef[DetectIntentResponse()];
39  
40 declare 'QueryParameters',
41 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Session::QueryParameters'];
42  
43 coerce 'QueryParameters',
44 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Session::QueryParameters'->new($_) };
45  
46 declare 'RepeatedQueryParameters',
47 as ArrayRef[QueryParameters()];
48  
49 coerce 'RepeatedQueryParameters',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Session::QueryParameters'->new($_) } @$_ ] };
51  
52 declare 'MapStringQueryParameters',
53 as HashRef[QueryParameters()];
54  
55 declare 'WebhookHeadersEntry',
56 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Session::QueryParameters::WebhookHeadersEntry'];
57  
58 coerce 'WebhookHeadersEntry',
59 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Session::QueryParameters::WebhookHeadersEntry'->new($_) };
60  
61 declare 'RepeatedWebhookHeadersEntry',
62 as ArrayRef[WebhookHeadersEntry()];
63  
64 coerce 'RepeatedWebhookHeadersEntry',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Session::QueryParameters::WebhookHeadersEntry'->new($_) } @$_ ] };
66  
67 declare 'MapStringWebhookHeadersEntry',
68 as HashRef[WebhookHeadersEntry()];
69  
70 declare 'QueryInput',
71 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Session::QueryInput'];
72  
73 coerce 'QueryInput',
74 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Session::QueryInput'->new($_) };
75  
76 declare 'RepeatedQueryInput',
77 as ArrayRef[QueryInput()];
78  
79 coerce 'RepeatedQueryInput',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Session::QueryInput'->new($_) } @$_ ] };
81  
82 declare 'MapStringQueryInput',
83 as HashRef[QueryInput()];
84  
85 declare 'QueryResult',
86 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Session::QueryResult'];
87  
88 coerce 'QueryResult',
89 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Session::QueryResult'->new($_) };
90  
91 declare 'RepeatedQueryResult',
92 as ArrayRef[QueryResult()];
93  
94 coerce 'RepeatedQueryResult',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Session::QueryResult'->new($_) } @$_ ] };
96  
97 declare 'MapStringQueryResult',
98 as HashRef[QueryResult()];
99  
100 declare 'KnowledgeAnswers',
101 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Session::KnowledgeAnswers'];
102  
103 coerce 'KnowledgeAnswers',
104 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Session::KnowledgeAnswers'->new($_) };
105  
106 declare 'RepeatedKnowledgeAnswers',
107 as ArrayRef[KnowledgeAnswers()];
108  
109 coerce 'RepeatedKnowledgeAnswers',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Session::KnowledgeAnswers'->new($_) } @$_ ] };
111  
112 declare 'MapStringKnowledgeAnswers',
113 as HashRef[KnowledgeAnswers()];
114  
115 declare 'Answer',
116 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Session::KnowledgeAnswers::Answer'];
117  
118 coerce 'Answer',
119 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Session::KnowledgeAnswers::Answer'->new($_) };
120  
121 declare 'RepeatedAnswer',
122 as ArrayRef[Answer()];
123  
124 coerce 'RepeatedAnswer',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Session::KnowledgeAnswers::Answer'->new($_) } @$_ ] };
126  
127 declare 'MapStringAnswer',
128 as HashRef[Answer()];
129  
130 declare 'MatchConfidenceLevel',
131 as (Int | Str);
132  
133 declare 'StreamingDetectIntentRequest',
134 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Session::StreamingDetectIntentRequest'];
135  
136 coerce 'StreamingDetectIntentRequest',
137 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Session::StreamingDetectIntentRequest'->new($_) };
138  
139 declare 'RepeatedStreamingDetectIntentRequest',
140 as ArrayRef[StreamingDetectIntentRequest()];
141  
142 coerce 'RepeatedStreamingDetectIntentRequest',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Session::StreamingDetectIntentRequest'->new($_) } @$_ ] };
144  
145 declare 'MapStringStreamingDetectIntentRequest',
146 as HashRef[StreamingDetectIntentRequest()];
147  
148 declare 'CloudConversationDebuggingInfo',
149 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Session::CloudConversationDebuggingInfo'];
150  
151 coerce 'CloudConversationDebuggingInfo',
152 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Session::CloudConversationDebuggingInfo'->new($_) };
153  
154 declare 'RepeatedCloudConversationDebuggingInfo',
155 as ArrayRef[CloudConversationDebuggingInfo()];
156  
157 coerce 'RepeatedCloudConversationDebuggingInfo',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Session::CloudConversationDebuggingInfo'->new($_) } @$_ ] };
159  
160 declare 'MapStringCloudConversationDebuggingInfo',
161 as HashRef[CloudConversationDebuggingInfo()];
162  
163 declare 'StreamingDetectIntentResponse',
164 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Session::StreamingDetectIntentResponse'];
165  
166 coerce 'StreamingDetectIntentResponse',
167 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Session::StreamingDetectIntentResponse'->new($_) };
168  
169 declare 'RepeatedStreamingDetectIntentResponse',
170 as ArrayRef[StreamingDetectIntentResponse()];
171  
172 coerce 'RepeatedStreamingDetectIntentResponse',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Session::StreamingDetectIntentResponse'->new($_) } @$_ ] };
174  
175 declare 'MapStringStreamingDetectIntentResponse',
176 as HashRef[StreamingDetectIntentResponse()];
177  
178 declare 'StreamingRecognitionResult',
179 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Session::StreamingRecognitionResult'];
180  
181 coerce 'StreamingRecognitionResult',
182 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Session::StreamingRecognitionResult'->new($_) };
183  
184 declare 'RepeatedStreamingRecognitionResult',
185 as ArrayRef[StreamingRecognitionResult()];
186  
187 coerce 'RepeatedStreamingRecognitionResult',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Session::StreamingRecognitionResult'->new($_) } @$_ ] };
189  
190 declare 'MapStringStreamingRecognitionResult',
191 as HashRef[StreamingRecognitionResult()];
192  
193 declare 'MessageType',
194 as (Int | Str);
195  
196 declare 'TextInput',
197 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Session::TextInput'];
198  
199 coerce 'TextInput',
200 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Session::TextInput'->new($_) };
201  
202 declare 'RepeatedTextInput',
203 as ArrayRef[TextInput()];
204  
205 coerce 'RepeatedTextInput',
206 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Session::TextInput'->new($_) } @$_ ] };
207  
208 declare 'MapStringTextInput',
209 as HashRef[TextInput()];
210  
211 declare 'EventInput',
212 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Session::EventInput'];
213  
214 coerce 'EventInput',
215 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Session::EventInput'->new($_) };
216  
217 declare 'RepeatedEventInput',
218 as ArrayRef[EventInput()];
219  
220 coerce 'RepeatedEventInput',
221 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Session::EventInput'->new($_) } @$_ ] };
222  
223 declare 'MapStringEventInput',
224 as HashRef[EventInput()];
225  
226 declare 'SentimentAnalysisRequestConfig',
227 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Session::SentimentAnalysisRequestConfig'];
228  
229 coerce 'SentimentAnalysisRequestConfig',
230 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Session::SentimentAnalysisRequestConfig'->new($_) };
231  
232 declare 'RepeatedSentimentAnalysisRequestConfig',
233 as ArrayRef[SentimentAnalysisRequestConfig()];
234  
235 coerce 'RepeatedSentimentAnalysisRequestConfig',
236 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Session::SentimentAnalysisRequestConfig'->new($_) } @$_ ] };
237  
238 declare 'MapStringSentimentAnalysisRequestConfig',
239 as HashRef[SentimentAnalysisRequestConfig()];
240  
241 declare 'SentimentAnalysisResult',
242 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Session::SentimentAnalysisResult'];
243  
244 coerce 'SentimentAnalysisResult',
245 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Session::SentimentAnalysisResult'->new($_) };
246  
247 declare 'RepeatedSentimentAnalysisResult',
248 as ArrayRef[SentimentAnalysisResult()];
249  
250 coerce 'RepeatedSentimentAnalysisResult',
251 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Session::SentimentAnalysisResult'->new($_) } @$_ ] };
252  
253 declare 'MapStringSentimentAnalysisResult',
254 as HashRef[SentimentAnalysisResult()];
255  
256 declare 'Sentiment',
257 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Session::Sentiment'];
258  
259 coerce 'Sentiment',
260 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Session::Sentiment'->new($_) };
261  
262 declare 'RepeatedSentiment',
263 as ArrayRef[Sentiment()];
264  
265 coerce 'RepeatedSentiment',
266 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Session::Sentiment'->new($_) } @$_ ] };
267  
268 declare 'MapStringSentiment',
269 as HashRef[Sentiment()];
270  
271 1;
272  
273 __END__