GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig.fromJson constructor

GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig.fromJson(
    core.Map json_)
    : this(
        disableHighLatencyFeaturesSyncDelivery:
            json_.containsKey('disableHighLatencyFeaturesSyncDelivery')
                ? json_['disableHighLatencyFeaturesSyncDelivery'] as core.bool
                : null,
        featureConfigs: json_.containsKey('featureConfigs')
            ? (json_['featureConfigs'] as core.List)
                .map((value) =>
                    GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        generators: json_.containsKey('generators')
            ? (json_['generators'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        groupSuggestionResponses:
            json_.containsKey('groupSuggestionResponses')
                ? json_['groupSuggestionResponses'] as core.bool
                : null,
      );