GoogleCloudDialogflowV2HumanAgentAssistantConfig.fromJson constructor

GoogleCloudDialogflowV2HumanAgentAssistantConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2HumanAgentAssistantConfig.fromJson(core.Map json_)
    : this(
        endUserSuggestionConfig: json_.containsKey('endUserSuggestionConfig')
            ? GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig
                .fromJson(json_['endUserSuggestionConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        humanAgentSuggestionConfig: json_
                .containsKey('humanAgentSuggestionConfig')
            ? GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig
                .fromJson(json_['humanAgentSuggestionConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        messageAnalysisConfig: json_.containsKey('messageAnalysisConfig')
            ? GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
                .fromJson(json_['messageAnalysisConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        notificationConfig: json_.containsKey('notificationConfig')
            ? GoogleCloudDialogflowV2NotificationConfig.fromJson(
                json_['notificationConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );