TautulliSyncedItem class
Model to store data about a synced item from Plex.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- TautulliSyncedItem({String? deviceName, String? platform, int? userId, String? user, String? username, String? rootTitle, String? syncTitle, String? metadataType, String? contentType, int? ratingKey, String? state, int? itemCount, int? itemCompleteCount, int? itemDownloadedCount, int? itemDownloadedPercentComplete, int? videoBitrate, int? audioBitrate, int? photoQuality, int? videoQuality, int? totalSize, String? failure, String? clientId, String? syncId})
-
TautulliSyncedItem.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a TautulliSyncedItem object.
factory
Properties
- audioBitrate → int?
-
The synced audio bitrate.
final
- clientId → String?
-
The client ID.
final
- contentType → String?
-
The content type of the synced content.
final
- deviceName → String?
-
Name of the device that the content is synced to.
final
- failure → String?
-
Failure status.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemCompleteCount → int?
-
The amount of completed items.
final
- itemCount → int?
-
The amount of items.
final
- itemDownloadedCount → int?
-
The amount of downloaded items.
final
- itemDownloadedPercentComplete → int?
-
The percentage completed of downloaded items.
final
- metadataType → String?
-
The metadata type of the synced content.
final
- photoQuality → int?
-
The synced photo quality.
final
- platform → String?
-
Platform of the device.
final
- ratingKey → int?
-
The rating key for the synced content.
final
- rootTitle → String?
-
The root item's title.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String?
-
The current state of the synced content.
final
- syncId → String?
-
The sync ID.
final
- syncTitle → String?
-
The synced content title.
final
- totalSize → int?
-
The total size in bytes of the synced content.
final
- user → String?
-
The user's name.
final
- userId → int?
-
The user's ID.
final
- username → String?
-
The user's username.
final
- videoBitrate → int?
-
The synced video bitrate.
final
- videoQuality → int?
-
The synced video quality.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize a TautulliSyncedItem 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