ConversationProfile constructor
ConversationProfile({
- String? name,
- String? displayName,
- AutomatedAgentConfig? automatedAgentConfig,
- HumanAgentAssistantConfig? humanAgentAssistantConfig,
- HumanAgentHandoffConfig? humanAgentHandoffConfig,
- NotificationConfig? notificationConfig,
- LoggingConfig? loggingConfig,
- NotificationConfig? newMessageEventNotificationConfig,
- SpeechToTextConfig? sttConfig,
- String? languageCode,
- Timestamp? createTime,
- Timestamp? updateTime,
Implementation
factory ConversationProfile({
$core.String? name,
$core.String? displayName,
AutomatedAgentConfig? automatedAgentConfig,
HumanAgentAssistantConfig? humanAgentAssistantConfig,
HumanAgentHandoffConfig? humanAgentHandoffConfig,
NotificationConfig? notificationConfig,
LoggingConfig? loggingConfig,
NotificationConfig? newMessageEventNotificationConfig,
$20.SpeechToTextConfig? sttConfig,
$core.String? languageCode,
$17.Timestamp? createTime,
$17.Timestamp? updateTime,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
if (displayName != null) {
_result.displayName = displayName;
}
if (automatedAgentConfig != null) {
_result.automatedAgentConfig = automatedAgentConfig;
}
if (humanAgentAssistantConfig != null) {
_result.humanAgentAssistantConfig = humanAgentAssistantConfig;
}
if (humanAgentHandoffConfig != null) {
_result.humanAgentHandoffConfig = humanAgentHandoffConfig;
}
if (notificationConfig != null) {
_result.notificationConfig = notificationConfig;
}
if (loggingConfig != null) {
_result.loggingConfig = loggingConfig;
}
if (newMessageEventNotificationConfig != null) {
_result.newMessageEventNotificationConfig =
newMessageEventNotificationConfig;
}
if (sttConfig != null) {
_result.sttConfig = sttConfig;
}
if (languageCode != null) {
_result.languageCode = languageCode;
}
if (createTime != null) {
_result.createTime = createTime;
}
if (updateTime != null) {
_result.updateTime = updateTime;
}
return _result;
}