| 1 | package Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::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 'TestResult', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'TestCase', | ||
| 14 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TestCase']; | ||
| 15 | |||
| 16 | coerce 'TestCase', | ||
| 17 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TestCase'->new($_) }; | ||
| 18 | |||
| 19 | declare 'RepeatedTestCase', | ||
| 20 | as ArrayRef[TestCase()]; | ||
| 21 | |||
| 22 | coerce 'RepeatedTestCase', | ||
| 23 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TestCase'->new($_) } @$_ ] }; | ||
| 24 | |||
| 25 | declare 'MapStringTestCase', | ||
| 26 | as HashRef[TestCase()]; | ||
| 27 | |||
| 28 | declare 'TestCaseResult', | ||
| 29 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TestCaseResult']; | ||
| 30 | |||
| 31 | coerce 'TestCaseResult', | ||
| 32 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TestCaseResult'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedTestCaseResult', | ||
| 35 | as ArrayRef[TestCaseResult()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedTestCaseResult', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TestCaseResult'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringTestCaseResult', | ||
| 41 | as HashRef[TestCaseResult()]; | ||
| 42 | |||
| 43 | declare 'TestConfig', | ||
| 44 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TestConfig']; | ||
| 45 | |||
| 46 | coerce 'TestConfig', | ||
| 47 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TestConfig'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedTestConfig', | ||
| 50 | as ArrayRef[TestConfig()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedTestConfig', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TestConfig'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringTestConfig', | ||
| 56 | as HashRef[TestConfig()]; | ||
| 57 | |||
| 58 | declare 'ConversationTurn', | ||
| 59 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ConversationTurn']; | ||
| 60 | |||
| 61 | coerce 'ConversationTurn', | ||
| 62 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ConversationTurn'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedConversationTurn', | ||
| 65 | as ArrayRef[ConversationTurn()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedConversationTurn', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ConversationTurn'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringConversationTurn', | ||
| 71 | as HashRef[ConversationTurn()]; | ||
| 72 | |||
| 73 | declare 'UserInput', | ||
| 74 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ConversationTurn::UserInput']; | ||
| 75 | |||
| 76 | coerce 'UserInput', | ||
| 77 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ConversationTurn::UserInput'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedUserInput', | ||
| 80 | as ArrayRef[UserInput()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedUserInput', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ConversationTurn::UserInput'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringUserInput', | ||
| 86 | as HashRef[UserInput()]; | ||
| 87 | |||
| 88 | declare 'VirtualAgentOutput', | ||
| 89 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ConversationTurn::VirtualAgentOutput']; | ||
| 90 | |||
| 91 | coerce 'VirtualAgentOutput', | ||
| 92 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ConversationTurn::VirtualAgentOutput'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedVirtualAgentOutput', | ||
| 95 | as ArrayRef[VirtualAgentOutput()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedVirtualAgentOutput', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ConversationTurn::VirtualAgentOutput'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringVirtualAgentOutput', | ||
| 101 | as HashRef[VirtualAgentOutput()]; | ||
| 102 | |||
| 103 | declare 'TestRunDifference', | ||
| 104 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TestRunDifference']; | ||
| 105 | |||
| 106 | coerce 'TestRunDifference', | ||
| 107 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TestRunDifference'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedTestRunDifference', | ||
| 110 | as ArrayRef[TestRunDifference()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedTestRunDifference', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TestRunDifference'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringTestRunDifference', | ||
| 116 | as HashRef[TestRunDifference()]; | ||
| 117 | |||
| 118 | declare 'DiffType', | ||
| 119 | as (Int | Str); | ||
| 120 | |||
| 121 | declare 'TransitionCoverage', | ||
| 122 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TransitionCoverage']; | ||
| 123 | |||
| 124 | coerce 'TransitionCoverage', | ||
| 125 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TransitionCoverage'->new($_) }; | ||
| 126 | |||
| 127 | declare 'RepeatedTransitionCoverage', | ||
| 128 | as ArrayRef[TransitionCoverage()]; | ||
| 129 | |||
| 130 | coerce 'RepeatedTransitionCoverage', | ||
| 131 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TransitionCoverage'->new($_) } @$_ ] }; | ||
| 132 | |||
| 133 | declare 'MapStringTransitionCoverage', | ||
| 134 | as HashRef[TransitionCoverage()]; | ||
| 135 | |||
| 136 | declare 'TransitionNode', | ||
| 137 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TransitionCoverage::TransitionNode']; | ||
| 138 | |||
| 139 | coerce 'TransitionNode', | ||
| 140 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TransitionCoverage::TransitionNode'->new($_) }; | ||
| 141 | |||
| 142 | declare 'RepeatedTransitionNode', | ||
| 143 | as ArrayRef[TransitionNode()]; | ||
| 144 | |||
| 145 | coerce 'RepeatedTransitionNode', | ||
| 146 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TransitionCoverage::TransitionNode'->new($_) } @$_ ] }; | ||
| 147 | |||
| 148 | declare 'MapStringTransitionNode', | ||
| 149 | as HashRef[TransitionNode()]; | ||
| 150 | |||
| 151 | declare 'Transition', | ||
| 152 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TransitionCoverage::Transition']; | ||
| 153 | |||
| 154 | coerce 'Transition', | ||
| 155 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TransitionCoverage::Transition'->new($_) }; | ||
| 156 | |||
| 157 | declare 'RepeatedTransition', | ||
| 158 | as ArrayRef[Transition()]; | ||
| 159 | |||
| 160 | coerce 'RepeatedTransition', | ||
| 161 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TransitionCoverage::Transition'->new($_) } @$_ ] }; | ||
| 162 | |||
| 163 | declare 'MapStringTransition', | ||
| 164 | as HashRef[Transition()]; | ||
| 165 | |||
| 166 | declare 'TransitionRouteGroupCoverage', | ||
| 167 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TransitionRouteGroupCoverage']; | ||
| 168 | |||
| 169 | coerce 'TransitionRouteGroupCoverage', | ||
| 170 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TransitionRouteGroupCoverage'->new($_) }; | ||
| 171 | |||
| 172 | declare 'RepeatedTransitionRouteGroupCoverage', | ||
| 173 | as ArrayRef[TransitionRouteGroupCoverage()]; | ||
| 174 | |||
| 175 | coerce 'RepeatedTransitionRouteGroupCoverage', | ||
| 176 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TransitionRouteGroupCoverage'->new($_) } @$_ ] }; | ||
| 177 | |||
| 178 | declare 'MapStringTransitionRouteGroupCoverage', | ||
| 179 | as HashRef[TransitionRouteGroupCoverage()]; | ||
| 180 | |||
| 181 | declare 'Coverage', | ||
| 182 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TransitionRouteGroupCoverage::Coverage']; | ||
| 183 | |||
| 184 | coerce 'Coverage', | ||
| 185 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TransitionRouteGroupCoverage::Coverage'->new($_) }; | ||
| 186 | |||
| 187 | declare 'RepeatedCoverage', | ||
| 188 | as ArrayRef[Coverage()]; | ||
| 189 | |||
| 190 | coerce 'RepeatedCoverage', | ||
| 191 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TransitionRouteGroupCoverage::Coverage'->new($_) } @$_ ] }; | ||
| 192 | |||
| 193 | declare 'MapStringCoverage', | ||
| 194 | as HashRef[Coverage()]; | ||
| 195 | |||
| 196 | declare 'Transition', | ||
| 197 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TransitionRouteGroupCoverage::Coverage::Transition']; | ||
| 198 | |||
| 199 | coerce 'Transition', | ||
| 200 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TransitionRouteGroupCoverage::Coverage::Transition'->new($_) }; | ||
| 201 | |||
| 202 | declare 'RepeatedTransition', | ||
| 203 | as ArrayRef[Transition()]; | ||
| 204 | |||
| 205 | coerce 'RepeatedTransition', | ||
| 206 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TransitionRouteGroupCoverage::Coverage::Transition'->new($_) } @$_ ] }; | ||
| 207 | |||
| 208 | declare 'MapStringTransition', | ||
| 209 | as HashRef[Transition()]; | ||
| 210 | |||
| 211 | declare 'IntentCoverage', | ||
| 212 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::IntentCoverage']; | ||
| 213 | |||
| 214 | coerce 'IntentCoverage', | ||
| 215 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::IntentCoverage'->new($_) }; | ||
| 216 | |||
| 217 | declare 'RepeatedIntentCoverage', | ||
| 218 | as ArrayRef[IntentCoverage()]; | ||
| 219 | |||
| 220 | coerce 'RepeatedIntentCoverage', | ||
| 221 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::IntentCoverage'->new($_) } @$_ ] }; | ||
| 222 | |||
| 223 | declare 'MapStringIntentCoverage', | ||
| 224 | as HashRef[IntentCoverage()]; | ||
| 225 | |||
| 226 | declare 'Intent', | ||
| 227 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::IntentCoverage::Intent']; | ||
| 228 | |||
| 229 | coerce 'Intent', | ||
| 230 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::IntentCoverage::Intent'->new($_) }; | ||
| 231 | |||
| 232 | declare 'RepeatedIntent', | ||
| 233 | as ArrayRef[Intent()]; | ||
| 234 | |||
| 235 | coerce 'RepeatedIntent', | ||
| 236 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::IntentCoverage::Intent'->new($_) } @$_ ] }; | ||
| 237 | |||
| 238 | declare 'MapStringIntent', | ||
| 239 | as HashRef[Intent()]; | ||
| 240 | |||
| 241 | declare 'CalculateCoverageRequest', | ||
| 242 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::CalculateCoverageRequest']; | ||
| 243 | |||
| 244 | coerce 'CalculateCoverageRequest', | ||
| 245 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::CalculateCoverageRequest'->new($_) }; | ||
| 246 | |||
| 247 | declare 'RepeatedCalculateCoverageRequest', | ||
| 248 | as ArrayRef[CalculateCoverageRequest()]; | ||
| 249 | |||
| 250 | coerce 'RepeatedCalculateCoverageRequest', | ||
| 251 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::CalculateCoverageRequest'->new($_) } @$_ ] }; | ||
| 252 | |||
| 253 | declare 'MapStringCalculateCoverageRequest', | ||
| 254 | as HashRef[CalculateCoverageRequest()]; | ||
| 255 | |||
| 256 | declare 'CoverageType', | ||
| 257 | as (Int | Str); | ||
| 258 | |||
| 259 | declare 'CalculateCoverageResponse', | ||
| 260 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::CalculateCoverageResponse']; | ||
| 261 | |||
| 262 | coerce 'CalculateCoverageResponse', | ||
| 263 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::CalculateCoverageResponse'->new($_) }; | ||
| 264 | |||
| 265 | declare 'RepeatedCalculateCoverageResponse', | ||
| 266 | as ArrayRef[CalculateCoverageResponse()]; | ||
| 267 | |||
| 268 | coerce 'RepeatedCalculateCoverageResponse', | ||
| 269 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::CalculateCoverageResponse'->new($_) } @$_ ] }; | ||
| 270 | |||
| 271 | declare 'MapStringCalculateCoverageResponse', | ||
| 272 | as HashRef[CalculateCoverageResponse()]; | ||
| 273 | |||
| 274 | declare 'ListTestCasesRequest', | ||
| 275 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ListTestCasesRequest']; | ||
| 276 | |||
| 277 | coerce 'ListTestCasesRequest', | ||
| 278 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ListTestCasesRequest'->new($_) }; | ||
| 279 | |||
| 280 | declare 'RepeatedListTestCasesRequest', | ||
| 281 | as ArrayRef[ListTestCasesRequest()]; | ||
| 282 | |||
| 283 | coerce 'RepeatedListTestCasesRequest', | ||
| 284 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ListTestCasesRequest'->new($_) } @$_ ] }; | ||
| 285 | |||
| 286 | declare 'MapStringListTestCasesRequest', | ||
| 287 | as HashRef[ListTestCasesRequest()]; | ||
| 288 | |||
| 289 | declare 'TestCaseView', | ||
| 290 | as (Int | Str); | ||
| 291 | |||
| 292 | declare 'ListTestCasesResponse', | ||
| 293 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ListTestCasesResponse']; | ||
| 294 | |||
| 295 | coerce 'ListTestCasesResponse', | ||
| 296 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ListTestCasesResponse'->new($_) }; | ||
| 297 | |||
| 298 | declare 'RepeatedListTestCasesResponse', | ||
| 299 | as ArrayRef[ListTestCasesResponse()]; | ||
| 300 | |||
| 301 | coerce 'RepeatedListTestCasesResponse', | ||
| 302 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ListTestCasesResponse'->new($_) } @$_ ] }; | ||
| 303 | |||
| 304 | declare 'MapStringListTestCasesResponse', | ||
| 305 | as HashRef[ListTestCasesResponse()]; | ||
| 306 | |||
| 307 | declare 'BatchDeleteTestCasesRequest', | ||
| 308 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::BatchDeleteTestCasesRequest']; | ||
| 309 | |||
| 310 | coerce 'BatchDeleteTestCasesRequest', | ||
| 311 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::BatchDeleteTestCasesRequest'->new($_) }; | ||
| 312 | |||
| 313 | declare 'RepeatedBatchDeleteTestCasesRequest', | ||
| 314 | as ArrayRef[BatchDeleteTestCasesRequest()]; | ||
| 315 | |||
| 316 | coerce 'RepeatedBatchDeleteTestCasesRequest', | ||
| 317 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::BatchDeleteTestCasesRequest'->new($_) } @$_ ] }; | ||
| 318 | |||
| 319 | declare 'MapStringBatchDeleteTestCasesRequest', | ||
| 320 | as HashRef[BatchDeleteTestCasesRequest()]; | ||
| 321 | |||
| 322 | declare 'CreateTestCaseRequest', | ||
| 323 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::CreateTestCaseRequest']; | ||
| 324 | |||
| 325 | coerce 'CreateTestCaseRequest', | ||
| 326 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::CreateTestCaseRequest'->new($_) }; | ||
| 327 | |||
| 328 | declare 'RepeatedCreateTestCaseRequest', | ||
| 329 | as ArrayRef[CreateTestCaseRequest()]; | ||
| 330 | |||
| 331 | coerce 'RepeatedCreateTestCaseRequest', | ||
| 332 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::CreateTestCaseRequest'->new($_) } @$_ ] }; | ||
| 333 | |||
| 334 | declare 'MapStringCreateTestCaseRequest', | ||
| 335 | as HashRef[CreateTestCaseRequest()]; | ||
| 336 | |||
| 337 | declare 'UpdateTestCaseRequest', | ||
| 338 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::UpdateTestCaseRequest']; | ||
| 339 | |||
| 340 | coerce 'UpdateTestCaseRequest', | ||
| 341 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::UpdateTestCaseRequest'->new($_) }; | ||
| 342 | |||
| 343 | declare 'RepeatedUpdateTestCaseRequest', | ||
| 344 | as ArrayRef[UpdateTestCaseRequest()]; | ||
| 345 | |||
| 346 | coerce 'RepeatedUpdateTestCaseRequest', | ||
| 347 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::UpdateTestCaseRequest'->new($_) } @$_ ] }; | ||
| 348 | |||
| 349 | declare 'MapStringUpdateTestCaseRequest', | ||
| 350 | as HashRef[UpdateTestCaseRequest()]; | ||
| 351 | |||
| 352 | declare 'GetTestCaseRequest', | ||
| 353 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::GetTestCaseRequest']; | ||
| 354 | |||
| 355 | coerce 'GetTestCaseRequest', | ||
| 356 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::GetTestCaseRequest'->new($_) }; | ||
| 357 | |||
| 358 | declare 'RepeatedGetTestCaseRequest', | ||
| 359 | as ArrayRef[GetTestCaseRequest()]; | ||
| 360 | |||
| 361 | coerce 'RepeatedGetTestCaseRequest', | ||
| 362 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::GetTestCaseRequest'->new($_) } @$_ ] }; | ||
| 363 | |||
| 364 | declare 'MapStringGetTestCaseRequest', | ||
| 365 | as HashRef[GetTestCaseRequest()]; | ||
| 366 | |||
| 367 | declare 'RunTestCaseRequest', | ||
| 368 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::RunTestCaseRequest']; | ||
| 369 | |||
| 370 | coerce 'RunTestCaseRequest', | ||
| 371 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::RunTestCaseRequest'->new($_) }; | ||
| 372 | |||
| 373 | declare 'RepeatedRunTestCaseRequest', | ||
| 374 | as ArrayRef[RunTestCaseRequest()]; | ||
| 375 | |||
| 376 | coerce 'RepeatedRunTestCaseRequest', | ||
| 377 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::RunTestCaseRequest'->new($_) } @$_ ] }; | ||
| 378 | |||
| 379 | declare 'MapStringRunTestCaseRequest', | ||
| 380 | as HashRef[RunTestCaseRequest()]; | ||
| 381 | |||
| 382 | declare 'RunTestCaseResponse', | ||
| 383 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::RunTestCaseResponse']; | ||
| 384 | |||
| 385 | coerce 'RunTestCaseResponse', | ||
| 386 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::RunTestCaseResponse'->new($_) }; | ||
| 387 | |||
| 388 | declare 'RepeatedRunTestCaseResponse', | ||
| 389 | as ArrayRef[RunTestCaseResponse()]; | ||
| 390 | |||
| 391 | coerce 'RepeatedRunTestCaseResponse', | ||
| 392 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::RunTestCaseResponse'->new($_) } @$_ ] }; | ||
| 393 | |||
| 394 | declare 'MapStringRunTestCaseResponse', | ||
| 395 | as HashRef[RunTestCaseResponse()]; | ||
| 396 | |||
| 397 | declare 'RunTestCaseMetadata', | ||
| 398 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::RunTestCaseMetadata']; | ||
| 399 | |||
| 400 | coerce 'RunTestCaseMetadata', | ||
| 401 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::RunTestCaseMetadata'->new($_) }; | ||
| 402 | |||
| 403 | declare 'RepeatedRunTestCaseMetadata', | ||
| 404 | as ArrayRef[RunTestCaseMetadata()]; | ||
| 405 | |||
| 406 | coerce 'RepeatedRunTestCaseMetadata', | ||
| 407 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::RunTestCaseMetadata'->new($_) } @$_ ] }; | ||
| 408 | |||
| 409 | declare 'MapStringRunTestCaseMetadata', | ||
| 410 | as HashRef[RunTestCaseMetadata()]; | ||
| 411 | |||
| 412 | declare 'BatchRunTestCasesRequest', | ||
| 413 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::BatchRunTestCasesRequest']; | ||
| 414 | |||
| 415 | coerce 'BatchRunTestCasesRequest', | ||
| 416 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::BatchRunTestCasesRequest'->new($_) }; | ||
| 417 | |||
| 418 | declare 'RepeatedBatchRunTestCasesRequest', | ||
| 419 | as ArrayRef[BatchRunTestCasesRequest()]; | ||
| 420 | |||
| 421 | coerce 'RepeatedBatchRunTestCasesRequest', | ||
| 422 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::BatchRunTestCasesRequest'->new($_) } @$_ ] }; | ||
| 423 | |||
| 424 | declare 'MapStringBatchRunTestCasesRequest', | ||
| 425 | as HashRef[BatchRunTestCasesRequest()]; | ||
| 426 | |||
| 427 | declare 'BatchRunTestCasesResponse', | ||
| 428 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::BatchRunTestCasesResponse']; | ||
| 429 | |||
| 430 | coerce 'BatchRunTestCasesResponse', | ||
| 431 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::BatchRunTestCasesResponse'->new($_) }; | ||
| 432 | |||
| 433 | declare 'RepeatedBatchRunTestCasesResponse', | ||
| 434 | as ArrayRef[BatchRunTestCasesResponse()]; | ||
| 435 | |||
| 436 | coerce 'RepeatedBatchRunTestCasesResponse', | ||
| 437 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::BatchRunTestCasesResponse'->new($_) } @$_ ] }; | ||
| 438 | |||
| 439 | declare 'MapStringBatchRunTestCasesResponse', | ||
| 440 | as HashRef[BatchRunTestCasesResponse()]; | ||
| 441 | |||
| 442 | declare 'BatchRunTestCasesMetadata', | ||
| 443 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::BatchRunTestCasesMetadata']; | ||
| 444 | |||
| 445 | coerce 'BatchRunTestCasesMetadata', | ||
| 446 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::BatchRunTestCasesMetadata'->new($_) }; | ||
| 447 | |||
| 448 | declare 'RepeatedBatchRunTestCasesMetadata', | ||
| 449 | as ArrayRef[BatchRunTestCasesMetadata()]; | ||
| 450 | |||
| 451 | coerce 'RepeatedBatchRunTestCasesMetadata', | ||
| 452 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::BatchRunTestCasesMetadata'->new($_) } @$_ ] }; | ||
| 453 | |||
| 454 | declare 'MapStringBatchRunTestCasesMetadata', | ||
| 455 | as HashRef[BatchRunTestCasesMetadata()]; | ||
| 456 | |||
| 457 | declare 'TestError', | ||
| 458 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TestError']; | ||
| 459 | |||
| 460 | coerce 'TestError', | ||
| 461 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TestError'->new($_) }; | ||
| 462 | |||
| 463 | declare 'RepeatedTestError', | ||
| 464 | as ArrayRef[TestError()]; | ||
| 465 | |||
| 466 | coerce 'RepeatedTestError', | ||
| 467 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TestError'->new($_) } @$_ ] }; | ||
| 468 | |||
| 469 | declare 'MapStringTestError', | ||
| 470 | as HashRef[TestError()]; | ||
| 471 | |||
| 472 | declare 'ImportTestCasesRequest', | ||
| 473 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ImportTestCasesRequest']; | ||
| 474 | |||
| 475 | coerce 'ImportTestCasesRequest', | ||
| 476 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ImportTestCasesRequest'->new($_) }; | ||
| 477 | |||
| 478 | declare 'RepeatedImportTestCasesRequest', | ||
| 479 | as ArrayRef[ImportTestCasesRequest()]; | ||
| 480 | |||
| 481 | coerce 'RepeatedImportTestCasesRequest', | ||
| 482 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ImportTestCasesRequest'->new($_) } @$_ ] }; | ||
| 483 | |||
| 484 | declare 'MapStringImportTestCasesRequest', | ||
| 485 | as HashRef[ImportTestCasesRequest()]; | ||
| 486 | |||
| 487 | declare 'ImportTestCasesResponse', | ||
| 488 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ImportTestCasesResponse']; | ||
| 489 | |||
| 490 | coerce 'ImportTestCasesResponse', | ||
| 491 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ImportTestCasesResponse'->new($_) }; | ||
| 492 | |||
| 493 | declare 'RepeatedImportTestCasesResponse', | ||
| 494 | as ArrayRef[ImportTestCasesResponse()]; | ||
| 495 | |||
| 496 | coerce 'RepeatedImportTestCasesResponse', | ||
| 497 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ImportTestCasesResponse'->new($_) } @$_ ] }; | ||
| 498 | |||
| 499 | declare 'MapStringImportTestCasesResponse', | ||
| 500 | as HashRef[ImportTestCasesResponse()]; | ||
| 501 | |||
| 502 | declare 'ImportTestCasesMetadata', | ||
| 503 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ImportTestCasesMetadata']; | ||
| 504 | |||
| 505 | coerce 'ImportTestCasesMetadata', | ||
| 506 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ImportTestCasesMetadata'->new($_) }; | ||
| 507 | |||
| 508 | declare 'RepeatedImportTestCasesMetadata', | ||
| 509 | as ArrayRef[ImportTestCasesMetadata()]; | ||
| 510 | |||
| 511 | coerce 'RepeatedImportTestCasesMetadata', | ||
| 512 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ImportTestCasesMetadata'->new($_) } @$_ ] }; | ||
| 513 | |||
| 514 | declare 'MapStringImportTestCasesMetadata', | ||
| 515 | as HashRef[ImportTestCasesMetadata()]; | ||
| 516 | |||
| 517 | declare 'TestCaseError', | ||
| 518 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TestCaseError']; | ||
| 519 | |||
| 520 | coerce 'TestCaseError', | ||
| 521 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TestCaseError'->new($_) }; | ||
| 522 | |||
| 523 | declare 'RepeatedTestCaseError', | ||
| 524 | as ArrayRef[TestCaseError()]; | ||
| 525 | |||
| 526 | coerce 'RepeatedTestCaseError', | ||
| 527 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::TestCaseError'->new($_) } @$_ ] }; | ||
| 528 | |||
| 529 | declare 'MapStringTestCaseError', | ||
| 530 | as HashRef[TestCaseError()]; | ||
| 531 | |||
| 532 | declare 'ExportTestCasesRequest', | ||
| 533 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ExportTestCasesRequest']; | ||
| 534 | |||
| 535 | coerce 'ExportTestCasesRequest', | ||
| 536 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ExportTestCasesRequest'->new($_) }; | ||
| 537 | |||
| 538 | declare 'RepeatedExportTestCasesRequest', | ||
| 539 | as ArrayRef[ExportTestCasesRequest()]; | ||
| 540 | |||
| 541 | coerce 'RepeatedExportTestCasesRequest', | ||
| 542 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ExportTestCasesRequest'->new($_) } @$_ ] }; | ||
| 543 | |||
| 544 | declare 'MapStringExportTestCasesRequest', | ||
| 545 | as HashRef[ExportTestCasesRequest()]; | ||
| 546 | |||
| 547 | declare 'DataFormat', | ||
| 548 | as (Int | Str); | ||
| 549 | |||
| 550 | declare 'ExportTestCasesResponse', | ||
| 551 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ExportTestCasesResponse']; | ||
| 552 | |||
| 553 | coerce 'ExportTestCasesResponse', | ||
| 554 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ExportTestCasesResponse'->new($_) }; | ||
| 555 | |||
| 556 | declare 'RepeatedExportTestCasesResponse', | ||
| 557 | as ArrayRef[ExportTestCasesResponse()]; | ||
| 558 | |||
| 559 | coerce 'RepeatedExportTestCasesResponse', | ||
| 560 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ExportTestCasesResponse'->new($_) } @$_ ] }; | ||
| 561 | |||
| 562 | declare 'MapStringExportTestCasesResponse', | ||
| 563 | as HashRef[ExportTestCasesResponse()]; | ||
| 564 | |||
| 565 | declare 'ExportTestCasesMetadata', | ||
| 566 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ExportTestCasesMetadata']; | ||
| 567 | |||
| 568 | coerce 'ExportTestCasesMetadata', | ||
| 569 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ExportTestCasesMetadata'->new($_) }; | ||
| 570 | |||
| 571 | declare 'RepeatedExportTestCasesMetadata', | ||
| 572 | as ArrayRef[ExportTestCasesMetadata()]; | ||
| 573 | |||
| 574 | coerce 'RepeatedExportTestCasesMetadata', | ||
| 575 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ExportTestCasesMetadata'->new($_) } @$_ ] }; | ||
| 576 | |||
| 577 | declare 'MapStringExportTestCasesMetadata', | ||
| 578 | as HashRef[ExportTestCasesMetadata()]; | ||
| 579 | |||
| 580 | declare 'ListTestCaseResultsRequest', | ||
| 581 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ListTestCaseResultsRequest']; | ||
| 582 | |||
| 583 | coerce 'ListTestCaseResultsRequest', | ||
| 584 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ListTestCaseResultsRequest'->new($_) }; | ||
| 585 | |||
| 586 | declare 'RepeatedListTestCaseResultsRequest', | ||
| 587 | as ArrayRef[ListTestCaseResultsRequest()]; | ||
| 588 | |||
| 589 | coerce 'RepeatedListTestCaseResultsRequest', | ||
| 590 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ListTestCaseResultsRequest'->new($_) } @$_ ] }; | ||
| 591 | |||
| 592 | declare 'MapStringListTestCaseResultsRequest', | ||
| 593 | as HashRef[ListTestCaseResultsRequest()]; | ||
| 594 | |||
| 595 | declare 'ListTestCaseResultsResponse', | ||
| 596 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ListTestCaseResultsResponse']; | ||
| 597 | |||
| 598 | coerce 'ListTestCaseResultsResponse', | ||
| 599 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ListTestCaseResultsResponse'->new($_) }; | ||
| 600 | |||
| 601 | declare 'RepeatedListTestCaseResultsResponse', | ||
| 602 | as ArrayRef[ListTestCaseResultsResponse()]; | ||
| 603 | |||
| 604 | coerce 'RepeatedListTestCaseResultsResponse', | ||
| 605 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::ListTestCaseResultsResponse'->new($_) } @$_ ] }; | ||
| 606 | |||
| 607 | declare 'MapStringListTestCaseResultsResponse', | ||
| 608 | as HashRef[ListTestCaseResultsResponse()]; | ||
| 609 | |||
| 610 | declare 'GetTestCaseResultRequest', | ||
| 611 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::GetTestCaseResultRequest']; | ||
| 612 | |||
| 613 | coerce 'GetTestCaseResultRequest', | ||
| 614 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::GetTestCaseResultRequest'->new($_) }; | ||
| 615 | |||
| 616 | declare 'RepeatedGetTestCaseResultRequest', | ||
| 617 | as ArrayRef[GetTestCaseResultRequest()]; | ||
| 618 | |||
| 619 | coerce 'RepeatedGetTestCaseResultRequest', | ||
| 620 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::TestCase::GetTestCaseResultRequest'->new($_) } @$_ ] }; | ||
| 621 | |||
| 622 | declare 'MapStringGetTestCaseResultRequest', | ||
| 623 | as HashRef[GetTestCaseResultRequest()]; | ||
| 624 | |||
| 625 | 1; | ||
| 626 | |||
| 627 | __END__ |