copyWithWrapped method
Implementation
ConversationHistorySIPTrunkingPhoneCallModel copyWithWrapped(
{Wrapped<enums.ConversationHistorySIPTrunkingPhoneCallModelDirection>?
direction,
Wrapped<String>? phoneNumberId,
Wrapped<String>? agentNumber,
Wrapped<String>? externalNumber,
Wrapped<String>? type,
Wrapped<String>? callSid}) {
return ConversationHistorySIPTrunkingPhoneCallModel(
direction: (direction != null ? direction.value : this.direction),
phoneNumberId:
(phoneNumberId != null ? phoneNumberId.value : this.phoneNumberId),
agentNumber:
(agentNumber != null ? agentNumber.value : this.agentNumber),
externalNumber: (externalNumber != null
? externalNumber.value
: this.externalNumber),
type: (type != null ? type.value : this.type),
callSid: (callSid != null ? callSid.value : this.callSid));
}