DomainPolicy constructor
DomainPolicy({
- ObjectDetails? details,
- bool? userLoginMustBeDomain,
- bool? isDefault,
- bool? validateOrgDomains,
- 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;
}