TautulliTableLibrary class
Model for a single Tautulli library data from the library table in Tautulli.
Typically contained within a TautulliLibrariesTable object.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
TautulliTableLibrary({int? rowId, String? serverId, int? sectionId, String? sectionName, TautulliSectionType? sectionType, int? count, int? parentCount, int? childCount, String? libraryArt, String? libraryThumb, int? plays, Duration? duration, DateTime? lastAccessed, int? historyRowId, String? lastPlayed, int? ratingKey, TautulliMediaType? mediaType, String? thumb, String? parentTitle, int? year, int? mediaIndex, int? parentMediaIndex, String? contentRating, List<
String?> ? labels, bool? live, String? originallyAvailableAt, String? guid, bool? doNotify, bool? doNotifyCreated, bool? isActive, bool? keepHistory}) -
TautulliTableLibrary.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a TautulliTableLibrary object.
factory
Properties
- childCount → int?
-
Amount of child-level content (episode, song, etc.) in the library.
final
- contentRating → String?
-
Content rating of the content that was last played.
final
- count → int?
-
Amount of root-level content (show, artist, etc.) in the library.
final
- doNotify → bool?
-
Are notifications enabled for this library?
final
- doNotifyCreated → bool?
-
Are created notifications enabled for this library?
final
- duration → Duration?
-
Duration of the entire library.
final
- guid → String?
-
GUID of the content that was last played from Plex.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- historyRowId → int?
-
The history row identifier of the content that was last played.
final
- isActive → bool?
-
Is the library active?
final
- keepHistory → bool?
-
Is history enabled for the library?
final
-
labels
→ List<
String?> ? -
Labels on the content that was last played.
final
- lastAccessed → DateTime?
-
The date/time the library was last accessed.
final
- lastPlayed → String?
-
The title of the content that was last played.
final
- libraryArt → String?
-
Path to the library artwork.
final
- libraryThumb → String?
-
Path to the library thumbnail.
final
- live → bool?
-
Is the last played content live content?
final
- mediaIndex → int?
-
Media index.
final
- mediaType → TautulliMediaType?
-
The type of media that was last played.
final
- originallyAvailableAt → String?
-
The date on which the last played content was originally available on.
final
- parentCount → int?
-
Amount of parent-level content (season, albums, etc.) in the library.
final
- parentMediaIndex → int?
-
Parent media index.
final
- parentTitle → String?
-
Title of the content's parent.
final
- plays → int?
-
Total amount of plays from this library.
final
- ratingKey → int?
-
The rating key of the content that was last played.
final
- rowId → int?
-
Row identifier of the library.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sectionId → int?
-
Section identifier of the library.
final
- sectionName → String?
-
Section name of the library.
final
- sectionType → TautulliSectionType?
-
Section type of the library.
final
- serverId → String?
-
Server identifier of the library.
final
- thumb → String?
-
Path to the last streamed content's thumbnail.
final
- year → int?
-
Year that 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 TautulliTableLibrary 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