GetPageDialogflowV3beta1Result.fromMap constructor

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

Implementation

factory GetPageDialogflowV3beta1Result.fromMap(Map<String, dynamic> map) {
  return GetPageDialogflowV3beta1Result(
    advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettingsResponse.fromMap((map['advancedSettings']! as Map).cast<String, dynamic>()),
    displayName: map['displayName'] as String,
    entryFulfillment: GoogleCloudDialogflowCxV3beta1FulfillmentResponse.fromMap((map['entryFulfillment']! as Map).cast<String, dynamic>()),
    eventHandlers: pulumi.Input.decodeList<GoogleCloudDialogflowCxV3beta1EventHandlerResponse>(map['eventHandlers']!, (value) => GoogleCloudDialogflowCxV3beta1EventHandlerResponse.fromMap((value as Map).cast<String, dynamic>())),
    form: GoogleCloudDialogflowCxV3beta1FormResponse.fromMap((map['form']! as Map).cast<String, dynamic>()),
    knowledgeConnectorSettings: GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettingsResponse.fromMap((map['knowledgeConnectorSettings']! as Map).cast<String, dynamic>()),
    name: map['name'] as String,
    transitionRouteGroups: (map['transitionRouteGroups'] as List).cast<String>(),
    transitionRoutes: pulumi.Input.decodeList<GoogleCloudDialogflowCxV3beta1TransitionRouteResponse>(map['transitionRoutes']!, (value) => GoogleCloudDialogflowCxV3beta1TransitionRouteResponse.fromMap((value as Map).cast<String, dynamic>())),
  );
}