SonarrRelease class

Model for an episode release from Sonarr.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

SonarrRelease({String? guid, SonarrEpisodeFileQuality? quality, int? qualityWeight, int? age, double? ageHours, double? ageMinutes, int? size, int? indexerId, String? indexer, String? releaseGroup, String? releaseHash, String? title, bool? fullSeason, int? seasonNumber, String? seriesTitle, List<int>? episodeNumbers, List<int>? absoluteEpisodeNumbers, bool? approved, bool? temporarilyRejected, bool? rejected, int? tvdbId, int? tvRageId, List<String>? rejections, DateTime? publishDate, String? commentUrl, String? downloadUrl, String? infoUrl, bool? downloadAllowed, int? releaseWeight, String? protocol, bool? isDaily, bool? isAbsoluteNumbering, bool? isPossibleSpecialEpisode, bool? special, int? leechers, int? seeders})
SonarrRelease.fromJson(Map<String, dynamic> json)
Deserialize a JSON map to a SonarrRelease object.
factory

Properties

absoluteEpisodeNumbers List<int>?
Absolute episode numbers contained in this release
getter/setter pair
age int?
Release age (in days)
getter/setter pair
ageHours double?
Release age (in hours)
getter/setter pair
ageMinutes double?
Release age (in minutes)
getter/setter pair
approved bool?
Is this release approved?
getter/setter pair
commentUrl String?
Link to the comments on the indexer
getter/setter pair
downloadAllowed bool?
Is the download allowed?
getter/setter pair
downloadUrl String?
Link to the release on the indexer
getter/setter pair
episodeNumbers List<int>?
Episode numbers contained in this release
getter/setter pair
fullSeason bool?
Is this the full season?
getter/setter pair
guid String?
GUID of the release
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
indexer String?
Indexer name
getter/setter pair
indexerId int?
Indexer identifier
getter/setter pair
infoUrl String?
Link to the information on the indexer
getter/setter pair
isAbsoluteNumbering bool?
Is this release absolute numbered?
getter/setter pair
isDaily bool?
Is the release formatted as a daily episode?
getter/setter pair
isPossibleSpecialEpisode bool?
Is this possibly a special episode?
getter/setter pair
leechers int?
If the protocol is torrent, the number of leechers
getter/setter pair
protocol String?
The protocol used to download the release
getter/setter pair
publishDate DateTime?
DateTime object for when the release was published
getter/setter pair
quality SonarrEpisodeFileQuality?
SonarrEpisodeFileQuality object containing the quality profile details
getter/setter pair
qualityWeight int?
Quality weight
getter/setter pair
rejected bool?
Is this release rejected?
getter/setter pair
rejections List<String>?
List of reasons why the release got rejected
getter/setter pair
releaseGroup String?
Group that released the file
getter/setter pair
releaseHash String?
Hash of the release
getter/setter pair
releaseWeight int?
Weight of the release
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seasonNumber int?
Season of the release
getter/setter pair
seeders int?
If the protocol is torrent, the number of seeders
getter/setter pair
seriesTitle String?
Series title
getter/setter pair
size int?
File size
getter/setter pair
special bool?
Is this a specials episode?
getter/setter pair
temporarilyRejected bool?
Is this release temporarily rejected?
getter/setter pair
title String?
Release title
getter/setter pair
tvdbId int?
TVDB identifier
getter/setter pair
tvRageId int?
TVRage identifier
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serialize a SonarrRelease 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