TautulliActivity class

Model for activity data from Tautulli.

Each individual session data is stored in sessions, with each session being a TautulliSession.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

TautulliActivity({int? streamCount, int? streamCountDirectPlay, int? streamCountDirectStream, int? streamCountTranscode, int? totalBandwidth, int? lanBandwidth, int? wanBandwidth, List<TautulliSession>? sessions})
TautulliActivity.fromJson(Map<String, dynamic> json)
Deserialize a JSON map to a TautulliActivity object.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
lanBandwidth int?
Total bandwidth usage on your local area network (internal, LAN).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessions List<TautulliSession>?
List of TautulliSession, each storing a single active session.
final
streamCount int?
Total number of active streams.
final
streamCountDirectPlay int?
Total number of direct play active streams.
final
streamCountDirectStream int?
Total number of direct stream active streams.
final
streamCountTranscode int?
Total number of transcode active streams.
final
totalBandwidth int?
Total bandwidth usage by all streams.
final
wanBandwidth int?
Total bandwidth usage on your wide area network (external, WAN).
final

Methods

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