Firestore/V1beta1/Firestore/Types.pm untested

filter: Statementstmt 0.0% 0 / 433 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 438 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Firestore::V1beta1::Firestore::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 'GetDocumentRequest',
11 as InstanceOf['Google::Firestore::V1beta1::Firestore::GetDocumentRequest'];
12  
13 coerce 'GetDocumentRequest',
14 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::GetDocumentRequest'->new($_) };
15  
16 declare 'RepeatedGetDocumentRequest',
17 as ArrayRef[GetDocumentRequest()];
18  
19 coerce 'RepeatedGetDocumentRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::GetDocumentRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringGetDocumentRequest',
23 as HashRef[GetDocumentRequest()];
24  
25 declare 'ListDocumentsRequest',
26 as InstanceOf['Google::Firestore::V1beta1::Firestore::ListDocumentsRequest'];
27  
28 coerce 'ListDocumentsRequest',
29 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::ListDocumentsRequest'->new($_) };
30  
31 declare 'RepeatedListDocumentsRequest',
32 as ArrayRef[ListDocumentsRequest()];
33  
34 coerce 'RepeatedListDocumentsRequest',
35 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::ListDocumentsRequest'->new($_) } @$_ ] };
36  
37 declare 'MapStringListDocumentsRequest',
38 as HashRef[ListDocumentsRequest()];
39  
40 declare 'ListDocumentsResponse',
41 as InstanceOf['Google::Firestore::V1beta1::Firestore::ListDocumentsResponse'];
42  
43 coerce 'ListDocumentsResponse',
44 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::ListDocumentsResponse'->new($_) };
45  
46 declare 'RepeatedListDocumentsResponse',
47 as ArrayRef[ListDocumentsResponse()];
48  
49 coerce 'RepeatedListDocumentsResponse',
50 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::ListDocumentsResponse'->new($_) } @$_ ] };
51  
52 declare 'MapStringListDocumentsResponse',
53 as HashRef[ListDocumentsResponse()];
54  
55 declare 'CreateDocumentRequest',
56 as InstanceOf['Google::Firestore::V1beta1::Firestore::CreateDocumentRequest'];
57  
58 coerce 'CreateDocumentRequest',
59 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::CreateDocumentRequest'->new($_) };
60  
61 declare 'RepeatedCreateDocumentRequest',
62 as ArrayRef[CreateDocumentRequest()];
63  
64 coerce 'RepeatedCreateDocumentRequest',
65 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::CreateDocumentRequest'->new($_) } @$_ ] };
66  
67 declare 'MapStringCreateDocumentRequest',
68 as HashRef[CreateDocumentRequest()];
69  
70 declare 'UpdateDocumentRequest',
71 as InstanceOf['Google::Firestore::V1beta1::Firestore::UpdateDocumentRequest'];
72  
73 coerce 'UpdateDocumentRequest',
74 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::UpdateDocumentRequest'->new($_) };
75  
76 declare 'RepeatedUpdateDocumentRequest',
77 as ArrayRef[UpdateDocumentRequest()];
78  
79 coerce 'RepeatedUpdateDocumentRequest',
80 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::UpdateDocumentRequest'->new($_) } @$_ ] };
81  
82 declare 'MapStringUpdateDocumentRequest',
83 as HashRef[UpdateDocumentRequest()];
84  
85 declare 'DeleteDocumentRequest',
86 as InstanceOf['Google::Firestore::V1beta1::Firestore::DeleteDocumentRequest'];
87  
88 coerce 'DeleteDocumentRequest',
89 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::DeleteDocumentRequest'->new($_) };
90  
91 declare 'RepeatedDeleteDocumentRequest',
92 as ArrayRef[DeleteDocumentRequest()];
93  
94 coerce 'RepeatedDeleteDocumentRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::DeleteDocumentRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringDeleteDocumentRequest',
98 as HashRef[DeleteDocumentRequest()];
99  
100 declare 'BatchGetDocumentsRequest',
101 as InstanceOf['Google::Firestore::V1beta1::Firestore::BatchGetDocumentsRequest'];
102  
103 coerce 'BatchGetDocumentsRequest',
104 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::BatchGetDocumentsRequest'->new($_) };
105  
106 declare 'RepeatedBatchGetDocumentsRequest',
107 as ArrayRef[BatchGetDocumentsRequest()];
108  
109 coerce 'RepeatedBatchGetDocumentsRequest',
110 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::BatchGetDocumentsRequest'->new($_) } @$_ ] };
111  
112 declare 'MapStringBatchGetDocumentsRequest',
113 as HashRef[BatchGetDocumentsRequest()];
114  
115 declare 'BatchGetDocumentsResponse',
116 as InstanceOf['Google::Firestore::V1beta1::Firestore::BatchGetDocumentsResponse'];
117  
118 coerce 'BatchGetDocumentsResponse',
119 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::BatchGetDocumentsResponse'->new($_) };
120  
121 declare 'RepeatedBatchGetDocumentsResponse',
122 as ArrayRef[BatchGetDocumentsResponse()];
123  
124 coerce 'RepeatedBatchGetDocumentsResponse',
125 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::BatchGetDocumentsResponse'->new($_) } @$_ ] };
126  
127 declare 'MapStringBatchGetDocumentsResponse',
128 as HashRef[BatchGetDocumentsResponse()];
129  
130 declare 'BeginTransactionRequest',
131 as InstanceOf['Google::Firestore::V1beta1::Firestore::BeginTransactionRequest'];
132  
133 coerce 'BeginTransactionRequest',
134 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::BeginTransactionRequest'->new($_) };
135  
136 declare 'RepeatedBeginTransactionRequest',
137 as ArrayRef[BeginTransactionRequest()];
138  
139 coerce 'RepeatedBeginTransactionRequest',
140 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::BeginTransactionRequest'->new($_) } @$_ ] };
141  
142 declare 'MapStringBeginTransactionRequest',
143 as HashRef[BeginTransactionRequest()];
144  
145 declare 'BeginTransactionResponse',
146 as InstanceOf['Google::Firestore::V1beta1::Firestore::BeginTransactionResponse'];
147  
148 coerce 'BeginTransactionResponse',
149 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::BeginTransactionResponse'->new($_) };
150  
151 declare 'RepeatedBeginTransactionResponse',
152 as ArrayRef[BeginTransactionResponse()];
153  
154 coerce 'RepeatedBeginTransactionResponse',
155 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::BeginTransactionResponse'->new($_) } @$_ ] };
156  
157 declare 'MapStringBeginTransactionResponse',
158 as HashRef[BeginTransactionResponse()];
159  
160 declare 'CommitRequest',
161 as InstanceOf['Google::Firestore::V1beta1::Firestore::CommitRequest'];
162  
163 coerce 'CommitRequest',
164 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::CommitRequest'->new($_) };
165  
166 declare 'RepeatedCommitRequest',
167 as ArrayRef[CommitRequest()];
168  
169 coerce 'RepeatedCommitRequest',
170 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::CommitRequest'->new($_) } @$_ ] };
171  
172 declare 'MapStringCommitRequest',
173 as HashRef[CommitRequest()];
174  
175 declare 'CommitResponse',
176 as InstanceOf['Google::Firestore::V1beta1::Firestore::CommitResponse'];
177  
178 coerce 'CommitResponse',
179 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::CommitResponse'->new($_) };
180  
181 declare 'RepeatedCommitResponse',
182 as ArrayRef[CommitResponse()];
183  
184 coerce 'RepeatedCommitResponse',
185 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::CommitResponse'->new($_) } @$_ ] };
186  
187 declare 'MapStringCommitResponse',
188 as HashRef[CommitResponse()];
189  
190 declare 'RollbackRequest',
191 as InstanceOf['Google::Firestore::V1beta1::Firestore::RollbackRequest'];
192  
193 coerce 'RollbackRequest',
194 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::RollbackRequest'->new($_) };
195  
196 declare 'RepeatedRollbackRequest',
197 as ArrayRef[RollbackRequest()];
198  
199 coerce 'RepeatedRollbackRequest',
200 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::RollbackRequest'->new($_) } @$_ ] };
201  
202 declare 'MapStringRollbackRequest',
203 as HashRef[RollbackRequest()];
204  
205 declare 'RunQueryRequest',
206 as InstanceOf['Google::Firestore::V1beta1::Firestore::RunQueryRequest'];
207  
208 coerce 'RunQueryRequest',
209 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::RunQueryRequest'->new($_) };
210  
211 declare 'RepeatedRunQueryRequest',
212 as ArrayRef[RunQueryRequest()];
213  
214 coerce 'RepeatedRunQueryRequest',
215 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::RunQueryRequest'->new($_) } @$_ ] };
216  
217 declare 'MapStringRunQueryRequest',
218 as HashRef[RunQueryRequest()];
219  
220 declare 'RunQueryResponse',
221 as InstanceOf['Google::Firestore::V1beta1::Firestore::RunQueryResponse'];
222  
223 coerce 'RunQueryResponse',
224 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::RunQueryResponse'->new($_) };
225  
226 declare 'RepeatedRunQueryResponse',
227 as ArrayRef[RunQueryResponse()];
228  
229 coerce 'RepeatedRunQueryResponse',
230 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::RunQueryResponse'->new($_) } @$_ ] };
231  
232 declare 'MapStringRunQueryResponse',
233 as HashRef[RunQueryResponse()];
234  
235 declare 'PartitionQueryRequest',
236 as InstanceOf['Google::Firestore::V1beta1::Firestore::PartitionQueryRequest'];
237  
238 coerce 'PartitionQueryRequest',
239 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::PartitionQueryRequest'->new($_) };
240  
241 declare 'RepeatedPartitionQueryRequest',
242 as ArrayRef[PartitionQueryRequest()];
243  
244 coerce 'RepeatedPartitionQueryRequest',
245 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::PartitionQueryRequest'->new($_) } @$_ ] };
246  
247 declare 'MapStringPartitionQueryRequest',
248 as HashRef[PartitionQueryRequest()];
249  
250 declare 'PartitionQueryResponse',
251 as InstanceOf['Google::Firestore::V1beta1::Firestore::PartitionQueryResponse'];
252  
253 coerce 'PartitionQueryResponse',
254 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::PartitionQueryResponse'->new($_) };
255  
256 declare 'RepeatedPartitionQueryResponse',
257 as ArrayRef[PartitionQueryResponse()];
258  
259 coerce 'RepeatedPartitionQueryResponse',
260 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::PartitionQueryResponse'->new($_) } @$_ ] };
261  
262 declare 'MapStringPartitionQueryResponse',
263 as HashRef[PartitionQueryResponse()];
264  
265 declare 'WriteRequest',
266 as InstanceOf['Google::Firestore::V1beta1::Firestore::WriteRequest'];
267  
268 coerce 'WriteRequest',
269 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::WriteRequest'->new($_) };
270  
271 declare 'RepeatedWriteRequest',
272 as ArrayRef[WriteRequest()];
273  
274 coerce 'RepeatedWriteRequest',
275 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::WriteRequest'->new($_) } @$_ ] };
276  
277 declare 'MapStringWriteRequest',
278 as HashRef[WriteRequest()];
279  
280 declare 'LabelsEntry',
281 as InstanceOf['Google::Firestore::V1beta1::Firestore::WriteRequest::LabelsEntry'];
282  
283 coerce 'LabelsEntry',
284 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::WriteRequest::LabelsEntry'->new($_) };
285  
286 declare 'RepeatedLabelsEntry',
287 as ArrayRef[LabelsEntry()];
288  
289 coerce 'RepeatedLabelsEntry',
290 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::WriteRequest::LabelsEntry'->new($_) } @$_ ] };
291  
292 declare 'MapStringLabelsEntry',
293 as HashRef[LabelsEntry()];
294  
295 declare 'WriteResponse',
296 as InstanceOf['Google::Firestore::V1beta1::Firestore::WriteResponse'];
297  
298 coerce 'WriteResponse',
299 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::WriteResponse'->new($_) };
300  
301 declare 'RepeatedWriteResponse',
302 as ArrayRef[WriteResponse()];
303  
304 coerce 'RepeatedWriteResponse',
305 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::WriteResponse'->new($_) } @$_ ] };
306  
307 declare 'MapStringWriteResponse',
308 as HashRef[WriteResponse()];
309  
310 declare 'ListenRequest',
311 as InstanceOf['Google::Firestore::V1beta1::Firestore::ListenRequest'];
312  
313 coerce 'ListenRequest',
314 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::ListenRequest'->new($_) };
315  
316 declare 'RepeatedListenRequest',
317 as ArrayRef[ListenRequest()];
318  
319 coerce 'RepeatedListenRequest',
320 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::ListenRequest'->new($_) } @$_ ] };
321  
322 declare 'MapStringListenRequest',
323 as HashRef[ListenRequest()];
324  
325 declare 'LabelsEntry',
326 as InstanceOf['Google::Firestore::V1beta1::Firestore::ListenRequest::LabelsEntry'];
327  
328 coerce 'LabelsEntry',
329 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::ListenRequest::LabelsEntry'->new($_) };
330  
331 declare 'RepeatedLabelsEntry',
332 as ArrayRef[LabelsEntry()];
333  
334 coerce 'RepeatedLabelsEntry',
335 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::ListenRequest::LabelsEntry'->new($_) } @$_ ] };
336  
337 declare 'MapStringLabelsEntry',
338 as HashRef[LabelsEntry()];
339  
340 declare 'ListenResponse',
341 as InstanceOf['Google::Firestore::V1beta1::Firestore::ListenResponse'];
342  
343 coerce 'ListenResponse',
344 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::ListenResponse'->new($_) };
345  
346 declare 'RepeatedListenResponse',
347 as ArrayRef[ListenResponse()];
348  
349 coerce 'RepeatedListenResponse',
350 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::ListenResponse'->new($_) } @$_ ] };
351  
352 declare 'MapStringListenResponse',
353 as HashRef[ListenResponse()];
354  
355 declare 'Target',
356 as InstanceOf['Google::Firestore::V1beta1::Firestore::Target'];
357  
358 coerce 'Target',
359 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::Target'->new($_) };
360  
361 declare 'RepeatedTarget',
362 as ArrayRef[Target()];
363  
364 coerce 'RepeatedTarget',
365 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::Target'->new($_) } @$_ ] };
366  
367 declare 'MapStringTarget',
368 as HashRef[Target()];
369  
370 declare 'DocumentsTarget',
371 as InstanceOf['Google::Firestore::V1beta1::Firestore::Target::DocumentsTarget'];
372  
373 coerce 'DocumentsTarget',
374 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::Target::DocumentsTarget'->new($_) };
375  
376 declare 'RepeatedDocumentsTarget',
377 as ArrayRef[DocumentsTarget()];
378  
379 coerce 'RepeatedDocumentsTarget',
380 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::Target::DocumentsTarget'->new($_) } @$_ ] };
381  
382 declare 'MapStringDocumentsTarget',
383 as HashRef[DocumentsTarget()];
384  
385 declare 'QueryTarget',
386 as InstanceOf['Google::Firestore::V1beta1::Firestore::Target::QueryTarget'];
387  
388 coerce 'QueryTarget',
389 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::Target::QueryTarget'->new($_) };
390  
391 declare 'RepeatedQueryTarget',
392 as ArrayRef[QueryTarget()];
393  
394 coerce 'RepeatedQueryTarget',
395 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::Target::QueryTarget'->new($_) } @$_ ] };
396  
397 declare 'MapStringQueryTarget',
398 as HashRef[QueryTarget()];
399  
400 declare 'TargetChange',
401 as InstanceOf['Google::Firestore::V1beta1::Firestore::TargetChange'];
402  
403 coerce 'TargetChange',
404 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::TargetChange'->new($_) };
405  
406 declare 'RepeatedTargetChange',
407 as ArrayRef[TargetChange()];
408  
409 coerce 'RepeatedTargetChange',
410 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::TargetChange'->new($_) } @$_ ] };
411  
412 declare 'MapStringTargetChange',
413 as HashRef[TargetChange()];
414  
415 declare 'TargetChangeType',
416 as (Int | Str);
417  
418 declare 'ListCollectionIdsRequest',
419 as InstanceOf['Google::Firestore::V1beta1::Firestore::ListCollectionIdsRequest'];
420  
421 coerce 'ListCollectionIdsRequest',
422 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::ListCollectionIdsRequest'->new($_) };
423  
424 declare 'RepeatedListCollectionIdsRequest',
425 as ArrayRef[ListCollectionIdsRequest()];
426  
427 coerce 'RepeatedListCollectionIdsRequest',
428 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::ListCollectionIdsRequest'->new($_) } @$_ ] };
429  
430 declare 'MapStringListCollectionIdsRequest',
431 as HashRef[ListCollectionIdsRequest()];
432  
433 declare 'ListCollectionIdsResponse',
434 as InstanceOf['Google::Firestore::V1beta1::Firestore::ListCollectionIdsResponse'];
435  
436 coerce 'ListCollectionIdsResponse',
437 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::ListCollectionIdsResponse'->new($_) };
438  
439 declare 'RepeatedListCollectionIdsResponse',
440 as ArrayRef[ListCollectionIdsResponse()];
441  
442 coerce 'RepeatedListCollectionIdsResponse',
443 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::ListCollectionIdsResponse'->new($_) } @$_ ] };
444  
445 declare 'MapStringListCollectionIdsResponse',
446 as HashRef[ListCollectionIdsResponse()];
447  
448 declare 'BatchWriteRequest',
449 as InstanceOf['Google::Firestore::V1beta1::Firestore::BatchWriteRequest'];
450  
451 coerce 'BatchWriteRequest',
452 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::BatchWriteRequest'->new($_) };
453  
454 declare 'RepeatedBatchWriteRequest',
455 as ArrayRef[BatchWriteRequest()];
456  
457 coerce 'RepeatedBatchWriteRequest',
458 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::BatchWriteRequest'->new($_) } @$_ ] };
459  
460 declare 'MapStringBatchWriteRequest',
461 as HashRef[BatchWriteRequest()];
462  
463 declare 'LabelsEntry',
464 as InstanceOf['Google::Firestore::V1beta1::Firestore::BatchWriteRequest::LabelsEntry'];
465  
466 coerce 'LabelsEntry',
467 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::BatchWriteRequest::LabelsEntry'->new($_) };
468  
469 declare 'RepeatedLabelsEntry',
470 as ArrayRef[LabelsEntry()];
471  
472 coerce 'RepeatedLabelsEntry',
473 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::BatchWriteRequest::LabelsEntry'->new($_) } @$_ ] };
474  
475 declare 'MapStringLabelsEntry',
476 as HashRef[LabelsEntry()];
477  
478 declare 'BatchWriteResponse',
479 as InstanceOf['Google::Firestore::V1beta1::Firestore::BatchWriteResponse'];
480  
481 coerce 'BatchWriteResponse',
482 from HashRef, via { 'Google::Firestore::V1beta1::Firestore::BatchWriteResponse'->new($_) };
483  
484 declare 'RepeatedBatchWriteResponse',
485 as ArrayRef[BatchWriteResponse()];
486  
487 coerce 'RepeatedBatchWriteResponse',
488 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::V1beta1::Firestore::BatchWriteResponse'->new($_) } @$_ ] };
489  
490 declare 'MapStringBatchWriteResponse',
491 as HashRef[BatchWriteResponse()];
492  
493 1;
494  
495 __END__