TautulliLibraryMediaInfoRecord class
Model to store the Tautulli media information table data.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- TautulliLibraryMediaInfoRecord({int? sectionId, TautulliSectionType? sectionType, DateTime? addedAt, TautulliMediaType? mediaType, int? ratingKey, int? parentRatingKey, int? grandparentRatingKey, String? title, String? sortTitle, int? year, int? mediaIndex, int? parentMediaIndex, String? thumb, String? container, int? bitrate, String? videoCodec, String? videoResolution, String? videoFramerate, String? audioCodec, int? audioChannels, int? fileSize, DateTime? lastPlayed, int? playCount})
-
TautulliLibraryMediaInfoRecord.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a TautulliLibraryMediaInfoRecord object.
factory
Properties
- addedAt → DateTime?
-
Date on which the content was added to Plex.
This is typically read/stored as the file creation date within Plex.
final
- audioChannels → int?
-
Number of channels in the audio stream.
final
- audioCodec → String?
-
Codec of the audio stream.
final
- bitrate → int?
-
Bitrate of the content.
final
- container → String?
-
The media container type of the content.
final
- fileSize → int?
-
The size of the file, in bytes.
final
- grandparentRatingKey → int?
-
The content's grandparent's unique ID from Plex.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastPlayed → DateTime?
-
Date/time that the content was last played.
final
- mediaIndex → int?
-
The index of the content with respect to its parent (for example, track number in an album).
final
- mediaType → TautulliMediaType?
-
Type of media in this session.
final
- parentMediaIndex → int?
-
The index of the parent of the content.
final
- parentRatingKey → int?
-
The content's parent's unique ID from Plex.
final
- playCount → int?
-
Amount of times the content has been played.
final
- ratingKey → int?
-
The content's unique ID from Plex.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sectionId → int?
-
Library section ID.
final
- sectionType → TautulliSectionType?
-
Library section type.
final
- sortTitle → String?
-
Sort title of the content.
final
- thumb → String?
-
Thumbnail path for the content.
final
- title → String?
-
Title of the content.
final
- videoCodec → String?
-
Codec of the video stream.
final
- videoFramerate → String?
-
Framerate of the video stream.
final
- videoResolution → String?
-
Resolution of the video stream.
final
- year → int?
-
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 TautulliLibraryMediaInfoRecord 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