Conversation constructor
Conversation({
- String? name,
- Conversation_LifecycleState? lifecycleState,
- String? conversationProfile,
- ConversationPhoneNumber? phoneNumber,
- Timestamp? startTime,
- Timestamp? endTime,
- Conversation_ConversationStage? conversationStage,
Implementation
factory Conversation({
$core.String? name,
Conversation_LifecycleState? lifecycleState,
$core.String? conversationProfile,
ConversationPhoneNumber? phoneNumber,
$17.Timestamp? startTime,
$17.Timestamp? endTime,
Conversation_ConversationStage? conversationStage,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
if (lifecycleState != null) {
_result.lifecycleState = lifecycleState;
}
if (conversationProfile != null) {
_result.conversationProfile = conversationProfile;
}
if (phoneNumber != null) {
_result.phoneNumber = phoneNumber;
}
if (startTime != null) {
_result.startTime = startTime;
}
if (endTime != null) {
_result.endTime = endTime;
}
if (conversationStage != null) {
_result.conversationStage = conversationStage;
}
return _result;
}