AddTorrentBody
class AddTorrentBody(val urls: MutableList<String> = mutableListOf(), val torrents: MutableList<String> = mutableListOf(), val rawTorrents: MutableMap<String, ByteArray> = mutableMapOf(), var savepath: String? = null, var cookie: String? = null, var category: String? = null, val tags: MutableList<String> = mutableListOf(), var skipChecking: Boolean? = null, var paused: Boolean? = null, var rootFolder: Boolean? = null, var rename: String? = null, var upLimit: Long? = null, var dlLimit: Long? = null, var ratioLimit: Float? = null, var seedingTimeLimit: Duration? = null, var autoTMM: Boolean? = null, var sequentialDownload: Boolean? = null, var firstLastPiecePriority: Boolean? = null)
Constructors
Link copied to clipboard
constructor(urls: MutableList<String> = mutableListOf(), torrents: MutableList<String> = mutableListOf(), rawTorrents: MutableMap<String, ByteArray> = mutableMapOf(), savepath: String? = null, cookie: String? = null, category: String? = null, tags: MutableList<String> = mutableListOf(), skipChecking: Boolean? = null, paused: Boolean? = null, rootFolder: Boolean? = null, rename: String? = null, upLimit: Long? = null, dlLimit: Long? = null, ratioLimit: Float? = null, seedingTimeLimit: Duration? = null, autoTMM: Boolean? = null, sequentialDownload: Boolean? = null, firstLastPiecePriority: Boolean? = null)
Properties
Link copied to clipboard
Prioritize download first last piece. Possible values are true, false (default)
Link copied to clipboard
Set torrent share ratio limit.
Link copied to clipboard
Torrent file names and their file contents.
Link copied to clipboard
Create the root folder. Possible values are true, false, unset (default)
Link copied to clipboard
Set torrent seeding time limit.
Link copied to clipboard
Enable sequential download. Possible values are true, false (default)
Link copied to clipboard
Skip hash checking. Possible values are true, false (default)
Link copied to clipboard
Tags for the torrent.
Link copied to clipboard
File paths to torrent files.
Link copied to clipboard
Torrent file HTTP or Magnet urls.