GoogleCloudDialogflowCxV3beta1QueryInputResponse.fromMap constructor

GoogleCloudDialogflowCxV3beta1QueryInputResponse.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GoogleCloudDialogflowCxV3beta1QueryInputResponse.fromMap(Map<String, dynamic> map) {
  return GoogleCloudDialogflowCxV3beta1QueryInputResponse(
    audio: pulumi.Input.fromValue(GoogleCloudDialogflowCxV3beta1AudioInputResponse.fromMap((map['audio']! as Map).cast<String, dynamic>())),
    dtmf: pulumi.Input.fromValue(GoogleCloudDialogflowCxV3beta1DtmfInputResponse.fromMap((map['dtmf']! as Map).cast<String, dynamic>())),
    event: pulumi.Input.fromValue(GoogleCloudDialogflowCxV3beta1EventInputResponse.fromMap((map['event']! as Map).cast<String, dynamic>())),
    intent: pulumi.Input.fromValue(GoogleCloudDialogflowCxV3beta1IntentInputResponse.fromMap((map['intent']! as Map).cast<String, dynamic>())),
    languageCode: pulumi.Input.fromValue(map['languageCode'] as String),
    text: pulumi.Input.fromValue(GoogleCloudDialogflowCxV3beta1TextInputResponse.fromMap((map['text']! as Map).cast<String, dynamic>())),
  );
}