V3beta1/ResponseMessage/Types.pm untested

filter: Statementstmt 0.0% 0 / 159 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 164 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::ResponseMessage::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 'ResponseMessage',
11 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage'];
12  
13 coerce 'ResponseMessage',
14 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage'->new($_) };
15  
16 declare 'RepeatedResponseMessage',
17 as ArrayRef[ResponseMessage()];
18  
19 coerce 'RepeatedResponseMessage',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage'->new($_) } @$_ ] };
21  
22 declare 'MapStringResponseMessage',
23 as HashRef[ResponseMessage()];
24  
25 declare 'Text',
26 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::Text'];
27  
28 coerce 'Text',
29 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::Text'->new($_) };
30  
31 declare 'RepeatedText',
32 as ArrayRef[Text()];
33  
34 coerce 'RepeatedText',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::Text'->new($_) } @$_ ] };
36  
37 declare 'MapStringText',
38 as HashRef[Text()];
39  
40 declare 'LiveAgentHandoff',
41 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::LiveAgentHandoff'];
42  
43 coerce 'LiveAgentHandoff',
44 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::LiveAgentHandoff'->new($_) };
45  
46 declare 'RepeatedLiveAgentHandoff',
47 as ArrayRef[LiveAgentHandoff()];
48  
49 coerce 'RepeatedLiveAgentHandoff',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::LiveAgentHandoff'->new($_) } @$_ ] };
51  
52 declare 'MapStringLiveAgentHandoff',
53 as HashRef[LiveAgentHandoff()];
54  
55 declare 'ConversationSuccess',
56 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::ConversationSuccess'];
57  
58 coerce 'ConversationSuccess',
59 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::ConversationSuccess'->new($_) };
60  
61 declare 'RepeatedConversationSuccess',
62 as ArrayRef[ConversationSuccess()];
63  
64 coerce 'RepeatedConversationSuccess',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::ConversationSuccess'->new($_) } @$_ ] };
66  
67 declare 'MapStringConversationSuccess',
68 as HashRef[ConversationSuccess()];
69  
70 declare 'OutputAudioText',
71 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::OutputAudioText'];
72  
73 coerce 'OutputAudioText',
74 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::OutputAudioText'->new($_) };
75  
76 declare 'RepeatedOutputAudioText',
77 as ArrayRef[OutputAudioText()];
78  
79 coerce 'RepeatedOutputAudioText',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::OutputAudioText'->new($_) } @$_ ] };
81  
82 declare 'MapStringOutputAudioText',
83 as HashRef[OutputAudioText()];
84  
85 declare 'EndInteraction',
86 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::EndInteraction'];
87  
88 coerce 'EndInteraction',
89 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::EndInteraction'->new($_) };
90  
91 declare 'RepeatedEndInteraction',
92 as ArrayRef[EndInteraction()];
93  
94 coerce 'RepeatedEndInteraction',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::EndInteraction'->new($_) } @$_ ] };
96  
97 declare 'MapStringEndInteraction',
98 as HashRef[EndInteraction()];
99  
100 declare 'PlayAudio',
101 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::PlayAudio'];
102  
103 coerce 'PlayAudio',
104 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::PlayAudio'->new($_) };
105  
106 declare 'RepeatedPlayAudio',
107 as ArrayRef[PlayAudio()];
108  
109 coerce 'RepeatedPlayAudio',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::PlayAudio'->new($_) } @$_ ] };
111  
112 declare 'MapStringPlayAudio',
113 as HashRef[PlayAudio()];
114  
115 declare 'MixedAudio',
116 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::MixedAudio'];
117  
118 coerce 'MixedAudio',
119 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::MixedAudio'->new($_) };
120  
121 declare 'RepeatedMixedAudio',
122 as ArrayRef[MixedAudio()];
123  
124 coerce 'RepeatedMixedAudio',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::MixedAudio'->new($_) } @$_ ] };
126  
127 declare 'MapStringMixedAudio',
128 as HashRef[MixedAudio()];
129  
130 declare 'Segment',
131 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::MixedAudio::Segment'];
132  
133 coerce 'Segment',
134 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::MixedAudio::Segment'->new($_) };
135  
136 declare 'RepeatedSegment',
137 as ArrayRef[Segment()];
138  
139 coerce 'RepeatedSegment',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::MixedAudio::Segment'->new($_) } @$_ ] };
141  
142 declare 'MapStringSegment',
143 as HashRef[Segment()];
144  
145 declare 'TelephonyTransferCall',
146 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::TelephonyTransferCall'];
147  
148 coerce 'TelephonyTransferCall',
149 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::TelephonyTransferCall'->new($_) };
150  
151 declare 'RepeatedTelephonyTransferCall',
152 as ArrayRef[TelephonyTransferCall()];
153  
154 coerce 'RepeatedTelephonyTransferCall',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::TelephonyTransferCall'->new($_) } @$_ ] };
156  
157 declare 'MapStringTelephonyTransferCall',
158 as HashRef[TelephonyTransferCall()];
159  
160 declare 'KnowledgeInfoCard',
161 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::KnowledgeInfoCard'];
162  
163 coerce 'KnowledgeInfoCard',
164 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::KnowledgeInfoCard'->new($_) };
165  
166 declare 'RepeatedKnowledgeInfoCard',
167 as ArrayRef[KnowledgeInfoCard()];
168  
169 coerce 'RepeatedKnowledgeInfoCard',
170 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::ResponseMessage::ResponseMessage::KnowledgeInfoCard'->new($_) } @$_ ] };
171  
172 declare 'MapStringKnowledgeInfoCard',
173 as HashRef[KnowledgeInfoCard()];
174  
175 1;
176  
177 __END__