TautulliLibrary class
Model to store data about a library from Plex.
This model is typically fetched using getLibraries()
, and retrieves slightly different data than getLibrary()
.
A single library through getLibrary()
will return a TautulliSingleLibrary object.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- TautulliLibrary({int? sectionId, String? sectionName, TautulliSectionType? sectionType, String? agent, String? thumb, String? art, int? count, bool? isActive, int? parentCount, int? childCount})
-
TautulliLibrary.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a TautulliLibrary object.
factory
Properties
- agent → String?
-
The metadata agent being used for the library.
final
- art → String?
-
The library's artwork in Tautulli.
final
- 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
- hashCode → int
-
The hash code for this object.
no setterinherited
- isActive → bool?
-
Is the library active?
final
- parentCount → int?
-
The amount of parent content in this library (e.g., seasons, albums).
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
- thumb → String?
-
The library's thumbnail in Tautulli.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize a TautulliLibrary 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