DirectusRole class
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
Constructors
-
DirectusRole({String? id, String? name, String? icon, String? description, String? ipAccess, bool? enforceTfa, List<
Map< ? moduleList, List<String, Object?> >Map< ? collectionList, bool? adminAccess, bool? appAccess, List<String, Object?> >Object> ? users}) -
DirectusRole.fromJson(Map<
String, Object?> json) -
Used for code generation
factory
Properties
- adminAccess ↔ bool?
-
getter/setter pair
- appAccess ↔ bool?
-
getter/setter pair
-
collectionList
↔ List<
Map< ?String, Object?> > -
getter/setter pair
- description ↔ String?
-
getter/setter pair
- enforceTfa ↔ bool?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon ↔ String?
-
getter/setter pair
- id ↔ String?
-
getter/setter pair
- ipAccess ↔ String?
-
getter/setter pair
-
moduleList
↔ List<
Map< ?String, Object?> > -
getter/setter pair
- name ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
users
↔ List<
Object> ? -
Either List of String IDs, or List of
DirectusUsers
.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - Used for code generation
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited