SonarrHistory class
Model to store history records from Sonarr.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- SonarrHistory({int? page, int? pageSize, SonarrHistorySortKey? sortKey, String? sortDirection, int? totalRecords})
-
SonarrHistory.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a SonarrHistory object.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- page ↔ int?
-
Page number
getter/setter pair
- pageSize ↔ int?
-
Page size
getter/setter pair
-
records
↔ List<
SonarrHistoryRecord> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sortDirection ↔ String?
-
Sorting direction
getter/setter pair
- sortKey ↔ SonarrHistorySortKey?
-
SonarrHistorySortKey object containing the sorting key
getter/setter pair
- totalRecords ↔ int?
-
Total amount of records available
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize a SonarrHistory 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