copyWithWrapped method
Implementation
BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost
copyWithWrapped(
{Wrapped<String>? agentId,
Wrapped<String>? agentPhoneNumberId,
Wrapped<String>? toNumber,
Wrapped<dynamic>? conversationInitiationClientData}) {
return BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost(
agentId: (agentId != null ? agentId.value : this.agentId),
agentPhoneNumberId: (agentPhoneNumberId != null
? agentPhoneNumberId.value
: this.agentPhoneNumberId),
toNumber: (toNumber != null ? toNumber.value : this.toNumber),
conversationInitiationClientData:
(conversationInitiationClientData != null
? conversationInitiationClientData.value
: this.conversationInitiationClientData));
}