V3beta1/Example/Types.pm untested

filter: Statementstmt 0.0% 0 / 107 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 112 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::Cx::V3beta1::Example::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 'CreateExampleRequest',
11 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Example::CreateExampleRequest'];
12  
13 coerce 'CreateExampleRequest',
14 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Example::CreateExampleRequest'->new($_) };
15  
16 declare 'RepeatedCreateExampleRequest',
17 as ArrayRef[CreateExampleRequest()];
18  
19 coerce 'RepeatedCreateExampleRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Example::CreateExampleRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringCreateExampleRequest',
23 as HashRef[CreateExampleRequest()];
24  
25 declare 'DeleteExampleRequest',
26 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Example::DeleteExampleRequest'];
27  
28 coerce 'DeleteExampleRequest',
29 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Example::DeleteExampleRequest'->new($_) };
30  
31 declare 'RepeatedDeleteExampleRequest',
32 as ArrayRef[DeleteExampleRequest()];
33  
34 coerce 'RepeatedDeleteExampleRequest',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Example::DeleteExampleRequest'->new($_) } @$_ ] };
36  
37 declare 'MapStringDeleteExampleRequest',
38 as HashRef[DeleteExampleRequest()];
39  
40 declare 'ListExamplesRequest',
41 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Example::ListExamplesRequest'];
42  
43 coerce 'ListExamplesRequest',
44 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Example::ListExamplesRequest'->new($_) };
45  
46 declare 'RepeatedListExamplesRequest',
47 as ArrayRef[ListExamplesRequest()];
48  
49 coerce 'RepeatedListExamplesRequest',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Example::ListExamplesRequest'->new($_) } @$_ ] };
51  
52 declare 'MapStringListExamplesRequest',
53 as HashRef[ListExamplesRequest()];
54  
55 declare 'ListExamplesResponse',
56 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Example::ListExamplesResponse'];
57  
58 coerce 'ListExamplesResponse',
59 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Example::ListExamplesResponse'->new($_) };
60  
61 declare 'RepeatedListExamplesResponse',
62 as ArrayRef[ListExamplesResponse()];
63  
64 coerce 'RepeatedListExamplesResponse',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Example::ListExamplesResponse'->new($_) } @$_ ] };
66  
67 declare 'MapStringListExamplesResponse',
68 as HashRef[ListExamplesResponse()];
69  
70 declare 'GetExampleRequest',
71 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Example::GetExampleRequest'];
72  
73 coerce 'GetExampleRequest',
74 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Example::GetExampleRequest'->new($_) };
75  
76 declare 'RepeatedGetExampleRequest',
77 as ArrayRef[GetExampleRequest()];
78  
79 coerce 'RepeatedGetExampleRequest',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Example::GetExampleRequest'->new($_) } @$_ ] };
81  
82 declare 'MapStringGetExampleRequest',
83 as HashRef[GetExampleRequest()];
84  
85 declare 'UpdateExampleRequest',
86 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Example::UpdateExampleRequest'];
87  
88 coerce 'UpdateExampleRequest',
89 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Example::UpdateExampleRequest'->new($_) };
90  
91 declare 'RepeatedUpdateExampleRequest',
92 as ArrayRef[UpdateExampleRequest()];
93  
94 coerce 'RepeatedUpdateExampleRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Example::UpdateExampleRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringUpdateExampleRequest',
98 as HashRef[UpdateExampleRequest()];
99  
100 declare 'Example',
101 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Example::Example'];
102  
103 coerce 'Example',
104 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Example::Example'->new($_) };
105  
106 declare 'RepeatedExample',
107 as ArrayRef[Example()];
108  
109 coerce 'RepeatedExample',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Example::Example'->new($_) } @$_ ] };
111  
112 declare 'MapStringExample',
113 as HashRef[Example()];
114  
115 1;
116  
117 __END__