SonarrRootFolder class
Model for root folders from Sonarr.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
SonarrRootFolder({String? path, int? freeSpace, int? totalSpace, List<
SonarrUnmappedFolder> ? unmappedFolders, int? id}) -
SonarrRootFolder.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a SonarrRootFolder object.
factory
Properties
- freeSpace ↔ int?
-
Free space at the root folder
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
Identifier of the root folder
getter/setter pair
- path ↔ String?
-
Root folder's path
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalSpace ↔ int?
-
Total space at the root folder
getter/setter pair
-
unmappedFolders
↔ List<
SonarrUnmappedFolder> ? -
List of unmapped folders within this root folder
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize a SonarrRootFolder 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