copyWithWrapped method

BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost copyWithWrapped({
  1. Wrapped<String>? callName,
  2. Wrapped<String>? agentId,
  3. Wrapped<String>? agentPhoneNumberId,
  4. Wrapped? scheduledTimeUnix,
  5. Wrapped<List<OutboundCallRecipient>>? recipients,
})

Implementation

BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost copyWithWrapped(
    {Wrapped<String>? callName,
    Wrapped<String>? agentId,
    Wrapped<String>? agentPhoneNumberId,
    Wrapped<dynamic>? scheduledTimeUnix,
    Wrapped<List<OutboundCallRecipient>>? recipients}) {
  return BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost(
      callName: (callName != null ? callName.value : this.callName),
      agentId: (agentId != null ? agentId.value : this.agentId),
      agentPhoneNumberId: (agentPhoneNumberId != null
          ? agentPhoneNumberId.value
          : this.agentPhoneNumberId),
      scheduledTimeUnix: (scheduledTimeUnix != null
          ? scheduledTimeUnix.value
          : this.scheduledTimeUnix),
      recipients: (recipients != null ? recipients.value : this.recipients));
}