copyWith method

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

Implementation

BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost copyWith(
    {String? callName,
    String? agentId,
    String? agentPhoneNumberId,
    dynamic scheduledTimeUnix,
    List<OutboundCallRecipient>? recipients}) {
  return BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost(
      callName: callName ?? this.callName,
      agentId: agentId ?? this.agentId,
      agentPhoneNumberId: agentPhoneNumberId ?? this.agentPhoneNumberId,
      scheduledTimeUnix: scheduledTimeUnix ?? this.scheduledTimeUnix,
      recipients: recipients ?? this.recipients);
}