MastodonAdminRole class
Admin-level role information.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
Properties
- color → String?
-
Color code of the role.
final
- createdAt → DateTime?
-
Timestamp when the role was created.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- highlighted → bool
-
Whether to display the role as a badge.
final
- id → int
-
ID of the role.
final
- name → String
-
Name of the role.
final
- permissions → String?
-
Permission bitmask of the role.
final
- position → int?
-
Priority of the role.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updatedAt → DateTime?
-
Timestamp when the role was last updated.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited