V2alpha/UserEventService/Types.pm untested

filter: Statementstmt 0.0% 0 / 82 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 87 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::Retail::V2alpha::UserEventService::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 'WriteUserEventRequest',
11 as InstanceOf['Google::Cloud::Retail::V2alpha::UserEventService::WriteUserEventRequest'];
12  
13 coerce 'WriteUserEventRequest',
14 from HashRef, via { 'Google::Cloud::Retail::V2alpha::UserEventService::WriteUserEventRequest'->new($_) };
15  
16 declare 'RepeatedWriteUserEventRequest',
17 as ArrayRef[WriteUserEventRequest()];
18  
19 coerce 'RepeatedWriteUserEventRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::UserEventService::WriteUserEventRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringWriteUserEventRequest',
23 as HashRef[WriteUserEventRequest()];
24  
25 declare 'CollectUserEventRequest',
26 as InstanceOf['Google::Cloud::Retail::V2alpha::UserEventService::CollectUserEventRequest'];
27  
28 coerce 'CollectUserEventRequest',
29 from HashRef, via { 'Google::Cloud::Retail::V2alpha::UserEventService::CollectUserEventRequest'->new($_) };
30  
31 declare 'RepeatedCollectUserEventRequest',
32 as ArrayRef[CollectUserEventRequest()];
33  
34 coerce 'RepeatedCollectUserEventRequest',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::UserEventService::CollectUserEventRequest'->new($_) } @$_ ] };
36  
37 declare 'MapStringCollectUserEventRequest',
38 as HashRef[CollectUserEventRequest()];
39  
40 declare 'RejoinUserEventsRequest',
41 as InstanceOf['Google::Cloud::Retail::V2alpha::UserEventService::RejoinUserEventsRequest'];
42  
43 coerce 'RejoinUserEventsRequest',
44 from HashRef, via { 'Google::Cloud::Retail::V2alpha::UserEventService::RejoinUserEventsRequest'->new($_) };
45  
46 declare 'RepeatedRejoinUserEventsRequest',
47 as ArrayRef[RejoinUserEventsRequest()];
48  
49 coerce 'RepeatedRejoinUserEventsRequest',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::UserEventService::RejoinUserEventsRequest'->new($_) } @$_ ] };
51  
52 declare 'MapStringRejoinUserEventsRequest',
53 as HashRef[RejoinUserEventsRequest()];
54  
55 declare 'UserEventRejoinScope',
56 as (Int | Str);
57  
58 declare 'RejoinUserEventsResponse',
59 as InstanceOf['Google::Cloud::Retail::V2alpha::UserEventService::RejoinUserEventsResponse'];
60  
61 coerce 'RejoinUserEventsResponse',
62 from HashRef, via { 'Google::Cloud::Retail::V2alpha::UserEventService::RejoinUserEventsResponse'->new($_) };
63  
64 declare 'RepeatedRejoinUserEventsResponse',
65 as ArrayRef[RejoinUserEventsResponse()];
66  
67 coerce 'RepeatedRejoinUserEventsResponse',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::UserEventService::RejoinUserEventsResponse'->new($_) } @$_ ] };
69  
70 declare 'MapStringRejoinUserEventsResponse',
71 as HashRef[RejoinUserEventsResponse()];
72  
73 declare 'RejoinUserEventsMetadata',
74 as InstanceOf['Google::Cloud::Retail::V2alpha::UserEventService::RejoinUserEventsMetadata'];
75  
76 coerce 'RejoinUserEventsMetadata',
77 from HashRef, via { 'Google::Cloud::Retail::V2alpha::UserEventService::RejoinUserEventsMetadata'->new($_) };
78  
79 declare 'RepeatedRejoinUserEventsMetadata',
80 as ArrayRef[RejoinUserEventsMetadata()];
81  
82 coerce 'RepeatedRejoinUserEventsMetadata',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::UserEventService::RejoinUserEventsMetadata'->new($_) } @$_ ] };
84  
85 declare 'MapStringRejoinUserEventsMetadata',
86 as HashRef[RejoinUserEventsMetadata()];
87  
88 1;
89  
90 __END__