SonarrHistoryRecord class
Model to store an individual history record from Sonarr.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- SonarrHistoryRecord({int? episodeId, int? seriesId, String? sourceTitle, SonarrEpisodeFileQuality? quality, bool? qualityCutoffNotMet, DateTime? date, String? downloadId, SonarrHistoryEventType? eventType, SonarrHistoryRecordData? data, SonarrEpisode? episode, SonarrSeries? series, int? id})
-
SonarrHistoryRecord.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a SonarrHistoryRecord object.
factory
Properties
- data ↔ SonarrHistoryRecordData?
-
getter/setter pair
- date ↔ DateTime?
-
getter/setter pair
- downloadId ↔ String?
-
getter/setter pair
- episode ↔ SonarrEpisode?
-
getter/setter pair
- episodeId ↔ int?
-
getter/setter pair
- eventType ↔ SonarrHistoryEventType?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
getter/setter pair
- quality ↔ SonarrEpisodeFileQuality?
-
getter/setter pair
- qualityCutoffNotMet ↔ bool?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- series ↔ SonarrSeries?
-
getter/setter pair
- seriesId ↔ int?
-
getter/setter pair
- sourceTitle ↔ String?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize a SonarrHistoryRecord 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