TautulliSearchResult class
Model to store Plex Media Server search result data.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
TautulliSearchResult({TautulliMediaType? mediaType, TautulliMediaType? subMediaType, int? sectionId, String? libraryName, int? ratingKey, int? parentRatingKey, int? grandparentRatingKey, String? title, String? parentTitle, String? grandparentTitle, String? originalTitle, String? sortTitle, int? mediaIndex, int? parentMediaIndex, String? studio, String? contentRating, String? summary, String? tagline, double? rating, String? ratingImage, double? audienceRating, String? audienceRatingImage, double? userRating, Duration? duration, int? year, int? minYear, int? maxYear, String? thumb, String? parentThumb, String? grandparentThumb, String? art, String? banner, String? originallyAvailableAt, DateTime? addedAt, DateTime? updatedAt, DateTime? lastViewedAt, String? guid, String? parentGuid, String? grandparentGuid, List<
String?> ? directors, List<String?> ? writers, List<String?> ? actors, List<String?> ? genres, List<String?> ? labels, List<String?> ? collections, String? fullTitle, int? childrenCount, bool? live, List<TautulliMediaInfo> ? mediaInfo}) -
TautulliSearchResult.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a TautulliSearchResult object.
factory
Properties
-
actors
→ List<
String?> ? -
List of actors's names who acted in the content.
final
- addedAt → DateTime?
-
The date on which the content was added to Plex.
This is typically read/stored as the file creation date within Plex.
final
- art → String?
-
Artwork path for the content.
final
- audienceRating → double?
-
The audience rating of the content.
final
- audienceRatingImage → String?
-
Link to an image for the audience rating.
final
-
Banner path for the content.
final
- childrenCount → int?
-
The amount of children this content has.
final
-
collections
→ List<
String?> ? -
List of collections the content is apart of on Plex.
final
- contentRating → String?
-
The content rating for the content.
final
-
directors
→ List<
String?> ? -
List of director's names who directed the content.
final
- duration → Duration?
-
Duration of the content.
final
- fullTitle → String?
-
The full title of the content.
final
-
genres
→ List<
String?> ? -
List of genres of the content.
final
- grandparentGuid → String?
-
The globally unique identifier for the content's grandparent.
final
- grandparentRatingKey → int?
-
The content's grandparent's unique ID from Plex.
final
- grandparentThumb → String?
-
Thumbnail path for the content's grandparent.
final
- grandparentTitle → String?
-
Title of the grandparent of the content.
final
- guid → String?
-
The globally unique identifier for the content.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ List<
String?> ? -
List of labels that have been attached on Plex.
final
- lastViewedAt → DateTime?
-
The date on which the content was last viewed on Plex.
final
- libraryName → String?
-
Name of the Plex library that the content belongs to.
final
- live → bool?
-
Is this session live content?
final
- maxYear → int?
-
Maximum year of the content within the collection.
final
- mediaIndex → int?
-
The index of the content with respect to its parent (for example, track number in an album).
final
-
mediaInfo
→ List<
TautulliMediaInfo> ? -
final
- mediaType → TautulliMediaType?
-
Type of media content.
final
- minYear → int?
-
Minimum year of the content within the collection.
final
- originallyAvailableAt → String?
-
The date on which the content was originally available on.
final
- originalTitle → String?
-
The original title of the content.
final
- parentGuid → String?
-
The globally unique identifier for the content's parent.
final
- parentMediaIndex → int?
-
The index of the parent of the content.
final
- parentRatingKey → int?
-
The content's parent's unique ID from Plex.
final
- parentThumb → String?
-
Thumbnail path for the content's parent.
final
- parentTitle → String?
-
Title of the parent of the content.
final
- rating → double?
-
The critic rating of the content.
final
- ratingImage → String?
-
Link to an image for the critic rating.
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?
-
Total amount of returned results.
final
- sortTitle → String?
-
The sort title of the content (if different from the title).
final
- studio → String?
-
The studio that made the content.
final
- subMediaType → TautulliMediaType?
-
Subtype of media content.
final
- summary → String?
-
The summary of the content.
final
- tagline → String?
-
The tagline of the content.
final
- thumb → String?
-
Thumbnail path for the content.
final
- title → String?
-
Title of the content.
final
- updatedAt → DateTime?
-
The date on which the content was last updated on Plex.
final
- userRating → double?
-
The user rating of the content.
final
-
writers
→ List<
String?> ? -
List of writer's names who wrote the content.
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 TautulliSearchResult 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