V2beta1/Agent/Types.pm untested

filter: Statementstmt 0.0% 0 / 188 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 193 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::Agent::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 'Agent',
11 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Agent::Agent'];
12  
13 coerce 'Agent',
14 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Agent::Agent'->new($_) };
15  
16 declare 'RepeatedAgent',
17 as ArrayRef[Agent()];
18  
19 coerce 'RepeatedAgent',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Agent::Agent'->new($_) } @$_ ] };
21  
22 declare 'MapStringAgent',
23 as HashRef[Agent()];
24  
25 declare 'MatchMode',
26 as (Int | Str);
27  
28 declare 'ApiVersion',
29 as (Int | Str);
30  
31 declare 'Tier',
32 as (Int | Str);
33  
34 declare 'GetAgentRequest',
35 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Agent::GetAgentRequest'];
36  
37 coerce 'GetAgentRequest',
38 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Agent::GetAgentRequest'->new($_) };
39  
40 declare 'RepeatedGetAgentRequest',
41 as ArrayRef[GetAgentRequest()];
42  
43 coerce 'RepeatedGetAgentRequest',
44 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Agent::GetAgentRequest'->new($_) } @$_ ] };
45  
46 declare 'MapStringGetAgentRequest',
47 as HashRef[GetAgentRequest()];
48  
49 declare 'SetAgentRequest',
50 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Agent::SetAgentRequest'];
51  
52 coerce 'SetAgentRequest',
53 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Agent::SetAgentRequest'->new($_) };
54  
55 declare 'RepeatedSetAgentRequest',
56 as ArrayRef[SetAgentRequest()];
57  
58 coerce 'RepeatedSetAgentRequest',
59 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Agent::SetAgentRequest'->new($_) } @$_ ] };
60  
61 declare 'MapStringSetAgentRequest',
62 as HashRef[SetAgentRequest()];
63  
64 declare 'DeleteAgentRequest',
65 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Agent::DeleteAgentRequest'];
66  
67 coerce 'DeleteAgentRequest',
68 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Agent::DeleteAgentRequest'->new($_) };
69  
70 declare 'RepeatedDeleteAgentRequest',
71 as ArrayRef[DeleteAgentRequest()];
72  
73 coerce 'RepeatedDeleteAgentRequest',
74 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Agent::DeleteAgentRequest'->new($_) } @$_ ] };
75  
76 declare 'MapStringDeleteAgentRequest',
77 as HashRef[DeleteAgentRequest()];
78  
79 declare 'SubAgent',
80 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Agent::SubAgent'];
81  
82 coerce 'SubAgent',
83 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Agent::SubAgent'->new($_) };
84  
85 declare 'RepeatedSubAgent',
86 as ArrayRef[SubAgent()];
87  
88 coerce 'RepeatedSubAgent',
89 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Agent::SubAgent'->new($_) } @$_ ] };
90  
91 declare 'MapStringSubAgent',
92 as HashRef[SubAgent()];
93  
94 declare 'SearchAgentsRequest',
95 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Agent::SearchAgentsRequest'];
96  
97 coerce 'SearchAgentsRequest',
98 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Agent::SearchAgentsRequest'->new($_) };
99  
100 declare 'RepeatedSearchAgentsRequest',
101 as ArrayRef[SearchAgentsRequest()];
102  
103 coerce 'RepeatedSearchAgentsRequest',
104 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Agent::SearchAgentsRequest'->new($_) } @$_ ] };
105  
106 declare 'MapStringSearchAgentsRequest',
107 as HashRef[SearchAgentsRequest()];
108  
109 declare 'SearchAgentsResponse',
110 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Agent::SearchAgentsResponse'];
111  
112 coerce 'SearchAgentsResponse',
113 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Agent::SearchAgentsResponse'->new($_) };
114  
115 declare 'RepeatedSearchAgentsResponse',
116 as ArrayRef[SearchAgentsResponse()];
117  
118 coerce 'RepeatedSearchAgentsResponse',
119 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Agent::SearchAgentsResponse'->new($_) } @$_ ] };
120  
121 declare 'MapStringSearchAgentsResponse',
122 as HashRef[SearchAgentsResponse()];
123  
124 declare 'TrainAgentRequest',
125 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Agent::TrainAgentRequest'];
126  
127 coerce 'TrainAgentRequest',
128 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Agent::TrainAgentRequest'->new($_) };
129  
130 declare 'RepeatedTrainAgentRequest',
131 as ArrayRef[TrainAgentRequest()];
132  
133 coerce 'RepeatedTrainAgentRequest',
134 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Agent::TrainAgentRequest'->new($_) } @$_ ] };
135  
136 declare 'MapStringTrainAgentRequest',
137 as HashRef[TrainAgentRequest()];
138  
139 declare 'ExportAgentRequest',
140 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Agent::ExportAgentRequest'];
141  
142 coerce 'ExportAgentRequest',
143 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Agent::ExportAgentRequest'->new($_) };
144  
145 declare 'RepeatedExportAgentRequest',
146 as ArrayRef[ExportAgentRequest()];
147  
148 coerce 'RepeatedExportAgentRequest',
149 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Agent::ExportAgentRequest'->new($_) } @$_ ] };
150  
151 declare 'MapStringExportAgentRequest',
152 as HashRef[ExportAgentRequest()];
153  
154 declare 'ExportAgentResponse',
155 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Agent::ExportAgentResponse'];
156  
157 coerce 'ExportAgentResponse',
158 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Agent::ExportAgentResponse'->new($_) };
159  
160 declare 'RepeatedExportAgentResponse',
161 as ArrayRef[ExportAgentResponse()];
162  
163 coerce 'RepeatedExportAgentResponse',
164 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Agent::ExportAgentResponse'->new($_) } @$_ ] };
165  
166 declare 'MapStringExportAgentResponse',
167 as HashRef[ExportAgentResponse()];
168  
169 declare 'ImportAgentRequest',
170 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Agent::ImportAgentRequest'];
171  
172 coerce 'ImportAgentRequest',
173 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Agent::ImportAgentRequest'->new($_) };
174  
175 declare 'RepeatedImportAgentRequest',
176 as ArrayRef[ImportAgentRequest()];
177  
178 coerce 'RepeatedImportAgentRequest',
179 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Agent::ImportAgentRequest'->new($_) } @$_ ] };
180  
181 declare 'MapStringImportAgentRequest',
182 as HashRef[ImportAgentRequest()];
183  
184 declare 'RestoreAgentRequest',
185 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Agent::RestoreAgentRequest'];
186  
187 coerce 'RestoreAgentRequest',
188 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Agent::RestoreAgentRequest'->new($_) };
189  
190 declare 'RepeatedRestoreAgentRequest',
191 as ArrayRef[RestoreAgentRequest()];
192  
193 coerce 'RepeatedRestoreAgentRequest',
194 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Agent::RestoreAgentRequest'->new($_) } @$_ ] };
195  
196 declare 'MapStringRestoreAgentRequest',
197 as HashRef[RestoreAgentRequest()];
198  
199 declare 'GetValidationResultRequest',
200 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Agent::GetValidationResultRequest'];
201  
202 coerce 'GetValidationResultRequest',
203 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Agent::GetValidationResultRequest'->new($_) };
204  
205 declare 'RepeatedGetValidationResultRequest',
206 as ArrayRef[GetValidationResultRequest()];
207  
208 coerce 'RepeatedGetValidationResultRequest',
209 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Agent::GetValidationResultRequest'->new($_) } @$_ ] };
210  
211 declare 'MapStringGetValidationResultRequest',
212 as HashRef[GetValidationResultRequest()];
213  
214 1;
215  
216 __END__