GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData.fromJson constructor
GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData.fromJson(
- Map json_
Implementation
GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData.fromJson(
core.Map json_)
: this(
answerRecord: json_.containsKey('answerRecord')
? json_['answerRecord'] as core.String
: null,
confidence: json_.containsKey('confidence')
? (json_['confidence'] as core.num).toDouble()
: null,
conversationModel: json_.containsKey('conversationModel')
? json_['conversationModel'] as core.String
: null,
metadata: json_.containsKey('metadata')
? (json_['metadata'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
text: json_.containsKey('text') ? json_['text'] as core.String : null,
textSections: json_.containsKey('textSections')
? (json_['textSections'] as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
);