GoogleCloudDialogflowCxV3Agent.fromJson constructor
GoogleCloudDialogflowCxV3Agent.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowCxV3Agent.fromJson(core.Map json_)
: this(
advancedSettings: json_.containsKey('advancedSettings')
? GoogleCloudDialogflowCxV3AdvancedSettings.fromJson(
json_['advancedSettings']
as core.Map<core.String, core.dynamic>)
: null,
answerFeedbackSettings: json_.containsKey('answerFeedbackSettings')
? GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings.fromJson(
json_['answerFeedbackSettings']
as core.Map<core.String, core.dynamic>)
: null,
avatarUri: json_.containsKey('avatarUri')
? json_['avatarUri'] as core.String
: null,
defaultLanguageCode: json_.containsKey('defaultLanguageCode')
? json_['defaultLanguageCode'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
enableSpellCorrection: json_.containsKey('enableSpellCorrection')
? json_['enableSpellCorrection'] as core.bool
: null,
enableStackdriverLogging:
json_.containsKey('enableStackdriverLogging')
? json_['enableStackdriverLogging'] as core.bool
: null,
genAppBuilderSettings: json_.containsKey('genAppBuilderSettings')
? GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings.fromJson(
json_['genAppBuilderSettings']
as core.Map<core.String, core.dynamic>)
: null,
gitIntegrationSettings: json_.containsKey('gitIntegrationSettings')
? GoogleCloudDialogflowCxV3AgentGitIntegrationSettings.fromJson(
json_['gitIntegrationSettings']
as core.Map<core.String, core.dynamic>)
: null,
locked:
json_.containsKey('locked') ? json_['locked'] as core.bool : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
personalizationSettings: json_.containsKey('personalizationSettings')
? GoogleCloudDialogflowCxV3AgentPersonalizationSettings.fromJson(
json_['personalizationSettings']
as core.Map<core.String, core.dynamic>)
: null,
securitySettings: json_.containsKey('securitySettings')
? json_['securitySettings'] as core.String
: null,
speechToTextSettings: json_.containsKey('speechToTextSettings')
? GoogleCloudDialogflowCxV3SpeechToTextSettings.fromJson(
json_['speechToTextSettings']
as core.Map<core.String, core.dynamic>)
: null,
startFlow: json_.containsKey('startFlow')
? json_['startFlow'] as core.String
: null,
supportedLanguageCodes: json_.containsKey('supportedLanguageCodes')
? (json_['supportedLanguageCodes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
textToSpeechSettings: json_.containsKey('textToSpeechSettings')
? GoogleCloudDialogflowCxV3TextToSpeechSettings.fromJson(
json_['textToSpeechSettings']
as core.Map<core.String, core.dynamic>)
: null,
timeZone: json_.containsKey('timeZone')
? json_['timeZone'] as core.String
: null,
);