GoogleCloudDialogflowV2beta1IntentMessageTableCardResponse.fromMap constructor

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

Implementation

factory GoogleCloudDialogflowV2beta1IntentMessageTableCardResponse.fromMap(Map<String, dynamic> map) {
  return GoogleCloudDialogflowV2beta1IntentMessageTableCardResponse(
    buttons: pulumi.Input.fromValue(pulumi.Input.decodeList<GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponse>(map['buttons']!, (value) => GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponse.fromMap((value as Map).cast<String, dynamic>()))),
    columnProperties: pulumi.Input.fromValue(pulumi.Input.decodeList<GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesResponse>(map['columnProperties']!, (value) => GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesResponse.fromMap((value as Map).cast<String, dynamic>()))),
    image: pulumi.Input.fromValue(GoogleCloudDialogflowV2beta1IntentMessageImageResponse.fromMap((map['image']! as Map).cast<String, dynamic>())),
    rows: pulumi.Input.fromValue(pulumi.Input.decodeList<GoogleCloudDialogflowV2beta1IntentMessageTableCardRowResponse>(map['rows']!, (value) => GoogleCloudDialogflowV2beta1IntentMessageTableCardRowResponse.fromMap((value as Map).cast<String, dynamic>()))),
    subtitle: pulumi.Input.fromValue(map['subtitle'] as String),
    title: pulumi.Input.fromValue(map['title'] as String),
  );
}