TautulliUser class
Model for a single Tautulli user's data in Tautulli.
Depending on how the TautulliUser object was created, the user thumbnail will be in either:
thumb
fromgetUsers()
userThumb
fromgetUser(userId)
The filtered strings and the server token will be null when fetching a single user via getUser()
.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- TautulliUser({int? rowId, int? userId, String? friendlyName, String? thumb, String? userThumb, String? email, bool? isActive, bool? isAdmin, bool? isHomeUser, bool? isAllowSync, bool? isRestricted, bool? doNotify, bool? keepHistory, bool? allowGuest, String? serverToken, String? filterAll, String? filterMovies, String? filterTv, String? filterMusic, String? filterPhotos})
-
TautulliUser.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a TautulliUser object.
factory
Properties
- allowGuest → bool?
-
Is the user allowed guest access to Tautulli?
final
- doNotify → bool?
-
Does the user have notifications enabled?
final
- email → String?
-
Email of the user.
final
- filterAll → String?
-
Filters applied to all libraries for this user.
final
- filterMovies → String?
-
Filters applied to movie libraries for this user.
final
- filterMusic → String?
-
Filters applied to music libraries for this user.
final
- filterPhotos → String?
-
Filters applied to photos libraries for this user.
final
- filterTv → String?
-
Filters applied to television libraries for this user.
final
- friendlyName → String?
-
Friendly name of the user.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isActive → bool?
-
Is the user active?
final
- isAdmin → bool?
-
Is the user an admin?
final
- isAllowSync → bool?
-
Is the user allowed to sync content?
final
- isHomeUser → bool?
-
Is the user a home user?
final
- isRestricted → bool?
-
Is the user restricted?
final
- keepHistory → bool?
-
Is history being tracked for the user?
final
- rowId → int?
-
Row identifier of the user.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverToken → String?
-
User's server token.
final
-
List of libraries that are shared with the user.
final
- thumb → String?
-
Thumbnail link of the user.
final
- userId → int?
-
User identifier.
final
- userThumb → String?
-
Thumbnail link of the user.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize a TautulliUser object to a JSON map.
-
toString(
) → String -
Returns a JSON-encoded string version of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited