TautulliHistory class
Model for history data from Tautulli.
Each individual session history is stored in records
, with each history record being a TautulliHistoryRecord.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
TautulliHistory({List<
TautulliHistoryRecord> ? records, int? draw, int? recordsTotal, int? recordsFiltered, String? totalDuration, String? filterDuration}) -
TautulliHistory.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a TautulliHistory object.
factory
Properties
- draw → int?
-
Unknown
final
- filterDuration → String?
-
The duration of the records (filtered) retrieved, as a preformatted string.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
records
→ List<
TautulliHistoryRecord> ? -
List of
TautulliHistoryRecord
, each storing a single session history.final - recordsFiltered → int?
-
The amount of records (filtered).
final
- recordsTotal → int?
-
Total amount of records.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalDuration → String?
-
The duration of the records (total) retrieved, as a preformatted string.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize a TautulliHistory 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