UpdateCustomDomainPolicyRequest constructor

UpdateCustomDomainPolicyRequest({
  1. String? orgId,
  2. bool? userLoginMustBeDomain,
  3. bool? validateOrgDomains,
  4. bool? smtpSenderAddressMatchesInstanceDomain,
})

Implementation

factory UpdateCustomDomainPolicyRequest({
  $core.String? orgId,
  $core.bool? userLoginMustBeDomain,
  $core.bool? validateOrgDomains,
  $core.bool? smtpSenderAddressMatchesInstanceDomain,
}) {
  final $result = create();
  if (orgId != null) {
    $result.orgId = orgId;
  }
  if (userLoginMustBeDomain != null) {
    $result.userLoginMustBeDomain = userLoginMustBeDomain;
  }
  if (validateOrgDomains != null) {
    $result.validateOrgDomains = validateOrgDomains;
  }
  if (smtpSenderAddressMatchesInstanceDomain != null) {
    $result.smtpSenderAddressMatchesInstanceDomain = smtpSenderAddressMatchesInstanceDomain;
  }
  return $result;
}