Datastore/V1/Datastore/Types.pm untested

filter: Statementstmt 0.0% 0 / 345 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 350 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Datastore::V1::Datastore::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 'LookupRequest',
11 as InstanceOf['Google::Datastore::V1::Datastore::LookupRequest'];
12  
13 coerce 'LookupRequest',
14 from HashRef, via { 'Google::Datastore::V1::Datastore::LookupRequest'->new($_) };
15  
16 declare 'RepeatedLookupRequest',
17 as ArrayRef[LookupRequest()];
18  
19 coerce 'RepeatedLookupRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::LookupRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringLookupRequest',
23 as HashRef[LookupRequest()];
24  
25 declare 'LookupResponse',
26 as InstanceOf['Google::Datastore::V1::Datastore::LookupResponse'];
27  
28 coerce 'LookupResponse',
29 from HashRef, via { 'Google::Datastore::V1::Datastore::LookupResponse'->new($_) };
30  
31 declare 'RepeatedLookupResponse',
32 as ArrayRef[LookupResponse()];
33  
34 coerce 'RepeatedLookupResponse',
35 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::LookupResponse'->new($_) } @$_ ] };
36  
37 declare 'MapStringLookupResponse',
38 as HashRef[LookupResponse()];
39  
40 declare 'RunQueryRequest',
41 as InstanceOf['Google::Datastore::V1::Datastore::RunQueryRequest'];
42  
43 coerce 'RunQueryRequest',
44 from HashRef, via { 'Google::Datastore::V1::Datastore::RunQueryRequest'->new($_) };
45  
46 declare 'RepeatedRunQueryRequest',
47 as ArrayRef[RunQueryRequest()];
48  
49 coerce 'RepeatedRunQueryRequest',
50 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::RunQueryRequest'->new($_) } @$_ ] };
51  
52 declare 'MapStringRunQueryRequest',
53 as HashRef[RunQueryRequest()];
54  
55 declare 'RunQueryResponse',
56 as InstanceOf['Google::Datastore::V1::Datastore::RunQueryResponse'];
57  
58 coerce 'RunQueryResponse',
59 from HashRef, via { 'Google::Datastore::V1::Datastore::RunQueryResponse'->new($_) };
60  
61 declare 'RepeatedRunQueryResponse',
62 as ArrayRef[RunQueryResponse()];
63  
64 coerce 'RepeatedRunQueryResponse',
65 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::RunQueryResponse'->new($_) } @$_ ] };
66  
67 declare 'MapStringRunQueryResponse',
68 as HashRef[RunQueryResponse()];
69  
70 declare 'RunAggregationQueryRequest',
71 as InstanceOf['Google::Datastore::V1::Datastore::RunAggregationQueryRequest'];
72  
73 coerce 'RunAggregationQueryRequest',
74 from HashRef, via { 'Google::Datastore::V1::Datastore::RunAggregationQueryRequest'->new($_) };
75  
76 declare 'RepeatedRunAggregationQueryRequest',
77 as ArrayRef[RunAggregationQueryRequest()];
78  
79 coerce 'RepeatedRunAggregationQueryRequest',
80 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::RunAggregationQueryRequest'->new($_) } @$_ ] };
81  
82 declare 'MapStringRunAggregationQueryRequest',
83 as HashRef[RunAggregationQueryRequest()];
84  
85 declare 'RunAggregationQueryResponse',
86 as InstanceOf['Google::Datastore::V1::Datastore::RunAggregationQueryResponse'];
87  
88 coerce 'RunAggregationQueryResponse',
89 from HashRef, via { 'Google::Datastore::V1::Datastore::RunAggregationQueryResponse'->new($_) };
90  
91 declare 'RepeatedRunAggregationQueryResponse',
92 as ArrayRef[RunAggregationQueryResponse()];
93  
94 coerce 'RepeatedRunAggregationQueryResponse',
95 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::RunAggregationQueryResponse'->new($_) } @$_ ] };
96  
97 declare 'MapStringRunAggregationQueryResponse',
98 as HashRef[RunAggregationQueryResponse()];
99  
100 declare 'BeginTransactionRequest',
101 as InstanceOf['Google::Datastore::V1::Datastore::BeginTransactionRequest'];
102  
103 coerce 'BeginTransactionRequest',
104 from HashRef, via { 'Google::Datastore::V1::Datastore::BeginTransactionRequest'->new($_) };
105  
106 declare 'RepeatedBeginTransactionRequest',
107 as ArrayRef[BeginTransactionRequest()];
108  
109 coerce 'RepeatedBeginTransactionRequest',
110 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::BeginTransactionRequest'->new($_) } @$_ ] };
111  
112 declare 'MapStringBeginTransactionRequest',
113 as HashRef[BeginTransactionRequest()];
114  
115 declare 'BeginTransactionResponse',
116 as InstanceOf['Google::Datastore::V1::Datastore::BeginTransactionResponse'];
117  
118 coerce 'BeginTransactionResponse',
119 from HashRef, via { 'Google::Datastore::V1::Datastore::BeginTransactionResponse'->new($_) };
120  
121 declare 'RepeatedBeginTransactionResponse',
122 as ArrayRef[BeginTransactionResponse()];
123  
124 coerce 'RepeatedBeginTransactionResponse',
125 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::BeginTransactionResponse'->new($_) } @$_ ] };
126  
127 declare 'MapStringBeginTransactionResponse',
128 as HashRef[BeginTransactionResponse()];
129  
130 declare 'RollbackRequest',
131 as InstanceOf['Google::Datastore::V1::Datastore::RollbackRequest'];
132  
133 coerce 'RollbackRequest',
134 from HashRef, via { 'Google::Datastore::V1::Datastore::RollbackRequest'->new($_) };
135  
136 declare 'RepeatedRollbackRequest',
137 as ArrayRef[RollbackRequest()];
138  
139 coerce 'RepeatedRollbackRequest',
140 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::RollbackRequest'->new($_) } @$_ ] };
141  
142 declare 'MapStringRollbackRequest',
143 as HashRef[RollbackRequest()];
144  
145 declare 'RollbackResponse',
146 as InstanceOf['Google::Datastore::V1::Datastore::RollbackResponse'];
147  
148 coerce 'RollbackResponse',
149 from HashRef, via { 'Google::Datastore::V1::Datastore::RollbackResponse'->new($_) };
150  
151 declare 'RepeatedRollbackResponse',
152 as ArrayRef[RollbackResponse()];
153  
154 coerce 'RepeatedRollbackResponse',
155 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::RollbackResponse'->new($_) } @$_ ] };
156  
157 declare 'MapStringRollbackResponse',
158 as HashRef[RollbackResponse()];
159  
160 declare 'CommitRequest',
161 as InstanceOf['Google::Datastore::V1::Datastore::CommitRequest'];
162  
163 coerce 'CommitRequest',
164 from HashRef, via { 'Google::Datastore::V1::Datastore::CommitRequest'->new($_) };
165  
166 declare 'RepeatedCommitRequest',
167 as ArrayRef[CommitRequest()];
168  
169 coerce 'RepeatedCommitRequest',
170 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::CommitRequest'->new($_) } @$_ ] };
171  
172 declare 'MapStringCommitRequest',
173 as HashRef[CommitRequest()];
174  
175 declare 'Mode',
176 as (Int | Str);
177  
178 declare 'CommitResponse',
179 as InstanceOf['Google::Datastore::V1::Datastore::CommitResponse'];
180  
181 coerce 'CommitResponse',
182 from HashRef, via { 'Google::Datastore::V1::Datastore::CommitResponse'->new($_) };
183  
184 declare 'RepeatedCommitResponse',
185 as ArrayRef[CommitResponse()];
186  
187 coerce 'RepeatedCommitResponse',
188 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::CommitResponse'->new($_) } @$_ ] };
189  
190 declare 'MapStringCommitResponse',
191 as HashRef[CommitResponse()];
192  
193 declare 'AllocateIdsRequest',
194 as InstanceOf['Google::Datastore::V1::Datastore::AllocateIdsRequest'];
195  
196 coerce 'AllocateIdsRequest',
197 from HashRef, via { 'Google::Datastore::V1::Datastore::AllocateIdsRequest'->new($_) };
198  
199 declare 'RepeatedAllocateIdsRequest',
200 as ArrayRef[AllocateIdsRequest()];
201  
202 coerce 'RepeatedAllocateIdsRequest',
203 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::AllocateIdsRequest'->new($_) } @$_ ] };
204  
205 declare 'MapStringAllocateIdsRequest',
206 as HashRef[AllocateIdsRequest()];
207  
208 declare 'AllocateIdsResponse',
209 as InstanceOf['Google::Datastore::V1::Datastore::AllocateIdsResponse'];
210  
211 coerce 'AllocateIdsResponse',
212 from HashRef, via { 'Google::Datastore::V1::Datastore::AllocateIdsResponse'->new($_) };
213  
214 declare 'RepeatedAllocateIdsResponse',
215 as ArrayRef[AllocateIdsResponse()];
216  
217 coerce 'RepeatedAllocateIdsResponse',
218 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::AllocateIdsResponse'->new($_) } @$_ ] };
219  
220 declare 'MapStringAllocateIdsResponse',
221 as HashRef[AllocateIdsResponse()];
222  
223 declare 'ReserveIdsRequest',
224 as InstanceOf['Google::Datastore::V1::Datastore::ReserveIdsRequest'];
225  
226 coerce 'ReserveIdsRequest',
227 from HashRef, via { 'Google::Datastore::V1::Datastore::ReserveIdsRequest'->new($_) };
228  
229 declare 'RepeatedReserveIdsRequest',
230 as ArrayRef[ReserveIdsRequest()];
231  
232 coerce 'RepeatedReserveIdsRequest',
233 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::ReserveIdsRequest'->new($_) } @$_ ] };
234  
235 declare 'MapStringReserveIdsRequest',
236 as HashRef[ReserveIdsRequest()];
237  
238 declare 'ReserveIdsResponse',
239 as InstanceOf['Google::Datastore::V1::Datastore::ReserveIdsResponse'];
240  
241 coerce 'ReserveIdsResponse',
242 from HashRef, via { 'Google::Datastore::V1::Datastore::ReserveIdsResponse'->new($_) };
243  
244 declare 'RepeatedReserveIdsResponse',
245 as ArrayRef[ReserveIdsResponse()];
246  
247 coerce 'RepeatedReserveIdsResponse',
248 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::ReserveIdsResponse'->new($_) } @$_ ] };
249  
250 declare 'MapStringReserveIdsResponse',
251 as HashRef[ReserveIdsResponse()];
252  
253 declare 'Mutation',
254 as InstanceOf['Google::Datastore::V1::Datastore::Mutation'];
255  
256 coerce 'Mutation',
257 from HashRef, via { 'Google::Datastore::V1::Datastore::Mutation'->new($_) };
258  
259 declare 'RepeatedMutation',
260 as ArrayRef[Mutation()];
261  
262 coerce 'RepeatedMutation',
263 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::Mutation'->new($_) } @$_ ] };
264  
265 declare 'MapStringMutation',
266 as HashRef[Mutation()];
267  
268 declare 'ConflictResolutionStrategy',
269 as (Int | Str);
270  
271 declare 'PropertyTransform',
272 as InstanceOf['Google::Datastore::V1::Datastore::PropertyTransform'];
273  
274 coerce 'PropertyTransform',
275 from HashRef, via { 'Google::Datastore::V1::Datastore::PropertyTransform'->new($_) };
276  
277 declare 'RepeatedPropertyTransform',
278 as ArrayRef[PropertyTransform()];
279  
280 coerce 'RepeatedPropertyTransform',
281 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::PropertyTransform'->new($_) } @$_ ] };
282  
283 declare 'MapStringPropertyTransform',
284 as HashRef[PropertyTransform()];
285  
286 declare 'ServerValue',
287 as (Int | Str);
288  
289 declare 'MutationResult',
290 as InstanceOf['Google::Datastore::V1::Datastore::MutationResult'];
291  
292 coerce 'MutationResult',
293 from HashRef, via { 'Google::Datastore::V1::Datastore::MutationResult'->new($_) };
294  
295 declare 'RepeatedMutationResult',
296 as ArrayRef[MutationResult()];
297  
298 coerce 'RepeatedMutationResult',
299 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::MutationResult'->new($_) } @$_ ] };
300  
301 declare 'MapStringMutationResult',
302 as HashRef[MutationResult()];
303  
304 declare 'PropertyMask',
305 as InstanceOf['Google::Datastore::V1::Datastore::PropertyMask'];
306  
307 coerce 'PropertyMask',
308 from HashRef, via { 'Google::Datastore::V1::Datastore::PropertyMask'->new($_) };
309  
310 declare 'RepeatedPropertyMask',
311 as ArrayRef[PropertyMask()];
312  
313 coerce 'RepeatedPropertyMask',
314 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::PropertyMask'->new($_) } @$_ ] };
315  
316 declare 'MapStringPropertyMask',
317 as HashRef[PropertyMask()];
318  
319 declare 'ReadOptions',
320 as InstanceOf['Google::Datastore::V1::Datastore::ReadOptions'];
321  
322 coerce 'ReadOptions',
323 from HashRef, via { 'Google::Datastore::V1::Datastore::ReadOptions'->new($_) };
324  
325 declare 'RepeatedReadOptions',
326 as ArrayRef[ReadOptions()];
327  
328 coerce 'RepeatedReadOptions',
329 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::ReadOptions'->new($_) } @$_ ] };
330  
331 declare 'MapStringReadOptions',
332 as HashRef[ReadOptions()];
333  
334 declare 'ReadConsistency',
335 as (Int | Str);
336  
337 declare 'TransactionOptions',
338 as InstanceOf['Google::Datastore::V1::Datastore::TransactionOptions'];
339  
340 coerce 'TransactionOptions',
341 from HashRef, via { 'Google::Datastore::V1::Datastore::TransactionOptions'->new($_) };
342  
343 declare 'RepeatedTransactionOptions',
344 as ArrayRef[TransactionOptions()];
345  
346 coerce 'RepeatedTransactionOptions',
347 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::TransactionOptions'->new($_) } @$_ ] };
348  
349 declare 'MapStringTransactionOptions',
350 as HashRef[TransactionOptions()];
351  
352 declare 'ReadWrite',
353 as InstanceOf['Google::Datastore::V1::Datastore::TransactionOptions::ReadWrite'];
354  
355 coerce 'ReadWrite',
356 from HashRef, via { 'Google::Datastore::V1::Datastore::TransactionOptions::ReadWrite'->new($_) };
357  
358 declare 'RepeatedReadWrite',
359 as ArrayRef[ReadWrite()];
360  
361 coerce 'RepeatedReadWrite',
362 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::TransactionOptions::ReadWrite'->new($_) } @$_ ] };
363  
364 declare 'MapStringReadWrite',
365 as HashRef[ReadWrite()];
366  
367 declare 'ReadOnly',
368 as InstanceOf['Google::Datastore::V1::Datastore::TransactionOptions::ReadOnly'];
369  
370 coerce 'ReadOnly',
371 from HashRef, via { 'Google::Datastore::V1::Datastore::TransactionOptions::ReadOnly'->new($_) };
372  
373 declare 'RepeatedReadOnly',
374 as ArrayRef[ReadOnly()];
375  
376 coerce 'RepeatedReadOnly',
377 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::TransactionOptions::ReadOnly'->new($_) } @$_ ] };
378  
379 declare 'MapStringReadOnly',
380 as HashRef[ReadOnly()];
381  
382 declare 'RequestOptions',
383 as InstanceOf['Google::Datastore::V1::Datastore::RequestOptions'];
384  
385 coerce 'RequestOptions',
386 from HashRef, via { 'Google::Datastore::V1::Datastore::RequestOptions'->new($_) };
387  
388 declare 'RepeatedRequestOptions',
389 as ArrayRef[RequestOptions()];
390  
391 coerce 'RepeatedRequestOptions',
392 from ArrayRef[HashRef], via { [ map { 'Google::Datastore::V1::Datastore::RequestOptions'->new($_) } @$_ ] };
393  
394 declare 'MapStringRequestOptions',
395 as HashRef[RequestOptions()];
396  
397 1;
398  
399 __END__