SonarrCommandHandler_Series class
Facilitates, encapsulates, and manages individual calls related to series within Sonarr.
SonarrCommandHandler_Series internally handles routing the HTTP client to the API calls.
Constructors
- SonarrCommandHandler_Series(Dio _client)
-
Create a series command handler using an initialized
Dio
client.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addSeries(
{required int tvdbId, required int profileId, required String title, required String titleSlug, required List< SonarrSeriesImage> images, required List<SonarrSeriesSeason> seasons, required SonarrSeriesType seriesType, int? languageProfileId, List<int> ? tags, String? path, String? rootFolderPath, int? tvRageId, bool seasonFolder = true, bool monitored = true, bool ignoreEpisodesWithFiles = false, bool ignoreEpisodesWithoutFiles = false, bool searchForMissingEpisodes = false}) → Future<SonarrSeries> - Handler for series.
-
deleteSeries(
{required int seriesId, bool deleteFiles = false}) → Future< SonarrSeries> - Handler for series/{id}.
-
getAllSeries(
) → Future< List< SonarrSeries> > - Handler for series.
-
getSeries(
{required int seriesId}) → Future< SonarrSeries> - Handler for series/{id}.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateSeries(
{required SonarrSeries series}) → Future< SonarrSeries> -
Handler for
series
https://github.com/Sonarr/Sonarr/wiki/Series#put).
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited