TautulliUserLoginRecord class
Model to store a single user login information.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- TautulliUserLoginRecord({DateTime? timestamp, int? userId, TautulliUserGroup? userGroup, String? ipAddress, String? host, String? userAgent, String? os, String? browser, bool? success, String? friendlyName})
-
TautulliUserLoginRecord.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a TautulliUserLoginRecord object.
factory
Properties
- browser → String?
-
Browser used on the login device.
final
- friendlyName → String?
-
Friendly name of the user.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String?
-
Host of the login record.
final
- ipAddress → String?
-
Originating IP address of the login record.
final
- os → String?
-
Operating system of the login device.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success → bool?
-
Was the login successful?
final
- timestamp → DateTime?
-
Timestamp of the login.
final
- userAgent → String?
-
User agent of the device used to login.
final
- userGroup → TautulliUserGroup?
-
What group the user is apart of.
final
- userId → int?
-
The user's ID.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize a TautulliUserLoginRecord 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