UpdateEmailProviderSMTPRequest constructor

UpdateEmailProviderSMTPRequest({
  1. String? senderAddress,
  2. String? senderName,
  3. bool? tls,
  4. String? host,
  5. String? user,
  6. String? replyToAddress,
  7. String? password,
  8. String? description,
  9. String? id,
  10. SMTPNoAuth? none,
  11. SMTPPlainAuth? plain,
  12. SMTPXOAuth2Auth? xoauth2,
})

Implementation

factory UpdateEmailProviderSMTPRequest({
  $core.String? senderAddress,
  $core.String? senderName,
  $core.bool? tls,
  $core.String? host,
  $core.String? user,
  $core.String? replyToAddress,
  $core.String? password,
  $core.String? description,
  $core.String? id,
  SMTPNoAuth? none,
  SMTPPlainAuth? plain,
  SMTPXOAuth2Auth? xoauth2,
}) {
  final result = create();
  if (senderAddress != null) result.senderAddress = senderAddress;
  if (senderName != null) result.senderName = senderName;
  if (tls != null) result.tls = tls;
  if (host != null) result.host = host;
  if (user != null) result.user = user;
  if (replyToAddress != null) result.replyToAddress = replyToAddress;
  if (password != null) result.password = password;
  if (description != null) result.description = description;
  if (id != null) result.id = id;
  if (none != null) result.none = none;
  if (plain != null) result.plain = plain;
  if (xoauth2 != null) result.xoauth2 = xoauth2;
  return result;
}