V2beta1/AnswerRecord/Types.pm untested

filter: Statementstmt 0.0% 0 / 189 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 194 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::AnswerRecord::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 'AnswerRecord',
11 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AnswerRecord'];
12  
13 coerce 'AnswerRecord',
14 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AnswerRecord'->new($_) };
15  
16 declare 'RepeatedAnswerRecord',
17 as ArrayRef[AnswerRecord()];
18  
19 coerce 'RepeatedAnswerRecord',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AnswerRecord'->new($_) } @$_ ] };
21  
22 declare 'MapStringAnswerRecord',
23 as HashRef[AnswerRecord()];
24  
25 declare 'AgentAssistantRecord',
26 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantRecord'];
27  
28 coerce 'AgentAssistantRecord',
29 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantRecord'->new($_) };
30  
31 declare 'RepeatedAgentAssistantRecord',
32 as ArrayRef[AgentAssistantRecord()];
33  
34 coerce 'RepeatedAgentAssistantRecord',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantRecord'->new($_) } @$_ ] };
36  
37 declare 'MapStringAgentAssistantRecord',
38 as HashRef[AgentAssistantRecord()];
39  
40 declare 'AnswerFeedback',
41 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AnswerFeedback'];
42  
43 coerce 'AnswerFeedback',
44 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AnswerFeedback'->new($_) };
45  
46 declare 'RepeatedAnswerFeedback',
47 as ArrayRef[AnswerFeedback()];
48  
49 coerce 'RepeatedAnswerFeedback',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AnswerFeedback'->new($_) } @$_ ] };
51  
52 declare 'MapStringAnswerFeedback',
53 as HashRef[AnswerFeedback()];
54  
55 declare 'CorrectnessLevel',
56 as (Int | Str);
57  
58 declare 'AgentAssistantFeedback',
59 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantFeedback'];
60  
61 coerce 'AgentAssistantFeedback',
62 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantFeedback'->new($_) };
63  
64 declare 'RepeatedAgentAssistantFeedback',
65 as ArrayRef[AgentAssistantFeedback()];
66  
67 coerce 'RepeatedAgentAssistantFeedback',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantFeedback'->new($_) } @$_ ] };
69  
70 declare 'MapStringAgentAssistantFeedback',
71 as HashRef[AgentAssistantFeedback()];
72  
73 declare 'AnswerRelevance',
74 as (Int | Str);
75  
76 declare 'DocumentCorrectness',
77 as (Int | Str);
78  
79 declare 'DocumentEfficiency',
80 as (Int | Str);
81  
82 declare 'SummarizationFeedback',
83 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantFeedback::SummarizationFeedback'];
84  
85 coerce 'SummarizationFeedback',
86 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantFeedback::SummarizationFeedback'->new($_) };
87  
88 declare 'RepeatedSummarizationFeedback',
89 as ArrayRef[SummarizationFeedback()];
90  
91 coerce 'RepeatedSummarizationFeedback',
92 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantFeedback::SummarizationFeedback'->new($_) } @$_ ] };
93  
94 declare 'MapStringSummarizationFeedback',
95 as HashRef[SummarizationFeedback()];
96  
97 declare 'TextSectionsEntry',
98 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantFeedback::SummarizationFeedback::TextSectionsEntry'];
99  
100 coerce 'TextSectionsEntry',
101 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantFeedback::SummarizationFeedback::TextSectionsEntry'->new($_) };
102  
103 declare 'RepeatedTextSectionsEntry',
104 as ArrayRef[TextSectionsEntry()];
105  
106 coerce 'RepeatedTextSectionsEntry',
107 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantFeedback::SummarizationFeedback::TextSectionsEntry'->new($_) } @$_ ] };
108  
109 declare 'MapStringTextSectionsEntry',
110 as HashRef[TextSectionsEntry()];
111  
112 declare 'KnowledgeSearchFeedback',
113 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantFeedback::KnowledgeSearchFeedback'];
114  
115 coerce 'KnowledgeSearchFeedback',
116 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantFeedback::KnowledgeSearchFeedback'->new($_) };
117  
118 declare 'RepeatedKnowledgeSearchFeedback',
119 as ArrayRef[KnowledgeSearchFeedback()];
120  
121 coerce 'RepeatedKnowledgeSearchFeedback',
122 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantFeedback::KnowledgeSearchFeedback'->new($_) } @$_ ] };
123  
124 declare 'MapStringKnowledgeSearchFeedback',
125 as HashRef[KnowledgeSearchFeedback()];
126  
127 declare 'KnowledgeAssistFeedback',
128 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantFeedback::KnowledgeAssistFeedback'];
129  
130 coerce 'KnowledgeAssistFeedback',
131 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantFeedback::KnowledgeAssistFeedback'->new($_) };
132  
133 declare 'RepeatedKnowledgeAssistFeedback',
134 as ArrayRef[KnowledgeAssistFeedback()];
135  
136 coerce 'RepeatedKnowledgeAssistFeedback',
137 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantFeedback::KnowledgeAssistFeedback'->new($_) } @$_ ] };
138  
139 declare 'MapStringKnowledgeAssistFeedback',
140 as HashRef[KnowledgeAssistFeedback()];
141  
142 declare 'CompanionFeedback',
143 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantFeedback::CompanionFeedback'];
144  
145 coerce 'CompanionFeedback',
146 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantFeedback::CompanionFeedback'->new($_) };
147  
148 declare 'RepeatedCompanionFeedback',
149 as ArrayRef[CompanionFeedback()];
150  
151 coerce 'RepeatedCompanionFeedback',
152 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::AgentAssistantFeedback::CompanionFeedback'->new($_) } @$_ ] };
153  
154 declare 'MapStringCompanionFeedback',
155 as HashRef[CompanionFeedback()];
156  
157 declare 'GetAnswerRecordRequest',
158 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::AnswerRecord::GetAnswerRecordRequest'];
159  
160 coerce 'GetAnswerRecordRequest',
161 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::GetAnswerRecordRequest'->new($_) };
162  
163 declare 'RepeatedGetAnswerRecordRequest',
164 as ArrayRef[GetAnswerRecordRequest()];
165  
166 coerce 'RepeatedGetAnswerRecordRequest',
167 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::GetAnswerRecordRequest'->new($_) } @$_ ] };
168  
169 declare 'MapStringGetAnswerRecordRequest',
170 as HashRef[GetAnswerRecordRequest()];
171  
172 declare 'ListAnswerRecordsRequest',
173 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::AnswerRecord::ListAnswerRecordsRequest'];
174  
175 coerce 'ListAnswerRecordsRequest',
176 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::ListAnswerRecordsRequest'->new($_) };
177  
178 declare 'RepeatedListAnswerRecordsRequest',
179 as ArrayRef[ListAnswerRecordsRequest()];
180  
181 coerce 'RepeatedListAnswerRecordsRequest',
182 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::ListAnswerRecordsRequest'->new($_) } @$_ ] };
183  
184 declare 'MapStringListAnswerRecordsRequest',
185 as HashRef[ListAnswerRecordsRequest()];
186  
187 declare 'ListAnswerRecordsResponse',
188 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::AnswerRecord::ListAnswerRecordsResponse'];
189  
190 coerce 'ListAnswerRecordsResponse',
191 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::ListAnswerRecordsResponse'->new($_) };
192  
193 declare 'RepeatedListAnswerRecordsResponse',
194 as ArrayRef[ListAnswerRecordsResponse()];
195  
196 coerce 'RepeatedListAnswerRecordsResponse',
197 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::ListAnswerRecordsResponse'->new($_) } @$_ ] };
198  
199 declare 'MapStringListAnswerRecordsResponse',
200 as HashRef[ListAnswerRecordsResponse()];
201  
202 declare 'UpdateAnswerRecordRequest',
203 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::AnswerRecord::UpdateAnswerRecordRequest'];
204  
205 coerce 'UpdateAnswerRecordRequest',
206 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::UpdateAnswerRecordRequest'->new($_) };
207  
208 declare 'RepeatedUpdateAnswerRecordRequest',
209 as ArrayRef[UpdateAnswerRecordRequest()];
210  
211 coerce 'RepeatedUpdateAnswerRecordRequest',
212 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::AnswerRecord::UpdateAnswerRecordRequest'->new($_) } @$_ ] };
213  
214 declare 'MapStringUpdateAnswerRecordRequest',
215 as HashRef[UpdateAnswerRecordRequest()];
216  
217 1;
218  
219 __END__