GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig.fromJson constructor

GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig.fromJson(
    core.Map json_)
    : this(
        conversationModelConfig: json_.containsKey('conversationModelConfig')
            ? GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig
                .fromJson(json_['conversationModelConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        conversationProcessConfig: json_
                .containsKey('conversationProcessConfig')
            ? GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig
                .fromJson(json_['conversationProcessConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        disableAgentQueryLogging:
            json_.containsKey('disableAgentQueryLogging')
                ? json_['disableAgentQueryLogging'] as core.bool
                : null,
        enableConversationAugmentedQuery:
            json_.containsKey('enableConversationAugmentedQuery')
                ? json_['enableConversationAugmentedQuery'] as core.bool
                : null,
        enableEventBasedSuggestion:
            json_.containsKey('enableEventBasedSuggestion')
                ? json_['enableEventBasedSuggestion'] as core.bool
                : null,
        queryConfig: json_.containsKey('queryConfig')
            ? GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig
                .fromJson(json_['queryConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        suggestionFeature: json_.containsKey('suggestionFeature')
            ? GoogleCloudDialogflowV2SuggestionFeature.fromJson(
                json_['suggestionFeature']
                    as core.Map<core.String, core.dynamic>)
            : null,
        suggestionTriggerSettings: json_
                .containsKey('suggestionTriggerSettings')
            ? GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings
                .fromJson(json_['suggestionTriggerSettings']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );