GoogleCloudContactcenterinsightsV1Conversation.fromJson constructor
GoogleCloudContactcenterinsightsV1Conversation.fromJson(
- Map json_
Implementation
GoogleCloudContactcenterinsightsV1Conversation.fromJson(core.Map json_)
: this(
agentId: json_.containsKey('agentId')
? json_['agentId'] as core.String
: null,
callMetadata: json_.containsKey('callMetadata')
? GoogleCloudContactcenterinsightsV1ConversationCallMetadata
.fromJson(json_['callMetadata']
as core.Map<core.String, core.dynamic>)
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
dataSource: json_.containsKey('dataSource')
? GoogleCloudContactcenterinsightsV1ConversationDataSource
.fromJson(json_['dataSource']
as core.Map<core.String, core.dynamic>)
: null,
dialogflowIntents: json_.containsKey('dialogflowIntents')
? (json_['dialogflowIntents']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
GoogleCloudContactcenterinsightsV1DialogflowIntent.fromJson(
value as core.Map<core.String, core.dynamic>),
),
)
: null,
duration: json_.containsKey('duration')
? json_['duration'] as core.String
: null,
expireTime: json_.containsKey('expireTime')
? json_['expireTime'] as core.String
: null,
labels: json_.containsKey('labels')
? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
languageCode: json_.containsKey('languageCode')
? json_['languageCode'] as core.String
: null,
latestAnalysis: json_.containsKey('latestAnalysis')
? GoogleCloudContactcenterinsightsV1Analysis.fromJson(
json_['latestAnalysis']
as core.Map<core.String, core.dynamic>)
: null,
latestSummary: json_.containsKey('latestSummary')
? GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData
.fromJson(json_['latestSummary']
as core.Map<core.String, core.dynamic>)
: null,
medium: json_.containsKey('medium')
? json_['medium'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
obfuscatedUserId: json_.containsKey('obfuscatedUserId')
? json_['obfuscatedUserId'] as core.String
: null,
qualityMetadata: json_.containsKey('qualityMetadata')
? GoogleCloudContactcenterinsightsV1ConversationQualityMetadata
.fromJson(json_['qualityMetadata']
as core.Map<core.String, core.dynamic>)
: null,
runtimeAnnotations: json_.containsKey('runtimeAnnotations')
? (json_['runtimeAnnotations'] as core.List)
.map((value) =>
GoogleCloudContactcenterinsightsV1RuntimeAnnotation
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
startTime: json_.containsKey('startTime')
? json_['startTime'] as core.String
: null,
transcript: json_.containsKey('transcript')
? GoogleCloudContactcenterinsightsV1ConversationTranscript
.fromJson(json_['transcript']
as core.Map<core.String, core.dynamic>)
: null,
ttl: json_.containsKey('ttl') ? json_['ttl'] as core.String : null,
turnCount: json_.containsKey('turnCount')
? json_['turnCount'] as core.int
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);