GetFlowDialogflowV3beta1Result.fromMap constructor
GetFlowDialogflowV3beta1Result.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetFlowDialogflowV3beta1Result.fromMap(Map<String, dynamic> map) {
return GetFlowDialogflowV3beta1Result(
advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettingsResponse.fromMap((map['advancedSettings']! as Map).cast<String, dynamic>()),
description: map['description'] as String,
displayName: map['displayName'] as String,
eventHandlers: pulumi.Input.decodeList<GoogleCloudDialogflowCxV3beta1EventHandlerResponse>(map['eventHandlers']!, (value) => GoogleCloudDialogflowCxV3beta1EventHandlerResponse.fromMap((value as Map).cast<String, dynamic>())),
knowledgeConnectorSettings: GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettingsResponse.fromMap((map['knowledgeConnectorSettings']! as Map).cast<String, dynamic>()),
name: map['name'] as String,
nluSettings: GoogleCloudDialogflowCxV3beta1NluSettingsResponse.fromMap((map['nluSettings']! as Map).cast<String, dynamic>()),
transitionRouteGroups: (map['transitionRouteGroups'] as List).cast<String>(),
transitionRoutes: pulumi.Input.decodeList<GoogleCloudDialogflowCxV3beta1TransitionRouteResponse>(map['transitionRoutes']!, (value) => GoogleCloudDialogflowCxV3beta1TransitionRouteResponse.fromMap((value as Map).cast<String, dynamic>())),
);
}