TautulliSingleLibrary class
Model to store data about a single library from Plex.
This model is typically fetched using getLibrary()
, and retrieves slightly different data than getLibraries()
.
All libraries through getLibraries()
will return a list of TautulliLibrary objects.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- TautulliSingleLibrary({int? rowId, String? serverId, int? sectionId, String? sectionName, TautulliSectionType? sectionType, String? libraryThumb, String? libraryArt, int? count, int? childCount, int? parentCount, bool? isActive, bool? doNotify, bool? doNotifyCreated, bool? keepSection, bool? deletedSection})
-
TautulliSingleLibrary.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a TautulliSingleLibrary object.
factory
Properties
- childCount → int?
-
The amount of child content in this library (e.g., songs, episodes).
final
- count → int?
-
The amount of content in this library.
final
- deletedSection → bool?
-
Is the library section deleted?
final
- doNotify → bool?
-
Are notifications enabled for the library?
final
- doNotifyCreated → bool?
-
Are notifications enable for the library on creation of content?
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isActive → bool?
-
Is the library active?
final
- keepSection → bool?
-
Are you currently tracking/keeping history for this library?
final
- libraryArt → String?
-
The library's artwork in Tautulli.
final
- libraryThumb → String?
-
The library's thumbnail in Tautulli.
final
- parentCount → int?
-
The amount of parent content in this library (e.g., seasons, albums).
final
- rowId → int?
-
The row ID of the library in Tautulli.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sectionId → int?
-
The library's section ID.
final
- sectionName → String?
-
THe name of the library section in Plex.
final
- sectionType → TautulliSectionType?
-
The type of content stored in this library.
final
- serverId → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize a TautulliSingleLibrary 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