SonarrSeries class

Model for a single series data from Sonarr.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

SonarrSeries({String? title, List<SonarrSeriesAlternateTitle>? alternateTitles, String? sortTitle, int? seasonCount, int? totalEpisodeCount, int? episodeCount, int? episodeFileCount, int? sizeOnDisk, String? status, String? overview, DateTime? nextAiring, DateTime? previousAiring, String? network, String? airTime, List<SonarrSeriesImage>? images, List<SonarrSeriesSeason>? seasons, int? year, String? path, int? profileId, int? languageProfileId, bool? seasonFolder, bool? monitored, bool? useSceneNumbering, int? runtime, int? tvMazeId, int? tvRageId, int? tvdbId, DateTime? firstAired, DateTime? lastInfoSync, SonarrSeriesType? seriesType, String? cleanTitle, String? imdbId, String? titleSlug, String? certification, List<String>? genres, List<int>? tags, DateTime? added, SonarrSeriesRating? ratings, int? qualityProfileId, int? id})
SonarrSeries.fromJson(Map<String, dynamic> json)
Deserialize a JSON map to a SonarrSeries object.
factory

Properties

added DateTime?
Date that the series was added to Sonarr
getter/setter pair
airTime String?
Time which the series airs at
getter/setter pair
alternateTitles List<SonarrSeriesAlternateTitle>?
List of SonarrSeriesAlternateTitle objects to store alternate titles
getter/setter pair
certification String?
Content rating of the series
getter/setter pair
cleanTitle String?
Title with any special characters removed
getter/setter pair
episodeCount int?
Amount of episodes available
getter/setter pair
episodeFileCount int?
Amount of episode files available
getter/setter pair
firstAired DateTime?
Date that the series premiered
getter/setter pair
genres List<String>?
List of genres for the series
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
The unique ID for the series in Sonarr
getter/setter pair
images List<SonarrSeriesImage>?
List of SonarrSeriesImage objects to store available images
getter/setter pair
imdbId String?
IMDB ID of the series
getter/setter pair
languageProfileId int?
Language profile ID for the series
getter/setter pair
lastInfoSync DateTime?
Date that the series was last refreshed in Sonarr
getter/setter pair
monitored bool?
Is the series monitored?
getter/setter pair
network String?
Network that hosts the series
getter/setter pair
nextAiring DateTime?
Date that the next episode will air
getter/setter pair
overview String?
Summary/overview of the series
getter/setter pair
path String?
Path to the series' files
getter/setter pair
previousAiring DateTime?
Date that the previous episode aired on
getter/setter pair
profileId int?
Profile ID for the series
getter/setter pair
qualityProfileId int?
Quality profile ID for the series
getter/setter pair
ratings SonarrSeriesRating?
SonarrSeriesRating object to store rating information
getter/setter pair
runtime int?
Runtime of an average episode in the series, in minutes
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seasonCount int?
Total amount of seasons
getter/setter pair
seasonFolder bool?
Are season folders being used?
getter/setter pair
seasons List<SonarrSeriesSeason>?
List of SonarrSeriesSeason objects to store season data
getter/setter pair
seriesType SonarrSeriesType?
SonarrSeriesType to store the type of the series
getter/setter pair
sizeOnDisk int?
Size of this series, in bytes
getter/setter pair
sortTitle String?
Title used for sorting the series
getter/setter pair
status String?
Status of the series
getter/setter pair
tags List<int>?
List of tag IDs associated with the series
getter/setter pair
title String?
Title of the series
getter/setter pair
titleSlug String?
Title slug, used for routing to the series via URL
getter/setter pair
totalEpisodeCount int?
Total amount of episodes in this series, including episodes not aired
getter/setter pair
tvdbId int?
TVDB ID for the series
getter/setter pair
tvMazeId int?
TVMaze ID for the series
getter/setter pair
tvRageId int?
TVRage ID for the series
getter/setter pair
useSceneNumbering bool?
Is the series using scene numbering?
getter/setter pair
year int?
Year that the series premiered
getter/setter pair

Methods

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