V4/CompletionService/Types.pm untested

filter: Statementstmt 0.0% 0 / 57 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 62 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::Talent::V4::CompletionService::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 'CompleteQueryRequest',
11 as InstanceOf['Google::Cloud::Talent::V4::CompletionService::CompleteQueryRequest'];
12  
13 coerce 'CompleteQueryRequest',
14 from HashRef, via { 'Google::Cloud::Talent::V4::CompletionService::CompleteQueryRequest'->new($_) };
15  
16 declare 'RepeatedCompleteQueryRequest',
17 as ArrayRef[CompleteQueryRequest()];
18  
19 coerce 'RepeatedCompleteQueryRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4::CompletionService::CompleteQueryRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringCompleteQueryRequest',
23 as HashRef[CompleteQueryRequest()];
24  
25 declare 'CompletionScope',
26 as (Int | Str);
27  
28 declare 'CompletionType',
29 as (Int | Str);
30  
31 declare 'CompleteQueryResponse',
32 as InstanceOf['Google::Cloud::Talent::V4::CompletionService::CompleteQueryResponse'];
33  
34 coerce 'CompleteQueryResponse',
35 from HashRef, via { 'Google::Cloud::Talent::V4::CompletionService::CompleteQueryResponse'->new($_) };
36  
37 declare 'RepeatedCompleteQueryResponse',
38 as ArrayRef[CompleteQueryResponse()];
39  
40 coerce 'RepeatedCompleteQueryResponse',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4::CompletionService::CompleteQueryResponse'->new($_) } @$_ ] };
42  
43 declare 'MapStringCompleteQueryResponse',
44 as HashRef[CompleteQueryResponse()];
45  
46 declare 'CompletionResult',
47 as InstanceOf['Google::Cloud::Talent::V4::CompletionService::CompleteQueryResponse::CompletionResult'];
48  
49 coerce 'CompletionResult',
50 from HashRef, via { 'Google::Cloud::Talent::V4::CompletionService::CompleteQueryResponse::CompletionResult'->new($_) };
51  
52 declare 'RepeatedCompletionResult',
53 as ArrayRef[CompletionResult()];
54  
55 coerce 'RepeatedCompletionResult',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4::CompletionService::CompleteQueryResponse::CompletionResult'->new($_) } @$_ ] };
57  
58 declare 'MapStringCompletionResult',
59 as HashRef[CompletionResult()];
60  
61 1;
62  
63 __END__