DomainSettings constructor

DomainSettings({
  1. bool? loginNameIncludesDomain,
  2. bool? requireOrgDomainVerification,
  3. bool? smtpSenderAddressMatchesInstanceDomain,
  4. ResourceOwnerType? resourceOwnerType,
})

Implementation

factory DomainSettings({
  $core.bool? loginNameIncludesDomain,
  $core.bool? requireOrgDomainVerification,
  $core.bool? smtpSenderAddressMatchesInstanceDomain,
  $1.ResourceOwnerType? resourceOwnerType,
}) {
  final $result = create();
  if (loginNameIncludesDomain != null) {
    $result.loginNameIncludesDomain = loginNameIncludesDomain;
  }
  if (requireOrgDomainVerification != null) {
    $result.requireOrgDomainVerification = requireOrgDomainVerification;
  }
  if (smtpSenderAddressMatchesInstanceDomain != null) {
    $result.smtpSenderAddressMatchesInstanceDomain = smtpSenderAddressMatchesInstanceDomain;
  }
  if (resourceOwnerType != null) {
    $result.resourceOwnerType = resourceOwnerType;
  }
  return $result;
}