toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (conversationModelConfig != null)
        'conversationModelConfig': conversationModelConfig!,
      if (conversationProcessConfig != null)
        'conversationProcessConfig': conversationProcessConfig!,
      if (disableAgentQueryLogging != null)
        'disableAgentQueryLogging': disableAgentQueryLogging!,
      if (enableConversationAugmentedQuery != null)
        'enableConversationAugmentedQuery': enableConversationAugmentedQuery!,
      if (enableEventBasedSuggestion != null)
        'enableEventBasedSuggestion': enableEventBasedSuggestion!,
      if (queryConfig != null) 'queryConfig': queryConfig!,
      if (suggestionFeature != null) 'suggestionFeature': suggestionFeature!,
      if (suggestionTriggerSettings != null)
        'suggestionTriggerSettings': suggestionTriggerSettings!,
    };