GoogleCloudDialogflowCxV3QueryInputResponse.fromMap constructor

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

Implementation

factory GoogleCloudDialogflowCxV3QueryInputResponse.fromMap(Map<String, dynamic> map) {
  return GoogleCloudDialogflowCxV3QueryInputResponse(
    audio: pulumi.Input.fromValue(GoogleCloudDialogflowCxV3AudioInputResponse.fromMap((map['audio']! as Map).cast<String, dynamic>())),
    dtmf: pulumi.Input.fromValue(GoogleCloudDialogflowCxV3DtmfInputResponse.fromMap((map['dtmf']! as Map).cast<String, dynamic>())),
    event: pulumi.Input.fromValue(GoogleCloudDialogflowCxV3EventInputResponse.fromMap((map['event']! as Map).cast<String, dynamic>())),
    intent: pulumi.Input.fromValue(GoogleCloudDialogflowCxV3IntentInputResponse.fromMap((map['intent']! as Map).cast<String, dynamic>())),
    languageCode: pulumi.Input.fromValue(map['languageCode'] as String),
    text: pulumi.Input.fromValue(GoogleCloudDialogflowCxV3TextInputResponse.fromMap((map['text']! as Map).cast<String, dynamic>())),
  );
}