SonarrCommandBody class
Model for the body for executing a command in Sonarr.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- SonarrCommandBody({int? seriesId, bool? isNewSeries, bool? sendUpdatesToClient, bool? updateScheduledTask, String? completionMessage, bool? requiresDiskAccess, bool? isExclusive, String? name, String? trigger, bool? suppressMessages})
-
SonarrCommandBody.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a SonarrCommandBody object.
factory
Properties
- completionMessage ↔ String?
-
Message for completion
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isExclusive ↔ bool?
-
Does this command need to execute exclusively?
getter/setter pair
- isNewSeries ↔ bool?
-
Is this command handling a new series?
getter/setter pair
- name ↔ String?
-
Name of the command
getter/setter pair
- requiresDiskAccess ↔ bool?
-
Does this command require disk access?
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendUpdatesToClient ↔ bool?
-
Will updates be sent to the client for this command?
getter/setter pair
- seriesId ↔ int?
-
Series ID attached to the command (if applicable, else null).
getter/setter pair
- suppressMessages ↔ bool?
-
Will messages for this command be suppressed?
getter/setter pair
- trigger ↔ String?
-
Method that triggered the command
getter/setter pair
- type ↔ String?
-
Type of the command
getter/setter pair
- updateScheduledTask ↔ bool?
-
Will this command update the scheduled tasks?
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize a SonarrCommandBody 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