TautulliLibraryWatchTimeStats class

Model to store total watch time stats for a library in Plex.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

TautulliLibraryWatchTimeStats({int? queryDays, int? totalPlays, Duration? totalTime})
TautulliLibraryWatchTimeStats.fromJson(Map<String, dynamic> json)
Deserialize a JSON map to a TautulliLibraryWatchTimeStats 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 library.
final
totalTime Duration?
The total time this library has been streamed.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serialize a TautulliLibraryWatchTimeStats 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