Class PeerPartialData
Represents full or partial data returned by GetPeerPartialDataAsync(String, Int32, CancellationToken) method.
Inheritance
System.Object
PeerPartialData
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|---|
System.Collections.Generic.IDictionary<System.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 |
---|---|
System.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 |
---|---|
System.Collections.Generic.IReadOnlyDictionary<System.String, PeerPartialInfo> |
PeersRemoved
Gets or sets the removed peers.
Declaration
[JsonProperty("peers_removed")]
public IReadOnlyList<string> PeersRemoved { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<System.String> |
ResponseId
Gets or sets the response identifier.
Declaration
[JsonProperty("rid")]
public int ResponseId { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Boolean | true if flags must be shown; otherwise, false. |