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;
}