TautulliUserWatchTimeStats class
Model to store total watch time stats for a user in Plex.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- TautulliUserWatchTimeStats({int? queryDays, int? totalPlays, Duration? totalTime})
-
TautulliUserWatchTimeStats.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a TautulliUserWatchTimeStats object.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- queryDays → int?
-
The amount of days covered by the query.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalPlays → int?
-
The total amount of plays from this user in this period.
final
- totalTime → Duration?
-
The total time this user has streamed content.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize a TautulliUserWatchTimeStats 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