TautulliServerInfo class
Model to store the Plex server information used in Tautulli.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- TautulliServerInfo({String? name, String? machineIdentifier, String? host, int? port, String? version})
-
TautulliServerInfo.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a TautulliServerInfo object.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String?
-
The host/IP address of the Plex Media Server.
final
- machineIdentifier → String?
-
The machine identifier key.
final
- name → String?
-
The server name.
final
- port → int?
-
The public port that the Plex Media Server is available on.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → String?
-
The Plex Media Server version currently installed.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize a TautulliServerInfo 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