Agent constructor
Agent({})
Implementation
factory Agent({
$core.String? name,
$core.String? displayName,
$core.String? defaultLanguageCode,
$core.String? timeZone,
$core.String? description,
$core.String? avatarUri,
SpeechToTextSettings? speechToTextSettings,
$core.String? startFlow,
$core.String? securitySettings,
$core.bool? enableStackdriverLogging,
$core.bool? enableSpellCorrection,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
if (displayName != null) {
_result.displayName = displayName;
}
if (defaultLanguageCode != null) {
_result.defaultLanguageCode = defaultLanguageCode;
}
if (timeZone != null) {
_result.timeZone = timeZone;
}
if (description != null) {
_result.description = description;
}
if (avatarUri != null) {
_result.avatarUri = avatarUri;
}
if (speechToTextSettings != null) {
_result.speechToTextSettings = speechToTextSettings;
}
if (startFlow != null) {
_result.startFlow = startFlow;
}
if (securitySettings != null) {
_result.securitySettings = securitySettings;
}
if (enableStackdriverLogging != null) {
_result.enableStackdriverLogging = enableStackdriverLogging;
}
if (enableSpellCorrection != null) {
_result.enableSpellCorrection = enableSpellCorrection;
}
return _result;
}