DomainPolicy constructor

DomainPolicy({
  1. ObjectDetails? details,
  2. bool? userLoginMustBeDomain,
  3. bool? isDefault,
  4. bool? validateOrgDomains,
  5. bool? smtpSenderAddressMatchesInstanceDomain,
})

Implementation

factory DomainPolicy({
  $8.ObjectDetails? details,
  $core.bool? userLoginMustBeDomain,
  $core.bool? isDefault,
  $core.bool? validateOrgDomains,
  $core.bool? smtpSenderAddressMatchesInstanceDomain,
}) {
  final $result = create();
  if (details != null) {
    $result.details = details;
  }
  if (userLoginMustBeDomain != null) {
    $result.userLoginMustBeDomain = userLoginMustBeDomain;
  }
  if (isDefault != null) {
    $result.isDefault = isDefault;
  }
  if (validateOrgDomains != null) {
    $result.validateOrgDomains = validateOrgDomains;
  }
  if (smtpSenderAddressMatchesInstanceDomain != null) {
    $result.smtpSenderAddressMatchesInstanceDomain = smtpSenderAddressMatchesInstanceDomain;
  }
  return $result;
}