GoogleCloudContactcenterinsightsV1AnnotatorSelector.fromJson constructor

GoogleCloudContactcenterinsightsV1AnnotatorSelector.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContactcenterinsightsV1AnnotatorSelector.fromJson(core.Map json_)
  : this(
      issueModels: (json_['issueModels'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      phraseMatchers: (json_['phraseMatchers'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      qaConfig: json_.containsKey('qaConfig')
          ? GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfig.fromJson(
              json_['qaConfig'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      runEntityAnnotator: json_['runEntityAnnotator'] as core.bool?,
      runIntentAnnotator: json_['runIntentAnnotator'] as core.bool?,
      runInterruptionAnnotator:
          json_['runInterruptionAnnotator'] as core.bool?,
      runIssueModelAnnotator: json_['runIssueModelAnnotator'] as core.bool?,
      runPhraseMatcherAnnotator:
          json_['runPhraseMatcherAnnotator'] as core.bool?,
      runQaAnnotator: json_['runQaAnnotator'] as core.bool?,
      runSentimentAnnotator: json_['runSentimentAnnotator'] as core.bool?,
      runSilenceAnnotator: json_['runSilenceAnnotator'] as core.bool?,
      runSummarizationAnnotator:
          json_['runSummarizationAnnotator'] as core.bool?,
      summarizationConfig: json_.containsKey('summarizationConfig')
          ? GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig.fromJson(
              json_['summarizationConfig']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
    );