-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- TorrentExtended - Calls - Test - Readme
- Loading branch information
Showing
4 changed files
with
171 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
using Newtonsoft.Json; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace DelugeRPCClient.Net.Models | ||
{ | ||
public class TorrentExtended : Torrent | ||
{ | ||
[JsonProperty(PropertyName = "total_done")] | ||
public long TotalDone { get; set; } | ||
|
||
[JsonProperty(PropertyName = "total_payload_download")] | ||
public long TotalPayloadDownload { get; set; } | ||
|
||
[JsonProperty(PropertyName = "total_uploaded")] | ||
public long TotalUploaded { get; set; } | ||
|
||
[JsonProperty(PropertyName = "next_announce")] | ||
public int NextAnnounce { get; set; } | ||
|
||
[JsonProperty(PropertyName = "tracker_status")] | ||
public string TrackerStatus { get; set; } | ||
|
||
[JsonProperty(PropertyName = "num_pieces")] | ||
public int NumPieces { get; set; } | ||
|
||
[JsonProperty(PropertyName = "piece_length")] | ||
public long PieceLength { get; set; } | ||
|
||
[JsonProperty(PropertyName = "is_auto_managed")] | ||
public bool IsAutoManaged { get; set; } | ||
|
||
[JsonProperty(PropertyName = "active_time")] | ||
public long ActiveTime { get; set; } | ||
|
||
[JsonProperty(PropertyName = "seeding_time")] | ||
public long SeedingTime { get; set; } | ||
|
||
[JsonProperty(PropertyName = "time_since_transfer")] | ||
public long TimeSinceTransfer { get; set; } | ||
|
||
[JsonProperty(PropertyName = "seed_rank")] | ||
public int SeedRank { get; set; } | ||
|
||
[JsonProperty(PropertyName = "last_seen_complete")] | ||
public long LastSeenComplete { get; set; } | ||
|
||
[JsonProperty(PropertyName = "completed_time")] | ||
public long CompletedTime { get; set; } | ||
|
||
[JsonProperty(PropertyName = "owner")] | ||
public string Owner { get; set; } | ||
|
||
[JsonProperty(PropertyName = "public")] | ||
public bool Public { get; set; } | ||
|
||
[JsonProperty(PropertyName = "shared")] | ||
public bool Shared { get; set; } | ||
|
||
[JsonProperty(PropertyName = "queue")] | ||
public int Queue { get; set; } | ||
|
||
[JsonProperty(PropertyName = "total_wanted")] | ||
public long TotalWanted { get; set; } | ||
|
||
[JsonProperty(PropertyName = "state")] | ||
public string State { get; set; } | ||
|
||
[JsonProperty(PropertyName = "progress")] | ||
public float Progress { get; set; } | ||
|
||
[JsonProperty(PropertyName = "num_seeds")] | ||
public int NumSeeds { get; set; } | ||
|
||
[JsonProperty(PropertyName = "total_seeds")] | ||
public int TotalSeeds { get; set; } | ||
|
||
[JsonProperty(PropertyName = "num_peers")] | ||
public int NumPeers { get; set; } | ||
|
||
[JsonProperty(PropertyName = "total_peers")] | ||
public int TotalPeers { get; set; } | ||
|
||
[JsonProperty(PropertyName = "download_payload_rate")] | ||
public long DownloadPayloadRate { get; set; } | ||
|
||
[JsonProperty(PropertyName = "upload_payload_rate")] | ||
public long UploadPayloadRate { get; set; } | ||
|
||
[JsonProperty(PropertyName = "eta")] | ||
public long Eta { get; set; } | ||
|
||
[JsonProperty(PropertyName = "distributed_copies")] | ||
public float DistributedCopies { get; set; } | ||
|
||
[JsonProperty(PropertyName = "time_added")] | ||
public int TimeAdded { get; set; } | ||
|
||
[JsonProperty(PropertyName = "tracker_host")] | ||
public string TrackerHost { get; set; } | ||
|
||
[JsonProperty(PropertyName = "download_location")] | ||
public string DownloadLocation { get; set; } | ||
|
||
[JsonProperty(PropertyName = "total_remaining")] | ||
public long TotalRemaining { get; set; } | ||
|
||
[JsonProperty(PropertyName = "max_download_speed")] | ||
public long MaxDownloadSpeed { get; set; } | ||
|
||
[JsonProperty(PropertyName = "max_upload_speed")] | ||
public long MaxUploadSpeed { get; set; } | ||
|
||
[JsonProperty(PropertyName = "seeds_peers_ratio")] | ||
public float SeedsPeersRatio { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters