SetRestrictionsRequest constructor

SetRestrictionsRequest({
  1. bool? disallowPublicOrgRegistration,
  2. SelectLanguages? allowedLanguages,
})

Implementation

factory SetRestrictionsRequest({
  $core.bool? disallowPublicOrgRegistration,
  SelectLanguages? allowedLanguages,
}) {
  final $result = create();
  if (disallowPublicOrgRegistration != null) {
    $result.disallowPublicOrgRegistration = disallowPublicOrgRegistration;
  }
  if (allowedLanguages != null) {
    $result.allowedLanguages = allowedLanguages;
  }
  return $result;
}