toggle menu
qBittorrent
1.1.0-alpha02
common
switch theme
search in API
qbittorrent-models
/
qbittorrent.models
/
TorrentPeers
Torrent
Peers
@
Serializable
class
TorrentPeers
(
val
fullUpdate
:
Boolean
=
false
,
val
rid
:
Int
=
0
,
val
showFlags
:
Boolean
=
false
,
val
peers
:
Map
<
String
,
TorrentPeer
>
=
emptyMap()
,
val
peersRemoved
:
List
<
String
>
=
emptyList()
)
Members
Constructors
Torrent
Peers
Link copied to clipboard
constructor
(
fullUpdate
:
Boolean
=
false
,
rid
:
Int
=
0
,
showFlags
:
Boolean
=
false
,
peers
:
Map
<
String
,
TorrentPeer
>
=
emptyMap()
,
peersRemoved
:
List
<
String
>
=
emptyList()
)
Properties
full
Update
Link copied to clipboard
@
SerialName
(
value
=
"full_update"
)
val
fullUpdate
:
Boolean
=
false
peers
Link copied to clipboard
val
peers
:
Map
<
String
,
TorrentPeer
>
peers
Removed
Link copied to clipboard
@
SerialName
(
value
=
"peers_removed"
)
val
peersRemoved
:
List
<
String
>
rid
Link copied to clipboard
val
rid
:
Int
=
0
show
Flags
Link copied to clipboard
@
SerialName
(
value
=
"show_flags"
)
val
showFlags
:
Boolean
=
false