GoogleCloudContactcenterinsightsV1RuntimeAnnotation.fromJson constructor

GoogleCloudContactcenterinsightsV1RuntimeAnnotation.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContactcenterinsightsV1RuntimeAnnotation.fromJson(core.Map json_)
    : this(
        annotationId: json_.containsKey('annotationId')
            ? json_['annotationId'] as core.String
            : null,
        answerFeedback: json_.containsKey('answerFeedback')
            ? GoogleCloudContactcenterinsightsV1AnswerFeedback.fromJson(
                json_['answerFeedback']
                    as core.Map<core.String, core.dynamic>)
            : null,
        articleSuggestion: json_.containsKey('articleSuggestion')
            ? GoogleCloudContactcenterinsightsV1ArticleSuggestionData
                .fromJson(json_['articleSuggestion']
                    as core.Map<core.String, core.dynamic>)
            : null,
        conversationSummarizationSuggestion: json_
                .containsKey('conversationSummarizationSuggestion')
            ? GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData
                .fromJson(json_['conversationSummarizationSuggestion']
                    as core.Map<core.String, core.dynamic>)
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        dialogflowInteraction: json_.containsKey('dialogflowInteraction')
            ? GoogleCloudContactcenterinsightsV1DialogflowInteractionData
                .fromJson(json_['dialogflowInteraction']
                    as core.Map<core.String, core.dynamic>)
            : null,
        endBoundary: json_.containsKey('endBoundary')
            ? GoogleCloudContactcenterinsightsV1AnnotationBoundary.fromJson(
                json_['endBoundary'] as core.Map<core.String, core.dynamic>)
            : null,
        faqAnswer: json_.containsKey('faqAnswer')
            ? GoogleCloudContactcenterinsightsV1FaqAnswerData.fromJson(
                json_['faqAnswer'] as core.Map<core.String, core.dynamic>)
            : null,
        smartComposeSuggestion: json_.containsKey('smartComposeSuggestion')
            ? GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData
                .fromJson(json_['smartComposeSuggestion']
                    as core.Map<core.String, core.dynamic>)
            : null,
        smartReply: json_.containsKey('smartReply')
            ? GoogleCloudContactcenterinsightsV1SmartReplyData.fromJson(
                json_['smartReply'] as core.Map<core.String, core.dynamic>)
            : null,
        startBoundary: json_.containsKey('startBoundary')
            ? GoogleCloudContactcenterinsightsV1AnnotationBoundary.fromJson(
                json_['startBoundary'] as core.Map<core.String, core.dynamic>)
            : null,
        userInput: json_.containsKey('userInput')
            ? GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput
                .fromJson(
                    json_['userInput'] as core.Map<core.String, core.dynamic>)
            : null,
      );