TautulliHistoryRecord class

Model for a single history record in Tautulli.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

TautulliHistoryRecord({int? referenceId, int? rowId, int? id, DateTime? date, DateTime? started, DateTime? stopped, Duration? duration, Duration? pausedCounter, int? userId, String? user, String? friendlyName, String? platform, String? player, String? product, String? ipAddress, bool? live, TautulliMediaType? mediaType, int? ratingKey, int? parentRatingKey, int? grandparentRatingKey, String? fullTitle, String? title, String? parentTitle, String? grandparentTitle, String? originalTitle, int? year, int? mediaIndex, int? parentMediaIndex, String? thumb, String? originallyAvailableAt, String? guid, TautulliTranscodeDecision? transcodeDecision, int? percentComplete, TautulliWatchedStatus? watchedStatus, int? groupCount, List<String>? groupIds, TautulliSessionState? state, int? sessionKey})
TautulliHistoryRecord.fromJson(Map<String, dynamic> json)
Deserialize a JSON map to a TautulliHistoryRecord object.
factory

Properties

date DateTime?
Date of the history record.
final
duration Duration?
Duration of the session (in seconds).
final
friendlyName String?
Friendly name of the user who streamed the content.
final
fullTitle String?
The full title of the content.
final
grandparentRatingKey int?
The content's grandparent's unique ID from Plex.
final
grandparentTitle String?
Title of the grandparent of the content.
final
groupCount int?
How many groups this session is in.
final
groupIds List<String>?
List of all the groups this session is in.
final
guid String?
The globally unique identifier for the content.
final
hashCode int
The hash code for this object.
no setterinherited
id int?
ID. If it is null, that means the session is currently active.
final
ipAddress String?
IP address of the streaming session.
final
live bool?
Was this a live session?
final
mediaIndex int?
The media index of the content.
final
mediaType TautulliMediaType?
The type of media that was streamed.
final
originallyAvailableAt String?
The date on which the content was originally available on.
final
originalTitle String?
The original title of the content.
final
parentMediaIndex int?
The content's parent's media index.
final
parentRatingKey int?
The content's parent's unique ID from Plex.
final
parentTitle String?
Title of the parent of the content.
final
pausedCounter Duration?
The duration that the session has been or was paused for
final
percentComplete int?
How much of the content has been played.
final
platform String?
Platform of the streaming device.
final
player String?
Name of the streaming device/player.
final
product String?
Plex product name on the streaming device.
final
ratingKey int?
The content's unique ID from Plex.
final
referenceId int?
Reference ID. If it is null, that means the session is currently active.
final
rowId int?
Row ID. If it is null, that means the session is currently active.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionKey int?
Session's key/identifier if it is still active.
final
started DateTime?
Start date of the history record session.
final
state TautulliSessionState?
Current state of the session if it is still active.
final
stopped DateTime?
End date of the history record session.
final
thumb String?
Thumbnail path for the content.
final
title String?
Title of the content.
final
transcodeDecision TautulliTranscodeDecision?
What decision was made on how to handle the content.
final
user String?
Name of the user who streamed the content.
final
userId int?
The ID of the user who streamed the content.
final
watchedStatus TautulliWatchedStatus?
The watch status of the history record.
final
year int?
The year the content was released.
final

Methods

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