UpdateRoleSetRequest class
Constructors
- UpdateRoleSetRequest({String? name, String? key, String? description, UpdateRoleSetRequestTypeEnum? type, String? defaultRoleKey, String? creatorRoleKey})
- Returns a new UpdateRoleSetRequest instance.
Properties
- creatorRoleKey ↔ String?
-
The key of the role to assign to organization creators. Must be an existing role in the role set.
getter/setter pair
- defaultRoleKey ↔ String?
-
The key of the role to use as the default role for new organization members. Must be an existing role in the role set.
getter/setter pair
- description ↔ String?
-
Optional description for the role set
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- key ↔ String?
-
A unique key for the role set. Must start with 'role_set:' and contain only lowercase alphanumeric characters and underscores.
getter/setter pair
- name ↔ String?
-
The new name for the role set
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ UpdateRoleSetRequestTypeEnum?
-
Set to "initial" to make this the default role set for new organizations. Only one role set can be "initial" per instance; setting this will change any existing initial role set to "custom".
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → UpdateRoleSetRequest? -
Returns a new UpdateRoleSetRequest instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< UpdateRoleSetRequest> -
mapFromJson(
dynamic json) → Map< String, UpdateRoleSetRequest> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< UpdateRoleSetRequest> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.