SonarrLanguageProfile class

Model for a language profile from Sonarr.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

SonarrLanguageProfile({String? name, bool? upgradeAllowed, SonarrLanguageProfileCutoff? cutoff, List<SonarrLanguageProfileItem>? languages, int? id})
SonarrLanguageProfile.fromJson(Map<String, dynamic> json)
Deserialize a JSON map to a SonarrLanguageProfile object.
factory

Properties

cutoff SonarrLanguageProfileCutoff?
Cutoff profile information
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
Identifier of the language profile
getter/setter pair
languages List<SonarrLanguageProfileItem>?
Nested profile languages
getter/setter pair
name String?
Name of the profile
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
upgradeAllowed bool?
Are upgrades allowed?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serialize a SonarrLanguageProfile 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