copyWithWrapped method

BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost copyWithWrapped({
  1. Wrapped<String>? agentId,
  2. Wrapped<String>? agentPhoneNumberId,
  3. Wrapped<String>? toNumber,
  4. Wrapped? conversationInitiationClientData,
})

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));
}