OrganizationSettings class
Constructors
-
OrganizationSettings({required OrganizationSettingsObjectEnum object, required bool enabled, required int maxAllowedMemberships, required int maxAllowedRoles, int? maxRoleSetsAllowed, int? maxAllowedPermissions, required String creatorRole, required bool adminDeleteEnabled, required bool domainsEnabled, bool? slugDisabled, List<OrganizationSettingsDomainsEnrollmentModesEnum> domainsEnrollmentModes = const [], required String domainsDefaultRole, String? initialRoleSetKey})
-
Returns a new OrganizationSettings instance.
Properties
-
adminDeleteEnabled
↔ bool
-
The default for whether an admin can delete an organization with the Frontend API.
getter/setter pair
-
creatorRole
↔ String
-
The role key that a user will be assigned after creating an organization.
getter/setter pair
-
domainsDefaultRole
↔ String
-
The role key that it will be used in order to create an organization invitation or suggestion.
getter/setter pair
-
domainsEnabled
↔ bool
-
getter/setter pair
-
domainsEnrollmentModes
↔ List<OrganizationSettingsDomainsEnrollmentModesEnum>
-
getter/setter pair
-
enabled
↔ bool
-
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
initialRoleSetKey
↔ String?
-
The role set key that it will be used to create new organizations.
getter/setter pair
-
maxAllowedMemberships
↔ int
-
getter/setter pair
-
maxAllowedPermissions
↔ int?
-
max_allowed_permissions is now a no-op, as permissions are now unlimited
getter/setter pair
-
maxAllowedRoles
↔ int
-
getter/setter pair
-
maxRoleSetsAllowed
↔ int?
-
Please note: This property should have been non-nullable! Since the specification file
does not include a default value (using the "default:" property), however, the generated
source code must fall back to having a nullable type.
Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
-
object
↔ OrganizationSettingsObjectEnum
-
String representing the object's type. Objects of the same type share the same value.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
slugDisabled
↔ bool?
-
Please note: This property should have been non-nullable! Since the specification file
does not include a default value (using the "default:" property), however, the generated
source code must fall back to having a nullable type.
Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair