Class PeerPartialData
Represents full or partial data returned by GetPeerPartialDataAsync(String, Int32, CancellationToken) method.
Inherited Members
Namespace: QBittorrent.Client
Assembly: QBittorrent.Client.dll
Syntax
public class PeerPartialData
Properties
| Improve this Doc View SourceAdditionalData
Additional properties not handled by this library.
Declaration
[JsonExtensionData]
public IDictionary<string, JToken> AdditionalData { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<String, Newtonsoft.Json.Linq.JToken> |
FullUpdate
Gets or sets a value indicating whether this object contains all data.
Declaration
[JsonProperty("full_update")]
public bool FullUpdate { get; set; }
Property Value
Type | Description |
---|---|
Boolean | true if this object contains all data; false if this object contains only changes of data since the previous request. |
PeersChanged
Gets or sets the changed and new peers.
Declaration
[JsonProperty("peers")]
public IReadOnlyDictionary<string, PeerPartialInfo> PeersChanged { get; set; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<String, PeerPartialInfo> |
PeersRemoved
Gets or sets the removed peers.
Declaration
[JsonProperty("peers_removed")]
public IReadOnlyList<string> PeersRemoved { get; set; }
Property Value
Type | Description |
---|---|
IReadOnlyList<String> |
ResponseId
Gets or sets the response identifier.
Declaration
[JsonProperty("rid")]
public int ResponseId { get; set; }
Property Value
Type | Description |
---|---|
Int32 | The response identifier. |
ShowFlags
Gets or sets a value indicating whether flags must be shown.
Declaration
[JsonProperty("show_flags")]
public bool ShowFlags { get; set; }
Property Value
Type | Description |
---|---|
Boolean | true if flags must be shown; otherwise, false. |