| 1 | package Google::Cloud::Dialogflow::Cx::V3::Trace::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 'OutputState', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'TraceBlock', | ||
| 14 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Trace::TraceBlock']; | ||
| 15 | |||
| 16 | coerce 'TraceBlock', | ||
| 17 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Trace::TraceBlock'->new($_) }; | ||
| 18 | |||
| 19 | declare 'RepeatedTraceBlock', | ||
| 20 | as ArrayRef[TraceBlock()]; | ||
| 21 | |||
| 22 | coerce 'RepeatedTraceBlock', | ||
| 23 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Trace::TraceBlock'->new($_) } @$_ ] }; | ||
| 24 | |||
| 25 | declare 'MapStringTraceBlock', | ||
| 26 | as HashRef[TraceBlock()]; | ||
| 27 | |||
| 28 | declare 'SpeechProcessingMetadata', | ||
| 29 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Trace::SpeechProcessingMetadata']; | ||
| 30 | |||
| 31 | coerce 'SpeechProcessingMetadata', | ||
| 32 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Trace::SpeechProcessingMetadata'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedSpeechProcessingMetadata', | ||
| 35 | as ArrayRef[SpeechProcessingMetadata()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedSpeechProcessingMetadata', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Trace::SpeechProcessingMetadata'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringSpeechProcessingMetadata', | ||
| 41 | as HashRef[SpeechProcessingMetadata()]; | ||
| 42 | |||
| 43 | declare 'PlaybookTraceMetadata', | ||
| 44 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookTraceMetadata']; | ||
| 45 | |||
| 46 | coerce 'PlaybookTraceMetadata', | ||
| 47 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookTraceMetadata'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedPlaybookTraceMetadata', | ||
| 50 | as ArrayRef[PlaybookTraceMetadata()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedPlaybookTraceMetadata', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookTraceMetadata'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringPlaybookTraceMetadata', | ||
| 56 | as HashRef[PlaybookTraceMetadata()]; | ||
| 57 | |||
| 58 | declare 'FlowTraceMetadata', | ||
| 59 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Trace::FlowTraceMetadata']; | ||
| 60 | |||
| 61 | coerce 'FlowTraceMetadata', | ||
| 62 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Trace::FlowTraceMetadata'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedFlowTraceMetadata', | ||
| 65 | as ArrayRef[FlowTraceMetadata()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedFlowTraceMetadata', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Trace::FlowTraceMetadata'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringFlowTraceMetadata', | ||
| 71 | as HashRef[FlowTraceMetadata()]; | ||
| 72 | |||
| 73 | declare 'PlaybookInput', | ||
| 74 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookInput']; | ||
| 75 | |||
| 76 | coerce 'PlaybookInput', | ||
| 77 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookInput'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedPlaybookInput', | ||
| 80 | as ArrayRef[PlaybookInput()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedPlaybookInput', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookInput'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringPlaybookInput', | ||
| 86 | as HashRef[PlaybookInput()]; | ||
| 87 | |||
| 88 | declare 'PlaybookOutput', | ||
| 89 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookOutput']; | ||
| 90 | |||
| 91 | coerce 'PlaybookOutput', | ||
| 92 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookOutput'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedPlaybookOutput', | ||
| 95 | as ArrayRef[PlaybookOutput()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedPlaybookOutput', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookOutput'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringPlaybookOutput', | ||
| 101 | as HashRef[PlaybookOutput()]; | ||
| 102 | |||
| 103 | declare 'Action', | ||
| 104 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Trace::Action']; | ||
| 105 | |||
| 106 | coerce 'Action', | ||
| 107 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Trace::Action'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedAction', | ||
| 110 | as ArrayRef[Action()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedAction', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Trace::Action'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringAction', | ||
| 116 | as HashRef[Action()]; | ||
| 117 | |||
| 118 | declare 'UserUtterance', | ||
| 119 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Trace::UserUtterance']; | ||
| 120 | |||
| 121 | coerce 'UserUtterance', | ||
| 122 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Trace::UserUtterance'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedUserUtterance', | ||
| 125 | as ArrayRef[UserUtterance()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedUserUtterance', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Trace::UserUtterance'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringUserUtterance', | ||
| 131 | as HashRef[UserUtterance()]; | ||
| 132 | |||
| 133 | declare 'AgentUtterance', | ||
| 134 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Trace::AgentUtterance']; | ||
| 135 | |||
| 136 | coerce 'AgentUtterance', | ||
| 137 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Trace::AgentUtterance'->new($_) }; | ||
| 138 | |||
| 139 | declare 'RepeatedAgentUtterance', | ||
| 140 | as ArrayRef[AgentUtterance()]; | ||
| 141 | |||
| 142 | coerce 'RepeatedAgentUtterance', | ||
| 143 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Trace::AgentUtterance'->new($_) } @$_ ] }; | ||
| 144 | |||
| 145 | declare 'MapStringAgentUtterance', | ||
| 146 | as HashRef[AgentUtterance()]; | ||
| 147 | |||
| 148 | declare 'ToolUse', | ||
| 149 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Trace::ToolUse']; | ||
| 150 | |||
| 151 | coerce 'ToolUse', | ||
| 152 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Trace::ToolUse'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedToolUse', | ||
| 155 | as ArrayRef[ToolUse()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedToolUse', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Trace::ToolUse'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringToolUse', | ||
| 161 | as HashRef[ToolUse()]; | ||
| 162 | |||
| 163 | declare 'PlaybookInvocation', | ||
| 164 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookInvocation']; | ||
| 165 | |||
| 166 | coerce 'PlaybookInvocation', | ||
| 167 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookInvocation'->new($_) }; | ||
| 168 | |||
| 169 | declare 'RepeatedPlaybookInvocation', | ||
| 170 | as ArrayRef[PlaybookInvocation()]; | ||
| 171 | |||
| 172 | coerce 'RepeatedPlaybookInvocation', | ||
| 173 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookInvocation'->new($_) } @$_ ] }; | ||
| 174 | |||
| 175 | declare 'MapStringPlaybookInvocation', | ||
| 176 | as HashRef[PlaybookInvocation()]; | ||
| 177 | |||
| 178 | declare 'FlowInvocation', | ||
| 179 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Trace::FlowInvocation']; | ||
| 180 | |||
| 181 | coerce 'FlowInvocation', | ||
| 182 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Trace::FlowInvocation'->new($_) }; | ||
| 183 | |||
| 184 | declare 'RepeatedFlowInvocation', | ||
| 185 | as ArrayRef[FlowInvocation()]; | ||
| 186 | |||
| 187 | coerce 'RepeatedFlowInvocation', | ||
| 188 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Trace::FlowInvocation'->new($_) } @$_ ] }; | ||
| 189 | |||
| 190 | declare 'MapStringFlowInvocation', | ||
| 191 | as HashRef[FlowInvocation()]; | ||
| 192 | |||
| 193 | declare 'PlaybookTransition', | ||
| 194 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookTransition']; | ||
| 195 | |||
| 196 | coerce 'PlaybookTransition', | ||
| 197 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookTransition'->new($_) }; | ||
| 198 | |||
| 199 | declare 'RepeatedPlaybookTransition', | ||
| 200 | as ArrayRef[PlaybookTransition()]; | ||
| 201 | |||
| 202 | coerce 'RepeatedPlaybookTransition', | ||
| 203 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookTransition'->new($_) } @$_ ] }; | ||
| 204 | |||
| 205 | declare 'MapStringPlaybookTransition', | ||
| 206 | as HashRef[PlaybookTransition()]; | ||
| 207 | |||
| 208 | declare 'FlowTransition', | ||
| 209 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Trace::FlowTransition']; | ||
| 210 | |||
| 211 | coerce 'FlowTransition', | ||
| 212 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Trace::FlowTransition'->new($_) }; | ||
| 213 | |||
| 214 | declare 'RepeatedFlowTransition', | ||
| 215 | as ArrayRef[FlowTransition()]; | ||
| 216 | |||
| 217 | coerce 'RepeatedFlowTransition', | ||
| 218 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Trace::FlowTransition'->new($_) } @$_ ] }; | ||
| 219 | |||
| 220 | declare 'MapStringFlowTransition', | ||
| 221 | as HashRef[FlowTransition()]; | ||
| 222 | |||
| 223 | 1; | ||
| 224 | |||
| 225 | __END__ |