V2beta1/Context/Types.pm untested

filter: Statementstmt 0.0% 0 / 120 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 125 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::Context::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 'Context',
11 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Context::Context'];
12  
13 coerce 'Context',
14 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Context::Context'->new($_) };
15  
16 declare 'RepeatedContext',
17 as ArrayRef[Context()];
18  
19 coerce 'RepeatedContext',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Context::Context'->new($_) } @$_ ] };
21  
22 declare 'MapStringContext',
23 as HashRef[Context()];
24  
25 declare 'ListContextsRequest',
26 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Context::ListContextsRequest'];
27  
28 coerce 'ListContextsRequest',
29 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Context::ListContextsRequest'->new($_) };
30  
31 declare 'RepeatedListContextsRequest',
32 as ArrayRef[ListContextsRequest()];
33  
34 coerce 'RepeatedListContextsRequest',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Context::ListContextsRequest'->new($_) } @$_ ] };
36  
37 declare 'MapStringListContextsRequest',
38 as HashRef[ListContextsRequest()];
39  
40 declare 'ListContextsResponse',
41 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Context::ListContextsResponse'];
42  
43 coerce 'ListContextsResponse',
44 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Context::ListContextsResponse'->new($_) };
45  
46 declare 'RepeatedListContextsResponse',
47 as ArrayRef[ListContextsResponse()];
48  
49 coerce 'RepeatedListContextsResponse',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Context::ListContextsResponse'->new($_) } @$_ ] };
51  
52 declare 'MapStringListContextsResponse',
53 as HashRef[ListContextsResponse()];
54  
55 declare 'GetContextRequest',
56 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Context::GetContextRequest'];
57  
58 coerce 'GetContextRequest',
59 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Context::GetContextRequest'->new($_) };
60  
61 declare 'RepeatedGetContextRequest',
62 as ArrayRef[GetContextRequest()];
63  
64 coerce 'RepeatedGetContextRequest',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Context::GetContextRequest'->new($_) } @$_ ] };
66  
67 declare 'MapStringGetContextRequest',
68 as HashRef[GetContextRequest()];
69  
70 declare 'CreateContextRequest',
71 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Context::CreateContextRequest'];
72  
73 coerce 'CreateContextRequest',
74 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Context::CreateContextRequest'->new($_) };
75  
76 declare 'RepeatedCreateContextRequest',
77 as ArrayRef[CreateContextRequest()];
78  
79 coerce 'RepeatedCreateContextRequest',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Context::CreateContextRequest'->new($_) } @$_ ] };
81  
82 declare 'MapStringCreateContextRequest',
83 as HashRef[CreateContextRequest()];
84  
85 declare 'UpdateContextRequest',
86 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Context::UpdateContextRequest'];
87  
88 coerce 'UpdateContextRequest',
89 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Context::UpdateContextRequest'->new($_) };
90  
91 declare 'RepeatedUpdateContextRequest',
92 as ArrayRef[UpdateContextRequest()];
93  
94 coerce 'RepeatedUpdateContextRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Context::UpdateContextRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringUpdateContextRequest',
98 as HashRef[UpdateContextRequest()];
99  
100 declare 'DeleteContextRequest',
101 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Context::DeleteContextRequest'];
102  
103 coerce 'DeleteContextRequest',
104 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Context::DeleteContextRequest'->new($_) };
105  
106 declare 'RepeatedDeleteContextRequest',
107 as ArrayRef[DeleteContextRequest()];
108  
109 coerce 'RepeatedDeleteContextRequest',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Context::DeleteContextRequest'->new($_) } @$_ ] };
111  
112 declare 'MapStringDeleteContextRequest',
113 as HashRef[DeleteContextRequest()];
114  
115 declare 'DeleteAllContextsRequest',
116 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Context::DeleteAllContextsRequest'];
117  
118 coerce 'DeleteAllContextsRequest',
119 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Context::DeleteAllContextsRequest'->new($_) };
120  
121 declare 'RepeatedDeleteAllContextsRequest',
122 as ArrayRef[DeleteAllContextsRequest()];
123  
124 coerce 'RepeatedDeleteAllContextsRequest',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Context::DeleteAllContextsRequest'->new($_) } @$_ ] };
126  
127 declare 'MapStringDeleteAllContextsRequest',
128 as HashRef[DeleteAllContextsRequest()];
129  
130 1;
131  
132 __END__