Documentation
¶
Overview ¶
Package qbt provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
Index ¶
- Constants
- func GetSwagger() (swagger *openapi3.T, err error)
- func InfohashFromURL(rawurl string) (string, error)
- func NewAppBuildInfoGetRequest(server string) (*http.Request, error)
- func NewAppDefaultSavePathGetRequest(server string) (*http.Request, error)
- func NewAppPreferencesGetRequest(server string) (*http.Request, error)
- func NewAppSetPreferencesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAppSetPreferencesPostRequestWithFormdataBody(server string, body AppSetPreferencesPostFormdataRequestBody) (*http.Request, error)
- func NewAppShutdownGetRequest(server string) (*http.Request, error)
- func NewAppVersionGetRequest(server string) (*http.Request, error)
- func NewAppWebapiVersionGetRequest(server string) (*http.Request, error)
- func NewAuthLoginPostRequestWithBody(server string, params *AuthLoginPostParams, contentType string, body io.Reader) (*http.Request, error)
- func NewAuthLoginPostRequestWithFormdataBody(server string, params *AuthLoginPostParams, ...) (*http.Request, error)
- func NewAuthLogoutPostRequest(server string) (*http.Request, error)
- func NewLogMainPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewLogMainPostRequestWithFormdataBody(server string, body LogMainPostFormdataRequestBody) (*http.Request, error)
- func NewLogPeersPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewLogPeersPostRequestWithFormdataBody(server string, body LogPeersPostFormdataRequestBody) (*http.Request, error)
- func NewRssAddFeedPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRssAddFeedPostRequestWithFormdataBody(server string, body RssAddFeedPostFormdataRequestBody) (*http.Request, error)
- func NewRssAddFolderPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRssAddFolderPostRequestWithFormdataBody(server string, body RssAddFolderPostFormdataRequestBody) (*http.Request, error)
- func NewRssItemsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRssItemsPostRequestWithFormdataBody(server string, body RssItemsPostFormdataRequestBody) (*http.Request, error)
- func NewRssMarkAsReadPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRssMarkAsReadPostRequestWithFormdataBody(server string, body RssMarkAsReadPostFormdataRequestBody) (*http.Request, error)
- func NewRssMatchingArticlesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRssMatchingArticlesPostRequestWithFormdataBody(server string, body RssMatchingArticlesPostFormdataRequestBody) (*http.Request, error)
- func NewRssMoveItemPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRssMoveItemPostRequestWithFormdataBody(server string, body RssMoveItemPostFormdataRequestBody) (*http.Request, error)
- func NewRssRefreshItemPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRssRefreshItemPostRequestWithFormdataBody(server string, body RssRefreshItemPostFormdataRequestBody) (*http.Request, error)
- func NewRssRemoveItemPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRssRemoveItemPostRequestWithFormdataBody(server string, body RssRemoveItemPostFormdataRequestBody) (*http.Request, error)
- func NewRssRemoveRulePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRssRemoveRulePostRequestWithFormdataBody(server string, body RssRemoveRulePostFormdataRequestBody) (*http.Request, error)
- func NewRssRenameRulePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRssRenameRulePostRequestWithFormdataBody(server string, body RssRenameRulePostFormdataRequestBody) (*http.Request, error)
- func NewRssRulesGetRequest(server string) (*http.Request, error)
- func NewRssSetRulePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRssSetRulePostRequestWithFormdataBody(server string, body RssSetRulePostFormdataRequestBody) (*http.Request, error)
- func NewSearchDeletePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSearchDeletePostRequestWithFormdataBody(server string, body SearchDeletePostFormdataRequestBody) (*http.Request, error)
- func NewSearchEnablePluginPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSearchEnablePluginPostRequestWithFormdataBody(server string, body SearchEnablePluginPostFormdataRequestBody) (*http.Request, error)
- func NewSearchInstallPluginPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSearchInstallPluginPostRequestWithFormdataBody(server string, body SearchInstallPluginPostFormdataRequestBody) (*http.Request, error)
- func NewSearchPluginsGetRequest(server string) (*http.Request, error)
- func NewSearchResultsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSearchResultsPostRequestWithFormdataBody(server string, body SearchResultsPostFormdataRequestBody) (*http.Request, error)
- func NewSearchStartPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSearchStartPostRequestWithFormdataBody(server string, body SearchStartPostFormdataRequestBody) (*http.Request, error)
- func NewSearchStatusPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSearchStatusPostRequestWithFormdataBody(server string, body SearchStatusPostFormdataRequestBody) (*http.Request, error)
- func NewSearchStopPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSearchStopPostRequestWithFormdataBody(server string, body SearchStopPostFormdataRequestBody) (*http.Request, error)
- func NewSearchUninstallPluginPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSearchUninstallPluginPostRequestWithFormdataBody(server string, body SearchUninstallPluginPostFormdataRequestBody) (*http.Request, error)
- func NewSearchUpdatePluginsPostRequest(server string) (*http.Request, error)
- func NewSyncMaindataPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSyncMaindataPostRequestWithFormdataBody(server string, body SyncMaindataPostFormdataRequestBody) (*http.Request, error)
- func NewSyncTorrentPeersPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSyncTorrentPeersPostRequestWithFormdataBody(server string, body SyncTorrentPeersPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentWebseedsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentWebseedsPostRequestWithFormdataBody(server string, body TorrentWebseedsPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsAddPeersPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsAddPeersPostRequestWithFormdataBody(server string, body TorrentsAddPeersPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsAddPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsAddTagsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsAddTagsPostRequestWithFormdataBody(server string, body TorrentsAddTagsPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsAddTrackersPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsAddTrackersPostRequestWithFormdataBody(server string, body TorrentsAddTrackersPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsBottomPrioPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsBottomPrioPostRequestWithFormdataBody(server string, body TorrentsBottomPrioPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsCategoriesGetRequest(server string) (*http.Request, error)
- func NewTorrentsCreateCategoryPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsCreateCategoryPostRequestWithFormdataBody(server string, body TorrentsCreateCategoryPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsCreateTagsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsCreateTagsPostRequestWithFormdataBody(server string, body TorrentsCreateTagsPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsDecreasePrioPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsDecreasePrioPostRequestWithFormdataBody(server string, body TorrentsDecreasePrioPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsDeletePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsDeletePostRequestWithFormdataBody(server string, body TorrentsDeletePostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsDeleteTagsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsDeleteTagsPostRequestWithFormdataBody(server string, body TorrentsDeleteTagsPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsDownloadLimitPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsDownloadLimitPostRequestWithFormdataBody(server string, body TorrentsDownloadLimitPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsEditCategoryPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsEditCategoryPostRequestWithFormdataBody(server string, body TorrentsEditCategoryPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsEditTrackerPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsEditTrackerPostRequestWithFormdataBody(server string, body TorrentsEditTrackerPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsFilePrioPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsFilePrioPostRequestWithFormdataBody(server string, body TorrentsFilePrioPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsFilesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsFilesPostRequestWithFormdataBody(server string, body TorrentsFilesPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsIncreasePrioPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsIncreasePrioPostRequestWithFormdataBody(server string, body TorrentsIncreasePrioPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsInfoPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsInfoPostRequestWithFormdataBody(server string, body TorrentsInfoPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsPausePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsPausePostRequestWithFormdataBody(server string, body TorrentsPausePostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsPieceHashesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsPieceHashesPostRequestWithFormdataBody(server string, body TorrentsPieceHashesPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsPieceStatesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsPieceStatesPostRequestWithFormdataBody(server string, body TorrentsPieceStatesPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsPropertiesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsPropertiesPostRequestWithFormdataBody(server string, body TorrentsPropertiesPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsReannouncePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsReannouncePostRequestWithFormdataBody(server string, body TorrentsReannouncePostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsRecheckPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsRecheckPostRequestWithFormdataBody(server string, body TorrentsRecheckPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsRemoveCategoriesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsRemoveCategoriesPostRequestWithFormdataBody(server string, body TorrentsRemoveCategoriesPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsRemoveTagsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsRemoveTagsPostRequestWithFormdataBody(server string, body TorrentsRemoveTagsPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsRemoveTrackersPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsRemoveTrackersPostRequestWithFormdataBody(server string, body TorrentsRemoveTrackersPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsRenameFilePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsRenameFilePostRequestWithFormdataBody(server string, body TorrentsRenameFilePostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsRenameFolderPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsRenameFolderPostRequestWithFormdataBody(server string, body TorrentsRenameFolderPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsRenamePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsRenamePostRequestWithFormdataBody(server string, body TorrentsRenamePostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsResumePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsResumePostRequestWithFormdataBody(server string, body TorrentsResumePostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsSetAutoManagementPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsSetAutoManagementPostRequestWithFormdataBody(server string, body TorrentsSetAutoManagementPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsSetCategoryPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsSetCategoryPostRequestWithFormdataBody(server string, body TorrentsSetCategoryPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsSetDownloadLimitPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsSetDownloadLimitPostRequestWithFormdataBody(server string, body TorrentsSetDownloadLimitPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsSetForceStartPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsSetForceStartPostRequestWithFormdataBody(server string, body TorrentsSetForceStartPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsSetLocationPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsSetLocationPostRequestWithFormdataBody(server string, body TorrentsSetLocationPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsSetShareLimitsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsSetShareLimitsPostRequestWithFormdataBody(server string, body TorrentsSetShareLimitsPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsSetSuperSeedingPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsSetSuperSeedingPostRequestWithFormdataBody(server string, body TorrentsSetSuperSeedingPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsSetUploadLimitPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsSetUploadLimitPostRequestWithFormdataBody(server string, body TorrentsSetUploadLimitPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsTagsGetRequest(server string) (*http.Request, error)
- func NewTorrentsToggleFirstLastPiecePrioPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsToggleFirstLastPiecePrioPostRequestWithFormdataBody(server string, body TorrentsToggleFirstLastPiecePrioPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsToggleSequentialDownloadPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsToggleSequentialDownloadPostRequestWithFormdataBody(server string, body TorrentsToggleSequentialDownloadPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsTopPrioPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsTopPrioPostRequestWithFormdataBody(server string, body TorrentsTopPrioPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsTrackersPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsTrackersPostRequestWithFormdataBody(server string, body TorrentsTrackersPostFormdataRequestBody) (*http.Request, error)
- func NewTorrentsUploadLimitPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTorrentsUploadLimitPostRequestWithFormdataBody(server string, body TorrentsUploadLimitPostFormdataRequestBody) (*http.Request, error)
- func NewTransferBanPeersPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTransferBanPeersPostRequestWithFormdataBody(server string, body TransferBanPeersPostFormdataRequestBody) (*http.Request, error)
- func NewTransferDownloadLimitGetRequest(server string) (*http.Request, error)
- func NewTransferInfoGetRequest(server string) (*http.Request, error)
- func NewTransferSetDownloadLimitPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTransferSetDownloadLimitPostRequestWithFormdataBody(server string, body TransferSetDownloadLimitPostFormdataRequestBody) (*http.Request, error)
- func NewTransferSetUploadLimitPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTransferSetUploadLimitPostRequestWithFormdataBody(server string, body TransferSetUploadLimitPostFormdataRequestBody) (*http.Request, error)
- func NewTransferSpeedLimitsModeGetRequest(server string) (*http.Request, error)
- func NewTransferToggleSpeedLimitsModeGetRequest(server string) (*http.Request, error)
- func NewTransferUploadLimitGetRequest(server string) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type AddTorrentsCommon
- type AddTorrentsCommonFirstLastPiecePrio
- type AddTorrentsCommonPaused
- type AddTorrentsCommonRootFolder
- type AddTorrentsCommonSequentialDownload
- type AddTorrentsCommonSkipChecking
- type AddTorrentsFiles
- type AddTorrentsFilesAllOf
- type AddTorrentsFilesFirstLastPiecePrio
- type AddTorrentsFilesPaused
- type AddTorrentsFilesRootFolder
- type AddTorrentsFilesSequentialDownload
- type AddTorrentsFilesSkipChecking
- type AddTorrentsURLs
- type AddTorrentsURLsAllOf
- type AddTorrentsURLsFirstLastPiecePrio
- type AddTorrentsURLsPaused
- type AddTorrentsURLsRootFolder
- type AddTorrentsURLsSequentialDownload
- type AddTorrentsURLsSkipChecking
- type Api
- func (a *Api) Add(link string, options map[string]string) (string, error)
- func (a *Api) AllPaused() (bool, error)
- func (a *Api) DecreasePriority(hashes []string) error
- func (a *Api) Delete(hash string, perm bool) error
- func (a *Api) IncreasePriority(hashes []string) error
- func (a *Api) List() (*Response, error)
- func (a *Api) Login(username, password string) (ok bool, err error)
- func (a *Api) Pause(hash string) error
- func (a *Api) PauseAll() error
- func (a *Api) Recheck(hashes []string) error
- func (a *Api) Resume(hash string) error
- func (a *Api) ResumeAll() error
- func (a *Api) SetFilePriority(hash string, fileIDs []string, priority string) error
- func (a *Api) SetLabel(hashes []string, label string) error
- func (a *Api) SetTag(hashes []string, tag string) error
- func (a *Api) Sync(requestID int) (*Sync, error)
- func (a *Api) Torrent(hash string) (*Torrent, error)
- func (a *Api) TorrentFiles(hash string) ([]*TorrentFile, error)
- func (a *Api) Torrents(sort string) ([]*Torrent, error)
- func (a *Api) Want(hash string, fileIDs []string) error
- func (a *Api) WantNone(hash string) error
- func (a *Api) Wanted(hash string) (bool, error)
- func (a *Api) WantedCount(hash string) (int, error)
- type AppBuildInfoGetResponse
- type AppDefaultSavePathGetResponse
- type AppPreferencesGetResponse
- type AppSetPreferencesPostFormdataRequestBody
- type AppSetPreferencesPostRequest
- type AppSetPreferencesPostResponse
- type AppShutdownGetResponse
- type AppVersionGetResponse
- type AppWebapiVersionGetResponse
- type AuthLoginPostFormdataRequestBody
- type AuthLoginPostParams
- type AuthLoginPostRequest
- type AuthLoginPostResponse
- type AuthLogoutPostResponse
- type BuildInfo
- type Category
- type Client
- func (c *Client) AppBuildInfoGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppDefaultSavePathGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppPreferencesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppSetPreferencesPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AppSetPreferencesPostWithFormdataBody(ctx context.Context, body AppSetPreferencesPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) AppShutdownGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppVersionGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppWebapiVersionGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AuthLoginPostWithBody(ctx context.Context, params *AuthLoginPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) AuthLoginPostWithFormdataBody(ctx context.Context, params *AuthLoginPostParams, ...) (*http.Response, error)
- func (c *Client) AuthLogoutPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LogMainPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) LogMainPostWithFormdataBody(ctx context.Context, body LogMainPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) LogPeersPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) LogPeersPostWithFormdataBody(ctx context.Context, body LogPeersPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) RssAddFeedPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RssAddFeedPostWithFormdataBody(ctx context.Context, body RssAddFeedPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) RssAddFolderPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RssAddFolderPostWithFormdataBody(ctx context.Context, body RssAddFolderPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) RssItemsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RssItemsPostWithFormdataBody(ctx context.Context, body RssItemsPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) RssMarkAsReadPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RssMarkAsReadPostWithFormdataBody(ctx context.Context, body RssMarkAsReadPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) RssMatchingArticlesPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RssMatchingArticlesPostWithFormdataBody(ctx context.Context, body RssMatchingArticlesPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) RssMoveItemPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RssMoveItemPostWithFormdataBody(ctx context.Context, body RssMoveItemPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) RssRefreshItemPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RssRefreshItemPostWithFormdataBody(ctx context.Context, body RssRefreshItemPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) RssRemoveItemPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RssRemoveItemPostWithFormdataBody(ctx context.Context, body RssRemoveItemPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) RssRemoveRulePostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RssRemoveRulePostWithFormdataBody(ctx context.Context, body RssRemoveRulePostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) RssRenameRulePostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RssRenameRulePostWithFormdataBody(ctx context.Context, body RssRenameRulePostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) RssRulesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RssSetRulePostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RssSetRulePostWithFormdataBody(ctx context.Context, body RssSetRulePostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) SearchDeletePostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SearchDeletePostWithFormdataBody(ctx context.Context, body SearchDeletePostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) SearchEnablePluginPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SearchEnablePluginPostWithFormdataBody(ctx context.Context, body SearchEnablePluginPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) SearchInstallPluginPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SearchInstallPluginPostWithFormdataBody(ctx context.Context, body SearchInstallPluginPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) SearchPluginsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SearchResultsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SearchResultsPostWithFormdataBody(ctx context.Context, body SearchResultsPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) SearchStartPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SearchStartPostWithFormdataBody(ctx context.Context, body SearchStartPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) SearchStatusPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SearchStatusPostWithFormdataBody(ctx context.Context, body SearchStatusPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) SearchStopPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SearchStopPostWithFormdataBody(ctx context.Context, body SearchStopPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) SearchUninstallPluginPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SearchUninstallPluginPostWithFormdataBody(ctx context.Context, body SearchUninstallPluginPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) SearchUpdatePluginsPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SyncMaindataPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SyncMaindataPostWithFormdataBody(ctx context.Context, body SyncMaindataPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) SyncTorrentPeersPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SyncTorrentPeersPostWithFormdataBody(ctx context.Context, body SyncTorrentPeersPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentWebseedsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentWebseedsPostWithFormdataBody(ctx context.Context, body TorrentWebseedsPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsAddPeersPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsAddPeersPostWithFormdataBody(ctx context.Context, body TorrentsAddPeersPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsAddPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsAddTagsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsAddTagsPostWithFormdataBody(ctx context.Context, body TorrentsAddTagsPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsAddTrackersPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsAddTrackersPostWithFormdataBody(ctx context.Context, body TorrentsAddTrackersPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsBottomPrioPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsBottomPrioPostWithFormdataBody(ctx context.Context, body TorrentsBottomPrioPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsCategoriesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TorrentsCreateCategoryPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsCreateCategoryPostWithFormdataBody(ctx context.Context, body TorrentsCreateCategoryPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsCreateTagsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsCreateTagsPostWithFormdataBody(ctx context.Context, body TorrentsCreateTagsPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsDecreasePrioPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsDecreasePrioPostWithFormdataBody(ctx context.Context, body TorrentsDecreasePrioPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsDeletePostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsDeletePostWithFormdataBody(ctx context.Context, body TorrentsDeletePostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsDeleteTagsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsDeleteTagsPostWithFormdataBody(ctx context.Context, body TorrentsDeleteTagsPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsDownloadLimitPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsDownloadLimitPostWithFormdataBody(ctx context.Context, body TorrentsDownloadLimitPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsEditCategoryPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsEditCategoryPostWithFormdataBody(ctx context.Context, body TorrentsEditCategoryPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsEditTrackerPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsEditTrackerPostWithFormdataBody(ctx context.Context, body TorrentsEditTrackerPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsFilePrioPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsFilePrioPostWithFormdataBody(ctx context.Context, body TorrentsFilePrioPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsFilesPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsFilesPostWithFormdataBody(ctx context.Context, body TorrentsFilesPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsIncreasePrioPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsIncreasePrioPostWithFormdataBody(ctx context.Context, body TorrentsIncreasePrioPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsInfoPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsInfoPostWithFormdataBody(ctx context.Context, body TorrentsInfoPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsPausePostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsPausePostWithFormdataBody(ctx context.Context, body TorrentsPausePostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsPieceHashesPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsPieceHashesPostWithFormdataBody(ctx context.Context, body TorrentsPieceHashesPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsPieceStatesPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsPieceStatesPostWithFormdataBody(ctx context.Context, body TorrentsPieceStatesPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsPropertiesPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsPropertiesPostWithFormdataBody(ctx context.Context, body TorrentsPropertiesPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsReannouncePostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsReannouncePostWithFormdataBody(ctx context.Context, body TorrentsReannouncePostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsRecheckPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsRecheckPostWithFormdataBody(ctx context.Context, body TorrentsRecheckPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsRemoveCategoriesPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsRemoveCategoriesPostWithFormdataBody(ctx context.Context, body TorrentsRemoveCategoriesPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsRemoveTagsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsRemoveTagsPostWithFormdataBody(ctx context.Context, body TorrentsRemoveTagsPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsRemoveTrackersPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsRemoveTrackersPostWithFormdataBody(ctx context.Context, body TorrentsRemoveTrackersPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsRenameFilePostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsRenameFilePostWithFormdataBody(ctx context.Context, body TorrentsRenameFilePostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsRenameFolderPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsRenameFolderPostWithFormdataBody(ctx context.Context, body TorrentsRenameFolderPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsRenamePostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsRenamePostWithFormdataBody(ctx context.Context, body TorrentsRenamePostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsResumePostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsResumePostWithFormdataBody(ctx context.Context, body TorrentsResumePostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsSetAutoManagementPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsSetAutoManagementPostWithFormdataBody(ctx context.Context, body TorrentsSetAutoManagementPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsSetCategoryPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsSetCategoryPostWithFormdataBody(ctx context.Context, body TorrentsSetCategoryPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsSetDownloadLimitPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsSetDownloadLimitPostWithFormdataBody(ctx context.Context, body TorrentsSetDownloadLimitPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsSetForceStartPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsSetForceStartPostWithFormdataBody(ctx context.Context, body TorrentsSetForceStartPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsSetLocationPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsSetLocationPostWithFormdataBody(ctx context.Context, body TorrentsSetLocationPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsSetShareLimitsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsSetShareLimitsPostWithFormdataBody(ctx context.Context, body TorrentsSetShareLimitsPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsSetSuperSeedingPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsSetSuperSeedingPostWithFormdataBody(ctx context.Context, body TorrentsSetSuperSeedingPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsSetUploadLimitPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsSetUploadLimitPostWithFormdataBody(ctx context.Context, body TorrentsSetUploadLimitPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsTagsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TorrentsToggleFirstLastPiecePrioPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsToggleFirstLastPiecePrioPostWithFormdataBody(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) TorrentsToggleSequentialDownloadPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsToggleSequentialDownloadPostWithFormdataBody(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) TorrentsTopPrioPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsTopPrioPostWithFormdataBody(ctx context.Context, body TorrentsTopPrioPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsTrackersPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsTrackersPostWithFormdataBody(ctx context.Context, body TorrentsTrackersPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TorrentsUploadLimitPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TorrentsUploadLimitPostWithFormdataBody(ctx context.Context, body TorrentsUploadLimitPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TransferBanPeersPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TransferBanPeersPostWithFormdataBody(ctx context.Context, body TransferBanPeersPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TransferDownloadLimitGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TransferInfoGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TransferSetDownloadLimitPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TransferSetDownloadLimitPostWithFormdataBody(ctx context.Context, body TransferSetDownloadLimitPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TransferSetUploadLimitPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TransferSetUploadLimitPostWithFormdataBody(ctx context.Context, body TransferSetUploadLimitPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) TransferSpeedLimitsModeGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TransferToggleSpeedLimitsModeGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TransferUploadLimitGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AppBuildInfoGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppBuildInfoGetResponse, error)
- func (c *ClientWithResponses) AppDefaultSavePathGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppDefaultSavePathGetResponse, error)
- func (c *ClientWithResponses) AppPreferencesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppPreferencesGetResponse, error)
- func (c *ClientWithResponses) AppSetPreferencesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AppSetPreferencesPostResponse, error)
- func (c *ClientWithResponses) AppSetPreferencesPostWithFormdataBodyWithResponse(ctx context.Context, body AppSetPreferencesPostFormdataRequestBody, ...) (*AppSetPreferencesPostResponse, error)
- func (c *ClientWithResponses) AppShutdownGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppShutdownGetResponse, error)
- func (c *ClientWithResponses) AppVersionGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppVersionGetResponse, error)
- func (c *ClientWithResponses) AppWebapiVersionGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppWebapiVersionGetResponse, error)
- func (c *ClientWithResponses) AuthLoginPostWithBodyWithResponse(ctx context.Context, params *AuthLoginPostParams, contentType string, ...) (*AuthLoginPostResponse, error)
- func (c *ClientWithResponses) AuthLoginPostWithFormdataBodyWithResponse(ctx context.Context, params *AuthLoginPostParams, ...) (*AuthLoginPostResponse, error)
- func (c *ClientWithResponses) AuthLogoutPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthLogoutPostResponse, error)
- func (c *ClientWithResponses) LogMainPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*LogMainPostResponse, error)
- func (c *ClientWithResponses) LogMainPostWithFormdataBodyWithResponse(ctx context.Context, body LogMainPostFormdataRequestBody, ...) (*LogMainPostResponse, error)
- func (c *ClientWithResponses) LogPeersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*LogPeersPostResponse, error)
- func (c *ClientWithResponses) LogPeersPostWithFormdataBodyWithResponse(ctx context.Context, body LogPeersPostFormdataRequestBody, ...) (*LogPeersPostResponse, error)
- func (c *ClientWithResponses) RssAddFeedPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RssAddFeedPostResponse, error)
- func (c *ClientWithResponses) RssAddFeedPostWithFormdataBodyWithResponse(ctx context.Context, body RssAddFeedPostFormdataRequestBody, ...) (*RssAddFeedPostResponse, error)
- func (c *ClientWithResponses) RssAddFolderPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RssAddFolderPostResponse, error)
- func (c *ClientWithResponses) RssAddFolderPostWithFormdataBodyWithResponse(ctx context.Context, body RssAddFolderPostFormdataRequestBody, ...) (*RssAddFolderPostResponse, error)
- func (c *ClientWithResponses) RssItemsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RssItemsPostResponse, error)
- func (c *ClientWithResponses) RssItemsPostWithFormdataBodyWithResponse(ctx context.Context, body RssItemsPostFormdataRequestBody, ...) (*RssItemsPostResponse, error)
- func (c *ClientWithResponses) RssMarkAsReadPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RssMarkAsReadPostResponse, error)
- func (c *ClientWithResponses) RssMarkAsReadPostWithFormdataBodyWithResponse(ctx context.Context, body RssMarkAsReadPostFormdataRequestBody, ...) (*RssMarkAsReadPostResponse, error)
- func (c *ClientWithResponses) RssMatchingArticlesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RssMatchingArticlesPostResponse, error)
- func (c *ClientWithResponses) RssMatchingArticlesPostWithFormdataBodyWithResponse(ctx context.Context, body RssMatchingArticlesPostFormdataRequestBody, ...) (*RssMatchingArticlesPostResponse, error)
- func (c *ClientWithResponses) RssMoveItemPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RssMoveItemPostResponse, error)
- func (c *ClientWithResponses) RssMoveItemPostWithFormdataBodyWithResponse(ctx context.Context, body RssMoveItemPostFormdataRequestBody, ...) (*RssMoveItemPostResponse, error)
- func (c *ClientWithResponses) RssRefreshItemPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RssRefreshItemPostResponse, error)
- func (c *ClientWithResponses) RssRefreshItemPostWithFormdataBodyWithResponse(ctx context.Context, body RssRefreshItemPostFormdataRequestBody, ...) (*RssRefreshItemPostResponse, error)
- func (c *ClientWithResponses) RssRemoveItemPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RssRemoveItemPostResponse, error)
- func (c *ClientWithResponses) RssRemoveItemPostWithFormdataBodyWithResponse(ctx context.Context, body RssRemoveItemPostFormdataRequestBody, ...) (*RssRemoveItemPostResponse, error)
- func (c *ClientWithResponses) RssRemoveRulePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RssRemoveRulePostResponse, error)
- func (c *ClientWithResponses) RssRemoveRulePostWithFormdataBodyWithResponse(ctx context.Context, body RssRemoveRulePostFormdataRequestBody, ...) (*RssRemoveRulePostResponse, error)
- func (c *ClientWithResponses) RssRenameRulePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RssRenameRulePostResponse, error)
- func (c *ClientWithResponses) RssRenameRulePostWithFormdataBodyWithResponse(ctx context.Context, body RssRenameRulePostFormdataRequestBody, ...) (*RssRenameRulePostResponse, error)
- func (c *ClientWithResponses) RssRulesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RssRulesGetResponse, error)
- func (c *ClientWithResponses) RssSetRulePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RssSetRulePostResponse, error)
- func (c *ClientWithResponses) RssSetRulePostWithFormdataBodyWithResponse(ctx context.Context, body RssSetRulePostFormdataRequestBody, ...) (*RssSetRulePostResponse, error)
- func (c *ClientWithResponses) SearchDeletePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SearchDeletePostResponse, error)
- func (c *ClientWithResponses) SearchDeletePostWithFormdataBodyWithResponse(ctx context.Context, body SearchDeletePostFormdataRequestBody, ...) (*SearchDeletePostResponse, error)
- func (c *ClientWithResponses) SearchEnablePluginPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SearchEnablePluginPostResponse, error)
- func (c *ClientWithResponses) SearchEnablePluginPostWithFormdataBodyWithResponse(ctx context.Context, body SearchEnablePluginPostFormdataRequestBody, ...) (*SearchEnablePluginPostResponse, error)
- func (c *ClientWithResponses) SearchInstallPluginPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SearchInstallPluginPostResponse, error)
- func (c *ClientWithResponses) SearchInstallPluginPostWithFormdataBodyWithResponse(ctx context.Context, body SearchInstallPluginPostFormdataRequestBody, ...) (*SearchInstallPluginPostResponse, error)
- func (c *ClientWithResponses) SearchPluginsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SearchPluginsGetResponse, error)
- func (c *ClientWithResponses) SearchResultsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SearchResultsPostResponse, error)
- func (c *ClientWithResponses) SearchResultsPostWithFormdataBodyWithResponse(ctx context.Context, body SearchResultsPostFormdataRequestBody, ...) (*SearchResultsPostResponse, error)
- func (c *ClientWithResponses) SearchStartPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SearchStartPostResponse, error)
- func (c *ClientWithResponses) SearchStartPostWithFormdataBodyWithResponse(ctx context.Context, body SearchStartPostFormdataRequestBody, ...) (*SearchStartPostResponse, error)
- func (c *ClientWithResponses) SearchStatusPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SearchStatusPostResponse, error)
- func (c *ClientWithResponses) SearchStatusPostWithFormdataBodyWithResponse(ctx context.Context, body SearchStatusPostFormdataRequestBody, ...) (*SearchStatusPostResponse, error)
- func (c *ClientWithResponses) SearchStopPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SearchStopPostResponse, error)
- func (c *ClientWithResponses) SearchStopPostWithFormdataBodyWithResponse(ctx context.Context, body SearchStopPostFormdataRequestBody, ...) (*SearchStopPostResponse, error)
- func (c *ClientWithResponses) SearchUninstallPluginPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SearchUninstallPluginPostResponse, error)
- func (c *ClientWithResponses) SearchUninstallPluginPostWithFormdataBodyWithResponse(ctx context.Context, body SearchUninstallPluginPostFormdataRequestBody, ...) (*SearchUninstallPluginPostResponse, error)
- func (c *ClientWithResponses) SearchUpdatePluginsPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SearchUpdatePluginsPostResponse, error)
- func (c *ClientWithResponses) SyncMaindataPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SyncMaindataPostResponse, error)
- func (c *ClientWithResponses) SyncMaindataPostWithFormdataBodyWithResponse(ctx context.Context, body SyncMaindataPostFormdataRequestBody, ...) (*SyncMaindataPostResponse, error)
- func (c *ClientWithResponses) SyncTorrentPeersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SyncTorrentPeersPostResponse, error)
- func (c *ClientWithResponses) SyncTorrentPeersPostWithFormdataBodyWithResponse(ctx context.Context, body SyncTorrentPeersPostFormdataRequestBody, ...) (*SyncTorrentPeersPostResponse, error)
- func (c *ClientWithResponses) TorrentWebseedsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentWebseedsPostResponse, error)
- func (c *ClientWithResponses) TorrentWebseedsPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentWebseedsPostFormdataRequestBody, ...) (*TorrentWebseedsPostResponse, error)
- func (c *ClientWithResponses) TorrentsAddPeersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsAddPeersPostResponse, error)
- func (c *ClientWithResponses) TorrentsAddPeersPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsAddPeersPostFormdataRequestBody, ...) (*TorrentsAddPeersPostResponse, error)
- func (c *ClientWithResponses) TorrentsAddPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsAddPostResponse, error)
- func (c *ClientWithResponses) TorrentsAddTagsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsAddTagsPostResponse, error)
- func (c *ClientWithResponses) TorrentsAddTagsPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsAddTagsPostFormdataRequestBody, ...) (*TorrentsAddTagsPostResponse, error)
- func (c *ClientWithResponses) TorrentsAddTrackersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsAddTrackersPostResponse, error)
- func (c *ClientWithResponses) TorrentsAddTrackersPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsAddTrackersPostFormdataRequestBody, ...) (*TorrentsAddTrackersPostResponse, error)
- func (c *ClientWithResponses) TorrentsBottomPrioPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsBottomPrioPostResponse, error)
- func (c *ClientWithResponses) TorrentsBottomPrioPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsBottomPrioPostFormdataRequestBody, ...) (*TorrentsBottomPrioPostResponse, error)
- func (c *ClientWithResponses) TorrentsCategoriesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TorrentsCategoriesGetResponse, error)
- func (c *ClientWithResponses) TorrentsCreateCategoryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsCreateCategoryPostResponse, error)
- func (c *ClientWithResponses) TorrentsCreateCategoryPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsCreateCategoryPostFormdataRequestBody, ...) (*TorrentsCreateCategoryPostResponse, error)
- func (c *ClientWithResponses) TorrentsCreateTagsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsCreateTagsPostResponse, error)
- func (c *ClientWithResponses) TorrentsCreateTagsPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsCreateTagsPostFormdataRequestBody, ...) (*TorrentsCreateTagsPostResponse, error)
- func (c *ClientWithResponses) TorrentsDecreasePrioPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsDecreasePrioPostResponse, error)
- func (c *ClientWithResponses) TorrentsDecreasePrioPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsDecreasePrioPostFormdataRequestBody, ...) (*TorrentsDecreasePrioPostResponse, error)
- func (c *ClientWithResponses) TorrentsDeletePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsDeletePostResponse, error)
- func (c *ClientWithResponses) TorrentsDeletePostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsDeletePostFormdataRequestBody, ...) (*TorrentsDeletePostResponse, error)
- func (c *ClientWithResponses) TorrentsDeleteTagsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsDeleteTagsPostResponse, error)
- func (c *ClientWithResponses) TorrentsDeleteTagsPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsDeleteTagsPostFormdataRequestBody, ...) (*TorrentsDeleteTagsPostResponse, error)
- func (c *ClientWithResponses) TorrentsDownloadLimitPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsDownloadLimitPostResponse, error)
- func (c *ClientWithResponses) TorrentsDownloadLimitPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsDownloadLimitPostFormdataRequestBody, ...) (*TorrentsDownloadLimitPostResponse, error)
- func (c *ClientWithResponses) TorrentsEditCategoryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsEditCategoryPostResponse, error)
- func (c *ClientWithResponses) TorrentsEditCategoryPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsEditCategoryPostFormdataRequestBody, ...) (*TorrentsEditCategoryPostResponse, error)
- func (c *ClientWithResponses) TorrentsEditTrackerPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsEditTrackerPostResponse, error)
- func (c *ClientWithResponses) TorrentsEditTrackerPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsEditTrackerPostFormdataRequestBody, ...) (*TorrentsEditTrackerPostResponse, error)
- func (c *ClientWithResponses) TorrentsFilePrioPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsFilePrioPostResponse, error)
- func (c *ClientWithResponses) TorrentsFilePrioPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsFilePrioPostFormdataRequestBody, ...) (*TorrentsFilePrioPostResponse, error)
- func (c *ClientWithResponses) TorrentsFilesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsFilesPostResponse, error)
- func (c *ClientWithResponses) TorrentsFilesPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsFilesPostFormdataRequestBody, ...) (*TorrentsFilesPostResponse, error)
- func (c *ClientWithResponses) TorrentsIncreasePrioPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsIncreasePrioPostResponse, error)
- func (c *ClientWithResponses) TorrentsIncreasePrioPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsIncreasePrioPostFormdataRequestBody, ...) (*TorrentsIncreasePrioPostResponse, error)
- func (c *ClientWithResponses) TorrentsInfoPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsInfoPostResponse, error)
- func (c *ClientWithResponses) TorrentsInfoPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsInfoPostFormdataRequestBody, ...) (*TorrentsInfoPostResponse, error)
- func (c *ClientWithResponses) TorrentsPausePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsPausePostResponse, error)
- func (c *ClientWithResponses) TorrentsPausePostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsPausePostFormdataRequestBody, ...) (*TorrentsPausePostResponse, error)
- func (c *ClientWithResponses) TorrentsPieceHashesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsPieceHashesPostResponse, error)
- func (c *ClientWithResponses) TorrentsPieceHashesPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsPieceHashesPostFormdataRequestBody, ...) (*TorrentsPieceHashesPostResponse, error)
- func (c *ClientWithResponses) TorrentsPieceStatesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsPieceStatesPostResponse, error)
- func (c *ClientWithResponses) TorrentsPieceStatesPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsPieceStatesPostFormdataRequestBody, ...) (*TorrentsPieceStatesPostResponse, error)
- func (c *ClientWithResponses) TorrentsPropertiesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsPropertiesPostResponse, error)
- func (c *ClientWithResponses) TorrentsPropertiesPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsPropertiesPostFormdataRequestBody, ...) (*TorrentsPropertiesPostResponse, error)
- func (c *ClientWithResponses) TorrentsReannouncePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsReannouncePostResponse, error)
- func (c *ClientWithResponses) TorrentsReannouncePostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsReannouncePostFormdataRequestBody, ...) (*TorrentsReannouncePostResponse, error)
- func (c *ClientWithResponses) TorrentsRecheckPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsRecheckPostResponse, error)
- func (c *ClientWithResponses) TorrentsRecheckPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRecheckPostFormdataRequestBody, ...) (*TorrentsRecheckPostResponse, error)
- func (c *ClientWithResponses) TorrentsRemoveCategoriesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsRemoveCategoriesPostResponse, error)
- func (c *ClientWithResponses) TorrentsRemoveCategoriesPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRemoveCategoriesPostFormdataRequestBody, ...) (*TorrentsRemoveCategoriesPostResponse, error)
- func (c *ClientWithResponses) TorrentsRemoveTagsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsRemoveTagsPostResponse, error)
- func (c *ClientWithResponses) TorrentsRemoveTagsPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRemoveTagsPostFormdataRequestBody, ...) (*TorrentsRemoveTagsPostResponse, error)
- func (c *ClientWithResponses) TorrentsRemoveTrackersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsRemoveTrackersPostResponse, error)
- func (c *ClientWithResponses) TorrentsRemoveTrackersPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRemoveTrackersPostFormdataRequestBody, ...) (*TorrentsRemoveTrackersPostResponse, error)
- func (c *ClientWithResponses) TorrentsRenameFilePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsRenameFilePostResponse, error)
- func (c *ClientWithResponses) TorrentsRenameFilePostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRenameFilePostFormdataRequestBody, ...) (*TorrentsRenameFilePostResponse, error)
- func (c *ClientWithResponses) TorrentsRenameFolderPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsRenameFolderPostResponse, error)
- func (c *ClientWithResponses) TorrentsRenameFolderPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRenameFolderPostFormdataRequestBody, ...) (*TorrentsRenameFolderPostResponse, error)
- func (c *ClientWithResponses) TorrentsRenamePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsRenamePostResponse, error)
- func (c *ClientWithResponses) TorrentsRenamePostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRenamePostFormdataRequestBody, ...) (*TorrentsRenamePostResponse, error)
- func (c *ClientWithResponses) TorrentsResumePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsResumePostResponse, error)
- func (c *ClientWithResponses) TorrentsResumePostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsResumePostFormdataRequestBody, ...) (*TorrentsResumePostResponse, error)
- func (c *ClientWithResponses) TorrentsSetAutoManagementPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsSetAutoManagementPostResponse, error)
- func (c *ClientWithResponses) TorrentsSetAutoManagementPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetAutoManagementPostFormdataRequestBody, ...) (*TorrentsSetAutoManagementPostResponse, error)
- func (c *ClientWithResponses) TorrentsSetCategoryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsSetCategoryPostResponse, error)
- func (c *ClientWithResponses) TorrentsSetCategoryPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetCategoryPostFormdataRequestBody, ...) (*TorrentsSetCategoryPostResponse, error)
- func (c *ClientWithResponses) TorrentsSetDownloadLimitPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsSetDownloadLimitPostResponse, error)
- func (c *ClientWithResponses) TorrentsSetDownloadLimitPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetDownloadLimitPostFormdataRequestBody, ...) (*TorrentsSetDownloadLimitPostResponse, error)
- func (c *ClientWithResponses) TorrentsSetForceStartPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsSetForceStartPostResponse, error)
- func (c *ClientWithResponses) TorrentsSetForceStartPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetForceStartPostFormdataRequestBody, ...) (*TorrentsSetForceStartPostResponse, error)
- func (c *ClientWithResponses) TorrentsSetLocationPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsSetLocationPostResponse, error)
- func (c *ClientWithResponses) TorrentsSetLocationPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetLocationPostFormdataRequestBody, ...) (*TorrentsSetLocationPostResponse, error)
- func (c *ClientWithResponses) TorrentsSetShareLimitsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsSetShareLimitsPostResponse, error)
- func (c *ClientWithResponses) TorrentsSetShareLimitsPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetShareLimitsPostFormdataRequestBody, ...) (*TorrentsSetShareLimitsPostResponse, error)
- func (c *ClientWithResponses) TorrentsSetSuperSeedingPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsSetSuperSeedingPostResponse, error)
- func (c *ClientWithResponses) TorrentsSetSuperSeedingPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetSuperSeedingPostFormdataRequestBody, ...) (*TorrentsSetSuperSeedingPostResponse, error)
- func (c *ClientWithResponses) TorrentsSetUploadLimitPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsSetUploadLimitPostResponse, error)
- func (c *ClientWithResponses) TorrentsSetUploadLimitPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetUploadLimitPostFormdataRequestBody, ...) (*TorrentsSetUploadLimitPostResponse, error)
- func (c *ClientWithResponses) TorrentsTagsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TorrentsTagsGetResponse, error)
- func (c *ClientWithResponses) TorrentsToggleFirstLastPiecePrioPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsToggleFirstLastPiecePrioPostResponse, error)
- func (c *ClientWithResponses) TorrentsToggleFirstLastPiecePrioPostWithFormdataBodyWithResponse(ctx context.Context, ...) (*TorrentsToggleFirstLastPiecePrioPostResponse, error)
- func (c *ClientWithResponses) TorrentsToggleSequentialDownloadPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsToggleSequentialDownloadPostResponse, error)
- func (c *ClientWithResponses) TorrentsToggleSequentialDownloadPostWithFormdataBodyWithResponse(ctx context.Context, ...) (*TorrentsToggleSequentialDownloadPostResponse, error)
- func (c *ClientWithResponses) TorrentsTopPrioPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsTopPrioPostResponse, error)
- func (c *ClientWithResponses) TorrentsTopPrioPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsTopPrioPostFormdataRequestBody, ...) (*TorrentsTopPrioPostResponse, error)
- func (c *ClientWithResponses) TorrentsTrackersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsTrackersPostResponse, error)
- func (c *ClientWithResponses) TorrentsTrackersPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsTrackersPostFormdataRequestBody, ...) (*TorrentsTrackersPostResponse, error)
- func (c *ClientWithResponses) TorrentsUploadLimitPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TorrentsUploadLimitPostResponse, error)
- func (c *ClientWithResponses) TorrentsUploadLimitPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsUploadLimitPostFormdataRequestBody, ...) (*TorrentsUploadLimitPostResponse, error)
- func (c *ClientWithResponses) TransferBanPeersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TransferBanPeersPostResponse, error)
- func (c *ClientWithResponses) TransferBanPeersPostWithFormdataBodyWithResponse(ctx context.Context, body TransferBanPeersPostFormdataRequestBody, ...) (*TransferBanPeersPostResponse, error)
- func (c *ClientWithResponses) TransferDownloadLimitGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TransferDownloadLimitGetResponse, error)
- func (c *ClientWithResponses) TransferInfoGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TransferInfoGetResponse, error)
- func (c *ClientWithResponses) TransferSetDownloadLimitPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TransferSetDownloadLimitPostResponse, error)
- func (c *ClientWithResponses) TransferSetDownloadLimitPostWithFormdataBodyWithResponse(ctx context.Context, body TransferSetDownloadLimitPostFormdataRequestBody, ...) (*TransferSetDownloadLimitPostResponse, error)
- func (c *ClientWithResponses) TransferSetUploadLimitPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TransferSetUploadLimitPostResponse, error)
- func (c *ClientWithResponses) TransferSetUploadLimitPostWithFormdataBodyWithResponse(ctx context.Context, body TransferSetUploadLimitPostFormdataRequestBody, ...) (*TransferSetUploadLimitPostResponse, error)
- func (c *ClientWithResponses) TransferSpeedLimitsModeGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TransferSpeedLimitsModeGetResponse, error)
- func (c *ClientWithResponses) TransferToggleSpeedLimitsModeGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TransferToggleSpeedLimitsModeGetResponse, error)
- func (c *ClientWithResponses) TransferUploadLimitGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TransferUploadLimitGetResponse, error)
- type ClientWithResponsesInterface
- type Hashes
- type HttpRequestDoer
- type LogMainPostFormdataRequestBody
- type LogMainPostRequest
- type LogMainPostResponse
- type LogPeersPostFormdataRequestBody
- type LogPeersPostRequest
- type LogPeersPostResponse
- type MainData
- type MainLog
- type MainLogType
- type PeersLog
- type Preferences
- type PreferencesBittorrentProtocol
- type PreferencesDyndnsService
- type PreferencesEncryption
- type PreferencesMaxRatioAct
- type PreferencesProxyType
- type PreferencesScanDirsValue
- func (t PreferencesScanDirsValue) AsPreferencesScanDirsValue0() (PreferencesScanDirsValue0, error)
- func (t PreferencesScanDirsValue) AsPreferencesScanDirsValue1() (PreferencesScanDirsValue1, error)
- func (t *PreferencesScanDirsValue) FromPreferencesScanDirsValue0(v PreferencesScanDirsValue0) error
- func (t *PreferencesScanDirsValue) FromPreferencesScanDirsValue1(v PreferencesScanDirsValue1) error
- func (t PreferencesScanDirsValue) MarshalJSON() ([]byte, error)
- func (t *PreferencesScanDirsValue) MergePreferencesScanDirsValue0(v PreferencesScanDirsValue0) error
- func (t *PreferencesScanDirsValue) MergePreferencesScanDirsValue1(v PreferencesScanDirsValue1) error
- func (t *PreferencesScanDirsValue) UnmarshalJSON(b []byte) error
- type PreferencesScanDirsValue0
- type PreferencesScanDirsValue1
- type PreferencesSchedulerDays
- type PreferencesUploadChokingAlgorithm
- type PreferencesUploadSlotsBehavior
- type PreferencesUtpTcpMixedMode
- type RenameTorrentFiles
- type RequestEditorFn
- type Response
- type RssAddFeedPostFormdataRequestBody
- type RssAddFeedPostRequest
- type RssAddFeedPostResponse
- type RssAddFolderPostFormdataRequestBody
- type RssAddFolderPostRequest
- type RssAddFolderPostResponse
- type RssItemsPostFormdataRequestBody
- type RssItemsPostRequest
- type RssItemsPostResponse
- type RssMarkAsReadPostFormdataRequestBody
- type RssMarkAsReadPostRequest
- type RssMarkAsReadPostResponse
- type RssMatchingArticlesPostFormdataRequestBody
- type RssMatchingArticlesPostRequest
- type RssMatchingArticlesPostResponse
- type RssMoveItemPostFormdataRequestBody
- type RssMoveItemPostRequest
- type RssMoveItemPostResponse
- type RssRefreshItemPostFormdataRequestBody
- type RssRefreshItemPostRequest
- type RssRefreshItemPostResponse
- type RssRemoveItemPostFormdataRequestBody
- type RssRemoveItemPostRequest
- type RssRemoveItemPostResponse
- type RssRemoveRulePostFormdataRequestBody
- type RssRemoveRulePostRequest
- type RssRemoveRulePostResponse
- type RssRenameRulePostFormdataRequestBody
- type RssRenameRulePostRequest
- type RssRenameRulePostResponse
- type RssRuleDef
- type RssRulesGetResponse
- type RssSetRulePostFormdataRequestBody
- type RssSetRulePostRequest
- type RssSetRulePostResponse
- type SearchDeletePostFormdataRequestBody
- type SearchDeletePostRequest
- type SearchDeletePostResponse
- type SearchEnablePluginPostFormdataRequestBody
- type SearchEnablePluginPostRequest
- type SearchEnablePluginPostResponse
- type SearchInstallPluginPostFormdataRequestBody
- type SearchInstallPluginPostRequest
- type SearchInstallPluginPostResponse
- type SearchJob
- type SearchJobStatus
- type SearchJobStatusAllOf
- type SearchJobStatusAllOfStatus
- type SearchJobStatusStatus
- type SearchPlugin
- type SearchPluginSupportedCategoriesInner
- type SearchPluginsGetResponse
- type SearchResult
- type SearchResults
- type SearchResultsPostFormdataRequestBody
- type SearchResultsPostRequest
- type SearchResultsPostRequestAllOf
- type SearchResultsPostResponse
- type SearchResultsStatus
- type SearchStartPostFormdataRequestBody
- type SearchStartPostRequest
- type SearchStartPostResponse
- type SearchStatusPostFormdataRequestBody
- type SearchStatusPostRequest
- type SearchStatusPostResponse
- type SearchStopPostFormdataRequestBody
- type SearchStopPostRequest
- type SearchStopPostResponse
- type SearchUninstallPluginPostFormdataRequestBody
- type SearchUninstallPluginPostRequest
- type SearchUninstallPluginPostResponse
- type SearchUpdatePluginsPostResponse
- type SetPreferences
- type SetPreferencesAllOf
- type SetPreferencesBittorrentProtocol
- type SetPreferencesDyndnsService
- type SetPreferencesEncryption
- type SetPreferencesMaxRatioAct
- type SetPreferencesProxyType
- type SetPreferencesSchedulerDays
- type SetPreferencesUploadChokingAlgorithm
- type SetPreferencesUploadSlotsBehavior
- type SetPreferencesUtpTcpMixedMode
- type SetTorrentsLimit
- type SetTorrentsLimitAllOf
- type SetTorrentsValue
- type SetTorrentsValueAllOf
- type Sync
- type SyncMaindataPostFormdataRequestBody
- type SyncMaindataPostRequest
- type SyncMaindataPostResponse
- type SyncTorrentPeersPostFormdataRequestBody
- type SyncTorrentPeersPostRequest
- type SyncTorrentPeersPostResponse
- type Torrent
- type TorrentFile
- type TorrentInfo
- type TorrentInfoState
- type TorrentJSON
- type TorrentPeers
- type TorrentWebseedsPostFormdataRequestBody
- type TorrentWebseedsPostRequest
- type TorrentWebseedsPostResponse
- type TorrentsAddPeersPostFormdataRequestBody
- type TorrentsAddPeersPostRequest
- type TorrentsAddPeersPostResponse
- type TorrentsAddPostMultipartRequestBody
- type TorrentsAddPostRequest
- func (t TorrentsAddPostRequest) AsAddTorrentsFiles() (AddTorrentsFiles, error)
- func (t TorrentsAddPostRequest) AsAddTorrentsURLs() (AddTorrentsURLs, error)
- func (t *TorrentsAddPostRequest) FromAddTorrentsFiles(v AddTorrentsFiles) error
- func (t *TorrentsAddPostRequest) FromAddTorrentsURLs(v AddTorrentsURLs) error
- func (t TorrentsAddPostRequest) MarshalJSON() ([]byte, error)
- func (t *TorrentsAddPostRequest) MergeAddTorrentsFiles(v AddTorrentsFiles) error
- func (t *TorrentsAddPostRequest) MergeAddTorrentsURLs(v AddTorrentsURLs) error
- func (t *TorrentsAddPostRequest) UnmarshalJSON(b []byte) error
- type TorrentsAddPostResponse
- type TorrentsAddTagsPostFormdataRequestBody
- type TorrentsAddTagsPostResponse
- type TorrentsAddTrackersPostFormdataRequestBody
- type TorrentsAddTrackersPostRequest
- type TorrentsAddTrackersPostResponse
- type TorrentsBottomPrioPostFormdataRequestBody
- type TorrentsBottomPrioPostResponse
- type TorrentsCategoriesGetResponse
- type TorrentsCategory
- type TorrentsCreateCategoryPostFormdataRequestBody
- type TorrentsCreateCategoryPostRequest
- type TorrentsCreateCategoryPostResponse
- type TorrentsCreateTagsPostFormdataRequestBody
- type TorrentsCreateTagsPostRequest
- type TorrentsCreateTagsPostResponse
- type TorrentsDecreasePrioPostFormdataRequestBody
- type TorrentsDecreasePrioPostResponse
- type TorrentsDeletePostFormdataRequestBody
- type TorrentsDeletePostRequest
- type TorrentsDeletePostRequestAllOf
- type TorrentsDeletePostResponse
- type TorrentsDeleteTagsPostFormdataRequestBody
- type TorrentsDeleteTagsPostRequest
- type TorrentsDeleteTagsPostResponse
- type TorrentsDownloadLimitPostFormdataRequestBody
- type TorrentsDownloadLimitPostResponse
- type TorrentsEditCategoryPostFormdataRequestBody
- type TorrentsEditCategoryPostResponse
- type TorrentsEditTrackerPostFormdataRequestBody
- type TorrentsEditTrackerPostRequest
- type TorrentsEditTrackerPostResponse
- type TorrentsFilePrioPostFormdataRequestBody
- type TorrentsFilePrioPostRequest
- type TorrentsFilePrioPostRequestPriority
- type TorrentsFilePrioPostResponse
- type TorrentsFiles
- type TorrentsFilesPostFormdataRequestBody
- type TorrentsFilesPostRequest
- type TorrentsFilesPostResponse
- type TorrentsFilesPriority
- type TorrentsIncreasePrioPostFormdataRequestBody
- type TorrentsIncreasePrioPostResponse
- type TorrentsInfoPostFormdataRequestBody
- type TorrentsInfoPostRequest
- type TorrentsInfoPostRequestFilter
- type TorrentsInfoPostResponse
- type TorrentsLimit
- type TorrentsPausePostFormdataRequestBody
- type TorrentsPausePostResponse
- type TorrentsPieceHashesPostFormdataRequestBody
- type TorrentsPieceHashesPostRequest
- type TorrentsPieceHashesPostResponse
- type TorrentsPieceStatesPostFormdataRequestBody
- type TorrentsPieceStatesPostRequest
- type TorrentsPieceStatesPostResponse
- type TorrentsProperties
- type TorrentsPropertiesPostFormdataRequestBody
- type TorrentsPropertiesPostRequest
- type TorrentsPropertiesPostResponse
- type TorrentsReannouncePostFormdataRequestBody
- type TorrentsReannouncePostResponse
- type TorrentsRecheckPostFormdataRequestBody
- type TorrentsRecheckPostResponse
- type TorrentsRemoveCategoriesPostFormdataRequestBody
- type TorrentsRemoveCategoriesPostRequest
- type TorrentsRemoveCategoriesPostResponse
- type TorrentsRemoveTagsPostFormdataRequestBody
- type TorrentsRemoveTagsPostResponse
- type TorrentsRemoveTrackersPostFormdataRequestBody
- type TorrentsRemoveTrackersPostRequest
- type TorrentsRemoveTrackersPostResponse
- type TorrentsRenameFilePostFormdataRequestBody
- type TorrentsRenameFilePostResponse
- type TorrentsRenameFolderPostFormdataRequestBody
- type TorrentsRenameFolderPostResponse
- type TorrentsRenamePostFormdataRequestBody
- type TorrentsRenamePostRequest
- type TorrentsRenamePostResponse
- type TorrentsResumePostFormdataRequestBody
- type TorrentsResumePostResponse
- type TorrentsSetAutoManagementPostFormdataRequestBody
- type TorrentsSetAutoManagementPostRequest
- type TorrentsSetAutoManagementPostRequestAllOf
- type TorrentsSetAutoManagementPostResponse
- type TorrentsSetCategoryPostFormdataRequestBody
- type TorrentsSetCategoryPostRequest
- type TorrentsSetCategoryPostRequestAllOf
- type TorrentsSetCategoryPostResponse
- type TorrentsSetDownloadLimitPostFormdataRequestBody
- type TorrentsSetDownloadLimitPostResponse
- type TorrentsSetForceStartPostFormdataRequestBody
- type TorrentsSetForceStartPostResponse
- type TorrentsSetLocationPostFormdataRequestBody
- type TorrentsSetLocationPostRequest
- type TorrentsSetLocationPostRequestAllOf
- type TorrentsSetLocationPostResponse
- type TorrentsSetShareLimitsPostFormdataRequestBody
- type TorrentsSetShareLimitsPostRequest
- type TorrentsSetShareLimitsPostRequestAllOf
- type TorrentsSetShareLimitsPostResponse
- type TorrentsSetSuperSeedingPostFormdataRequestBody
- type TorrentsSetSuperSeedingPostResponse
- type TorrentsSetUploadLimitPostFormdataRequestBody
- type TorrentsSetUploadLimitPostResponse
- type TorrentsTags
- type TorrentsTagsAllOf
- type TorrentsTagsGetResponse
- type TorrentsToggleFirstLastPiecePrioPostFormdataRequestBody
- type TorrentsToggleFirstLastPiecePrioPostResponse
- type TorrentsToggleSequentialDownloadPostFormdataRequestBody
- type TorrentsToggleSequentialDownloadPostResponse
- type TorrentsTopPrioPostFormdataRequestBody
- type TorrentsTopPrioPostResponse
- type TorrentsTrackers
- type TorrentsTrackersPostFormdataRequestBody
- type TorrentsTrackersPostRequest
- type TorrentsTrackersPostResponse
- type TorrentsTrackersStatus
- type TorrentsUploadLimitPostFormdataRequestBody
- type TorrentsUploadLimitPostResponse
- type TorrentsWebseeds
- type Tracker
- type TransferBanPeersPostFormdataRequestBody
- type TransferBanPeersPostRequest
- type TransferBanPeersPostResponse
- type TransferDownloadLimitGetResponse
- type TransferInfo
- type TransferInfoGetResponse
- type TransferSetDownloadLimitPostFormdataRequestBody
- type TransferSetDownloadLimitPostRequest
- type TransferSetDownloadLimitPostResponse
- type TransferSetUploadLimitPostFormdataRequestBody
- type TransferSetUploadLimitPostRequest
- type TransferSetUploadLimitPostResponse
- type TransferSpeedLimitsModeGetResponse
- type TransferToggleSpeedLimitsModeGetResponse
- type TransferUploadLimitGetResponse
- type WebSeed
Constants ¶
const (
SidScopes = "sid.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func GetSwagger ¶ added in v0.8.0
GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
func InfohashFromURL ¶
func NewAppBuildInfoGetRequest ¶ added in v0.8.0
NewAppBuildInfoGetRequest generates requests for AppBuildInfoGet
func NewAppDefaultSavePathGetRequest ¶ added in v0.8.0
NewAppDefaultSavePathGetRequest generates requests for AppDefaultSavePathGet
func NewAppPreferencesGetRequest ¶ added in v0.8.0
NewAppPreferencesGetRequest generates requests for AppPreferencesGet
func NewAppSetPreferencesPostRequestWithBody ¶ added in v0.8.0
func NewAppSetPreferencesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAppSetPreferencesPostRequestWithBody generates requests for AppSetPreferencesPost with any type of body
func NewAppSetPreferencesPostRequestWithFormdataBody ¶ added in v0.8.0
func NewAppSetPreferencesPostRequestWithFormdataBody(server string, body AppSetPreferencesPostFormdataRequestBody) (*http.Request, error)
NewAppSetPreferencesPostRequestWithFormdataBody calls the generic AppSetPreferencesPost builder with application/x-www-form-urlencoded body
func NewAppShutdownGetRequest ¶ added in v0.8.0
NewAppShutdownGetRequest generates requests for AppShutdownGet
func NewAppVersionGetRequest ¶ added in v0.8.0
NewAppVersionGetRequest generates requests for AppVersionGet
func NewAppWebapiVersionGetRequest ¶ added in v0.8.0
NewAppWebapiVersionGetRequest generates requests for AppWebapiVersionGet
func NewAuthLoginPostRequestWithBody ¶ added in v0.8.0
func NewAuthLoginPostRequestWithBody(server string, params *AuthLoginPostParams, contentType string, body io.Reader) (*http.Request, error)
NewAuthLoginPostRequestWithBody generates requests for AuthLoginPost with any type of body
func NewAuthLoginPostRequestWithFormdataBody ¶ added in v0.8.0
func NewAuthLoginPostRequestWithFormdataBody(server string, params *AuthLoginPostParams, body AuthLoginPostFormdataRequestBody) (*http.Request, error)
NewAuthLoginPostRequestWithFormdataBody calls the generic AuthLoginPost builder with application/x-www-form-urlencoded body
func NewAuthLogoutPostRequest ¶ added in v0.8.0
NewAuthLogoutPostRequest generates requests for AuthLogoutPost
func NewLogMainPostRequestWithBody ¶ added in v0.8.0
func NewLogMainPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewLogMainPostRequestWithBody generates requests for LogMainPost with any type of body
func NewLogMainPostRequestWithFormdataBody ¶ added in v0.8.0
func NewLogMainPostRequestWithFormdataBody(server string, body LogMainPostFormdataRequestBody) (*http.Request, error)
NewLogMainPostRequestWithFormdataBody calls the generic LogMainPost builder with application/x-www-form-urlencoded body
func NewLogPeersPostRequestWithBody ¶ added in v0.8.0
func NewLogPeersPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewLogPeersPostRequestWithBody generates requests for LogPeersPost with any type of body
func NewLogPeersPostRequestWithFormdataBody ¶ added in v0.8.0
func NewLogPeersPostRequestWithFormdataBody(server string, body LogPeersPostFormdataRequestBody) (*http.Request, error)
NewLogPeersPostRequestWithFormdataBody calls the generic LogPeersPost builder with application/x-www-form-urlencoded body
func NewRssAddFeedPostRequestWithBody ¶ added in v0.8.0
func NewRssAddFeedPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRssAddFeedPostRequestWithBody generates requests for RssAddFeedPost with any type of body
func NewRssAddFeedPostRequestWithFormdataBody ¶ added in v0.8.0
func NewRssAddFeedPostRequestWithFormdataBody(server string, body RssAddFeedPostFormdataRequestBody) (*http.Request, error)
NewRssAddFeedPostRequestWithFormdataBody calls the generic RssAddFeedPost builder with application/x-www-form-urlencoded body
func NewRssAddFolderPostRequestWithBody ¶ added in v0.8.0
func NewRssAddFolderPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRssAddFolderPostRequestWithBody generates requests for RssAddFolderPost with any type of body
func NewRssAddFolderPostRequestWithFormdataBody ¶ added in v0.8.0
func NewRssAddFolderPostRequestWithFormdataBody(server string, body RssAddFolderPostFormdataRequestBody) (*http.Request, error)
NewRssAddFolderPostRequestWithFormdataBody calls the generic RssAddFolderPost builder with application/x-www-form-urlencoded body
func NewRssItemsPostRequestWithBody ¶ added in v0.8.0
func NewRssItemsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRssItemsPostRequestWithBody generates requests for RssItemsPost with any type of body
func NewRssItemsPostRequestWithFormdataBody ¶ added in v0.8.0
func NewRssItemsPostRequestWithFormdataBody(server string, body RssItemsPostFormdataRequestBody) (*http.Request, error)
NewRssItemsPostRequestWithFormdataBody calls the generic RssItemsPost builder with application/x-www-form-urlencoded body
func NewRssMarkAsReadPostRequestWithBody ¶ added in v0.8.0
func NewRssMarkAsReadPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRssMarkAsReadPostRequestWithBody generates requests for RssMarkAsReadPost with any type of body
func NewRssMarkAsReadPostRequestWithFormdataBody ¶ added in v0.8.0
func NewRssMarkAsReadPostRequestWithFormdataBody(server string, body RssMarkAsReadPostFormdataRequestBody) (*http.Request, error)
NewRssMarkAsReadPostRequestWithFormdataBody calls the generic RssMarkAsReadPost builder with application/x-www-form-urlencoded body
func NewRssMatchingArticlesPostRequestWithBody ¶ added in v0.8.0
func NewRssMatchingArticlesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRssMatchingArticlesPostRequestWithBody generates requests for RssMatchingArticlesPost with any type of body
func NewRssMatchingArticlesPostRequestWithFormdataBody ¶ added in v0.8.0
func NewRssMatchingArticlesPostRequestWithFormdataBody(server string, body RssMatchingArticlesPostFormdataRequestBody) (*http.Request, error)
NewRssMatchingArticlesPostRequestWithFormdataBody calls the generic RssMatchingArticlesPost builder with application/x-www-form-urlencoded body
func NewRssMoveItemPostRequestWithBody ¶ added in v0.8.0
func NewRssMoveItemPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRssMoveItemPostRequestWithBody generates requests for RssMoveItemPost with any type of body
func NewRssMoveItemPostRequestWithFormdataBody ¶ added in v0.8.0
func NewRssMoveItemPostRequestWithFormdataBody(server string, body RssMoveItemPostFormdataRequestBody) (*http.Request, error)
NewRssMoveItemPostRequestWithFormdataBody calls the generic RssMoveItemPost builder with application/x-www-form-urlencoded body
func NewRssRefreshItemPostRequestWithBody ¶ added in v0.8.0
func NewRssRefreshItemPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRssRefreshItemPostRequestWithBody generates requests for RssRefreshItemPost with any type of body
func NewRssRefreshItemPostRequestWithFormdataBody ¶ added in v0.8.0
func NewRssRefreshItemPostRequestWithFormdataBody(server string, body RssRefreshItemPostFormdataRequestBody) (*http.Request, error)
NewRssRefreshItemPostRequestWithFormdataBody calls the generic RssRefreshItemPost builder with application/x-www-form-urlencoded body
func NewRssRemoveItemPostRequestWithBody ¶ added in v0.8.0
func NewRssRemoveItemPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRssRemoveItemPostRequestWithBody generates requests for RssRemoveItemPost with any type of body
func NewRssRemoveItemPostRequestWithFormdataBody ¶ added in v0.8.0
func NewRssRemoveItemPostRequestWithFormdataBody(server string, body RssRemoveItemPostFormdataRequestBody) (*http.Request, error)
NewRssRemoveItemPostRequestWithFormdataBody calls the generic RssRemoveItemPost builder with application/x-www-form-urlencoded body
func NewRssRemoveRulePostRequestWithBody ¶ added in v0.8.0
func NewRssRemoveRulePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRssRemoveRulePostRequestWithBody generates requests for RssRemoveRulePost with any type of body
func NewRssRemoveRulePostRequestWithFormdataBody ¶ added in v0.8.0
func NewRssRemoveRulePostRequestWithFormdataBody(server string, body RssRemoveRulePostFormdataRequestBody) (*http.Request, error)
NewRssRemoveRulePostRequestWithFormdataBody calls the generic RssRemoveRulePost builder with application/x-www-form-urlencoded body
func NewRssRenameRulePostRequestWithBody ¶ added in v0.8.0
func NewRssRenameRulePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRssRenameRulePostRequestWithBody generates requests for RssRenameRulePost with any type of body
func NewRssRenameRulePostRequestWithFormdataBody ¶ added in v0.8.0
func NewRssRenameRulePostRequestWithFormdataBody(server string, body RssRenameRulePostFormdataRequestBody) (*http.Request, error)
NewRssRenameRulePostRequestWithFormdataBody calls the generic RssRenameRulePost builder with application/x-www-form-urlencoded body
func NewRssRulesGetRequest ¶ added in v0.8.0
NewRssRulesGetRequest generates requests for RssRulesGet
func NewRssSetRulePostRequestWithBody ¶ added in v0.8.0
func NewRssSetRulePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRssSetRulePostRequestWithBody generates requests for RssSetRulePost with any type of body
func NewRssSetRulePostRequestWithFormdataBody ¶ added in v0.8.0
func NewRssSetRulePostRequestWithFormdataBody(server string, body RssSetRulePostFormdataRequestBody) (*http.Request, error)
NewRssSetRulePostRequestWithFormdataBody calls the generic RssSetRulePost builder with application/x-www-form-urlencoded body
func NewSearchDeletePostRequestWithBody ¶ added in v0.8.0
func NewSearchDeletePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSearchDeletePostRequestWithBody generates requests for SearchDeletePost with any type of body
func NewSearchDeletePostRequestWithFormdataBody ¶ added in v0.8.0
func NewSearchDeletePostRequestWithFormdataBody(server string, body SearchDeletePostFormdataRequestBody) (*http.Request, error)
NewSearchDeletePostRequestWithFormdataBody calls the generic SearchDeletePost builder with application/x-www-form-urlencoded body
func NewSearchEnablePluginPostRequestWithBody ¶ added in v0.8.0
func NewSearchEnablePluginPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSearchEnablePluginPostRequestWithBody generates requests for SearchEnablePluginPost with any type of body
func NewSearchEnablePluginPostRequestWithFormdataBody ¶ added in v0.8.0
func NewSearchEnablePluginPostRequestWithFormdataBody(server string, body SearchEnablePluginPostFormdataRequestBody) (*http.Request, error)
NewSearchEnablePluginPostRequestWithFormdataBody calls the generic SearchEnablePluginPost builder with application/x-www-form-urlencoded body
func NewSearchInstallPluginPostRequestWithBody ¶ added in v0.8.0
func NewSearchInstallPluginPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSearchInstallPluginPostRequestWithBody generates requests for SearchInstallPluginPost with any type of body
func NewSearchInstallPluginPostRequestWithFormdataBody ¶ added in v0.8.0
func NewSearchInstallPluginPostRequestWithFormdataBody(server string, body SearchInstallPluginPostFormdataRequestBody) (*http.Request, error)
NewSearchInstallPluginPostRequestWithFormdataBody calls the generic SearchInstallPluginPost builder with application/x-www-form-urlencoded body
func NewSearchPluginsGetRequest ¶ added in v0.8.0
NewSearchPluginsGetRequest generates requests for SearchPluginsGet
func NewSearchResultsPostRequestWithBody ¶ added in v0.8.0
func NewSearchResultsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSearchResultsPostRequestWithBody generates requests for SearchResultsPost with any type of body
func NewSearchResultsPostRequestWithFormdataBody ¶ added in v0.8.0
func NewSearchResultsPostRequestWithFormdataBody(server string, body SearchResultsPostFormdataRequestBody) (*http.Request, error)
NewSearchResultsPostRequestWithFormdataBody calls the generic SearchResultsPost builder with application/x-www-form-urlencoded body
func NewSearchStartPostRequestWithBody ¶ added in v0.8.0
func NewSearchStartPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSearchStartPostRequestWithBody generates requests for SearchStartPost with any type of body
func NewSearchStartPostRequestWithFormdataBody ¶ added in v0.8.0
func NewSearchStartPostRequestWithFormdataBody(server string, body SearchStartPostFormdataRequestBody) (*http.Request, error)
NewSearchStartPostRequestWithFormdataBody calls the generic SearchStartPost builder with application/x-www-form-urlencoded body
func NewSearchStatusPostRequestWithBody ¶ added in v0.8.0
func NewSearchStatusPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSearchStatusPostRequestWithBody generates requests for SearchStatusPost with any type of body
func NewSearchStatusPostRequestWithFormdataBody ¶ added in v0.8.0
func NewSearchStatusPostRequestWithFormdataBody(server string, body SearchStatusPostFormdataRequestBody) (*http.Request, error)
NewSearchStatusPostRequestWithFormdataBody calls the generic SearchStatusPost builder with application/x-www-form-urlencoded body
func NewSearchStopPostRequestWithBody ¶ added in v0.8.0
func NewSearchStopPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSearchStopPostRequestWithBody generates requests for SearchStopPost with any type of body
func NewSearchStopPostRequestWithFormdataBody ¶ added in v0.8.0
func NewSearchStopPostRequestWithFormdataBody(server string, body SearchStopPostFormdataRequestBody) (*http.Request, error)
NewSearchStopPostRequestWithFormdataBody calls the generic SearchStopPost builder with application/x-www-form-urlencoded body
func NewSearchUninstallPluginPostRequestWithBody ¶ added in v0.8.0
func NewSearchUninstallPluginPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSearchUninstallPluginPostRequestWithBody generates requests for SearchUninstallPluginPost with any type of body
func NewSearchUninstallPluginPostRequestWithFormdataBody ¶ added in v0.8.0
func NewSearchUninstallPluginPostRequestWithFormdataBody(server string, body SearchUninstallPluginPostFormdataRequestBody) (*http.Request, error)
NewSearchUninstallPluginPostRequestWithFormdataBody calls the generic SearchUninstallPluginPost builder with application/x-www-form-urlencoded body
func NewSearchUpdatePluginsPostRequest ¶ added in v0.8.0
NewSearchUpdatePluginsPostRequest generates requests for SearchUpdatePluginsPost
func NewSyncMaindataPostRequestWithBody ¶ added in v0.8.0
func NewSyncMaindataPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSyncMaindataPostRequestWithBody generates requests for SyncMaindataPost with any type of body
func NewSyncMaindataPostRequestWithFormdataBody ¶ added in v0.8.0
func NewSyncMaindataPostRequestWithFormdataBody(server string, body SyncMaindataPostFormdataRequestBody) (*http.Request, error)
NewSyncMaindataPostRequestWithFormdataBody calls the generic SyncMaindataPost builder with application/x-www-form-urlencoded body
func NewSyncTorrentPeersPostRequestWithBody ¶ added in v0.8.0
func NewSyncTorrentPeersPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSyncTorrentPeersPostRequestWithBody generates requests for SyncTorrentPeersPost with any type of body
func NewSyncTorrentPeersPostRequestWithFormdataBody ¶ added in v0.8.0
func NewSyncTorrentPeersPostRequestWithFormdataBody(server string, body SyncTorrentPeersPostFormdataRequestBody) (*http.Request, error)
NewSyncTorrentPeersPostRequestWithFormdataBody calls the generic SyncTorrentPeersPost builder with application/x-www-form-urlencoded body
func NewTorrentWebseedsPostRequestWithBody ¶ added in v0.8.0
func NewTorrentWebseedsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentWebseedsPostRequestWithBody generates requests for TorrentWebseedsPost with any type of body
func NewTorrentWebseedsPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentWebseedsPostRequestWithFormdataBody(server string, body TorrentWebseedsPostFormdataRequestBody) (*http.Request, error)
NewTorrentWebseedsPostRequestWithFormdataBody calls the generic TorrentWebseedsPost builder with application/x-www-form-urlencoded body
func NewTorrentsAddPeersPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsAddPeersPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsAddPeersPostRequestWithBody generates requests for TorrentsAddPeersPost with any type of body
func NewTorrentsAddPeersPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsAddPeersPostRequestWithFormdataBody(server string, body TorrentsAddPeersPostFormdataRequestBody) (*http.Request, error)
NewTorrentsAddPeersPostRequestWithFormdataBody calls the generic TorrentsAddPeersPost builder with application/x-www-form-urlencoded body
func NewTorrentsAddPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsAddPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsAddPostRequestWithBody generates requests for TorrentsAddPost with any type of body
func NewTorrentsAddTagsPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsAddTagsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsAddTagsPostRequestWithBody generates requests for TorrentsAddTagsPost with any type of body
func NewTorrentsAddTagsPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsAddTagsPostRequestWithFormdataBody(server string, body TorrentsAddTagsPostFormdataRequestBody) (*http.Request, error)
NewTorrentsAddTagsPostRequestWithFormdataBody calls the generic TorrentsAddTagsPost builder with application/x-www-form-urlencoded body
func NewTorrentsAddTrackersPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsAddTrackersPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsAddTrackersPostRequestWithBody generates requests for TorrentsAddTrackersPost with any type of body
func NewTorrentsAddTrackersPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsAddTrackersPostRequestWithFormdataBody(server string, body TorrentsAddTrackersPostFormdataRequestBody) (*http.Request, error)
NewTorrentsAddTrackersPostRequestWithFormdataBody calls the generic TorrentsAddTrackersPost builder with application/x-www-form-urlencoded body
func NewTorrentsBottomPrioPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsBottomPrioPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsBottomPrioPostRequestWithBody generates requests for TorrentsBottomPrioPost with any type of body
func NewTorrentsBottomPrioPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsBottomPrioPostRequestWithFormdataBody(server string, body TorrentsBottomPrioPostFormdataRequestBody) (*http.Request, error)
NewTorrentsBottomPrioPostRequestWithFormdataBody calls the generic TorrentsBottomPrioPost builder with application/x-www-form-urlencoded body
func NewTorrentsCategoriesGetRequest ¶ added in v0.8.0
NewTorrentsCategoriesGetRequest generates requests for TorrentsCategoriesGet
func NewTorrentsCreateCategoryPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsCreateCategoryPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsCreateCategoryPostRequestWithBody generates requests for TorrentsCreateCategoryPost with any type of body
func NewTorrentsCreateCategoryPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsCreateCategoryPostRequestWithFormdataBody(server string, body TorrentsCreateCategoryPostFormdataRequestBody) (*http.Request, error)
NewTorrentsCreateCategoryPostRequestWithFormdataBody calls the generic TorrentsCreateCategoryPost builder with application/x-www-form-urlencoded body
func NewTorrentsCreateTagsPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsCreateTagsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsCreateTagsPostRequestWithBody generates requests for TorrentsCreateTagsPost with any type of body
func NewTorrentsCreateTagsPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsCreateTagsPostRequestWithFormdataBody(server string, body TorrentsCreateTagsPostFormdataRequestBody) (*http.Request, error)
NewTorrentsCreateTagsPostRequestWithFormdataBody calls the generic TorrentsCreateTagsPost builder with application/x-www-form-urlencoded body
func NewTorrentsDecreasePrioPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsDecreasePrioPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsDecreasePrioPostRequestWithBody generates requests for TorrentsDecreasePrioPost with any type of body
func NewTorrentsDecreasePrioPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsDecreasePrioPostRequestWithFormdataBody(server string, body TorrentsDecreasePrioPostFormdataRequestBody) (*http.Request, error)
NewTorrentsDecreasePrioPostRequestWithFormdataBody calls the generic TorrentsDecreasePrioPost builder with application/x-www-form-urlencoded body
func NewTorrentsDeletePostRequestWithBody ¶ added in v0.8.0
func NewTorrentsDeletePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsDeletePostRequestWithBody generates requests for TorrentsDeletePost with any type of body
func NewTorrentsDeletePostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsDeletePostRequestWithFormdataBody(server string, body TorrentsDeletePostFormdataRequestBody) (*http.Request, error)
NewTorrentsDeletePostRequestWithFormdataBody calls the generic TorrentsDeletePost builder with application/x-www-form-urlencoded body
func NewTorrentsDeleteTagsPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsDeleteTagsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsDeleteTagsPostRequestWithBody generates requests for TorrentsDeleteTagsPost with any type of body
func NewTorrentsDeleteTagsPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsDeleteTagsPostRequestWithFormdataBody(server string, body TorrentsDeleteTagsPostFormdataRequestBody) (*http.Request, error)
NewTorrentsDeleteTagsPostRequestWithFormdataBody calls the generic TorrentsDeleteTagsPost builder with application/x-www-form-urlencoded body
func NewTorrentsDownloadLimitPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsDownloadLimitPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsDownloadLimitPostRequestWithBody generates requests for TorrentsDownloadLimitPost with any type of body
func NewTorrentsDownloadLimitPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsDownloadLimitPostRequestWithFormdataBody(server string, body TorrentsDownloadLimitPostFormdataRequestBody) (*http.Request, error)
NewTorrentsDownloadLimitPostRequestWithFormdataBody calls the generic TorrentsDownloadLimitPost builder with application/x-www-form-urlencoded body
func NewTorrentsEditCategoryPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsEditCategoryPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsEditCategoryPostRequestWithBody generates requests for TorrentsEditCategoryPost with any type of body
func NewTorrentsEditCategoryPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsEditCategoryPostRequestWithFormdataBody(server string, body TorrentsEditCategoryPostFormdataRequestBody) (*http.Request, error)
NewTorrentsEditCategoryPostRequestWithFormdataBody calls the generic TorrentsEditCategoryPost builder with application/x-www-form-urlencoded body
func NewTorrentsEditTrackerPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsEditTrackerPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsEditTrackerPostRequestWithBody generates requests for TorrentsEditTrackerPost with any type of body
func NewTorrentsEditTrackerPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsEditTrackerPostRequestWithFormdataBody(server string, body TorrentsEditTrackerPostFormdataRequestBody) (*http.Request, error)
NewTorrentsEditTrackerPostRequestWithFormdataBody calls the generic TorrentsEditTrackerPost builder with application/x-www-form-urlencoded body
func NewTorrentsFilePrioPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsFilePrioPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsFilePrioPostRequestWithBody generates requests for TorrentsFilePrioPost with any type of body
func NewTorrentsFilePrioPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsFilePrioPostRequestWithFormdataBody(server string, body TorrentsFilePrioPostFormdataRequestBody) (*http.Request, error)
NewTorrentsFilePrioPostRequestWithFormdataBody calls the generic TorrentsFilePrioPost builder with application/x-www-form-urlencoded body
func NewTorrentsFilesPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsFilesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsFilesPostRequestWithBody generates requests for TorrentsFilesPost with any type of body
func NewTorrentsFilesPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsFilesPostRequestWithFormdataBody(server string, body TorrentsFilesPostFormdataRequestBody) (*http.Request, error)
NewTorrentsFilesPostRequestWithFormdataBody calls the generic TorrentsFilesPost builder with application/x-www-form-urlencoded body
func NewTorrentsIncreasePrioPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsIncreasePrioPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsIncreasePrioPostRequestWithBody generates requests for TorrentsIncreasePrioPost with any type of body
func NewTorrentsIncreasePrioPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsIncreasePrioPostRequestWithFormdataBody(server string, body TorrentsIncreasePrioPostFormdataRequestBody) (*http.Request, error)
NewTorrentsIncreasePrioPostRequestWithFormdataBody calls the generic TorrentsIncreasePrioPost builder with application/x-www-form-urlencoded body
func NewTorrentsInfoPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsInfoPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsInfoPostRequestWithBody generates requests for TorrentsInfoPost with any type of body
func NewTorrentsInfoPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsInfoPostRequestWithFormdataBody(server string, body TorrentsInfoPostFormdataRequestBody) (*http.Request, error)
NewTorrentsInfoPostRequestWithFormdataBody calls the generic TorrentsInfoPost builder with application/x-www-form-urlencoded body
func NewTorrentsPausePostRequestWithBody ¶ added in v0.8.0
func NewTorrentsPausePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsPausePostRequestWithBody generates requests for TorrentsPausePost with any type of body
func NewTorrentsPausePostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsPausePostRequestWithFormdataBody(server string, body TorrentsPausePostFormdataRequestBody) (*http.Request, error)
NewTorrentsPausePostRequestWithFormdataBody calls the generic TorrentsPausePost builder with application/x-www-form-urlencoded body
func NewTorrentsPieceHashesPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsPieceHashesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsPieceHashesPostRequestWithBody generates requests for TorrentsPieceHashesPost with any type of body
func NewTorrentsPieceHashesPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsPieceHashesPostRequestWithFormdataBody(server string, body TorrentsPieceHashesPostFormdataRequestBody) (*http.Request, error)
NewTorrentsPieceHashesPostRequestWithFormdataBody calls the generic TorrentsPieceHashesPost builder with application/x-www-form-urlencoded body
func NewTorrentsPieceStatesPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsPieceStatesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsPieceStatesPostRequestWithBody generates requests for TorrentsPieceStatesPost with any type of body
func NewTorrentsPieceStatesPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsPieceStatesPostRequestWithFormdataBody(server string, body TorrentsPieceStatesPostFormdataRequestBody) (*http.Request, error)
NewTorrentsPieceStatesPostRequestWithFormdataBody calls the generic TorrentsPieceStatesPost builder with application/x-www-form-urlencoded body
func NewTorrentsPropertiesPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsPropertiesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsPropertiesPostRequestWithBody generates requests for TorrentsPropertiesPost with any type of body
func NewTorrentsPropertiesPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsPropertiesPostRequestWithFormdataBody(server string, body TorrentsPropertiesPostFormdataRequestBody) (*http.Request, error)
NewTorrentsPropertiesPostRequestWithFormdataBody calls the generic TorrentsPropertiesPost builder with application/x-www-form-urlencoded body
func NewTorrentsReannouncePostRequestWithBody ¶ added in v0.8.0
func NewTorrentsReannouncePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsReannouncePostRequestWithBody generates requests for TorrentsReannouncePost with any type of body
func NewTorrentsReannouncePostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsReannouncePostRequestWithFormdataBody(server string, body TorrentsReannouncePostFormdataRequestBody) (*http.Request, error)
NewTorrentsReannouncePostRequestWithFormdataBody calls the generic TorrentsReannouncePost builder with application/x-www-form-urlencoded body
func NewTorrentsRecheckPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsRecheckPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsRecheckPostRequestWithBody generates requests for TorrentsRecheckPost with any type of body
func NewTorrentsRecheckPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsRecheckPostRequestWithFormdataBody(server string, body TorrentsRecheckPostFormdataRequestBody) (*http.Request, error)
NewTorrentsRecheckPostRequestWithFormdataBody calls the generic TorrentsRecheckPost builder with application/x-www-form-urlencoded body
func NewTorrentsRemoveCategoriesPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsRemoveCategoriesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsRemoveCategoriesPostRequestWithBody generates requests for TorrentsRemoveCategoriesPost with any type of body
func NewTorrentsRemoveCategoriesPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsRemoveCategoriesPostRequestWithFormdataBody(server string, body TorrentsRemoveCategoriesPostFormdataRequestBody) (*http.Request, error)
NewTorrentsRemoveCategoriesPostRequestWithFormdataBody calls the generic TorrentsRemoveCategoriesPost builder with application/x-www-form-urlencoded body
func NewTorrentsRemoveTagsPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsRemoveTagsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsRemoveTagsPostRequestWithBody generates requests for TorrentsRemoveTagsPost with any type of body
func NewTorrentsRemoveTagsPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsRemoveTagsPostRequestWithFormdataBody(server string, body TorrentsRemoveTagsPostFormdataRequestBody) (*http.Request, error)
NewTorrentsRemoveTagsPostRequestWithFormdataBody calls the generic TorrentsRemoveTagsPost builder with application/x-www-form-urlencoded body
func NewTorrentsRemoveTrackersPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsRemoveTrackersPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsRemoveTrackersPostRequestWithBody generates requests for TorrentsRemoveTrackersPost with any type of body
func NewTorrentsRemoveTrackersPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsRemoveTrackersPostRequestWithFormdataBody(server string, body TorrentsRemoveTrackersPostFormdataRequestBody) (*http.Request, error)
NewTorrentsRemoveTrackersPostRequestWithFormdataBody calls the generic TorrentsRemoveTrackersPost builder with application/x-www-form-urlencoded body
func NewTorrentsRenameFilePostRequestWithBody ¶ added in v0.8.0
func NewTorrentsRenameFilePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsRenameFilePostRequestWithBody generates requests for TorrentsRenameFilePost with any type of body
func NewTorrentsRenameFilePostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsRenameFilePostRequestWithFormdataBody(server string, body TorrentsRenameFilePostFormdataRequestBody) (*http.Request, error)
NewTorrentsRenameFilePostRequestWithFormdataBody calls the generic TorrentsRenameFilePost builder with application/x-www-form-urlencoded body
func NewTorrentsRenameFolderPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsRenameFolderPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsRenameFolderPostRequestWithBody generates requests for TorrentsRenameFolderPost with any type of body
func NewTorrentsRenameFolderPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsRenameFolderPostRequestWithFormdataBody(server string, body TorrentsRenameFolderPostFormdataRequestBody) (*http.Request, error)
NewTorrentsRenameFolderPostRequestWithFormdataBody calls the generic TorrentsRenameFolderPost builder with application/x-www-form-urlencoded body
func NewTorrentsRenamePostRequestWithBody ¶ added in v0.8.0
func NewTorrentsRenamePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsRenamePostRequestWithBody generates requests for TorrentsRenamePost with any type of body
func NewTorrentsRenamePostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsRenamePostRequestWithFormdataBody(server string, body TorrentsRenamePostFormdataRequestBody) (*http.Request, error)
NewTorrentsRenamePostRequestWithFormdataBody calls the generic TorrentsRenamePost builder with application/x-www-form-urlencoded body
func NewTorrentsResumePostRequestWithBody ¶ added in v0.8.0
func NewTorrentsResumePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsResumePostRequestWithBody generates requests for TorrentsResumePost with any type of body
func NewTorrentsResumePostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsResumePostRequestWithFormdataBody(server string, body TorrentsResumePostFormdataRequestBody) (*http.Request, error)
NewTorrentsResumePostRequestWithFormdataBody calls the generic TorrentsResumePost builder with application/x-www-form-urlencoded body
func NewTorrentsSetAutoManagementPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsSetAutoManagementPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsSetAutoManagementPostRequestWithBody generates requests for TorrentsSetAutoManagementPost with any type of body
func NewTorrentsSetAutoManagementPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsSetAutoManagementPostRequestWithFormdataBody(server string, body TorrentsSetAutoManagementPostFormdataRequestBody) (*http.Request, error)
NewTorrentsSetAutoManagementPostRequestWithFormdataBody calls the generic TorrentsSetAutoManagementPost builder with application/x-www-form-urlencoded body
func NewTorrentsSetCategoryPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsSetCategoryPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsSetCategoryPostRequestWithBody generates requests for TorrentsSetCategoryPost with any type of body
func NewTorrentsSetCategoryPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsSetCategoryPostRequestWithFormdataBody(server string, body TorrentsSetCategoryPostFormdataRequestBody) (*http.Request, error)
NewTorrentsSetCategoryPostRequestWithFormdataBody calls the generic TorrentsSetCategoryPost builder with application/x-www-form-urlencoded body
func NewTorrentsSetDownloadLimitPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsSetDownloadLimitPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsSetDownloadLimitPostRequestWithBody generates requests for TorrentsSetDownloadLimitPost with any type of body
func NewTorrentsSetDownloadLimitPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsSetDownloadLimitPostRequestWithFormdataBody(server string, body TorrentsSetDownloadLimitPostFormdataRequestBody) (*http.Request, error)
NewTorrentsSetDownloadLimitPostRequestWithFormdataBody calls the generic TorrentsSetDownloadLimitPost builder with application/x-www-form-urlencoded body
func NewTorrentsSetForceStartPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsSetForceStartPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsSetForceStartPostRequestWithBody generates requests for TorrentsSetForceStartPost with any type of body
func NewTorrentsSetForceStartPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsSetForceStartPostRequestWithFormdataBody(server string, body TorrentsSetForceStartPostFormdataRequestBody) (*http.Request, error)
NewTorrentsSetForceStartPostRequestWithFormdataBody calls the generic TorrentsSetForceStartPost builder with application/x-www-form-urlencoded body
func NewTorrentsSetLocationPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsSetLocationPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsSetLocationPostRequestWithBody generates requests for TorrentsSetLocationPost with any type of body
func NewTorrentsSetLocationPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsSetLocationPostRequestWithFormdataBody(server string, body TorrentsSetLocationPostFormdataRequestBody) (*http.Request, error)
NewTorrentsSetLocationPostRequestWithFormdataBody calls the generic TorrentsSetLocationPost builder with application/x-www-form-urlencoded body
func NewTorrentsSetShareLimitsPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsSetShareLimitsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsSetShareLimitsPostRequestWithBody generates requests for TorrentsSetShareLimitsPost with any type of body
func NewTorrentsSetShareLimitsPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsSetShareLimitsPostRequestWithFormdataBody(server string, body TorrentsSetShareLimitsPostFormdataRequestBody) (*http.Request, error)
NewTorrentsSetShareLimitsPostRequestWithFormdataBody calls the generic TorrentsSetShareLimitsPost builder with application/x-www-form-urlencoded body
func NewTorrentsSetSuperSeedingPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsSetSuperSeedingPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsSetSuperSeedingPostRequestWithBody generates requests for TorrentsSetSuperSeedingPost with any type of body
func NewTorrentsSetSuperSeedingPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsSetSuperSeedingPostRequestWithFormdataBody(server string, body TorrentsSetSuperSeedingPostFormdataRequestBody) (*http.Request, error)
NewTorrentsSetSuperSeedingPostRequestWithFormdataBody calls the generic TorrentsSetSuperSeedingPost builder with application/x-www-form-urlencoded body
func NewTorrentsSetUploadLimitPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsSetUploadLimitPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsSetUploadLimitPostRequestWithBody generates requests for TorrentsSetUploadLimitPost with any type of body
func NewTorrentsSetUploadLimitPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsSetUploadLimitPostRequestWithFormdataBody(server string, body TorrentsSetUploadLimitPostFormdataRequestBody) (*http.Request, error)
NewTorrentsSetUploadLimitPostRequestWithFormdataBody calls the generic TorrentsSetUploadLimitPost builder with application/x-www-form-urlencoded body
func NewTorrentsTagsGetRequest ¶ added in v0.8.0
NewTorrentsTagsGetRequest generates requests for TorrentsTagsGet
func NewTorrentsToggleFirstLastPiecePrioPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsToggleFirstLastPiecePrioPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsToggleFirstLastPiecePrioPostRequestWithBody generates requests for TorrentsToggleFirstLastPiecePrioPost with any type of body
func NewTorrentsToggleFirstLastPiecePrioPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsToggleFirstLastPiecePrioPostRequestWithFormdataBody(server string, body TorrentsToggleFirstLastPiecePrioPostFormdataRequestBody) (*http.Request, error)
NewTorrentsToggleFirstLastPiecePrioPostRequestWithFormdataBody calls the generic TorrentsToggleFirstLastPiecePrioPost builder with application/x-www-form-urlencoded body
func NewTorrentsToggleSequentialDownloadPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsToggleSequentialDownloadPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsToggleSequentialDownloadPostRequestWithBody generates requests for TorrentsToggleSequentialDownloadPost with any type of body
func NewTorrentsToggleSequentialDownloadPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsToggleSequentialDownloadPostRequestWithFormdataBody(server string, body TorrentsToggleSequentialDownloadPostFormdataRequestBody) (*http.Request, error)
NewTorrentsToggleSequentialDownloadPostRequestWithFormdataBody calls the generic TorrentsToggleSequentialDownloadPost builder with application/x-www-form-urlencoded body
func NewTorrentsTopPrioPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsTopPrioPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsTopPrioPostRequestWithBody generates requests for TorrentsTopPrioPost with any type of body
func NewTorrentsTopPrioPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsTopPrioPostRequestWithFormdataBody(server string, body TorrentsTopPrioPostFormdataRequestBody) (*http.Request, error)
NewTorrentsTopPrioPostRequestWithFormdataBody calls the generic TorrentsTopPrioPost builder with application/x-www-form-urlencoded body
func NewTorrentsTrackersPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsTrackersPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsTrackersPostRequestWithBody generates requests for TorrentsTrackersPost with any type of body
func NewTorrentsTrackersPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsTrackersPostRequestWithFormdataBody(server string, body TorrentsTrackersPostFormdataRequestBody) (*http.Request, error)
NewTorrentsTrackersPostRequestWithFormdataBody calls the generic TorrentsTrackersPost builder with application/x-www-form-urlencoded body
func NewTorrentsUploadLimitPostRequestWithBody ¶ added in v0.8.0
func NewTorrentsUploadLimitPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTorrentsUploadLimitPostRequestWithBody generates requests for TorrentsUploadLimitPost with any type of body
func NewTorrentsUploadLimitPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTorrentsUploadLimitPostRequestWithFormdataBody(server string, body TorrentsUploadLimitPostFormdataRequestBody) (*http.Request, error)
NewTorrentsUploadLimitPostRequestWithFormdataBody calls the generic TorrentsUploadLimitPost builder with application/x-www-form-urlencoded body
func NewTransferBanPeersPostRequestWithBody ¶ added in v0.8.0
func NewTransferBanPeersPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTransferBanPeersPostRequestWithBody generates requests for TransferBanPeersPost with any type of body
func NewTransferBanPeersPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTransferBanPeersPostRequestWithFormdataBody(server string, body TransferBanPeersPostFormdataRequestBody) (*http.Request, error)
NewTransferBanPeersPostRequestWithFormdataBody calls the generic TransferBanPeersPost builder with application/x-www-form-urlencoded body
func NewTransferDownloadLimitGetRequest ¶ added in v0.8.0
NewTransferDownloadLimitGetRequest generates requests for TransferDownloadLimitGet
func NewTransferInfoGetRequest ¶ added in v0.8.0
NewTransferInfoGetRequest generates requests for TransferInfoGet
func NewTransferSetDownloadLimitPostRequestWithBody ¶ added in v0.8.0
func NewTransferSetDownloadLimitPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTransferSetDownloadLimitPostRequestWithBody generates requests for TransferSetDownloadLimitPost with any type of body
func NewTransferSetDownloadLimitPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTransferSetDownloadLimitPostRequestWithFormdataBody(server string, body TransferSetDownloadLimitPostFormdataRequestBody) (*http.Request, error)
NewTransferSetDownloadLimitPostRequestWithFormdataBody calls the generic TransferSetDownloadLimitPost builder with application/x-www-form-urlencoded body
func NewTransferSetUploadLimitPostRequestWithBody ¶ added in v0.8.0
func NewTransferSetUploadLimitPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTransferSetUploadLimitPostRequestWithBody generates requests for TransferSetUploadLimitPost with any type of body
func NewTransferSetUploadLimitPostRequestWithFormdataBody ¶ added in v0.8.0
func NewTransferSetUploadLimitPostRequestWithFormdataBody(server string, body TransferSetUploadLimitPostFormdataRequestBody) (*http.Request, error)
NewTransferSetUploadLimitPostRequestWithFormdataBody calls the generic TransferSetUploadLimitPost builder with application/x-www-form-urlencoded body
func NewTransferSpeedLimitsModeGetRequest ¶ added in v0.8.0
NewTransferSpeedLimitsModeGetRequest generates requests for TransferSpeedLimitsModeGet
func NewTransferToggleSpeedLimitsModeGetRequest ¶ added in v0.8.0
NewTransferToggleSpeedLimitsModeGetRequest generates requests for TransferToggleSpeedLimitsModeGet
func NewTransferUploadLimitGetRequest ¶ added in v0.8.0
NewTransferUploadLimitGetRequest generates requests for TransferUploadLimitGet
Types ¶
type AddTorrentsCommon ¶ added in v0.8.0
type AddTorrentsCommon struct { // AutoTMM Whether Automatic Torrent Management should be used AutoTMM *bool `json:"autoTMM,omitempty"` // Category Category for the torrent Category *string `json:"category,omitempty"` // Cookie Cookie sent to download the .torrent file Cookie *string `json:"cookie,omitempty"` // DlLimit Set torrent download speed limit. Unit in bytes/second DlLimit *int64 `json:"dlLimit,omitempty"` // FirstLastPiecePrio Prioritize download first last piece. Possible values are `true`, `false` (default) FirstLastPiecePrio *AddTorrentsCommonFirstLastPiecePrio `json:"firstLastPiecePrio,omitempty"` // Paused Add torrents in the paused state. Possible values are `true`, `false` (default) Paused *AddTorrentsCommonPaused `json:"paused,omitempty"` // RatioLimit Set torrent share ratio limit RatioLimit *float32 `json:"ratioLimit,omitempty"` // Rename Rename torrent Rename *string `json:"rename,omitempty"` // RootFolder Create the root folder. Possible values are `true`, `false`, unset (default) RootFolder *AddTorrentsCommonRootFolder `json:"root_folder,omitempty"` // Savepath Download folder Savepath *string `json:"savepath,omitempty"` // SeedingTimeLimit Set torrent seeding time limit. Unit in seconds SeedingTimeLimit *int64 `json:"seedingTimeLimit,omitempty"` // SequentialDownload Enable sequential download. Possible values are `true`, `false` (default) SequentialDownload *AddTorrentsCommonSequentialDownload `json:"sequentialDownload,omitempty"` // SkipChecking Skip hash checking. Possible values are `true`, `false` (default) SkipChecking *AddTorrentsCommonSkipChecking `json:"skip_checking,omitempty"` // Tags Tags for the torrent, split by ',' Tags *[]string `json:"tags,omitempty"` // UpLimit Set torrent upload speed limit. Unit in bytes/second UpLimit *int64 `json:"upLimit,omitempty"` }
AddTorrentsCommon defines model for AddTorrentsCommon.
type AddTorrentsCommonFirstLastPiecePrio ¶ added in v0.8.0
type AddTorrentsCommonFirstLastPiecePrio string
AddTorrentsCommonFirstLastPiecePrio Prioritize download first last piece. Possible values are `true`, `false` (default)
const ( AddTorrentsCommonFirstLastPiecePrioFalse AddTorrentsCommonFirstLastPiecePrio = "false" AddTorrentsCommonFirstLastPiecePrioTrue AddTorrentsCommonFirstLastPiecePrio = "true" )
Defines values for AddTorrentsCommonFirstLastPiecePrio.
type AddTorrentsCommonPaused ¶ added in v0.8.0
type AddTorrentsCommonPaused string
AddTorrentsCommonPaused Add torrents in the paused state. Possible values are `true`, `false` (default)
const ( AddTorrentsCommonPausedFalse AddTorrentsCommonPaused = "false" AddTorrentsCommonPausedTrue AddTorrentsCommonPaused = "true" )
Defines values for AddTorrentsCommonPaused.
type AddTorrentsCommonRootFolder ¶ added in v0.8.0
type AddTorrentsCommonRootFolder string
AddTorrentsCommonRootFolder Create the root folder. Possible values are `true`, `false`, unset (default)
const ( AddTorrentsCommonRootFolderFalse AddTorrentsCommonRootFolder = "false" AddTorrentsCommonRootFolderTrue AddTorrentsCommonRootFolder = "true" AddTorrentsCommonRootFolderUnset AddTorrentsCommonRootFolder = "unset" )
Defines values for AddTorrentsCommonRootFolder.
type AddTorrentsCommonSequentialDownload ¶ added in v0.8.0
type AddTorrentsCommonSequentialDownload string
AddTorrentsCommonSequentialDownload Enable sequential download. Possible values are `true`, `false` (default)
const ( AddTorrentsCommonSequentialDownloadFalse AddTorrentsCommonSequentialDownload = "false" AddTorrentsCommonSequentialDownloadTrue AddTorrentsCommonSequentialDownload = "true" )
Defines values for AddTorrentsCommonSequentialDownload.
type AddTorrentsCommonSkipChecking ¶ added in v0.8.0
type AddTorrentsCommonSkipChecking string
AddTorrentsCommonSkipChecking Skip hash checking. Possible values are `true`, `false` (default)
const ( AddTorrentsCommonSkipCheckingFalse AddTorrentsCommonSkipChecking = "false" AddTorrentsCommonSkipCheckingTrue AddTorrentsCommonSkipChecking = "true" )
Defines values for AddTorrentsCommonSkipChecking.
type AddTorrentsFiles ¶ added in v0.8.0
type AddTorrentsFiles struct { // AutoTMM Whether Automatic Torrent Management should be used AutoTMM *bool `json:"autoTMM,omitempty"` // Category Category for the torrent Category *string `json:"category,omitempty"` // Cookie Cookie sent to download the .torrent file Cookie *string `json:"cookie,omitempty"` // DlLimit Set torrent download speed limit. Unit in bytes/second DlLimit *int64 `json:"dlLimit,omitempty"` // FirstLastPiecePrio Prioritize download first last piece. Possible values are `true`, `false` (default) FirstLastPiecePrio *AddTorrentsFilesFirstLastPiecePrio `json:"firstLastPiecePrio,omitempty"` // Paused Add torrents in the paused state. Possible values are `true`, `false` (default) Paused *AddTorrentsFilesPaused `json:"paused,omitempty"` // RatioLimit Set torrent share ratio limit RatioLimit *float32 `json:"ratioLimit,omitempty"` // Rename Rename torrent Rename *string `json:"rename,omitempty"` // RootFolder Create the root folder. Possible values are `true`, `false`, unset (default) RootFolder *AddTorrentsFilesRootFolder `json:"root_folder,omitempty"` // Savepath Download folder Savepath *string `json:"savepath,omitempty"` // SeedingTimeLimit Set torrent seeding time limit. Unit in seconds SeedingTimeLimit *int64 `json:"seedingTimeLimit,omitempty"` // SequentialDownload Enable sequential download. Possible values are `true`, `false` (default) SequentialDownload *AddTorrentsFilesSequentialDownload `json:"sequentialDownload,omitempty"` // SkipChecking Skip hash checking. Possible values are `true`, `false` (default) SkipChecking *AddTorrentsFilesSkipChecking `json:"skip_checking,omitempty"` // Tags Tags for the torrent, split by ',' Tags *[]string `json:"tags,omitempty"` // Torrents Raw data of torrent file. `torrents` can be presented multiple times. Torrents *[]openapi_types.File `json:"torrents,omitempty"` // UpLimit Set torrent upload speed limit. Unit in bytes/second UpLimit *int64 `json:"upLimit,omitempty"` }
AddTorrentsFiles defines model for AddTorrentsFiles.
type AddTorrentsFilesAllOf ¶ added in v0.8.0
type AddTorrentsFilesAllOf struct { // Torrents Raw data of torrent file. `torrents` can be presented multiple times. Torrents *[]openapi_types.File `json:"torrents,omitempty"` }
AddTorrentsFilesAllOf defines model for AddTorrentsFiles_allOf.
type AddTorrentsFilesFirstLastPiecePrio ¶ added in v0.8.0
type AddTorrentsFilesFirstLastPiecePrio string
AddTorrentsFilesFirstLastPiecePrio Prioritize download first last piece. Possible values are `true`, `false` (default)
const ( AddTorrentsFilesFirstLastPiecePrioFalse AddTorrentsFilesFirstLastPiecePrio = "false" AddTorrentsFilesFirstLastPiecePrioTrue AddTorrentsFilesFirstLastPiecePrio = "true" )
Defines values for AddTorrentsFilesFirstLastPiecePrio.
type AddTorrentsFilesPaused ¶ added in v0.8.0
type AddTorrentsFilesPaused string
AddTorrentsFilesPaused Add torrents in the paused state. Possible values are `true`, `false` (default)
const ( AddTorrentsFilesPausedFalse AddTorrentsFilesPaused = "false" AddTorrentsFilesPausedTrue AddTorrentsFilesPaused = "true" )
Defines values for AddTorrentsFilesPaused.
type AddTorrentsFilesRootFolder ¶ added in v0.8.0
type AddTorrentsFilesRootFolder string
AddTorrentsFilesRootFolder Create the root folder. Possible values are `true`, `false`, unset (default)
const ( AddTorrentsFilesRootFolderFalse AddTorrentsFilesRootFolder = "false" AddTorrentsFilesRootFolderTrue AddTorrentsFilesRootFolder = "true" AddTorrentsFilesRootFolderUnset AddTorrentsFilesRootFolder = "unset" )
Defines values for AddTorrentsFilesRootFolder.
type AddTorrentsFilesSequentialDownload ¶ added in v0.8.0
type AddTorrentsFilesSequentialDownload string
AddTorrentsFilesSequentialDownload Enable sequential download. Possible values are `true`, `false` (default)
const ( AddTorrentsFilesSequentialDownloadFalse AddTorrentsFilesSequentialDownload = "false" AddTorrentsFilesSequentialDownloadTrue AddTorrentsFilesSequentialDownload = "true" )
Defines values for AddTorrentsFilesSequentialDownload.
type AddTorrentsFilesSkipChecking ¶ added in v0.8.0
type AddTorrentsFilesSkipChecking string
AddTorrentsFilesSkipChecking Skip hash checking. Possible values are `true`, `false` (default)
const ( AddTorrentsFilesSkipCheckingFalse AddTorrentsFilesSkipChecking = "false" AddTorrentsFilesSkipCheckingTrue AddTorrentsFilesSkipChecking = "true" )
Defines values for AddTorrentsFilesSkipChecking.
type AddTorrentsURLs ¶ added in v0.8.0
type AddTorrentsURLs struct { // AutoTMM Whether Automatic Torrent Management should be used AutoTMM *bool `json:"autoTMM,omitempty"` // Category Category for the torrent Category *string `json:"category,omitempty"` // Cookie Cookie sent to download the .torrent file Cookie *string `json:"cookie,omitempty"` // DlLimit Set torrent download speed limit. Unit in bytes/second DlLimit *int64 `json:"dlLimit,omitempty"` // FirstLastPiecePrio Prioritize download first last piece. Possible values are `true`, `false` (default) FirstLastPiecePrio *AddTorrentsURLsFirstLastPiecePrio `json:"firstLastPiecePrio,omitempty"` // Paused Add torrents in the paused state. Possible values are `true`, `false` (default) Paused *AddTorrentsURLsPaused `json:"paused,omitempty"` // RatioLimit Set torrent share ratio limit RatioLimit *float32 `json:"ratioLimit,omitempty"` // Rename Rename torrent Rename *string `json:"rename,omitempty"` // RootFolder Create the root folder. Possible values are `true`, `false`, unset (default) RootFolder *AddTorrentsURLsRootFolder `json:"root_folder,omitempty"` // Savepath Download folder Savepath *string `json:"savepath,omitempty"` // SeedingTimeLimit Set torrent seeding time limit. Unit in seconds SeedingTimeLimit *int64 `json:"seedingTimeLimit,omitempty"` // SequentialDownload Enable sequential download. Possible values are `true`, `false` (default) SequentialDownload *AddTorrentsURLsSequentialDownload `json:"sequentialDownload,omitempty"` // SkipChecking Skip hash checking. Possible values are `true`, `false` (default) SkipChecking *AddTorrentsURLsSkipChecking `json:"skip_checking,omitempty"` // Tags Tags for the torrent, split by ',' Tags *[]string `json:"tags,omitempty"` // UpLimit Set torrent upload speed limit. Unit in bytes/second UpLimit *int64 `json:"upLimit,omitempty"` // Urls URLs separated with newlines Urls *string `json:"urls,omitempty"` }
AddTorrentsURLs defines model for AddTorrentsURLs.
type AddTorrentsURLsAllOf ¶ added in v0.8.0
type AddTorrentsURLsAllOf struct { // Urls URLs separated with newlines Urls *string `json:"urls,omitempty"` }
AddTorrentsURLsAllOf defines model for AddTorrentsURLs_allOf.
type AddTorrentsURLsFirstLastPiecePrio ¶ added in v0.8.0
type AddTorrentsURLsFirstLastPiecePrio string
AddTorrentsURLsFirstLastPiecePrio Prioritize download first last piece. Possible values are `true`, `false` (default)
const ( AddTorrentsURLsFirstLastPiecePrioFalse AddTorrentsURLsFirstLastPiecePrio = "false" AddTorrentsURLsFirstLastPiecePrioTrue AddTorrentsURLsFirstLastPiecePrio = "true" )
Defines values for AddTorrentsURLsFirstLastPiecePrio.
type AddTorrentsURLsPaused ¶ added in v0.8.0
type AddTorrentsURLsPaused string
AddTorrentsURLsPaused Add torrents in the paused state. Possible values are `true`, `false` (default)
const ( AddTorrentsURLsPausedFalse AddTorrentsURLsPaused = "false" AddTorrentsURLsPausedTrue AddTorrentsURLsPaused = "true" )
Defines values for AddTorrentsURLsPaused.
type AddTorrentsURLsRootFolder ¶ added in v0.8.0
type AddTorrentsURLsRootFolder string
AddTorrentsURLsRootFolder Create the root folder. Possible values are `true`, `false`, unset (default)
const ( AddTorrentsURLsRootFolderFalse AddTorrentsURLsRootFolder = "false" AddTorrentsURLsRootFolderTrue AddTorrentsURLsRootFolder = "true" AddTorrentsURLsRootFolderUnset AddTorrentsURLsRootFolder = "unset" )
Defines values for AddTorrentsURLsRootFolder.
type AddTorrentsURLsSequentialDownload ¶ added in v0.8.0
type AddTorrentsURLsSequentialDownload string
AddTorrentsURLsSequentialDownload Enable sequential download. Possible values are `true`, `false` (default)
const ( AddTorrentsURLsSequentialDownloadFalse AddTorrentsURLsSequentialDownload = "false" AddTorrentsURLsSequentialDownloadTrue AddTorrentsURLsSequentialDownload = "true" )
Defines values for AddTorrentsURLsSequentialDownload.
type AddTorrentsURLsSkipChecking ¶ added in v0.8.0
type AddTorrentsURLsSkipChecking string
AddTorrentsURLsSkipChecking Skip hash checking. Possible values are `true`, `false` (default)
const ( False AddTorrentsURLsSkipChecking = "false" True AddTorrentsURLsSkipChecking = "true" )
Defines values for AddTorrentsURLsSkipChecking.
type Api ¶ added in v0.8.0
type Api struct { Client *ClientWithResponses URL string Authenticated bool Ctx context.Context Jar *cookiejar.Jar Sid string }
func (*Api) DecreasePriority ¶ added in v0.8.0
func (*Api) IncreasePriority ¶ added in v0.8.0
func (*Api) SetFilePriority ¶ added in v0.8.0
func (*Api) TorrentFiles ¶ added in v0.8.0
func (a *Api) TorrentFiles(hash string) ([]*TorrentFile, error)
type AppBuildInfoGetResponse ¶ added in v0.8.0
func ParseAppBuildInfoGetResponse ¶ added in v0.8.0
func ParseAppBuildInfoGetResponse(rsp *http.Response) (*AppBuildInfoGetResponse, error)
ParseAppBuildInfoGetResponse parses an HTTP response from a AppBuildInfoGetWithResponse call
func (AppBuildInfoGetResponse) Status ¶ added in v0.8.0
func (r AppBuildInfoGetResponse) Status() string
Status returns HTTPResponse.Status
func (AppBuildInfoGetResponse) StatusCode ¶ added in v0.8.0
func (r AppBuildInfoGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppDefaultSavePathGetResponse ¶ added in v0.8.0
func ParseAppDefaultSavePathGetResponse ¶ added in v0.8.0
func ParseAppDefaultSavePathGetResponse(rsp *http.Response) (*AppDefaultSavePathGetResponse, error)
ParseAppDefaultSavePathGetResponse parses an HTTP response from a AppDefaultSavePathGetWithResponse call
func (AppDefaultSavePathGetResponse) Status ¶ added in v0.8.0
func (r AppDefaultSavePathGetResponse) Status() string
Status returns HTTPResponse.Status
func (AppDefaultSavePathGetResponse) StatusCode ¶ added in v0.8.0
func (r AppDefaultSavePathGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppPreferencesGetResponse ¶ added in v0.8.0
type AppPreferencesGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Preferences }
func ParseAppPreferencesGetResponse ¶ added in v0.8.0
func ParseAppPreferencesGetResponse(rsp *http.Response) (*AppPreferencesGetResponse, error)
ParseAppPreferencesGetResponse parses an HTTP response from a AppPreferencesGetWithResponse call
func (AppPreferencesGetResponse) Status ¶ added in v0.8.0
func (r AppPreferencesGetResponse) Status() string
Status returns HTTPResponse.Status
func (AppPreferencesGetResponse) StatusCode ¶ added in v0.8.0
func (r AppPreferencesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppSetPreferencesPostFormdataRequestBody ¶ added in v0.8.0
type AppSetPreferencesPostFormdataRequestBody = AppSetPreferencesPostRequest
AppSetPreferencesPostFormdataRequestBody defines body for AppSetPreferencesPost for application/x-www-form-urlencoded ContentType.
type AppSetPreferencesPostRequest ¶ added in v0.8.0
type AppSetPreferencesPostRequest struct { // Json A json object with key-value pairs of the settings you want to change and their new values. Json SetPreferences `json:"json"` }
AppSetPreferencesPostRequest defines model for appSetPreferencesPost_request.
type AppSetPreferencesPostResponse ¶ added in v0.8.0
func ParseAppSetPreferencesPostResponse ¶ added in v0.8.0
func ParseAppSetPreferencesPostResponse(rsp *http.Response) (*AppSetPreferencesPostResponse, error)
ParseAppSetPreferencesPostResponse parses an HTTP response from a AppSetPreferencesPostWithResponse call
func (AppSetPreferencesPostResponse) Status ¶ added in v0.8.0
func (r AppSetPreferencesPostResponse) Status() string
Status returns HTTPResponse.Status
func (AppSetPreferencesPostResponse) StatusCode ¶ added in v0.8.0
func (r AppSetPreferencesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppShutdownGetResponse ¶ added in v0.8.0
func ParseAppShutdownGetResponse ¶ added in v0.8.0
func ParseAppShutdownGetResponse(rsp *http.Response) (*AppShutdownGetResponse, error)
ParseAppShutdownGetResponse parses an HTTP response from a AppShutdownGetWithResponse call
func (AppShutdownGetResponse) Status ¶ added in v0.8.0
func (r AppShutdownGetResponse) Status() string
Status returns HTTPResponse.Status
func (AppShutdownGetResponse) StatusCode ¶ added in v0.8.0
func (r AppShutdownGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppVersionGetResponse ¶ added in v0.8.0
func ParseAppVersionGetResponse ¶ added in v0.8.0
func ParseAppVersionGetResponse(rsp *http.Response) (*AppVersionGetResponse, error)
ParseAppVersionGetResponse parses an HTTP response from a AppVersionGetWithResponse call
func (AppVersionGetResponse) Status ¶ added in v0.8.0
func (r AppVersionGetResponse) Status() string
Status returns HTTPResponse.Status
func (AppVersionGetResponse) StatusCode ¶ added in v0.8.0
func (r AppVersionGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppWebapiVersionGetResponse ¶ added in v0.8.0
func ParseAppWebapiVersionGetResponse ¶ added in v0.8.0
func ParseAppWebapiVersionGetResponse(rsp *http.Response) (*AppWebapiVersionGetResponse, error)
ParseAppWebapiVersionGetResponse parses an HTTP response from a AppWebapiVersionGetWithResponse call
func (AppWebapiVersionGetResponse) Status ¶ added in v0.8.0
func (r AppWebapiVersionGetResponse) Status() string
Status returns HTTPResponse.Status
func (AppWebapiVersionGetResponse) StatusCode ¶ added in v0.8.0
func (r AppWebapiVersionGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthLoginPostFormdataRequestBody ¶ added in v0.8.0
type AuthLoginPostFormdataRequestBody = AuthLoginPostRequest
AuthLoginPostFormdataRequestBody defines body for AuthLoginPost for application/x-www-form-urlencoded ContentType.
type AuthLoginPostParams ¶ added in v0.8.0
type AuthLoginPostParams struct { Referer *string `json:"Referer,omitempty"` Origin *string `json:"Origin,omitempty"` }
AuthLoginPostParams defines parameters for AuthLoginPost.
type AuthLoginPostRequest ¶ added in v0.8.0
type AuthLoginPostRequest struct { Password string `json:"password"` Username string `json:"username"` }
AuthLoginPostRequest defines model for authLoginPost_request.
type AuthLoginPostResponse ¶ added in v0.8.0
func ParseAuthLoginPostResponse ¶ added in v0.8.0
func ParseAuthLoginPostResponse(rsp *http.Response) (*AuthLoginPostResponse, error)
ParseAuthLoginPostResponse parses an HTTP response from a AuthLoginPostWithResponse call
func (AuthLoginPostResponse) Status ¶ added in v0.8.0
func (r AuthLoginPostResponse) Status() string
Status returns HTTPResponse.Status
func (AuthLoginPostResponse) StatusCode ¶ added in v0.8.0
func (r AuthLoginPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthLogoutPostResponse ¶ added in v0.8.0
func ParseAuthLogoutPostResponse ¶ added in v0.8.0
func ParseAuthLogoutPostResponse(rsp *http.Response) (*AuthLogoutPostResponse, error)
ParseAuthLogoutPostResponse parses an HTTP response from a AuthLogoutPostWithResponse call
func (AuthLogoutPostResponse) Status ¶ added in v0.8.0
func (r AuthLogoutPostResponse) Status() string
Status returns HTTPResponse.Status
func (AuthLogoutPostResponse) StatusCode ¶ added in v0.8.0
func (r AuthLogoutPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BuildInfo ¶ added in v0.8.0
type BuildInfo struct { Bitness *int32 `json:"bitness,omitempty"` Boost *string `json:"boost,omitempty"` Libtorrent *string `json:"libtorrent,omitempty"` Openssl *string `json:"openssl,omitempty"` Qt *string `json:"qt,omitempty"` }
BuildInfo The response is a JSON object containing the following fields
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AppBuildInfoGet ¶ added in v0.8.0
func (*Client) AppDefaultSavePathGet ¶ added in v0.8.0
func (*Client) AppPreferencesGet ¶ added in v0.8.0
func (*Client) AppSetPreferencesPostWithBody ¶ added in v0.8.0
func (*Client) AppSetPreferencesPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) AppSetPreferencesPostWithFormdataBody(ctx context.Context, body AppSetPreferencesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AppShutdownGet ¶ added in v0.8.0
func (*Client) AppVersionGet ¶ added in v0.8.0
func (*Client) AppWebapiVersionGet ¶ added in v0.8.0
func (*Client) AuthLoginPostWithBody ¶ added in v0.8.0
func (*Client) AuthLoginPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) AuthLoginPostWithFormdataBody(ctx context.Context, params *AuthLoginPostParams, body AuthLoginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AuthLogoutPost ¶ added in v0.8.0
func (*Client) LogMainPostWithBody ¶ added in v0.8.0
func (*Client) LogMainPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) LogMainPostWithFormdataBody(ctx context.Context, body LogMainPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) LogPeersPostWithBody ¶ added in v0.8.0
func (*Client) LogPeersPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) LogPeersPostWithFormdataBody(ctx context.Context, body LogPeersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RssAddFeedPostWithBody ¶ added in v0.8.0
func (*Client) RssAddFeedPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) RssAddFeedPostWithFormdataBody(ctx context.Context, body RssAddFeedPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RssAddFolderPostWithBody ¶ added in v0.8.0
func (*Client) RssAddFolderPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) RssAddFolderPostWithFormdataBody(ctx context.Context, body RssAddFolderPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RssItemsPostWithBody ¶ added in v0.8.0
func (*Client) RssItemsPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) RssItemsPostWithFormdataBody(ctx context.Context, body RssItemsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RssMarkAsReadPostWithBody ¶ added in v0.8.0
func (*Client) RssMarkAsReadPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) RssMarkAsReadPostWithFormdataBody(ctx context.Context, body RssMarkAsReadPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RssMatchingArticlesPostWithBody ¶ added in v0.8.0
func (*Client) RssMatchingArticlesPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) RssMatchingArticlesPostWithFormdataBody(ctx context.Context, body RssMatchingArticlesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RssMoveItemPostWithBody ¶ added in v0.8.0
func (*Client) RssMoveItemPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) RssMoveItemPostWithFormdataBody(ctx context.Context, body RssMoveItemPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RssRefreshItemPostWithBody ¶ added in v0.8.0
func (*Client) RssRefreshItemPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) RssRefreshItemPostWithFormdataBody(ctx context.Context, body RssRefreshItemPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RssRemoveItemPostWithBody ¶ added in v0.8.0
func (*Client) RssRemoveItemPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) RssRemoveItemPostWithFormdataBody(ctx context.Context, body RssRemoveItemPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RssRemoveRulePostWithBody ¶ added in v0.8.0
func (*Client) RssRemoveRulePostWithFormdataBody ¶ added in v0.8.0
func (c *Client) RssRemoveRulePostWithFormdataBody(ctx context.Context, body RssRemoveRulePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RssRenameRulePostWithBody ¶ added in v0.8.0
func (*Client) RssRenameRulePostWithFormdataBody ¶ added in v0.8.0
func (c *Client) RssRenameRulePostWithFormdataBody(ctx context.Context, body RssRenameRulePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RssRulesGet ¶ added in v0.8.0
func (*Client) RssSetRulePostWithBody ¶ added in v0.8.0
func (*Client) RssSetRulePostWithFormdataBody ¶ added in v0.8.0
func (c *Client) RssSetRulePostWithFormdataBody(ctx context.Context, body RssSetRulePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchDeletePostWithBody ¶ added in v0.8.0
func (*Client) SearchDeletePostWithFormdataBody ¶ added in v0.8.0
func (c *Client) SearchDeletePostWithFormdataBody(ctx context.Context, body SearchDeletePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchEnablePluginPostWithBody ¶ added in v0.8.0
func (*Client) SearchEnablePluginPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) SearchEnablePluginPostWithFormdataBody(ctx context.Context, body SearchEnablePluginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchInstallPluginPostWithBody ¶ added in v0.8.0
func (*Client) SearchInstallPluginPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) SearchInstallPluginPostWithFormdataBody(ctx context.Context, body SearchInstallPluginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchPluginsGet ¶ added in v0.8.0
func (*Client) SearchResultsPostWithBody ¶ added in v0.8.0
func (*Client) SearchResultsPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) SearchResultsPostWithFormdataBody(ctx context.Context, body SearchResultsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchStartPostWithBody ¶ added in v0.8.0
func (*Client) SearchStartPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) SearchStartPostWithFormdataBody(ctx context.Context, body SearchStartPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchStatusPostWithBody ¶ added in v0.8.0
func (*Client) SearchStatusPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) SearchStatusPostWithFormdataBody(ctx context.Context, body SearchStatusPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchStopPostWithBody ¶ added in v0.8.0
func (*Client) SearchStopPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) SearchStopPostWithFormdataBody(ctx context.Context, body SearchStopPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchUninstallPluginPostWithBody ¶ added in v0.8.0
func (*Client) SearchUninstallPluginPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) SearchUninstallPluginPostWithFormdataBody(ctx context.Context, body SearchUninstallPluginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchUpdatePluginsPost ¶ added in v0.8.0
func (*Client) SyncMaindataPostWithBody ¶ added in v0.8.0
func (*Client) SyncMaindataPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) SyncMaindataPostWithFormdataBody(ctx context.Context, body SyncMaindataPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SyncTorrentPeersPostWithBody ¶ added in v0.8.0
func (*Client) SyncTorrentPeersPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) SyncTorrentPeersPostWithFormdataBody(ctx context.Context, body SyncTorrentPeersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentWebseedsPostWithBody ¶ added in v0.8.0
func (*Client) TorrentWebseedsPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentWebseedsPostWithFormdataBody(ctx context.Context, body TorrentWebseedsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsAddPeersPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsAddPeersPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsAddPeersPostWithFormdataBody(ctx context.Context, body TorrentsAddPeersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsAddPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsAddTagsPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsAddTagsPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsAddTagsPostWithFormdataBody(ctx context.Context, body TorrentsAddTagsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsAddTrackersPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsAddTrackersPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsAddTrackersPostWithFormdataBody(ctx context.Context, body TorrentsAddTrackersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsBottomPrioPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsBottomPrioPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsBottomPrioPostWithFormdataBody(ctx context.Context, body TorrentsBottomPrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsCategoriesGet ¶ added in v0.8.0
func (*Client) TorrentsCreateCategoryPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsCreateCategoryPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsCreateCategoryPostWithFormdataBody(ctx context.Context, body TorrentsCreateCategoryPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsCreateTagsPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsCreateTagsPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsCreateTagsPostWithFormdataBody(ctx context.Context, body TorrentsCreateTagsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsDecreasePrioPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsDecreasePrioPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsDecreasePrioPostWithFormdataBody(ctx context.Context, body TorrentsDecreasePrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsDeletePostWithBody ¶ added in v0.8.0
func (*Client) TorrentsDeletePostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsDeletePostWithFormdataBody(ctx context.Context, body TorrentsDeletePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsDeleteTagsPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsDeleteTagsPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsDeleteTagsPostWithFormdataBody(ctx context.Context, body TorrentsDeleteTagsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsDownloadLimitPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsDownloadLimitPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsDownloadLimitPostWithFormdataBody(ctx context.Context, body TorrentsDownloadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsEditCategoryPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsEditCategoryPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsEditCategoryPostWithFormdataBody(ctx context.Context, body TorrentsEditCategoryPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsEditTrackerPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsEditTrackerPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsEditTrackerPostWithFormdataBody(ctx context.Context, body TorrentsEditTrackerPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsFilePrioPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsFilePrioPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsFilePrioPostWithFormdataBody(ctx context.Context, body TorrentsFilePrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsFilesPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsFilesPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsFilesPostWithFormdataBody(ctx context.Context, body TorrentsFilesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsIncreasePrioPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsIncreasePrioPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsIncreasePrioPostWithFormdataBody(ctx context.Context, body TorrentsIncreasePrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsInfoPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsInfoPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsInfoPostWithFormdataBody(ctx context.Context, body TorrentsInfoPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsPausePostWithBody ¶ added in v0.8.0
func (*Client) TorrentsPausePostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsPausePostWithFormdataBody(ctx context.Context, body TorrentsPausePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsPieceHashesPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsPieceHashesPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsPieceHashesPostWithFormdataBody(ctx context.Context, body TorrentsPieceHashesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsPieceStatesPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsPieceStatesPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsPieceStatesPostWithFormdataBody(ctx context.Context, body TorrentsPieceStatesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsPropertiesPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsPropertiesPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsPropertiesPostWithFormdataBody(ctx context.Context, body TorrentsPropertiesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsReannouncePostWithBody ¶ added in v0.8.0
func (*Client) TorrentsReannouncePostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsReannouncePostWithFormdataBody(ctx context.Context, body TorrentsReannouncePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsRecheckPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsRecheckPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsRecheckPostWithFormdataBody(ctx context.Context, body TorrentsRecheckPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsRemoveCategoriesPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsRemoveCategoriesPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsRemoveCategoriesPostWithFormdataBody(ctx context.Context, body TorrentsRemoveCategoriesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsRemoveTagsPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsRemoveTagsPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsRemoveTagsPostWithFormdataBody(ctx context.Context, body TorrentsRemoveTagsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsRemoveTrackersPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsRemoveTrackersPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsRemoveTrackersPostWithFormdataBody(ctx context.Context, body TorrentsRemoveTrackersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsRenameFilePostWithBody ¶ added in v0.8.0
func (*Client) TorrentsRenameFilePostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsRenameFilePostWithFormdataBody(ctx context.Context, body TorrentsRenameFilePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsRenameFolderPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsRenameFolderPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsRenameFolderPostWithFormdataBody(ctx context.Context, body TorrentsRenameFolderPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsRenamePostWithBody ¶ added in v0.8.0
func (*Client) TorrentsRenamePostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsRenamePostWithFormdataBody(ctx context.Context, body TorrentsRenamePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsResumePostWithBody ¶ added in v0.8.0
func (*Client) TorrentsResumePostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsResumePostWithFormdataBody(ctx context.Context, body TorrentsResumePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsSetAutoManagementPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsSetAutoManagementPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsSetAutoManagementPostWithFormdataBody(ctx context.Context, body TorrentsSetAutoManagementPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsSetCategoryPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsSetCategoryPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsSetCategoryPostWithFormdataBody(ctx context.Context, body TorrentsSetCategoryPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsSetDownloadLimitPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsSetDownloadLimitPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsSetDownloadLimitPostWithFormdataBody(ctx context.Context, body TorrentsSetDownloadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsSetForceStartPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsSetForceStartPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsSetForceStartPostWithFormdataBody(ctx context.Context, body TorrentsSetForceStartPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsSetLocationPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsSetLocationPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsSetLocationPostWithFormdataBody(ctx context.Context, body TorrentsSetLocationPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsSetShareLimitsPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsSetShareLimitsPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsSetShareLimitsPostWithFormdataBody(ctx context.Context, body TorrentsSetShareLimitsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsSetSuperSeedingPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsSetSuperSeedingPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsSetSuperSeedingPostWithFormdataBody(ctx context.Context, body TorrentsSetSuperSeedingPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsSetUploadLimitPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsSetUploadLimitPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsSetUploadLimitPostWithFormdataBody(ctx context.Context, body TorrentsSetUploadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsTagsGet ¶ added in v0.8.0
func (*Client) TorrentsToggleFirstLastPiecePrioPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsToggleFirstLastPiecePrioPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsToggleFirstLastPiecePrioPostWithFormdataBody(ctx context.Context, body TorrentsToggleFirstLastPiecePrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsToggleSequentialDownloadPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsToggleSequentialDownloadPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsToggleSequentialDownloadPostWithFormdataBody(ctx context.Context, body TorrentsToggleSequentialDownloadPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsTopPrioPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsTopPrioPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsTopPrioPostWithFormdataBody(ctx context.Context, body TorrentsTopPrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsTrackersPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsTrackersPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsTrackersPostWithFormdataBody(ctx context.Context, body TorrentsTrackersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TorrentsUploadLimitPostWithBody ¶ added in v0.8.0
func (*Client) TorrentsUploadLimitPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TorrentsUploadLimitPostWithFormdataBody(ctx context.Context, body TorrentsUploadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TransferBanPeersPostWithBody ¶ added in v0.8.0
func (*Client) TransferBanPeersPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TransferBanPeersPostWithFormdataBody(ctx context.Context, body TransferBanPeersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TransferDownloadLimitGet ¶ added in v0.8.0
func (*Client) TransferInfoGet ¶ added in v0.8.0
func (*Client) TransferSetDownloadLimitPostWithBody ¶ added in v0.8.0
func (*Client) TransferSetDownloadLimitPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TransferSetDownloadLimitPostWithFormdataBody(ctx context.Context, body TransferSetDownloadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TransferSetUploadLimitPostWithBody ¶ added in v0.8.0
func (*Client) TransferSetUploadLimitPostWithFormdataBody ¶ added in v0.8.0
func (c *Client) TransferSetUploadLimitPostWithFormdataBody(ctx context.Context, body TransferSetUploadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TransferSpeedLimitsModeGet ¶ added in v0.8.0
func (*Client) TransferToggleSpeedLimitsModeGet ¶ added in v0.8.0
func (*Client) TransferUploadLimitGet ¶ added in v0.8.0
type ClientInterface ¶ added in v0.8.0
type ClientInterface interface { // AppBuildInfoGet request AppBuildInfoGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // AppDefaultSavePathGet request AppDefaultSavePathGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // AppPreferencesGet request AppPreferencesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // AppSetPreferencesPost request with any body AppSetPreferencesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) AppSetPreferencesPostWithFormdataBody(ctx context.Context, body AppSetPreferencesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // AppShutdownGet request AppShutdownGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // AppVersionGet request AppVersionGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // AppWebapiVersionGet request AppWebapiVersionGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // AuthLoginPost request with any body AuthLoginPostWithBody(ctx context.Context, params *AuthLoginPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) AuthLoginPostWithFormdataBody(ctx context.Context, params *AuthLoginPostParams, body AuthLoginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // AuthLogoutPost request AuthLogoutPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // LogMainPost request with any body LogMainPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) LogMainPostWithFormdataBody(ctx context.Context, body LogMainPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // LogPeersPost request with any body LogPeersPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) LogPeersPostWithFormdataBody(ctx context.Context, body LogPeersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // RssAddFeedPost request with any body RssAddFeedPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) RssAddFeedPostWithFormdataBody(ctx context.Context, body RssAddFeedPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // RssAddFolderPost request with any body RssAddFolderPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) RssAddFolderPostWithFormdataBody(ctx context.Context, body RssAddFolderPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // RssItemsPost request with any body RssItemsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) RssItemsPostWithFormdataBody(ctx context.Context, body RssItemsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // RssMarkAsReadPost request with any body RssMarkAsReadPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) RssMarkAsReadPostWithFormdataBody(ctx context.Context, body RssMarkAsReadPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // RssMatchingArticlesPost request with any body RssMatchingArticlesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) RssMatchingArticlesPostWithFormdataBody(ctx context.Context, body RssMatchingArticlesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // RssMoveItemPost request with any body RssMoveItemPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) RssMoveItemPostWithFormdataBody(ctx context.Context, body RssMoveItemPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // RssRefreshItemPost request with any body RssRefreshItemPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) RssRefreshItemPostWithFormdataBody(ctx context.Context, body RssRefreshItemPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // RssRemoveItemPost request with any body RssRemoveItemPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) RssRemoveItemPostWithFormdataBody(ctx context.Context, body RssRemoveItemPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // RssRemoveRulePost request with any body RssRemoveRulePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) RssRemoveRulePostWithFormdataBody(ctx context.Context, body RssRemoveRulePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // RssRenameRulePost request with any body RssRenameRulePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) RssRenameRulePostWithFormdataBody(ctx context.Context, body RssRenameRulePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // RssRulesGet request RssRulesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // RssSetRulePost request with any body RssSetRulePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) RssSetRulePostWithFormdataBody(ctx context.Context, body RssSetRulePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchDeletePost request with any body SearchDeletePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SearchDeletePostWithFormdataBody(ctx context.Context, body SearchDeletePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchEnablePluginPost request with any body SearchEnablePluginPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SearchEnablePluginPostWithFormdataBody(ctx context.Context, body SearchEnablePluginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchInstallPluginPost request with any body SearchInstallPluginPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SearchInstallPluginPostWithFormdataBody(ctx context.Context, body SearchInstallPluginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchPluginsGet request SearchPluginsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchResultsPost request with any body SearchResultsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SearchResultsPostWithFormdataBody(ctx context.Context, body SearchResultsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchStartPost request with any body SearchStartPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SearchStartPostWithFormdataBody(ctx context.Context, body SearchStartPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchStatusPost request with any body SearchStatusPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SearchStatusPostWithFormdataBody(ctx context.Context, body SearchStatusPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchStopPost request with any body SearchStopPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SearchStopPostWithFormdataBody(ctx context.Context, body SearchStopPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchUninstallPluginPost request with any body SearchUninstallPluginPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SearchUninstallPluginPostWithFormdataBody(ctx context.Context, body SearchUninstallPluginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchUpdatePluginsPost request SearchUpdatePluginsPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // SyncMaindataPost request with any body SyncMaindataPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SyncMaindataPostWithFormdataBody(ctx context.Context, body SyncMaindataPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SyncTorrentPeersPost request with any body SyncTorrentPeersPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SyncTorrentPeersPostWithFormdataBody(ctx context.Context, body SyncTorrentPeersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsAddPost request with any body TorrentsAddPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsAddPeersPost request with any body TorrentsAddPeersPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsAddPeersPostWithFormdataBody(ctx context.Context, body TorrentsAddPeersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsAddTagsPost request with any body TorrentsAddTagsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsAddTagsPostWithFormdataBody(ctx context.Context, body TorrentsAddTagsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsAddTrackersPost request with any body TorrentsAddTrackersPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsAddTrackersPostWithFormdataBody(ctx context.Context, body TorrentsAddTrackersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsBottomPrioPost request with any body TorrentsBottomPrioPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsBottomPrioPostWithFormdataBody(ctx context.Context, body TorrentsBottomPrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsCategoriesGet request TorrentsCategoriesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsCreateCategoryPost request with any body TorrentsCreateCategoryPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsCreateCategoryPostWithFormdataBody(ctx context.Context, body TorrentsCreateCategoryPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsCreateTagsPost request with any body TorrentsCreateTagsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsCreateTagsPostWithFormdataBody(ctx context.Context, body TorrentsCreateTagsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsDecreasePrioPost request with any body TorrentsDecreasePrioPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsDecreasePrioPostWithFormdataBody(ctx context.Context, body TorrentsDecreasePrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsDeletePost request with any body TorrentsDeletePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsDeletePostWithFormdataBody(ctx context.Context, body TorrentsDeletePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsDeleteTagsPost request with any body TorrentsDeleteTagsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsDeleteTagsPostWithFormdataBody(ctx context.Context, body TorrentsDeleteTagsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsDownloadLimitPost request with any body TorrentsDownloadLimitPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsDownloadLimitPostWithFormdataBody(ctx context.Context, body TorrentsDownloadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsEditCategoryPost request with any body TorrentsEditCategoryPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsEditCategoryPostWithFormdataBody(ctx context.Context, body TorrentsEditCategoryPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsEditTrackerPost request with any body TorrentsEditTrackerPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsEditTrackerPostWithFormdataBody(ctx context.Context, body TorrentsEditTrackerPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsFilePrioPost request with any body TorrentsFilePrioPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsFilePrioPostWithFormdataBody(ctx context.Context, body TorrentsFilePrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsFilesPost request with any body TorrentsFilesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsFilesPostWithFormdataBody(ctx context.Context, body TorrentsFilesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsIncreasePrioPost request with any body TorrentsIncreasePrioPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsIncreasePrioPostWithFormdataBody(ctx context.Context, body TorrentsIncreasePrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsInfoPost request with any body TorrentsInfoPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsInfoPostWithFormdataBody(ctx context.Context, body TorrentsInfoPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsPausePost request with any body TorrentsPausePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsPausePostWithFormdataBody(ctx context.Context, body TorrentsPausePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsPieceHashesPost request with any body TorrentsPieceHashesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsPieceHashesPostWithFormdataBody(ctx context.Context, body TorrentsPieceHashesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsPieceStatesPost request with any body TorrentsPieceStatesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsPieceStatesPostWithFormdataBody(ctx context.Context, body TorrentsPieceStatesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsPropertiesPost request with any body TorrentsPropertiesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsPropertiesPostWithFormdataBody(ctx context.Context, body TorrentsPropertiesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsReannouncePost request with any body TorrentsReannouncePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsReannouncePostWithFormdataBody(ctx context.Context, body TorrentsReannouncePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsRecheckPost request with any body TorrentsRecheckPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsRecheckPostWithFormdataBody(ctx context.Context, body TorrentsRecheckPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsRemoveCategoriesPost request with any body TorrentsRemoveCategoriesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsRemoveCategoriesPostWithFormdataBody(ctx context.Context, body TorrentsRemoveCategoriesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsRemoveTagsPost request with any body TorrentsRemoveTagsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsRemoveTagsPostWithFormdataBody(ctx context.Context, body TorrentsRemoveTagsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsRemoveTrackersPost request with any body TorrentsRemoveTrackersPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsRemoveTrackersPostWithFormdataBody(ctx context.Context, body TorrentsRemoveTrackersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsRenamePost request with any body TorrentsRenamePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsRenamePostWithFormdataBody(ctx context.Context, body TorrentsRenamePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsRenameFilePost request with any body TorrentsRenameFilePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsRenameFilePostWithFormdataBody(ctx context.Context, body TorrentsRenameFilePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsRenameFolderPost request with any body TorrentsRenameFolderPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsRenameFolderPostWithFormdataBody(ctx context.Context, body TorrentsRenameFolderPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsResumePost request with any body TorrentsResumePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsResumePostWithFormdataBody(ctx context.Context, body TorrentsResumePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsSetAutoManagementPost request with any body TorrentsSetAutoManagementPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsSetAutoManagementPostWithFormdataBody(ctx context.Context, body TorrentsSetAutoManagementPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsSetCategoryPost request with any body TorrentsSetCategoryPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsSetCategoryPostWithFormdataBody(ctx context.Context, body TorrentsSetCategoryPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsSetDownloadLimitPost request with any body TorrentsSetDownloadLimitPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsSetDownloadLimitPostWithFormdataBody(ctx context.Context, body TorrentsSetDownloadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsSetForceStartPost request with any body TorrentsSetForceStartPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsSetForceStartPostWithFormdataBody(ctx context.Context, body TorrentsSetForceStartPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsSetLocationPost request with any body TorrentsSetLocationPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsSetLocationPostWithFormdataBody(ctx context.Context, body TorrentsSetLocationPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsSetShareLimitsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsSetSuperSeedingPost request with any body TorrentsSetSuperSeedingPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsSetSuperSeedingPostWithFormdataBody(ctx context.Context, body TorrentsSetSuperSeedingPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsSetUploadLimitPost request with any body TorrentsSetUploadLimitPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsSetUploadLimitPostWithFormdataBody(ctx context.Context, body TorrentsSetUploadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsTagsGet request TorrentsTagsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsToggleFirstLastPiecePrioPost request with any body TorrentsToggleFirstLastPiecePrioPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsToggleFirstLastPiecePrioPostWithFormdataBody(ctx context.Context, body TorrentsToggleFirstLastPiecePrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsToggleSequentialDownloadPost request with any body TorrentsToggleSequentialDownloadPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsToggleSequentialDownloadPostWithFormdataBody(ctx context.Context, body TorrentsToggleSequentialDownloadPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsTopPrioPost request with any body TorrentsTopPrioPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsTopPrioPostWithFormdataBody(ctx context.Context, body TorrentsTopPrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsTrackersPost request with any body TorrentsTrackersPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsTrackersPostWithFormdataBody(ctx context.Context, body TorrentsTrackersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentsUploadLimitPost request with any body TorrentsUploadLimitPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentsUploadLimitPostWithFormdataBody(ctx context.Context, body TorrentsUploadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TorrentWebseedsPost request with any body TorrentWebseedsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TorrentWebseedsPostWithFormdataBody(ctx context.Context, body TorrentWebseedsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TransferBanPeersPost request with any body TransferBanPeersPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TransferBanPeersPostWithFormdataBody(ctx context.Context, body TransferBanPeersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TransferDownloadLimitGet request TransferDownloadLimitGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // TransferInfoGet request TransferInfoGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // TransferSetDownloadLimitPost request with any body TransferSetDownloadLimitPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TransferSetDownloadLimitPostWithFormdataBody(ctx context.Context, body TransferSetDownloadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TransferSetUploadLimitPost request with any body TransferSetUploadLimitPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TransferSetUploadLimitPostWithFormdataBody(ctx context.Context, body TransferSetUploadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TransferSpeedLimitsModeGet request TransferSpeedLimitsModeGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // TransferToggleSpeedLimitsModeGet request TransferToggleSpeedLimitsModeGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // TransferUploadLimitGet request TransferUploadLimitGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶ added in v0.8.0
ClientOption allows setting custom parameters during construction
func WithBaseURL ¶ added in v0.8.0
func WithBaseURL(baseURL string) ClientOption
WithBaseURL overrides the baseURL.
func WithHTTPClient ¶ added in v0.8.0
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶ added in v0.8.0
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶ added in v0.8.0
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶ added in v0.8.0
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AppBuildInfoGetWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AppBuildInfoGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppBuildInfoGetResponse, error)
AppBuildInfoGetWithResponse request returning *AppBuildInfoGetResponse
func (*ClientWithResponses) AppDefaultSavePathGetWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AppDefaultSavePathGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppDefaultSavePathGetResponse, error)
AppDefaultSavePathGetWithResponse request returning *AppDefaultSavePathGetResponse
func (*ClientWithResponses) AppPreferencesGetWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AppPreferencesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppPreferencesGetResponse, error)
AppPreferencesGetWithResponse request returning *AppPreferencesGetResponse
func (*ClientWithResponses) AppSetPreferencesPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AppSetPreferencesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppSetPreferencesPostResponse, error)
AppSetPreferencesPostWithBodyWithResponse request with arbitrary body returning *AppSetPreferencesPostResponse
func (*ClientWithResponses) AppSetPreferencesPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AppSetPreferencesPostWithFormdataBodyWithResponse(ctx context.Context, body AppSetPreferencesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*AppSetPreferencesPostResponse, error)
func (*ClientWithResponses) AppShutdownGetWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AppShutdownGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppShutdownGetResponse, error)
AppShutdownGetWithResponse request returning *AppShutdownGetResponse
func (*ClientWithResponses) AppVersionGetWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AppVersionGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppVersionGetResponse, error)
AppVersionGetWithResponse request returning *AppVersionGetResponse
func (*ClientWithResponses) AppWebapiVersionGetWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AppWebapiVersionGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppWebapiVersionGetResponse, error)
AppWebapiVersionGetWithResponse request returning *AppWebapiVersionGetResponse
func (*ClientWithResponses) AuthLoginPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AuthLoginPostWithBodyWithResponse(ctx context.Context, params *AuthLoginPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthLoginPostResponse, error)
AuthLoginPostWithBodyWithResponse request with arbitrary body returning *AuthLoginPostResponse
func (*ClientWithResponses) AuthLoginPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AuthLoginPostWithFormdataBodyWithResponse(ctx context.Context, params *AuthLoginPostParams, body AuthLoginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*AuthLoginPostResponse, error)
func (*ClientWithResponses) AuthLogoutPostWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AuthLogoutPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthLogoutPostResponse, error)
AuthLogoutPostWithResponse request returning *AuthLogoutPostResponse
func (*ClientWithResponses) LogMainPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) LogMainPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LogMainPostResponse, error)
LogMainPostWithBodyWithResponse request with arbitrary body returning *LogMainPostResponse
func (*ClientWithResponses) LogMainPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) LogMainPostWithFormdataBodyWithResponse(ctx context.Context, body LogMainPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*LogMainPostResponse, error)
func (*ClientWithResponses) LogPeersPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) LogPeersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LogPeersPostResponse, error)
LogPeersPostWithBodyWithResponse request with arbitrary body returning *LogPeersPostResponse
func (*ClientWithResponses) LogPeersPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) LogPeersPostWithFormdataBodyWithResponse(ctx context.Context, body LogPeersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*LogPeersPostResponse, error)
func (*ClientWithResponses) RssAddFeedPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssAddFeedPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssAddFeedPostResponse, error)
RssAddFeedPostWithBodyWithResponse request with arbitrary body returning *RssAddFeedPostResponse
func (*ClientWithResponses) RssAddFeedPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssAddFeedPostWithFormdataBodyWithResponse(ctx context.Context, body RssAddFeedPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssAddFeedPostResponse, error)
func (*ClientWithResponses) RssAddFolderPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssAddFolderPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssAddFolderPostResponse, error)
RssAddFolderPostWithBodyWithResponse request with arbitrary body returning *RssAddFolderPostResponse
func (*ClientWithResponses) RssAddFolderPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssAddFolderPostWithFormdataBodyWithResponse(ctx context.Context, body RssAddFolderPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssAddFolderPostResponse, error)
func (*ClientWithResponses) RssItemsPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssItemsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssItemsPostResponse, error)
RssItemsPostWithBodyWithResponse request with arbitrary body returning *RssItemsPostResponse
func (*ClientWithResponses) RssItemsPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssItemsPostWithFormdataBodyWithResponse(ctx context.Context, body RssItemsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssItemsPostResponse, error)
func (*ClientWithResponses) RssMarkAsReadPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssMarkAsReadPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssMarkAsReadPostResponse, error)
RssMarkAsReadPostWithBodyWithResponse request with arbitrary body returning *RssMarkAsReadPostResponse
func (*ClientWithResponses) RssMarkAsReadPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssMarkAsReadPostWithFormdataBodyWithResponse(ctx context.Context, body RssMarkAsReadPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssMarkAsReadPostResponse, error)
func (*ClientWithResponses) RssMatchingArticlesPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssMatchingArticlesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssMatchingArticlesPostResponse, error)
RssMatchingArticlesPostWithBodyWithResponse request with arbitrary body returning *RssMatchingArticlesPostResponse
func (*ClientWithResponses) RssMatchingArticlesPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssMatchingArticlesPostWithFormdataBodyWithResponse(ctx context.Context, body RssMatchingArticlesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssMatchingArticlesPostResponse, error)
func (*ClientWithResponses) RssMoveItemPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssMoveItemPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssMoveItemPostResponse, error)
RssMoveItemPostWithBodyWithResponse request with arbitrary body returning *RssMoveItemPostResponse
func (*ClientWithResponses) RssMoveItemPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssMoveItemPostWithFormdataBodyWithResponse(ctx context.Context, body RssMoveItemPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssMoveItemPostResponse, error)
func (*ClientWithResponses) RssRefreshItemPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssRefreshItemPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssRefreshItemPostResponse, error)
RssRefreshItemPostWithBodyWithResponse request with arbitrary body returning *RssRefreshItemPostResponse
func (*ClientWithResponses) RssRefreshItemPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssRefreshItemPostWithFormdataBodyWithResponse(ctx context.Context, body RssRefreshItemPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssRefreshItemPostResponse, error)
func (*ClientWithResponses) RssRemoveItemPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssRemoveItemPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssRemoveItemPostResponse, error)
RssRemoveItemPostWithBodyWithResponse request with arbitrary body returning *RssRemoveItemPostResponse
func (*ClientWithResponses) RssRemoveItemPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssRemoveItemPostWithFormdataBodyWithResponse(ctx context.Context, body RssRemoveItemPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssRemoveItemPostResponse, error)
func (*ClientWithResponses) RssRemoveRulePostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssRemoveRulePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssRemoveRulePostResponse, error)
RssRemoveRulePostWithBodyWithResponse request with arbitrary body returning *RssRemoveRulePostResponse
func (*ClientWithResponses) RssRemoveRulePostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssRemoveRulePostWithFormdataBodyWithResponse(ctx context.Context, body RssRemoveRulePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssRemoveRulePostResponse, error)
func (*ClientWithResponses) RssRenameRulePostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssRenameRulePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssRenameRulePostResponse, error)
RssRenameRulePostWithBodyWithResponse request with arbitrary body returning *RssRenameRulePostResponse
func (*ClientWithResponses) RssRenameRulePostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssRenameRulePostWithFormdataBodyWithResponse(ctx context.Context, body RssRenameRulePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssRenameRulePostResponse, error)
func (*ClientWithResponses) RssRulesGetWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssRulesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RssRulesGetResponse, error)
RssRulesGetWithResponse request returning *RssRulesGetResponse
func (*ClientWithResponses) RssSetRulePostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssSetRulePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssSetRulePostResponse, error)
RssSetRulePostWithBodyWithResponse request with arbitrary body returning *RssSetRulePostResponse
func (*ClientWithResponses) RssSetRulePostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RssSetRulePostWithFormdataBodyWithResponse(ctx context.Context, body RssSetRulePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssSetRulePostResponse, error)
func (*ClientWithResponses) SearchDeletePostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SearchDeletePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchDeletePostResponse, error)
SearchDeletePostWithBodyWithResponse request with arbitrary body returning *SearchDeletePostResponse
func (*ClientWithResponses) SearchDeletePostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SearchDeletePostWithFormdataBodyWithResponse(ctx context.Context, body SearchDeletePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SearchDeletePostResponse, error)
func (*ClientWithResponses) SearchEnablePluginPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SearchEnablePluginPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchEnablePluginPostResponse, error)
SearchEnablePluginPostWithBodyWithResponse request with arbitrary body returning *SearchEnablePluginPostResponse
func (*ClientWithResponses) SearchEnablePluginPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SearchEnablePluginPostWithFormdataBodyWithResponse(ctx context.Context, body SearchEnablePluginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SearchEnablePluginPostResponse, error)
func (*ClientWithResponses) SearchInstallPluginPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SearchInstallPluginPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchInstallPluginPostResponse, error)
SearchInstallPluginPostWithBodyWithResponse request with arbitrary body returning *SearchInstallPluginPostResponse
func (*ClientWithResponses) SearchInstallPluginPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SearchInstallPluginPostWithFormdataBodyWithResponse(ctx context.Context, body SearchInstallPluginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SearchInstallPluginPostResponse, error)
func (*ClientWithResponses) SearchPluginsGetWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SearchPluginsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SearchPluginsGetResponse, error)
SearchPluginsGetWithResponse request returning *SearchPluginsGetResponse
func (*ClientWithResponses) SearchResultsPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SearchResultsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchResultsPostResponse, error)
SearchResultsPostWithBodyWithResponse request with arbitrary body returning *SearchResultsPostResponse
func (*ClientWithResponses) SearchResultsPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SearchResultsPostWithFormdataBodyWithResponse(ctx context.Context, body SearchResultsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SearchResultsPostResponse, error)
func (*ClientWithResponses) SearchStartPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SearchStartPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchStartPostResponse, error)
SearchStartPostWithBodyWithResponse request with arbitrary body returning *SearchStartPostResponse
func (*ClientWithResponses) SearchStartPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SearchStartPostWithFormdataBodyWithResponse(ctx context.Context, body SearchStartPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SearchStartPostResponse, error)
func (*ClientWithResponses) SearchStatusPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SearchStatusPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchStatusPostResponse, error)
SearchStatusPostWithBodyWithResponse request with arbitrary body returning *SearchStatusPostResponse
func (*ClientWithResponses) SearchStatusPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SearchStatusPostWithFormdataBodyWithResponse(ctx context.Context, body SearchStatusPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SearchStatusPostResponse, error)
func (*ClientWithResponses) SearchStopPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SearchStopPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchStopPostResponse, error)
SearchStopPostWithBodyWithResponse request with arbitrary body returning *SearchStopPostResponse
func (*ClientWithResponses) SearchStopPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SearchStopPostWithFormdataBodyWithResponse(ctx context.Context, body SearchStopPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SearchStopPostResponse, error)
func (*ClientWithResponses) SearchUninstallPluginPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SearchUninstallPluginPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchUninstallPluginPostResponse, error)
SearchUninstallPluginPostWithBodyWithResponse request with arbitrary body returning *SearchUninstallPluginPostResponse
func (*ClientWithResponses) SearchUninstallPluginPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SearchUninstallPluginPostWithFormdataBodyWithResponse(ctx context.Context, body SearchUninstallPluginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SearchUninstallPluginPostResponse, error)
func (*ClientWithResponses) SearchUpdatePluginsPostWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SearchUpdatePluginsPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SearchUpdatePluginsPostResponse, error)
SearchUpdatePluginsPostWithResponse request returning *SearchUpdatePluginsPostResponse
func (*ClientWithResponses) SyncMaindataPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SyncMaindataPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SyncMaindataPostResponse, error)
SyncMaindataPostWithBodyWithResponse request with arbitrary body returning *SyncMaindataPostResponse
func (*ClientWithResponses) SyncMaindataPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SyncMaindataPostWithFormdataBodyWithResponse(ctx context.Context, body SyncMaindataPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SyncMaindataPostResponse, error)
func (*ClientWithResponses) SyncTorrentPeersPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SyncTorrentPeersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SyncTorrentPeersPostResponse, error)
SyncTorrentPeersPostWithBodyWithResponse request with arbitrary body returning *SyncTorrentPeersPostResponse
func (*ClientWithResponses) SyncTorrentPeersPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SyncTorrentPeersPostWithFormdataBodyWithResponse(ctx context.Context, body SyncTorrentPeersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SyncTorrentPeersPostResponse, error)
func (*ClientWithResponses) TorrentWebseedsPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentWebseedsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentWebseedsPostResponse, error)
TorrentWebseedsPostWithBodyWithResponse request with arbitrary body returning *TorrentWebseedsPostResponse
func (*ClientWithResponses) TorrentWebseedsPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentWebseedsPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentWebseedsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentWebseedsPostResponse, error)
func (*ClientWithResponses) TorrentsAddPeersPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsAddPeersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsAddPeersPostResponse, error)
TorrentsAddPeersPostWithBodyWithResponse request with arbitrary body returning *TorrentsAddPeersPostResponse
func (*ClientWithResponses) TorrentsAddPeersPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsAddPeersPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsAddPeersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsAddPeersPostResponse, error)
func (*ClientWithResponses) TorrentsAddPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsAddPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsAddPostResponse, error)
TorrentsAddPostWithBodyWithResponse request with arbitrary body returning *TorrentsAddPostResponse
func (*ClientWithResponses) TorrentsAddTagsPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsAddTagsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsAddTagsPostResponse, error)
TorrentsAddTagsPostWithBodyWithResponse request with arbitrary body returning *TorrentsAddTagsPostResponse
func (*ClientWithResponses) TorrentsAddTagsPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsAddTagsPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsAddTagsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsAddTagsPostResponse, error)
func (*ClientWithResponses) TorrentsAddTrackersPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsAddTrackersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsAddTrackersPostResponse, error)
TorrentsAddTrackersPostWithBodyWithResponse request with arbitrary body returning *TorrentsAddTrackersPostResponse
func (*ClientWithResponses) TorrentsAddTrackersPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsAddTrackersPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsAddTrackersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsAddTrackersPostResponse, error)
func (*ClientWithResponses) TorrentsBottomPrioPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsBottomPrioPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsBottomPrioPostResponse, error)
TorrentsBottomPrioPostWithBodyWithResponse request with arbitrary body returning *TorrentsBottomPrioPostResponse
func (*ClientWithResponses) TorrentsBottomPrioPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsBottomPrioPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsBottomPrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsBottomPrioPostResponse, error)
func (*ClientWithResponses) TorrentsCategoriesGetWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsCategoriesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TorrentsCategoriesGetResponse, error)
TorrentsCategoriesGetWithResponse request returning *TorrentsCategoriesGetResponse
func (*ClientWithResponses) TorrentsCreateCategoryPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsCreateCategoryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsCreateCategoryPostResponse, error)
TorrentsCreateCategoryPostWithBodyWithResponse request with arbitrary body returning *TorrentsCreateCategoryPostResponse
func (*ClientWithResponses) TorrentsCreateCategoryPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsCreateCategoryPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsCreateCategoryPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsCreateCategoryPostResponse, error)
func (*ClientWithResponses) TorrentsCreateTagsPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsCreateTagsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsCreateTagsPostResponse, error)
TorrentsCreateTagsPostWithBodyWithResponse request with arbitrary body returning *TorrentsCreateTagsPostResponse
func (*ClientWithResponses) TorrentsCreateTagsPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsCreateTagsPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsCreateTagsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsCreateTagsPostResponse, error)
func (*ClientWithResponses) TorrentsDecreasePrioPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsDecreasePrioPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsDecreasePrioPostResponse, error)
TorrentsDecreasePrioPostWithBodyWithResponse request with arbitrary body returning *TorrentsDecreasePrioPostResponse
func (*ClientWithResponses) TorrentsDecreasePrioPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsDecreasePrioPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsDecreasePrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsDecreasePrioPostResponse, error)
func (*ClientWithResponses) TorrentsDeletePostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsDeletePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsDeletePostResponse, error)
TorrentsDeletePostWithBodyWithResponse request with arbitrary body returning *TorrentsDeletePostResponse
func (*ClientWithResponses) TorrentsDeletePostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsDeletePostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsDeletePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsDeletePostResponse, error)
func (*ClientWithResponses) TorrentsDeleteTagsPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsDeleteTagsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsDeleteTagsPostResponse, error)
TorrentsDeleteTagsPostWithBodyWithResponse request with arbitrary body returning *TorrentsDeleteTagsPostResponse
func (*ClientWithResponses) TorrentsDeleteTagsPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsDeleteTagsPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsDeleteTagsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsDeleteTagsPostResponse, error)
func (*ClientWithResponses) TorrentsDownloadLimitPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsDownloadLimitPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsDownloadLimitPostResponse, error)
TorrentsDownloadLimitPostWithBodyWithResponse request with arbitrary body returning *TorrentsDownloadLimitPostResponse
func (*ClientWithResponses) TorrentsDownloadLimitPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsDownloadLimitPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsDownloadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsDownloadLimitPostResponse, error)
func (*ClientWithResponses) TorrentsEditCategoryPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsEditCategoryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsEditCategoryPostResponse, error)
TorrentsEditCategoryPostWithBodyWithResponse request with arbitrary body returning *TorrentsEditCategoryPostResponse
func (*ClientWithResponses) TorrentsEditCategoryPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsEditCategoryPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsEditCategoryPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsEditCategoryPostResponse, error)
func (*ClientWithResponses) TorrentsEditTrackerPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsEditTrackerPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsEditTrackerPostResponse, error)
TorrentsEditTrackerPostWithBodyWithResponse request with arbitrary body returning *TorrentsEditTrackerPostResponse
func (*ClientWithResponses) TorrentsEditTrackerPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsEditTrackerPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsEditTrackerPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsEditTrackerPostResponse, error)
func (*ClientWithResponses) TorrentsFilePrioPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsFilePrioPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsFilePrioPostResponse, error)
TorrentsFilePrioPostWithBodyWithResponse request with arbitrary body returning *TorrentsFilePrioPostResponse
func (*ClientWithResponses) TorrentsFilePrioPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsFilePrioPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsFilePrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsFilePrioPostResponse, error)
func (*ClientWithResponses) TorrentsFilesPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsFilesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsFilesPostResponse, error)
TorrentsFilesPostWithBodyWithResponse request with arbitrary body returning *TorrentsFilesPostResponse
func (*ClientWithResponses) TorrentsFilesPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsFilesPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsFilesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsFilesPostResponse, error)
func (*ClientWithResponses) TorrentsIncreasePrioPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsIncreasePrioPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsIncreasePrioPostResponse, error)
TorrentsIncreasePrioPostWithBodyWithResponse request with arbitrary body returning *TorrentsIncreasePrioPostResponse
func (*ClientWithResponses) TorrentsIncreasePrioPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsIncreasePrioPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsIncreasePrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsIncreasePrioPostResponse, error)
func (*ClientWithResponses) TorrentsInfoPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsInfoPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsInfoPostResponse, error)
TorrentsInfoPostWithBodyWithResponse request with arbitrary body returning *TorrentsInfoPostResponse
func (*ClientWithResponses) TorrentsInfoPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsInfoPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsInfoPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsInfoPostResponse, error)
func (*ClientWithResponses) TorrentsPausePostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsPausePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsPausePostResponse, error)
TorrentsPausePostWithBodyWithResponse request with arbitrary body returning *TorrentsPausePostResponse
func (*ClientWithResponses) TorrentsPausePostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsPausePostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsPausePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsPausePostResponse, error)
func (*ClientWithResponses) TorrentsPieceHashesPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsPieceHashesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsPieceHashesPostResponse, error)
TorrentsPieceHashesPostWithBodyWithResponse request with arbitrary body returning *TorrentsPieceHashesPostResponse
func (*ClientWithResponses) TorrentsPieceHashesPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsPieceHashesPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsPieceHashesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsPieceHashesPostResponse, error)
func (*ClientWithResponses) TorrentsPieceStatesPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsPieceStatesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsPieceStatesPostResponse, error)
TorrentsPieceStatesPostWithBodyWithResponse request with arbitrary body returning *TorrentsPieceStatesPostResponse
func (*ClientWithResponses) TorrentsPieceStatesPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsPieceStatesPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsPieceStatesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsPieceStatesPostResponse, error)
func (*ClientWithResponses) TorrentsPropertiesPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsPropertiesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsPropertiesPostResponse, error)
TorrentsPropertiesPostWithBodyWithResponse request with arbitrary body returning *TorrentsPropertiesPostResponse
func (*ClientWithResponses) TorrentsPropertiesPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsPropertiesPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsPropertiesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsPropertiesPostResponse, error)
func (*ClientWithResponses) TorrentsReannouncePostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsReannouncePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsReannouncePostResponse, error)
TorrentsReannouncePostWithBodyWithResponse request with arbitrary body returning *TorrentsReannouncePostResponse
func (*ClientWithResponses) TorrentsReannouncePostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsReannouncePostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsReannouncePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsReannouncePostResponse, error)
func (*ClientWithResponses) TorrentsRecheckPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsRecheckPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsRecheckPostResponse, error)
TorrentsRecheckPostWithBodyWithResponse request with arbitrary body returning *TorrentsRecheckPostResponse
func (*ClientWithResponses) TorrentsRecheckPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsRecheckPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRecheckPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsRecheckPostResponse, error)
func (*ClientWithResponses) TorrentsRemoveCategoriesPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsRemoveCategoriesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsRemoveCategoriesPostResponse, error)
TorrentsRemoveCategoriesPostWithBodyWithResponse request with arbitrary body returning *TorrentsRemoveCategoriesPostResponse
func (*ClientWithResponses) TorrentsRemoveCategoriesPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsRemoveCategoriesPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRemoveCategoriesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsRemoveCategoriesPostResponse, error)
func (*ClientWithResponses) TorrentsRemoveTagsPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsRemoveTagsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsRemoveTagsPostResponse, error)
TorrentsRemoveTagsPostWithBodyWithResponse request with arbitrary body returning *TorrentsRemoveTagsPostResponse
func (*ClientWithResponses) TorrentsRemoveTagsPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsRemoveTagsPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRemoveTagsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsRemoveTagsPostResponse, error)
func (*ClientWithResponses) TorrentsRemoveTrackersPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsRemoveTrackersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsRemoveTrackersPostResponse, error)
TorrentsRemoveTrackersPostWithBodyWithResponse request with arbitrary body returning *TorrentsRemoveTrackersPostResponse
func (*ClientWithResponses) TorrentsRemoveTrackersPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsRemoveTrackersPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRemoveTrackersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsRemoveTrackersPostResponse, error)
func (*ClientWithResponses) TorrentsRenameFilePostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsRenameFilePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsRenameFilePostResponse, error)
TorrentsRenameFilePostWithBodyWithResponse request with arbitrary body returning *TorrentsRenameFilePostResponse
func (*ClientWithResponses) TorrentsRenameFilePostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsRenameFilePostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRenameFilePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsRenameFilePostResponse, error)
func (*ClientWithResponses) TorrentsRenameFolderPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsRenameFolderPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsRenameFolderPostResponse, error)
TorrentsRenameFolderPostWithBodyWithResponse request with arbitrary body returning *TorrentsRenameFolderPostResponse
func (*ClientWithResponses) TorrentsRenameFolderPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsRenameFolderPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRenameFolderPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsRenameFolderPostResponse, error)
func (*ClientWithResponses) TorrentsRenamePostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsRenamePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsRenamePostResponse, error)
TorrentsRenamePostWithBodyWithResponse request with arbitrary body returning *TorrentsRenamePostResponse
func (*ClientWithResponses) TorrentsRenamePostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsRenamePostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRenamePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsRenamePostResponse, error)
func (*ClientWithResponses) TorrentsResumePostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsResumePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsResumePostResponse, error)
TorrentsResumePostWithBodyWithResponse request with arbitrary body returning *TorrentsResumePostResponse
func (*ClientWithResponses) TorrentsResumePostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsResumePostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsResumePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsResumePostResponse, error)
func (*ClientWithResponses) TorrentsSetAutoManagementPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsSetAutoManagementPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsSetAutoManagementPostResponse, error)
TorrentsSetAutoManagementPostWithBodyWithResponse request with arbitrary body returning *TorrentsSetAutoManagementPostResponse
func (*ClientWithResponses) TorrentsSetAutoManagementPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsSetAutoManagementPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetAutoManagementPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsSetAutoManagementPostResponse, error)
func (*ClientWithResponses) TorrentsSetCategoryPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsSetCategoryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsSetCategoryPostResponse, error)
TorrentsSetCategoryPostWithBodyWithResponse request with arbitrary body returning *TorrentsSetCategoryPostResponse
func (*ClientWithResponses) TorrentsSetCategoryPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsSetCategoryPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetCategoryPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsSetCategoryPostResponse, error)
func (*ClientWithResponses) TorrentsSetDownloadLimitPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsSetDownloadLimitPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsSetDownloadLimitPostResponse, error)
TorrentsSetDownloadLimitPostWithBodyWithResponse request with arbitrary body returning *TorrentsSetDownloadLimitPostResponse
func (*ClientWithResponses) TorrentsSetDownloadLimitPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsSetDownloadLimitPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetDownloadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsSetDownloadLimitPostResponse, error)
func (*ClientWithResponses) TorrentsSetForceStartPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsSetForceStartPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsSetForceStartPostResponse, error)
TorrentsSetForceStartPostWithBodyWithResponse request with arbitrary body returning *TorrentsSetForceStartPostResponse
func (*ClientWithResponses) TorrentsSetForceStartPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsSetForceStartPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetForceStartPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsSetForceStartPostResponse, error)
func (*ClientWithResponses) TorrentsSetLocationPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsSetLocationPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsSetLocationPostResponse, error)
TorrentsSetLocationPostWithBodyWithResponse request with arbitrary body returning *TorrentsSetLocationPostResponse
func (*ClientWithResponses) TorrentsSetLocationPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsSetLocationPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetLocationPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsSetLocationPostResponse, error)
func (*ClientWithResponses) TorrentsSetShareLimitsPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsSetShareLimitsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsSetShareLimitsPostResponse, error)
TorrentsSetShareLimitsPostWithBodyWithResponse request with arbitrary body returning *TorrentsSetShareLimitsPostResponse
func (*ClientWithResponses) TorrentsSetShareLimitsPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsSetShareLimitsPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetShareLimitsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsSetShareLimitsPostResponse, error)
func (*ClientWithResponses) TorrentsSetSuperSeedingPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsSetSuperSeedingPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsSetSuperSeedingPostResponse, error)
TorrentsSetSuperSeedingPostWithBodyWithResponse request with arbitrary body returning *TorrentsSetSuperSeedingPostResponse
func (*ClientWithResponses) TorrentsSetSuperSeedingPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsSetSuperSeedingPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetSuperSeedingPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsSetSuperSeedingPostResponse, error)
func (*ClientWithResponses) TorrentsSetUploadLimitPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsSetUploadLimitPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsSetUploadLimitPostResponse, error)
TorrentsSetUploadLimitPostWithBodyWithResponse request with arbitrary body returning *TorrentsSetUploadLimitPostResponse
func (*ClientWithResponses) TorrentsSetUploadLimitPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsSetUploadLimitPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetUploadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsSetUploadLimitPostResponse, error)
func (*ClientWithResponses) TorrentsTagsGetWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsTagsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TorrentsTagsGetResponse, error)
TorrentsTagsGetWithResponse request returning *TorrentsTagsGetResponse
func (*ClientWithResponses) TorrentsToggleFirstLastPiecePrioPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsToggleFirstLastPiecePrioPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsToggleFirstLastPiecePrioPostResponse, error)
TorrentsToggleFirstLastPiecePrioPostWithBodyWithResponse request with arbitrary body returning *TorrentsToggleFirstLastPiecePrioPostResponse
func (*ClientWithResponses) TorrentsToggleFirstLastPiecePrioPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsToggleFirstLastPiecePrioPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsToggleFirstLastPiecePrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsToggleFirstLastPiecePrioPostResponse, error)
func (*ClientWithResponses) TorrentsToggleSequentialDownloadPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsToggleSequentialDownloadPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsToggleSequentialDownloadPostResponse, error)
TorrentsToggleSequentialDownloadPostWithBodyWithResponse request with arbitrary body returning *TorrentsToggleSequentialDownloadPostResponse
func (*ClientWithResponses) TorrentsToggleSequentialDownloadPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsToggleSequentialDownloadPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsToggleSequentialDownloadPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsToggleSequentialDownloadPostResponse, error)
func (*ClientWithResponses) TorrentsTopPrioPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsTopPrioPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsTopPrioPostResponse, error)
TorrentsTopPrioPostWithBodyWithResponse request with arbitrary body returning *TorrentsTopPrioPostResponse
func (*ClientWithResponses) TorrentsTopPrioPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsTopPrioPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsTopPrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsTopPrioPostResponse, error)
func (*ClientWithResponses) TorrentsTrackersPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsTrackersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsTrackersPostResponse, error)
TorrentsTrackersPostWithBodyWithResponse request with arbitrary body returning *TorrentsTrackersPostResponse
func (*ClientWithResponses) TorrentsTrackersPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsTrackersPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsTrackersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsTrackersPostResponse, error)
func (*ClientWithResponses) TorrentsUploadLimitPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsUploadLimitPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsUploadLimitPostResponse, error)
TorrentsUploadLimitPostWithBodyWithResponse request with arbitrary body returning *TorrentsUploadLimitPostResponse
func (*ClientWithResponses) TorrentsUploadLimitPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TorrentsUploadLimitPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsUploadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsUploadLimitPostResponse, error)
func (*ClientWithResponses) TransferBanPeersPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TransferBanPeersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TransferBanPeersPostResponse, error)
TransferBanPeersPostWithBodyWithResponse request with arbitrary body returning *TransferBanPeersPostResponse
func (*ClientWithResponses) TransferBanPeersPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TransferBanPeersPostWithFormdataBodyWithResponse(ctx context.Context, body TransferBanPeersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TransferBanPeersPostResponse, error)
func (*ClientWithResponses) TransferDownloadLimitGetWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TransferDownloadLimitGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TransferDownloadLimitGetResponse, error)
TransferDownloadLimitGetWithResponse request returning *TransferDownloadLimitGetResponse
func (*ClientWithResponses) TransferInfoGetWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TransferInfoGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TransferInfoGetResponse, error)
TransferInfoGetWithResponse request returning *TransferInfoGetResponse
func (*ClientWithResponses) TransferSetDownloadLimitPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TransferSetDownloadLimitPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TransferSetDownloadLimitPostResponse, error)
TransferSetDownloadLimitPostWithBodyWithResponse request with arbitrary body returning *TransferSetDownloadLimitPostResponse
func (*ClientWithResponses) TransferSetDownloadLimitPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TransferSetDownloadLimitPostWithFormdataBodyWithResponse(ctx context.Context, body TransferSetDownloadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TransferSetDownloadLimitPostResponse, error)
func (*ClientWithResponses) TransferSetUploadLimitPostWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TransferSetUploadLimitPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TransferSetUploadLimitPostResponse, error)
TransferSetUploadLimitPostWithBodyWithResponse request with arbitrary body returning *TransferSetUploadLimitPostResponse
func (*ClientWithResponses) TransferSetUploadLimitPostWithFormdataBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TransferSetUploadLimitPostWithFormdataBodyWithResponse(ctx context.Context, body TransferSetUploadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TransferSetUploadLimitPostResponse, error)
func (*ClientWithResponses) TransferSpeedLimitsModeGetWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TransferSpeedLimitsModeGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TransferSpeedLimitsModeGetResponse, error)
TransferSpeedLimitsModeGetWithResponse request returning *TransferSpeedLimitsModeGetResponse
func (*ClientWithResponses) TransferToggleSpeedLimitsModeGetWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TransferToggleSpeedLimitsModeGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TransferToggleSpeedLimitsModeGetResponse, error)
TransferToggleSpeedLimitsModeGetWithResponse request returning *TransferToggleSpeedLimitsModeGetResponse
func (*ClientWithResponses) TransferUploadLimitGetWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TransferUploadLimitGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TransferUploadLimitGetResponse, error)
TransferUploadLimitGetWithResponse request returning *TransferUploadLimitGetResponse
type ClientWithResponsesInterface ¶ added in v0.8.0
type ClientWithResponsesInterface interface { // AppBuildInfoGet request AppBuildInfoGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppBuildInfoGetResponse, error) // AppDefaultSavePathGet request AppDefaultSavePathGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppDefaultSavePathGetResponse, error) // AppPreferencesGet request AppPreferencesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppPreferencesGetResponse, error) // AppSetPreferencesPost request with any body AppSetPreferencesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppSetPreferencesPostResponse, error) AppSetPreferencesPostWithFormdataBodyWithResponse(ctx context.Context, body AppSetPreferencesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*AppSetPreferencesPostResponse, error) // AppShutdownGet request AppShutdownGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppShutdownGetResponse, error) // AppVersionGet request AppVersionGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppVersionGetResponse, error) // AppWebapiVersionGet request AppWebapiVersionGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppWebapiVersionGetResponse, error) // AuthLoginPost request with any body AuthLoginPostWithBodyWithResponse(ctx context.Context, params *AuthLoginPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthLoginPostResponse, error) AuthLoginPostWithFormdataBodyWithResponse(ctx context.Context, params *AuthLoginPostParams, body AuthLoginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*AuthLoginPostResponse, error) // AuthLogoutPost request AuthLogoutPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthLogoutPostResponse, error) // LogMainPost request with any body LogMainPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LogMainPostResponse, error) LogMainPostWithFormdataBodyWithResponse(ctx context.Context, body LogMainPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*LogMainPostResponse, error) // LogPeersPost request with any body LogPeersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LogPeersPostResponse, error) LogPeersPostWithFormdataBodyWithResponse(ctx context.Context, body LogPeersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*LogPeersPostResponse, error) // RssAddFeedPost request with any body RssAddFeedPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssAddFeedPostResponse, error) RssAddFeedPostWithFormdataBodyWithResponse(ctx context.Context, body RssAddFeedPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssAddFeedPostResponse, error) // RssAddFolderPost request with any body RssAddFolderPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssAddFolderPostResponse, error) RssAddFolderPostWithFormdataBodyWithResponse(ctx context.Context, body RssAddFolderPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssAddFolderPostResponse, error) // RssItemsPost request with any body RssItemsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssItemsPostResponse, error) RssItemsPostWithFormdataBodyWithResponse(ctx context.Context, body RssItemsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssItemsPostResponse, error) // RssMarkAsReadPost request with any body RssMarkAsReadPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssMarkAsReadPostResponse, error) RssMarkAsReadPostWithFormdataBodyWithResponse(ctx context.Context, body RssMarkAsReadPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssMarkAsReadPostResponse, error) // RssMatchingArticlesPost request with any body RssMatchingArticlesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssMatchingArticlesPostResponse, error) RssMatchingArticlesPostWithFormdataBodyWithResponse(ctx context.Context, body RssMatchingArticlesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssMatchingArticlesPostResponse, error) // RssMoveItemPost request with any body RssMoveItemPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssMoveItemPostResponse, error) RssMoveItemPostWithFormdataBodyWithResponse(ctx context.Context, body RssMoveItemPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssMoveItemPostResponse, error) // RssRefreshItemPost request with any body RssRefreshItemPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssRefreshItemPostResponse, error) RssRefreshItemPostWithFormdataBodyWithResponse(ctx context.Context, body RssRefreshItemPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssRefreshItemPostResponse, error) // RssRemoveItemPost request with any body RssRemoveItemPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssRemoveItemPostResponse, error) RssRemoveItemPostWithFormdataBodyWithResponse(ctx context.Context, body RssRemoveItemPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssRemoveItemPostResponse, error) // RssRemoveRulePost request with any body RssRemoveRulePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssRemoveRulePostResponse, error) RssRemoveRulePostWithFormdataBodyWithResponse(ctx context.Context, body RssRemoveRulePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssRemoveRulePostResponse, error) // RssRenameRulePost request with any body RssRenameRulePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssRenameRulePostResponse, error) RssRenameRulePostWithFormdataBodyWithResponse(ctx context.Context, body RssRenameRulePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssRenameRulePostResponse, error) // RssRulesGet request RssRulesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RssRulesGetResponse, error) // RssSetRulePost request with any body RssSetRulePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RssSetRulePostResponse, error) RssSetRulePostWithFormdataBodyWithResponse(ctx context.Context, body RssSetRulePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*RssSetRulePostResponse, error) // SearchDeletePost request with any body SearchDeletePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchDeletePostResponse, error) SearchDeletePostWithFormdataBodyWithResponse(ctx context.Context, body SearchDeletePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SearchDeletePostResponse, error) // SearchEnablePluginPost request with any body SearchEnablePluginPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchEnablePluginPostResponse, error) SearchEnablePluginPostWithFormdataBodyWithResponse(ctx context.Context, body SearchEnablePluginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SearchEnablePluginPostResponse, error) // SearchInstallPluginPost request with any body SearchInstallPluginPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchInstallPluginPostResponse, error) SearchInstallPluginPostWithFormdataBodyWithResponse(ctx context.Context, body SearchInstallPluginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SearchInstallPluginPostResponse, error) // SearchPluginsGet request SearchPluginsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SearchPluginsGetResponse, error) // SearchResultsPost request with any body SearchResultsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchResultsPostResponse, error) SearchResultsPostWithFormdataBodyWithResponse(ctx context.Context, body SearchResultsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SearchResultsPostResponse, error) // SearchStartPost request with any body SearchStartPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchStartPostResponse, error) SearchStartPostWithFormdataBodyWithResponse(ctx context.Context, body SearchStartPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SearchStartPostResponse, error) // SearchStatusPost request with any body SearchStatusPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchStatusPostResponse, error) SearchStatusPostWithFormdataBodyWithResponse(ctx context.Context, body SearchStatusPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SearchStatusPostResponse, error) // SearchStopPost request with any body SearchStopPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchStopPostResponse, error) SearchStopPostWithFormdataBodyWithResponse(ctx context.Context, body SearchStopPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SearchStopPostResponse, error) // SearchUninstallPluginPost request with any body SearchUninstallPluginPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchUninstallPluginPostResponse, error) SearchUninstallPluginPostWithFormdataBodyWithResponse(ctx context.Context, body SearchUninstallPluginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SearchUninstallPluginPostResponse, error) // SearchUpdatePluginsPost request SearchUpdatePluginsPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SearchUpdatePluginsPostResponse, error) // SyncMaindataPost request with any body SyncMaindataPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SyncMaindataPostResponse, error) SyncMaindataPostWithFormdataBodyWithResponse(ctx context.Context, body SyncMaindataPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SyncMaindataPostResponse, error) // SyncTorrentPeersPost request with any body SyncTorrentPeersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SyncTorrentPeersPostResponse, error) SyncTorrentPeersPostWithFormdataBodyWithResponse(ctx context.Context, body SyncTorrentPeersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*SyncTorrentPeersPostResponse, error) // TorrentsAddPost request with any body TorrentsAddPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsAddPostResponse, error) // TorrentsAddPeersPost request with any body TorrentsAddPeersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsAddPeersPostResponse, error) TorrentsAddPeersPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsAddPeersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsAddPeersPostResponse, error) // TorrentsAddTagsPost request with any body TorrentsAddTagsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsAddTagsPostResponse, error) TorrentsAddTagsPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsAddTagsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsAddTagsPostResponse, error) // TorrentsAddTrackersPost request with any body TorrentsAddTrackersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsAddTrackersPostResponse, error) TorrentsAddTrackersPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsAddTrackersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsAddTrackersPostResponse, error) // TorrentsBottomPrioPost request with any body TorrentsBottomPrioPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsBottomPrioPostResponse, error) TorrentsBottomPrioPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsBottomPrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsBottomPrioPostResponse, error) // TorrentsCategoriesGet request TorrentsCategoriesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TorrentsCategoriesGetResponse, error) // TorrentsCreateCategoryPost request with any body TorrentsCreateCategoryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsCreateCategoryPostResponse, error) TorrentsCreateCategoryPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsCreateCategoryPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsCreateCategoryPostResponse, error) // TorrentsCreateTagsPost request with any body TorrentsCreateTagsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsCreateTagsPostResponse, error) TorrentsCreateTagsPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsCreateTagsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsCreateTagsPostResponse, error) // TorrentsDecreasePrioPost request with any body TorrentsDecreasePrioPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsDecreasePrioPostResponse, error) TorrentsDecreasePrioPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsDecreasePrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsDecreasePrioPostResponse, error) // TorrentsDeletePost request with any body TorrentsDeletePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsDeletePostResponse, error) TorrentsDeletePostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsDeletePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsDeletePostResponse, error) // TorrentsDeleteTagsPost request with any body TorrentsDeleteTagsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsDeleteTagsPostResponse, error) TorrentsDeleteTagsPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsDeleteTagsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsDeleteTagsPostResponse, error) // TorrentsDownloadLimitPost request with any body TorrentsDownloadLimitPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsDownloadLimitPostResponse, error) TorrentsDownloadLimitPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsDownloadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsDownloadLimitPostResponse, error) // TorrentsEditCategoryPost request with any body TorrentsEditCategoryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsEditCategoryPostResponse, error) TorrentsEditCategoryPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsEditCategoryPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsEditCategoryPostResponse, error) // TorrentsEditTrackerPost request with any body TorrentsEditTrackerPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsEditTrackerPostResponse, error) TorrentsEditTrackerPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsEditTrackerPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsEditTrackerPostResponse, error) // TorrentsFilePrioPost request with any body TorrentsFilePrioPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsFilePrioPostResponse, error) TorrentsFilePrioPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsFilePrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsFilePrioPostResponse, error) // TorrentsFilesPost request with any body TorrentsFilesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsFilesPostResponse, error) TorrentsFilesPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsFilesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsFilesPostResponse, error) // TorrentsIncreasePrioPost request with any body TorrentsIncreasePrioPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsIncreasePrioPostResponse, error) TorrentsIncreasePrioPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsIncreasePrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsIncreasePrioPostResponse, error) // TorrentsInfoPost request with any body TorrentsInfoPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsInfoPostResponse, error) TorrentsInfoPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsInfoPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsInfoPostResponse, error) // TorrentsPausePost request with any body TorrentsPausePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsPausePostResponse, error) TorrentsPausePostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsPausePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsPausePostResponse, error) // TorrentsPieceHashesPost request with any body TorrentsPieceHashesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsPieceHashesPostResponse, error) TorrentsPieceHashesPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsPieceHashesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsPieceHashesPostResponse, error) // TorrentsPieceStatesPost request with any body TorrentsPieceStatesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsPieceStatesPostResponse, error) TorrentsPieceStatesPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsPieceStatesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsPieceStatesPostResponse, error) // TorrentsPropertiesPost request with any body TorrentsPropertiesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsPropertiesPostResponse, error) TorrentsPropertiesPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsPropertiesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsPropertiesPostResponse, error) // TorrentsReannouncePost request with any body TorrentsReannouncePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsReannouncePostResponse, error) TorrentsReannouncePostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsReannouncePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsReannouncePostResponse, error) // TorrentsRecheckPost request with any body TorrentsRecheckPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsRecheckPostResponse, error) TorrentsRecheckPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRecheckPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsRecheckPostResponse, error) // TorrentsRemoveCategoriesPost request with any body TorrentsRemoveCategoriesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsRemoveCategoriesPostResponse, error) TorrentsRemoveCategoriesPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRemoveCategoriesPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsRemoveCategoriesPostResponse, error) // TorrentsRemoveTagsPost request with any body TorrentsRemoveTagsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsRemoveTagsPostResponse, error) TorrentsRemoveTagsPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRemoveTagsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsRemoveTagsPostResponse, error) // TorrentsRemoveTrackersPost request with any body TorrentsRemoveTrackersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsRemoveTrackersPostResponse, error) TorrentsRemoveTrackersPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRemoveTrackersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsRemoveTrackersPostResponse, error) // TorrentsRenamePost request with any body TorrentsRenamePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsRenamePostResponse, error) TorrentsRenamePostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRenamePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsRenamePostResponse, error) // TorrentsRenameFilePost request with any body TorrentsRenameFilePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsRenameFilePostResponse, error) TorrentsRenameFilePostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRenameFilePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsRenameFilePostResponse, error) // TorrentsRenameFolderPost request with any body TorrentsRenameFolderPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsRenameFolderPostResponse, error) TorrentsRenameFolderPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsRenameFolderPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsRenameFolderPostResponse, error) // TorrentsResumePost request with any body TorrentsResumePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsResumePostResponse, error) TorrentsResumePostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsResumePostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsResumePostResponse, error) // TorrentsSetAutoManagementPost request with any body TorrentsSetAutoManagementPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsSetAutoManagementPostResponse, error) TorrentsSetAutoManagementPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetAutoManagementPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsSetAutoManagementPostResponse, error) // TorrentsSetCategoryPost request with any body TorrentsSetCategoryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsSetCategoryPostResponse, error) TorrentsSetCategoryPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetCategoryPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsSetCategoryPostResponse, error) // TorrentsSetDownloadLimitPost request with any body TorrentsSetDownloadLimitPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsSetDownloadLimitPostResponse, error) TorrentsSetDownloadLimitPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetDownloadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsSetDownloadLimitPostResponse, error) // TorrentsSetForceStartPost request with any body TorrentsSetForceStartPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsSetForceStartPostResponse, error) TorrentsSetForceStartPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetForceStartPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsSetForceStartPostResponse, error) // TorrentsSetLocationPost request with any body TorrentsSetLocationPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsSetLocationPostResponse, error) TorrentsSetLocationPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetLocationPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsSetLocationPostResponse, error) TorrentsSetShareLimitsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsSetShareLimitsPostResponse, error) // TorrentsSetSuperSeedingPost request with any body TorrentsSetSuperSeedingPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsSetSuperSeedingPostResponse, error) TorrentsSetSuperSeedingPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetSuperSeedingPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsSetSuperSeedingPostResponse, error) // TorrentsSetUploadLimitPost request with any body TorrentsSetUploadLimitPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsSetUploadLimitPostResponse, error) TorrentsSetUploadLimitPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsSetUploadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsSetUploadLimitPostResponse, error) // TorrentsTagsGet request TorrentsTagsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TorrentsTagsGetResponse, error) // TorrentsToggleFirstLastPiecePrioPost request with any body TorrentsToggleFirstLastPiecePrioPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsToggleFirstLastPiecePrioPostResponse, error) TorrentsToggleFirstLastPiecePrioPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsToggleFirstLastPiecePrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsToggleFirstLastPiecePrioPostResponse, error) // TorrentsToggleSequentialDownloadPost request with any body TorrentsToggleSequentialDownloadPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsToggleSequentialDownloadPostResponse, error) TorrentsToggleSequentialDownloadPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsToggleSequentialDownloadPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsToggleSequentialDownloadPostResponse, error) // TorrentsTopPrioPost request with any body TorrentsTopPrioPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsTopPrioPostResponse, error) TorrentsTopPrioPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsTopPrioPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsTopPrioPostResponse, error) // TorrentsTrackersPost request with any body TorrentsTrackersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsTrackersPostResponse, error) TorrentsTrackersPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsTrackersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsTrackersPostResponse, error) // TorrentsUploadLimitPost request with any body TorrentsUploadLimitPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentsUploadLimitPostResponse, error) TorrentsUploadLimitPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentsUploadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentsUploadLimitPostResponse, error) // TorrentWebseedsPost request with any body TorrentWebseedsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TorrentWebseedsPostResponse, error) TorrentWebseedsPostWithFormdataBodyWithResponse(ctx context.Context, body TorrentWebseedsPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TorrentWebseedsPostResponse, error) // TransferBanPeersPost request with any body TransferBanPeersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TransferBanPeersPostResponse, error) TransferBanPeersPostWithFormdataBodyWithResponse(ctx context.Context, body TransferBanPeersPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TransferBanPeersPostResponse, error) // TransferDownloadLimitGet request TransferDownloadLimitGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TransferDownloadLimitGetResponse, error) // TransferInfoGet request TransferInfoGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TransferInfoGetResponse, error) // TransferSetDownloadLimitPost request with any body TransferSetDownloadLimitPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TransferSetDownloadLimitPostResponse, error) TransferSetDownloadLimitPostWithFormdataBodyWithResponse(ctx context.Context, body TransferSetDownloadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TransferSetDownloadLimitPostResponse, error) // TransferSetUploadLimitPost request with any body TransferSetUploadLimitPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TransferSetUploadLimitPostResponse, error) TransferSetUploadLimitPostWithFormdataBodyWithResponse(ctx context.Context, body TransferSetUploadLimitPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*TransferSetUploadLimitPostResponse, error) // TransferSpeedLimitsModeGet request TransferSpeedLimitsModeGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TransferSpeedLimitsModeGetResponse, error) // TransferToggleSpeedLimitsModeGet request TransferToggleSpeedLimitsModeGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TransferToggleSpeedLimitsModeGetResponse, error) // TransferUploadLimitGet request TransferUploadLimitGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TransferUploadLimitGetResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type Hashes ¶ added in v0.8.0
type Hashes struct {
Hashes []string `json:"hashes"`
}
Hashes defines model for Hashes.
type HttpRequestDoer ¶ added in v0.8.0
Doer performs HTTP requests.
The standard http.Client implements this interface.
type LogMainPostFormdataRequestBody ¶ added in v0.8.0
type LogMainPostFormdataRequestBody = LogMainPostRequest
LogMainPostFormdataRequestBody defines body for LogMainPost for application/x-www-form-urlencoded ContentType.
type LogMainPostRequest ¶ added in v0.8.0
type LogMainPostRequest struct { // Critical Include critical messages (default: `true`) Critical bool `json:"critical"` // Info Include info messages (default: `true`) Info bool `json:"info"` // LastKnownId Exclude messages with "message id" <= `last_known_id` (default: `-1`) LastKnownId int64 `json:"last_known_id"` // Normal Include normal messages (default: `true`) Normal bool `json:"normal"` // Warning Include warning messages (default: `true`) Warning bool `json:"warning"` }
LogMainPostRequest defines model for logMainPost_request.
type LogMainPostResponse ¶ added in v0.8.0
func ParseLogMainPostResponse ¶ added in v0.8.0
func ParseLogMainPostResponse(rsp *http.Response) (*LogMainPostResponse, error)
ParseLogMainPostResponse parses an HTTP response from a LogMainPostWithResponse call
func (LogMainPostResponse) Status ¶ added in v0.8.0
func (r LogMainPostResponse) Status() string
Status returns HTTPResponse.Status
func (LogMainPostResponse) StatusCode ¶ added in v0.8.0
func (r LogMainPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LogPeersPostFormdataRequestBody ¶ added in v0.8.0
type LogPeersPostFormdataRequestBody = LogPeersPostRequest
LogPeersPostFormdataRequestBody defines body for LogPeersPost for application/x-www-form-urlencoded ContentType.
type LogPeersPostRequest ¶ added in v0.8.0
type LogPeersPostRequest struct { // LastKnownId Exclude messages with "message id" <= `last_known_id` (default: `-1`) LastKnownId int64 `json:"last_known_id"` }
LogPeersPostRequest defines model for logPeersPost_request.
type LogPeersPostResponse ¶ added in v0.8.0
func ParseLogPeersPostResponse ¶ added in v0.8.0
func ParseLogPeersPostResponse(rsp *http.Response) (*LogPeersPostResponse, error)
ParseLogPeersPostResponse parses an HTTP response from a LogPeersPostWithResponse call
func (LogPeersPostResponse) Status ¶ added in v0.8.0
func (r LogPeersPostResponse) Status() string
Status returns HTTPResponse.Status
func (LogPeersPostResponse) StatusCode ¶ added in v0.8.0
func (r LogPeersPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MainData ¶ added in v0.8.0
type MainData struct { // Categories Info for categories added since last request Categories *map[string]TorrentsCategory `json:"categories,omitempty"` // CategoriesRemoved List of categories removed since last request CategoriesRemoved *[]string `json:"categories_removed,omitempty"` // FullUpdate Whether the response contains all the data or partial data FullUpdate *bool `json:"full_update,omitempty"` // Rid Response ID Rid *int64 `json:"rid,omitempty"` // ServerState The response is a JSON object with the following fields // // In addition to the above in partial data requests (see [Get partial data](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-partial-data) for more info): ServerState *TransferInfo `json:"server_state,omitempty"` // Tags List of tags added since last request Tags *[]string `json:"tags,omitempty"` // TagsRemoved List of tags removed since last request TagsRemoved *[]string `json:"tags_removed,omitempty"` // Torrents Property: torrent hash, value: same as [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list) Torrents *map[string]TorrentInfo `json:"torrents,omitempty"` // TorrentsRemoved List of hashes of torrents removed since last request TorrentsRemoved *[]string `json:"torrents_removed,omitempty"` }
MainData The response is a JSON object with the following possible fields
type MainLog ¶ added in v0.8.0
type MainLog struct { // Id ID of the message Id *int64 `json:"id,omitempty"` // Message Text of the message Message *string `json:"message,omitempty"` // Timestamp Milliseconds since epoch Timestamp *int64 `json:"timestamp,omitempty"` // Type Type of the message: Log::NORMAL: `1`, Log::INFO: `2`, Log::WARNING: `4`, Log::CRITICAL: `8` Type *MainLogType `json:"type,omitempty"` }
MainLog defines model for MainLog.
type MainLogType ¶ added in v0.8.0
type MainLogType int32
MainLogType Type of the message: Log::NORMAL: `1`, Log::INFO: `2`, Log::WARNING: `4`, Log::CRITICAL: `8`
const ( MainLogTypeN1 MainLogType = 1 MainLogTypeN2 MainLogType = 2 MainLogTypeN4 MainLogType = 4 MainLogTypeN8 MainLogType = 8 )
Defines values for MainLogType.
type PeersLog ¶ added in v0.8.0
type PeersLog struct { // Blocked Whether or not the peer was blocked Blocked *bool `json:"blocked,omitempty"` // Id ID of the peer Id *int64 `json:"id,omitempty"` // Ip IP of the peer Ip *string `json:"ip,omitempty"` // Reason Reason of the block Reason *string `json:"reason,omitempty"` // Timestamp Milliseconds since epoch Timestamp *int64 `json:"timestamp,omitempty"` }
PeersLog defines model for PeersLog.
type Preferences ¶ added in v0.8.0
type Preferences struct { // AddTrackers List of trackers to add to new torrent AddTrackers *string `json:"add_trackers,omitempty"` // AddTrackersEnabled Enable automatic adding of trackers to new torrents AddTrackersEnabled *bool `json:"add_trackers_enabled,omitempty"` // AltDlLimit Alternative global download speed limit in KiB/s AltDlLimit *int64 `json:"alt_dl_limit,omitempty"` // AltUpLimit Alternative global upload speed limit in KiB/s AltUpLimit *int64 `json:"alt_up_limit,omitempty"` // AlternativeWebuiEnabled True if an alternative WebUI should be used AlternativeWebuiEnabled *bool `json:"alternative_webui_enabled,omitempty"` // AlternativeWebuiPath File path to the alternative WebUI AlternativeWebuiPath *string `json:"alternative_webui_path,omitempty"` // AnnounceIp TODO AnnounceIp *string `json:"announce_ip,omitempty"` // AnnounceToAllTiers True always announce to all tiers AnnounceToAllTiers *bool `json:"announce_to_all_tiers,omitempty"` // AnnounceToAllTrackers True always announce to all trackers in a tier AnnounceToAllTrackers *bool `json:"announce_to_all_trackers,omitempty"` // AnonymousMode If true anonymous mode will be enabled; read more [here](https://github.com/qbittorrent/qBittorrent/wiki/Anonymous-Mode); this option is only available in qBittorent built against libtorrent version 0.16.X and higher AnonymousMode *bool `json:"anonymous_mode,omitempty"` // AsyncIoThreads Number of asynchronous I/O threads AsyncIoThreads *int64 `json:"async_io_threads,omitempty"` // AutoDeleteMode TODO AutoDeleteMode *int `json:"auto_delete_mode,omitempty"` // AutoTmmEnabled True if Automatic Torrent Management is enabled by default AutoTmmEnabled *bool `json:"auto_tmm_enabled,omitempty"` // AutorunEnabled True if external program should be run after torrent has finished downloading AutorunEnabled *bool `json:"autorun_enabled,omitempty"` // AutorunProgram Program path/name/arguments to run if `autorun_enabled` is enabled; path is separated by slashes; you can use `%f` and `%n` arguments, which will be expanded by qBittorent as path_to_torrent_file and torrent_name (from the GUI; not the .torrent file name) respectively AutorunProgram *string `json:"autorun_program,omitempty"` // BannedIPs List of banned IPs BannedIPs *string `json:"banned_IPs,omitempty"` // BittorrentProtocol Bittorrent Protocol to use (see list of possible values below) // // | Value | Description | // | ----- | ----------- | // | 0 | TCP and μTP | // | 1 | TCP | // | 2 | μTP | BittorrentProtocol *PreferencesBittorrentProtocol `json:"bittorrent_protocol,omitempty"` // BypassAuthSubnetWhitelist (White)list of ipv4/ipv6 subnets for which webui authentication should be bypassed; list entries are separated by commas BypassAuthSubnetWhitelist *[]string `json:"bypass_auth_subnet_whitelist,omitempty"` // BypassAuthSubnetWhitelistEnabled True if webui authentication should be bypassed for clients whose ip resides within (at least) one of the subnets on the whitelist BypassAuthSubnetWhitelistEnabled *bool `json:"bypass_auth_subnet_whitelist_enabled,omitempty"` // BypassLocalAuth True if authentication challenge for loopback address (127.0.0.1) should be disabled BypassLocalAuth *bool `json:"bypass_local_auth,omitempty"` // CategoryChangedTmmEnabled True if torrent should be relocated when its Category's save path changes CategoryChangedTmmEnabled *bool `json:"category_changed_tmm_enabled,omitempty"` // CheckingMemoryUse Outstanding memory when checking torrents in MiB CheckingMemoryUse *int64 `json:"checking_memory_use,omitempty"` // CreateSubfolderEnabled True if a subfolder should be created when adding a torrent CreateSubfolderEnabled *bool `json:"create_subfolder_enabled,omitempty"` // CurrentInterfaceAddress IP Address to bind to. Empty String means All addresses CurrentInterfaceAddress *string `json:"current_interface_address,omitempty"` // CurrentNetworkInterface Network Interface used CurrentNetworkInterface *string `json:"current_network_interface,omitempty"` // Dht True if DHT is enabled Dht *bool `json:"dht,omitempty"` // DiskCache Disk cache used in MiB DiskCache *int64 `json:"disk_cache,omitempty"` // DiskCacheTtl Disk cache expiry interval in seconds DiskCacheTtl *int64 `json:"disk_cache_ttl,omitempty"` // DlLimit Global download speed limit in KiB/s; `-1` means no limit is applied DlLimit *int64 `json:"dl_limit,omitempty"` // DontCountSlowTorrents If true torrents w/o any activity (stalled ones) will not be counted towards `max_active_*` limits; see [dont_count_slow_torrents](https://www.libtorrent.org/reference-Settings.html#dont_count_slow_torrents) for more information DontCountSlowTorrents *bool `json:"dont_count_slow_torrents,omitempty"` // DyndnsDomain Your DDNS domain name DyndnsDomain *string `json:"dyndns_domain,omitempty"` // DyndnsEnabled True if server DNS should be updated dynamically DyndnsEnabled *bool `json:"dyndns_enabled,omitempty"` // DyndnsPassword Password for DDNS service DyndnsPassword *string `json:"dyndns_password,omitempty"` // DyndnsService See list of possible values here below // // | Value | Description | // | ----- | ----------- | // | 0 | Use DyDNS | // | 1 | Use NOIP | DyndnsService *PreferencesDyndnsService `json:"dyndns_service,omitempty"` // DyndnsUsername Username for DDNS service DyndnsUsername *string `json:"dyndns_username,omitempty"` // EmbeddedTrackerPort Port used for embedded tracker EmbeddedTrackerPort *int32 `json:"embedded_tracker_port,omitempty"` // EnableCoalesceReadWrite True enables coalesce reads & writes EnableCoalesceReadWrite *bool `json:"enable_coalesce_read_write,omitempty"` // EnableEmbeddedTracker True enables embedded tracker EnableEmbeddedTracker *bool `json:"enable_embedded_tracker,omitempty"` // EnableMultiConnectionsFromSameIp True allows multiple connections from the same IP address EnableMultiConnectionsFromSameIp *bool `json:"enable_multi_connections_from_same_ip,omitempty"` // EnableOsCache True enables os cache EnableOsCache *bool `json:"enable_os_cache,omitempty"` // EnablePieceExtentAffinity True if the advanced libtorrent option `piece_extent_affinity` is enabled EnablePieceExtentAffinity *bool `json:"enable_piece_extent_affinity,omitempty"` // EnableUploadSuggestions True enables sending of upload piece suggestions EnableUploadSuggestions *bool `json:"enable_upload_suggestions,omitempty"` // Encryption See list of possible values here below // // | Value | Description | // | ----- | -------------------- | // | 0 | Prefer encryption | // | 1 | Force encryption on | // | 2 | Force encryption off | Encryption *PreferencesEncryption `json:"encryption,omitempty"` // ExportDir Path to directory to copy .torrent files to. Slashes are used as path separators ExportDir *string `json:"export_dir,omitempty"` // ExportDirFin Path to directory to copy .torrent files of completed downloads to. Slashes are used as path separators ExportDirFin *string `json:"export_dir_fin,omitempty"` // FilePoolSize File pool size FilePoolSize *int64 `json:"file_pool_size,omitempty"` // IncompleteFilesExt True if ".!qB" should be appended to incomplete files IncompleteFilesExt *bool `json:"incomplete_files_ext,omitempty"` // IpFilterEnabled True if external IP filter should be enabled IpFilterEnabled *bool `json:"ip_filter_enabled,omitempty"` // IpFilterPath Path to IP filter file (.dat, .p2p, .p2b files are supported); path is separated by slashes IpFilterPath *string `json:"ip_filter_path,omitempty"` // IpFilterTrackers True if IP filters are applied to trackers IpFilterTrackers *bool `json:"ip_filter_trackers,omitempty"` // LimitLanPeers True if `[du]l_limit` should be applied to peers on the LAN LimitLanPeers *bool `json:"limit_lan_peers,omitempty"` // LimitTcpOverhead True if `[du]l_limit` should be applied to estimated TCP overhead (service data: e.g. packet headers) LimitTcpOverhead *bool `json:"limit_tcp_overhead,omitempty"` // LimitUtpRate True if `[du]l_limit` should be applied to uTP connections; this option is only available in qBittorent built against libtorrent version 0.16.X and higher LimitUtpRate *bool `json:"limit_utp_rate,omitempty"` // ListenPort Port for incoming connections ListenPort *int32 `json:"listen_port,omitempty"` // Locale Currently selected language (e.g. en_GB for English) Locale *string `json:"locale,omitempty"` // Lsd True if LSD is enabled Lsd *bool `json:"lsd,omitempty"` // MailNotificationAuthEnabled True if smtp server requires authentication MailNotificationAuthEnabled *bool `json:"mail_notification_auth_enabled,omitempty"` // MailNotificationEmail e-mail to send notifications to MailNotificationEmail *string `json:"mail_notification_email,omitempty"` // MailNotificationEnabled True if e-mail notification should be enabled MailNotificationEnabled *bool `json:"mail_notification_enabled,omitempty"` // MailNotificationPassword Password for smtp authentication MailNotificationPassword *string `json:"mail_notification_password,omitempty"` // MailNotificationSender e-mail where notifications should originate from MailNotificationSender *string `json:"mail_notification_sender,omitempty"` // MailNotificationSmtp smtp server for e-mail notifications MailNotificationSmtp *string `json:"mail_notification_smtp,omitempty"` // MailNotificationSslEnabled True if smtp server requires SSL connection MailNotificationSslEnabled *bool `json:"mail_notification_ssl_enabled,omitempty"` // MailNotificationUsername Username for smtp authentication MailNotificationUsername *string `json:"mail_notification_username,omitempty"` // MaxActiveDownloads Maximum number of active simultaneous downloads MaxActiveDownloads *int64 `json:"max_active_downloads,omitempty"` // MaxActiveTorrents Maximum number of active simultaneous downloads and uploads MaxActiveTorrents *int64 `json:"max_active_torrents,omitempty"` // MaxActiveUploads Maximum number of active simultaneous uploads MaxActiveUploads *int64 `json:"max_active_uploads,omitempty"` // MaxConnec Maximum global number of simultaneous connections MaxConnec *int64 `json:"max_connec,omitempty"` // MaxConnecPerTorrent Maximum number of simultaneous connections per torrent MaxConnecPerTorrent *int64 `json:"max_connec_per_torrent,omitempty"` // MaxRatio Get the global share ratio limit MaxRatio *float32 `json:"max_ratio,omitempty"` // MaxRatioAct Action performed when a torrent reaches the maximum share ratio. See list of possible values here below. // // | Value | Description | // | ----- | -------------- | // | 0 | Pause torrent | // | 1 | Remove torrent | MaxRatioAct *PreferencesMaxRatioAct `json:"max_ratio_act,omitempty"` // MaxRatioEnabled True if share ratio limit is enabled MaxRatioEnabled *bool `json:"max_ratio_enabled,omitempty"` // MaxSeedingTime Number of minutes to seed a torrent MaxSeedingTime *int64 `json:"max_seeding_time,omitempty"` // MaxSeedingTimeEnabled True enables max seeding time MaxSeedingTimeEnabled *bool `json:"max_seeding_time_enabled,omitempty"` // MaxUploads Maximum number of upload slots MaxUploads *int64 `json:"max_uploads,omitempty"` // MaxUploadsPerTorrent Maximum number of upload slots per torrent MaxUploadsPerTorrent *int64 `json:"max_uploads_per_torrent,omitempty"` // OutgoingPortsMax Maximal outgoing port (0: Disabled) OutgoingPortsMax *int32 `json:"outgoing_ports_max,omitempty"` // OutgoingPortsMin Minimal outgoing port (0: Disabled) OutgoingPortsMin *int32 `json:"outgoing_ports_min,omitempty"` // Pex True if PeX is enabled Pex *bool `json:"pex,omitempty"` // PreallocateAll True if disk space should be pre-allocated for all files PreallocateAll *bool `json:"preallocate_all,omitempty"` // ProxyAuthEnabled True proxy requires authentication; doesn't apply to SOCKS4 proxies ProxyAuthEnabled *bool `json:"proxy_auth_enabled,omitempty"` // ProxyIp Proxy IP address or domain name ProxyIp *string `json:"proxy_ip,omitempty"` // ProxyPassword Password for proxy authentication ProxyPassword *string `json:"proxy_password,omitempty"` // ProxyPeerConnections True if peer and web seed connections should be proxified; this option will have any effect only in qBittorent built against libtorrent version 0.16.X and higher ProxyPeerConnections *bool `json:"proxy_peer_connections,omitempty"` // ProxyPort Proxy port ProxyPort *int32 `json:"proxy_port,omitempty"` // ProxyTorrentsOnly True if proxy is only used for torrents ProxyTorrentsOnly *bool `json:"proxy_torrents_only,omitempty"` // ProxyType See list of possible values here below // // | Value | Description | // | ----- | ----------------------------------- | // | -1 | Proxy is disabled | // | 0 | Prefer encryption | // | 1 | HTTP proxy without authentication | // | 2 | SOCKS5 proxy without authentication | // | 3 | HTTP proxy with authentication | // | 4 | SOCKS5 proxy with authentication | // | 5 | SOCKS4 proxy without authentication | ProxyType *PreferencesProxyType `json:"proxy_type,omitempty"` // ProxyUsername Username for proxy authentication ProxyUsername *string `json:"proxy_username,omitempty"` // QueueingEnabled True if torrent queuing is enabled QueueingEnabled *bool `json:"queueing_enabled,omitempty"` // RandomPort True if the port is randomly selected RandomPort *bool `json:"random_port,omitempty"` // RecheckCompletedTorrents True rechecks torrents on completion RecheckCompletedTorrents *bool `json:"recheck_completed_torrents,omitempty"` // ResolvePeerCountries True resolves peer countries ResolvePeerCountries *bool `json:"resolve_peer_countries,omitempty"` // RssAutoDownloadingEnabled Enable auto-downloading of torrents from the RSS feeds RssAutoDownloadingEnabled *bool `json:"rss_auto_downloading_enabled,omitempty"` // RssDownloadRepackProperEpisodes For API ≥ v2.5.1: Enable downloading of repack/proper Episodes RssDownloadRepackProperEpisodes *bool `json:"rss_download_repack_proper_episodes,omitempty"` // RssMaxArticlesPerFeed Max stored articles per RSS feed RssMaxArticlesPerFeed *int64 `json:"rss_max_articles_per_feed,omitempty"` // RssProcessingEnabled Enable processing of RSS feeds RssProcessingEnabled *bool `json:"rss_processing_enabled,omitempty"` // RssRefreshInterval RSS refresh interval RssRefreshInterval *int64 `json:"rss_refresh_interval,omitempty"` // RssSmartEpisodeFilters For API ≥ v2.5.1: List of RSS Smart Episode Filters RssSmartEpisodeFilters *string `json:"rss_smart_episode_filters,omitempty"` // SavePath Default save path for torrents, separated by slashes SavePath *string `json:"save_path,omitempty"` // SavePathChangedTmmEnabled True if torrent should be relocated when the default save path changes SavePathChangedTmmEnabled *bool `json:"save_path_changed_tmm_enabled,omitempty"` // SaveResumeDataInterval Save resume data interval in min SaveResumeDataInterval *int64 `json:"save_resume_data_interval,omitempty"` // ScanDirs Property: directory to watch for torrent files, value: where torrents loaded from this directory should be downloaded to (see list of possible values below). Slashes are used as path separators; multiple key/value pairs can be specified // // | Value | Description | // | ---------------------- | --------------------------------- | // | 0 | Download to the monitored folder | // | 1 | Download to the default save path | // | "/path/to/download/to" | Download to this path | ScanDirs *map[string]PreferencesScanDirsValue `json:"scan_dirs,omitempty"` // ScheduleFromHour Scheduler starting hour ScheduleFromHour *int32 `json:"schedule_from_hour,omitempty"` // ScheduleFromMin Scheduler starting minute ScheduleFromMin *int32 `json:"schedule_from_min,omitempty"` // ScheduleToHour Scheduler ending hour ScheduleToHour *int32 `json:"schedule_to_hour,omitempty"` // ScheduleToMin Scheduler ending minute ScheduleToMin *int32 `json:"schedule_to_min,omitempty"` // SchedulerDays Scheduler days. See possible values here below // // | Value | Description | // | ----- | --------------- | // | 0 | Every day | // | 1 | Every weekday | // | 2 | Every weekend | // | 3 | Every Monday | // | 4 | Every Tuesday | // | 5 | Every Wednesday | // | 6 | Every Thursday | // | 7 | Every Friday | // | 8 | Every Saturday | // | 9 | Every Sunday | SchedulerDays *PreferencesSchedulerDays `json:"scheduler_days,omitempty"` // SchedulerEnabled True if alternative limits should be applied according to schedule SchedulerEnabled *bool `json:"scheduler_enabled,omitempty"` // SendBufferLowWatermark Send buffer low watermark in KiB SendBufferLowWatermark *int64 `json:"send_buffer_low_watermark,omitempty"` // SendBufferWatermark Send buffer watermark in KiB SendBufferWatermark *int64 `json:"send_buffer_watermark,omitempty"` // SendBufferWatermarkFactor Send buffer watermark factor in percent SendBufferWatermarkFactor *int32 `json:"send_buffer_watermark_factor,omitempty"` // SlowTorrentDlRateThreshold Download rate in KiB/s for a torrent to be considered "slow" SlowTorrentDlRateThreshold *int64 `json:"slow_torrent_dl_rate_threshold,omitempty"` // SlowTorrentInactiveTimer Seconds a torrent should be inactive before considered "slow" SlowTorrentInactiveTimer *int64 `json:"slow_torrent_inactive_timer,omitempty"` // SlowTorrentUlRateThreshold Upload rate in KiB/s for a torrent to be considered "slow" SlowTorrentUlRateThreshold *int64 `json:"slow_torrent_ul_rate_threshold,omitempty"` // SocketBacklogSize Socket backlog size SocketBacklogSize *int64 `json:"socket_backlog_size,omitempty"` // SslCert For API < v2.0.1: SSL certificate contents (this is a not a path) SslCert *string `json:"ssl_cert,omitempty"` // SslKey For API < v2.0.1: SSL keyfile contents (this is a not a path) SslKey *string `json:"ssl_key,omitempty"` // StartPausedEnabled True if torrents should be added in a Paused state StartPausedEnabled *bool `json:"start_paused_enabled,omitempty"` // StopTrackerTimeout Timeout in seconds for a `stopped` announce request to trackers StopTrackerTimeout *int64 `json:"stop_tracker_timeout,omitempty"` // TempPath Path for incomplete torrents, separated by slashes TempPath *string `json:"temp_path,omitempty"` // TempPathEnabled True if folder for incomplete torrents is enabled TempPathEnabled *bool `json:"temp_path_enabled,omitempty"` // TorrentChangedTmmEnabled True if torrent should be relocated when its Category changes TorrentChangedTmmEnabled *bool `json:"torrent_changed_tmm_enabled,omitempty"` // UpLimit Global upload speed limit in KiB/s; `-1` means no limit is applied UpLimit *int64 `json:"up_limit,omitempty"` // UploadChokingAlgorithm Upload choking algorithm used (see list of possible values below) // // | Value | Description | // | ----- | -------------- | // | 0 | Round-robin | // | 1 | Fastest upload | // | 2 | Anti-leech | UploadChokingAlgorithm *PreferencesUploadChokingAlgorithm `json:"upload_choking_algorithm,omitempty"` // UploadSlotsBehavior Upload slots behavior used (see list of possible values below) // // | Value | Description | // | ----- | ----------------- | // | 0 | Fixed slots | // | 1 | Upload rate based | UploadSlotsBehavior *PreferencesUploadSlotsBehavior `json:"upload_slots_behavior,omitempty"` // Upnp True if UPnP/NAT-PMP is enabled Upnp *bool `json:"upnp,omitempty"` // UpnpLeaseDuration UPnP lease duration (0: Permanent lease) UpnpLeaseDuration *int64 `json:"upnp_lease_duration,omitempty"` // UseHttps True if WebUI HTTPS access is enabled UseHttps *bool `json:"use_https,omitempty"` // UtpTcpMixedMode μTP-TCP mixed mode algorithm (see list of possible values below) // // | Value | Description | // | ----- | ----------------- | // | 0 | Prefer TCP | // | 1 | Peer proportional | UtpTcpMixedMode *PreferencesUtpTcpMixedMode `json:"utp_tcp_mixed_mode,omitempty"` // WebUiAddress IP address to use for the WebUI WebUiAddress *string `json:"web_ui_address,omitempty"` // WebUiBanDuration WebUI access ban duration in seconds WebUiBanDuration *int64 `json:"web_ui_ban_duration,omitempty"` // WebUiClickjackingProtectionEnabled True if WebUI clickjacking protection is enabled WebUiClickjackingProtectionEnabled *bool `json:"web_ui_clickjacking_protection_enabled,omitempty"` // WebUiCsrfProtectionEnabled True if WebUI CSRF protection is enabled WebUiCsrfProtectionEnabled *bool `json:"web_ui_csrf_protection_enabled,omitempty"` // WebUiCustomHttpHeaders For API ≥ v2.5.1: List of custom http headers WebUiCustomHttpHeaders *string `json:"web_ui_custom_http_headers,omitempty"` // WebUiDomainList Comma-separated list of domains to accept when performing Host header validation WebUiDomainList *[]string `json:"web_ui_domain_list,omitempty"` // WebUiHostHeaderValidationEnabled True if WebUI host header validation is enabled WebUiHostHeaderValidationEnabled *bool `json:"web_ui_host_header_validation_enabled,omitempty"` // WebUiHttpsCertPath For API ≥ v2.0.1: Path to SSL certificate WebUiHttpsCertPath *string `json:"web_ui_https_cert_path,omitempty"` // WebUiHttpsKeyPath For API ≥ v2.0.1: Path to SSL keyfile WebUiHttpsKeyPath *string `json:"web_ui_https_key_path,omitempty"` // WebUiMaxAuthFailCount Maximum number of authentication failures before WebUI access ban WebUiMaxAuthFailCount *int64 `json:"web_ui_max_auth_fail_count,omitempty"` // WebUiPort WebUI port WebUiPort *int32 `json:"web_ui_port,omitempty"` // WebUiSecureCookieEnabled True if WebUI cookie `Secure` flag is enabled WebUiSecureCookieEnabled *bool `json:"web_ui_secure_cookie_enabled,omitempty"` // WebUiSessionTimeout Seconds until WebUI is automatically signed off WebUiSessionTimeout *int64 `json:"web_ui_session_timeout,omitempty"` // WebUiUpnp True if UPnP is used for the WebUI port WebUiUpnp *bool `json:"web_ui_upnp,omitempty"` // WebUiUseCustomHttpHeadersEnabled For API ≥ v2.5.1: Enable custom http headers WebUiUseCustomHttpHeadersEnabled *bool `json:"web_ui_use_custom_http_headers_enabled,omitempty"` // WebUiUsername WebUI username WebUiUsername *string `json:"web_ui_username,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` }
Preferences Possible fields:
func (Preferences) Get ¶ added in v0.8.0
func (a Preferences) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for Preferences. Returns the specified element and whether it was found
func (Preferences) MarshalJSON ¶ added in v0.8.0
func (a Preferences) MarshalJSON() ([]byte, error)
Override default JSON handling for Preferences to handle AdditionalProperties
func (*Preferences) Set ¶ added in v0.8.0
func (a *Preferences) Set(fieldName string, value interface{})
Setter for additional properties for Preferences
func (*Preferences) UnmarshalJSON ¶ added in v0.8.0
func (a *Preferences) UnmarshalJSON(b []byte) error
Override default JSON handling for Preferences to handle AdditionalProperties
type PreferencesBittorrentProtocol ¶ added in v0.8.0
type PreferencesBittorrentProtocol int32
PreferencesBittorrentProtocol Bittorrent Protocol to use (see list of possible values below)
| Value | Description | | ----- | ----------- | | 0 | TCP and μTP | | 1 | TCP | | 2 | μTP |
const ( PreferencesBittorrentProtocolN0 PreferencesBittorrentProtocol = 0 PreferencesBittorrentProtocolN1 PreferencesBittorrentProtocol = 1 PreferencesBittorrentProtocolN2 PreferencesBittorrentProtocol = 2 )
Defines values for PreferencesBittorrentProtocol.
type PreferencesDyndnsService ¶ added in v0.8.0
type PreferencesDyndnsService int32
PreferencesDyndnsService See list of possible values here below
| Value | Description | | ----- | ----------- | | 0 | Use DyDNS | | 1 | Use NOIP |
const ( PreferencesDyndnsServiceN0 PreferencesDyndnsService = 0 PreferencesDyndnsServiceN1 PreferencesDyndnsService = 1 )
Defines values for PreferencesDyndnsService.
type PreferencesEncryption ¶ added in v0.8.0
type PreferencesEncryption int32
PreferencesEncryption See list of possible values here below
| Value | Description | | ----- | -------------------- | | 0 | Prefer encryption | | 1 | Force encryption on | | 2 | Force encryption off |
const ( PreferencesEncryptionN0 PreferencesEncryption = 0 PreferencesEncryptionN1 PreferencesEncryption = 1 PreferencesEncryptionN2 PreferencesEncryption = 2 )
Defines values for PreferencesEncryption.
type PreferencesMaxRatioAct ¶ added in v0.8.0
type PreferencesMaxRatioAct int64
PreferencesMaxRatioAct Action performed when a torrent reaches the maximum share ratio. See list of possible values here below.
| Value | Description | | ----- | -------------- | | 0 | Pause torrent | | 1 | Remove torrent |
const ( PreferencesMaxRatioActN0 PreferencesMaxRatioAct = 0 PreferencesMaxRatioActN1 PreferencesMaxRatioAct = 1 )
Defines values for PreferencesMaxRatioAct.
type PreferencesProxyType ¶ added in v0.8.0
type PreferencesProxyType int32
PreferencesProxyType See list of possible values here below
| Value | Description | | ----- | ----------------------------------- | | -1 | Proxy is disabled | | 0 | Prefer encryption | | 1 | HTTP proxy without authentication | | 2 | SOCKS5 proxy without authentication | | 3 | HTTP proxy with authentication | | 4 | SOCKS5 proxy with authentication | | 5 | SOCKS4 proxy without authentication |
const ( PreferencesProxyTypeMinus1 PreferencesProxyType = -1 PreferencesProxyTypeN0 PreferencesProxyType = 0 PreferencesProxyTypeN1 PreferencesProxyType = 1 PreferencesProxyTypeN2 PreferencesProxyType = 2 PreferencesProxyTypeN3 PreferencesProxyType = 3 PreferencesProxyTypeN4 PreferencesProxyType = 4 PreferencesProxyTypeN5 PreferencesProxyType = 5 )
Defines values for PreferencesProxyType.
type PreferencesScanDirsValue ¶ added in v0.8.0
type PreferencesScanDirsValue struct {
// contains filtered or unexported fields
}
PreferencesScanDirsValue defines model for Preferences_scan_dirs_value.
func (PreferencesScanDirsValue) AsPreferencesScanDirsValue0 ¶ added in v0.8.0
func (t PreferencesScanDirsValue) AsPreferencesScanDirsValue0() (PreferencesScanDirsValue0, error)
AsPreferencesScanDirsValue0 returns the union data inside the PreferencesScanDirsValue as a PreferencesScanDirsValue0
func (PreferencesScanDirsValue) AsPreferencesScanDirsValue1 ¶ added in v0.8.0
func (t PreferencesScanDirsValue) AsPreferencesScanDirsValue1() (PreferencesScanDirsValue1, error)
AsPreferencesScanDirsValue1 returns the union data inside the PreferencesScanDirsValue as a PreferencesScanDirsValue1
func (*PreferencesScanDirsValue) FromPreferencesScanDirsValue0 ¶ added in v0.8.0
func (t *PreferencesScanDirsValue) FromPreferencesScanDirsValue0(v PreferencesScanDirsValue0) error
FromPreferencesScanDirsValue0 overwrites any union data inside the PreferencesScanDirsValue as the provided PreferencesScanDirsValue0
func (*PreferencesScanDirsValue) FromPreferencesScanDirsValue1 ¶ added in v0.8.0
func (t *PreferencesScanDirsValue) FromPreferencesScanDirsValue1(v PreferencesScanDirsValue1) error
FromPreferencesScanDirsValue1 overwrites any union data inside the PreferencesScanDirsValue as the provided PreferencesScanDirsValue1
func (PreferencesScanDirsValue) MarshalJSON ¶ added in v0.8.0
func (t PreferencesScanDirsValue) MarshalJSON() ([]byte, error)
func (*PreferencesScanDirsValue) MergePreferencesScanDirsValue0 ¶ added in v0.8.0
func (t *PreferencesScanDirsValue) MergePreferencesScanDirsValue0(v PreferencesScanDirsValue0) error
MergePreferencesScanDirsValue0 performs a merge with any union data inside the PreferencesScanDirsValue, using the provided PreferencesScanDirsValue0
func (*PreferencesScanDirsValue) MergePreferencesScanDirsValue1 ¶ added in v0.8.0
func (t *PreferencesScanDirsValue) MergePreferencesScanDirsValue1(v PreferencesScanDirsValue1) error
MergePreferencesScanDirsValue1 performs a merge with any union data inside the PreferencesScanDirsValue, using the provided PreferencesScanDirsValue1
func (*PreferencesScanDirsValue) UnmarshalJSON ¶ added in v0.8.0
func (t *PreferencesScanDirsValue) UnmarshalJSON(b []byte) error
type PreferencesScanDirsValue0 ¶ added in v0.8.0
type PreferencesScanDirsValue0 int
PreferencesScanDirsValue0 defines model for .
const ( PreferencesScanDirsValue0N0 PreferencesScanDirsValue0 = 0 PreferencesScanDirsValue0N1 PreferencesScanDirsValue0 = 1 )
Defines values for PreferencesScanDirsValue0.
type PreferencesScanDirsValue1 ¶ added in v0.8.0
type PreferencesScanDirsValue1 = string
PreferencesScanDirsValue1 defines model for .
type PreferencesSchedulerDays ¶ added in v0.8.0
type PreferencesSchedulerDays int32
PreferencesSchedulerDays Scheduler days. See possible values here below
| Value | Description | | ----- | --------------- | | 0 | Every day | | 1 | Every weekday | | 2 | Every weekend | | 3 | Every Monday | | 4 | Every Tuesday | | 5 | Every Wednesday | | 6 | Every Thursday | | 7 | Every Friday | | 8 | Every Saturday | | 9 | Every Sunday |
const ( PreferencesSchedulerDaysN0 PreferencesSchedulerDays = 0 PreferencesSchedulerDaysN1 PreferencesSchedulerDays = 1 PreferencesSchedulerDaysN2 PreferencesSchedulerDays = 2 PreferencesSchedulerDaysN3 PreferencesSchedulerDays = 3 PreferencesSchedulerDaysN4 PreferencesSchedulerDays = 4 PreferencesSchedulerDaysN5 PreferencesSchedulerDays = 5 PreferencesSchedulerDaysN6 PreferencesSchedulerDays = 6 PreferencesSchedulerDaysN7 PreferencesSchedulerDays = 7 PreferencesSchedulerDaysN8 PreferencesSchedulerDays = 8 PreferencesSchedulerDaysN9 PreferencesSchedulerDays = 9 )
Defines values for PreferencesSchedulerDays.
type PreferencesUploadChokingAlgorithm ¶ added in v0.8.0
type PreferencesUploadChokingAlgorithm int32
PreferencesUploadChokingAlgorithm Upload choking algorithm used (see list of possible values below)
| Value | Description | | ----- | -------------- | | 0 | Round-robin | | 1 | Fastest upload | | 2 | Anti-leech |
const ( PreferencesUploadChokingAlgorithmN0 PreferencesUploadChokingAlgorithm = 0 PreferencesUploadChokingAlgorithmN1 PreferencesUploadChokingAlgorithm = 1 PreferencesUploadChokingAlgorithmN2 PreferencesUploadChokingAlgorithm = 2 )
Defines values for PreferencesUploadChokingAlgorithm.
type PreferencesUploadSlotsBehavior ¶ added in v0.8.0
type PreferencesUploadSlotsBehavior int32
PreferencesUploadSlotsBehavior Upload slots behavior used (see list of possible values below)
| Value | Description | | ----- | ----------------- | | 0 | Fixed slots | | 1 | Upload rate based |
const ( PreferencesUploadSlotsBehaviorN0 PreferencesUploadSlotsBehavior = 0 PreferencesUploadSlotsBehaviorN1 PreferencesUploadSlotsBehavior = 1 )
Defines values for PreferencesUploadSlotsBehavior.
type PreferencesUtpTcpMixedMode ¶ added in v0.8.0
type PreferencesUtpTcpMixedMode int32
PreferencesUtpTcpMixedMode μTP-TCP mixed mode algorithm (see list of possible values below)
| Value | Description | | ----- | ----------------- | | 0 | Prefer TCP | | 1 | Peer proportional |
const ( PreferencesUtpTcpMixedModeN0 PreferencesUtpTcpMixedMode = 0 PreferencesUtpTcpMixedModeN1 PreferencesUtpTcpMixedMode = 1 )
Defines values for PreferencesUtpTcpMixedMode.
type RenameTorrentFiles ¶ added in v0.8.0
type RenameTorrentFiles struct { // Hash The hash of the torrent Hash string `json:"hash"` // NewPath The new path to use for the file NewPath string `json:"newPath"` // OldPath The old path of the torrent OldPath string `json:"oldPath"` }
RenameTorrentFiles defines model for RenameTorrentFiles.
type RequestEditorFn ¶ added in v0.8.0
RequestEditorFn is the function signature for the RequestEditor callback function
type Response ¶
type RssAddFeedPostFormdataRequestBody ¶ added in v0.8.0
type RssAddFeedPostFormdataRequestBody = RssAddFeedPostRequest
RssAddFeedPostFormdataRequestBody defines body for RssAddFeedPost for application/x-www-form-urlencoded ContentType.
type RssAddFeedPostRequest ¶ added in v0.8.0
type RssAddFeedPostRequest struct { // Path Full path of added folder (e.g. "The Pirate Bay\Top100\Video") Path *string `json:"path,omitempty"` // Url URL of RSS feed (e.g. "http://thepiratebay.org/rss//top100/200") Url string `json:"url"` }
RssAddFeedPostRequest defines model for rssAddFeedPost_request.
type RssAddFeedPostResponse ¶ added in v0.8.0
func ParseRssAddFeedPostResponse ¶ added in v0.8.0
func ParseRssAddFeedPostResponse(rsp *http.Response) (*RssAddFeedPostResponse, error)
ParseRssAddFeedPostResponse parses an HTTP response from a RssAddFeedPostWithResponse call
func (RssAddFeedPostResponse) Status ¶ added in v0.8.0
func (r RssAddFeedPostResponse) Status() string
Status returns HTTPResponse.Status
func (RssAddFeedPostResponse) StatusCode ¶ added in v0.8.0
func (r RssAddFeedPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RssAddFolderPostFormdataRequestBody ¶ added in v0.8.0
type RssAddFolderPostFormdataRequestBody = RssAddFolderPostRequest
RssAddFolderPostFormdataRequestBody defines body for RssAddFolderPost for application/x-www-form-urlencoded ContentType.
type RssAddFolderPostRequest ¶ added in v0.8.0
type RssAddFolderPostRequest struct { // Path Full path of added folder (e.g. "The Pirate Bay\Top100") Path string `json:"path"` }
RssAddFolderPostRequest defines model for rssAddFolderPost_request.
type RssAddFolderPostResponse ¶ added in v0.8.0
func ParseRssAddFolderPostResponse ¶ added in v0.8.0
func ParseRssAddFolderPostResponse(rsp *http.Response) (*RssAddFolderPostResponse, error)
ParseRssAddFolderPostResponse parses an HTTP response from a RssAddFolderPostWithResponse call
func (RssAddFolderPostResponse) Status ¶ added in v0.8.0
func (r RssAddFolderPostResponse) Status() string
Status returns HTTPResponse.Status
func (RssAddFolderPostResponse) StatusCode ¶ added in v0.8.0
func (r RssAddFolderPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RssItemsPostFormdataRequestBody ¶ added in v0.8.0
type RssItemsPostFormdataRequestBody = RssItemsPostRequest
RssItemsPostFormdataRequestBody defines body for RssItemsPost for application/x-www-form-urlencoded ContentType.
type RssItemsPostRequest ¶ added in v0.8.0
type RssItemsPostRequest struct { // WithData True if you need current feed articles WithData *bool `json:"withData,omitempty"` }
RssItemsPostRequest defines model for rssItemsPost_request.
type RssItemsPostResponse ¶ added in v0.8.0
type RssItemsPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *map[string]interface{} }
func ParseRssItemsPostResponse ¶ added in v0.8.0
func ParseRssItemsPostResponse(rsp *http.Response) (*RssItemsPostResponse, error)
ParseRssItemsPostResponse parses an HTTP response from a RssItemsPostWithResponse call
func (RssItemsPostResponse) Status ¶ added in v0.8.0
func (r RssItemsPostResponse) Status() string
Status returns HTTPResponse.Status
func (RssItemsPostResponse) StatusCode ¶ added in v0.8.0
func (r RssItemsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RssMarkAsReadPostFormdataRequestBody ¶ added in v0.8.0
type RssMarkAsReadPostFormdataRequestBody = RssMarkAsReadPostRequest
RssMarkAsReadPostFormdataRequestBody defines body for RssMarkAsReadPost for application/x-www-form-urlencoded ContentType.
type RssMarkAsReadPostRequest ¶ added in v0.8.0
type RssMarkAsReadPostRequest struct { // ArticleId ID of article ArticleId *string `json:"articleId,omitempty"` // ItemPath Current full path of item (e.g. "The Pirate Bay\Top100") ItemPath string `json:"itemPath"` }
RssMarkAsReadPostRequest defines model for rssMarkAsReadPost_request.
type RssMarkAsReadPostResponse ¶ added in v0.8.0
func ParseRssMarkAsReadPostResponse ¶ added in v0.8.0
func ParseRssMarkAsReadPostResponse(rsp *http.Response) (*RssMarkAsReadPostResponse, error)
ParseRssMarkAsReadPostResponse parses an HTTP response from a RssMarkAsReadPostWithResponse call
func (RssMarkAsReadPostResponse) Status ¶ added in v0.8.0
func (r RssMarkAsReadPostResponse) Status() string
Status returns HTTPResponse.Status
func (RssMarkAsReadPostResponse) StatusCode ¶ added in v0.8.0
func (r RssMarkAsReadPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RssMatchingArticlesPostFormdataRequestBody ¶ added in v0.8.0
type RssMatchingArticlesPostFormdataRequestBody = RssMatchingArticlesPostRequest
RssMatchingArticlesPostFormdataRequestBody defines body for RssMatchingArticlesPost for application/x-www-form-urlencoded ContentType.
type RssMatchingArticlesPostRequest ¶ added in v0.8.0
type RssMatchingArticlesPostRequest struct { // RuleName Rule name (e.g. "Linux") RuleName string `json:"ruleName"` }
RssMatchingArticlesPostRequest defines model for rssMatchingArticlesPost_request.
type RssMatchingArticlesPostResponse ¶ added in v0.8.0
type RssMatchingArticlesPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *map[string][]string }
func ParseRssMatchingArticlesPostResponse ¶ added in v0.8.0
func ParseRssMatchingArticlesPostResponse(rsp *http.Response) (*RssMatchingArticlesPostResponse, error)
ParseRssMatchingArticlesPostResponse parses an HTTP response from a RssMatchingArticlesPostWithResponse call
func (RssMatchingArticlesPostResponse) Status ¶ added in v0.8.0
func (r RssMatchingArticlesPostResponse) Status() string
Status returns HTTPResponse.Status
func (RssMatchingArticlesPostResponse) StatusCode ¶ added in v0.8.0
func (r RssMatchingArticlesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RssMoveItemPostFormdataRequestBody ¶ added in v0.8.0
type RssMoveItemPostFormdataRequestBody = RssMoveItemPostRequest
RssMoveItemPostFormdataRequestBody defines body for RssMoveItemPost for application/x-www-form-urlencoded ContentType.
type RssMoveItemPostRequest ¶ added in v0.8.0
type RssMoveItemPostRequest struct { // DestPath New full path of item (e.g. "The Pirate Bay") DestPath string `json:"destPath"` // ItemPath Current full path of item (e.g. "The Pirate Bay\Top100") ItemPath string `json:"itemPath"` }
RssMoveItemPostRequest defines model for rssMoveItemPost_request.
type RssMoveItemPostResponse ¶ added in v0.8.0
func ParseRssMoveItemPostResponse ¶ added in v0.8.0
func ParseRssMoveItemPostResponse(rsp *http.Response) (*RssMoveItemPostResponse, error)
ParseRssMoveItemPostResponse parses an HTTP response from a RssMoveItemPostWithResponse call
func (RssMoveItemPostResponse) Status ¶ added in v0.8.0
func (r RssMoveItemPostResponse) Status() string
Status returns HTTPResponse.Status
func (RssMoveItemPostResponse) StatusCode ¶ added in v0.8.0
func (r RssMoveItemPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RssRefreshItemPostFormdataRequestBody ¶ added in v0.8.0
type RssRefreshItemPostFormdataRequestBody = RssRefreshItemPostRequest
RssRefreshItemPostFormdataRequestBody defines body for RssRefreshItemPost for application/x-www-form-urlencoded ContentType.
type RssRefreshItemPostRequest ¶ added in v0.8.0
type RssRefreshItemPostRequest struct { // ItemPath Current full path of item (e.g. "The Pirate Bay\Top100") ItemPath string `json:"itemPath"` }
RssRefreshItemPostRequest defines model for rssRefreshItemPost_request.
type RssRefreshItemPostResponse ¶ added in v0.8.0
func ParseRssRefreshItemPostResponse ¶ added in v0.8.0
func ParseRssRefreshItemPostResponse(rsp *http.Response) (*RssRefreshItemPostResponse, error)
ParseRssRefreshItemPostResponse parses an HTTP response from a RssRefreshItemPostWithResponse call
func (RssRefreshItemPostResponse) Status ¶ added in v0.8.0
func (r RssRefreshItemPostResponse) Status() string
Status returns HTTPResponse.Status
func (RssRefreshItemPostResponse) StatusCode ¶ added in v0.8.0
func (r RssRefreshItemPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RssRemoveItemPostFormdataRequestBody ¶ added in v0.8.0
type RssRemoveItemPostFormdataRequestBody = RssRemoveItemPostRequest
RssRemoveItemPostFormdataRequestBody defines body for RssRemoveItemPost for application/x-www-form-urlencoded ContentType.
type RssRemoveItemPostRequest ¶ added in v0.8.0
type RssRemoveItemPostRequest struct { // Path Full path of removed item (e.g. "The Pirate Bay\Top100") Path string `json:"path"` }
RssRemoveItemPostRequest defines model for rssRemoveItemPost_request.
type RssRemoveItemPostResponse ¶ added in v0.8.0
func ParseRssRemoveItemPostResponse ¶ added in v0.8.0
func ParseRssRemoveItemPostResponse(rsp *http.Response) (*RssRemoveItemPostResponse, error)
ParseRssRemoveItemPostResponse parses an HTTP response from a RssRemoveItemPostWithResponse call
func (RssRemoveItemPostResponse) Status ¶ added in v0.8.0
func (r RssRemoveItemPostResponse) Status() string
Status returns HTTPResponse.Status
func (RssRemoveItemPostResponse) StatusCode ¶ added in v0.8.0
func (r RssRemoveItemPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RssRemoveRulePostFormdataRequestBody ¶ added in v0.8.0
type RssRemoveRulePostFormdataRequestBody = RssRemoveRulePostRequest
RssRemoveRulePostFormdataRequestBody defines body for RssRemoveRulePost for application/x-www-form-urlencoded ContentType.
type RssRemoveRulePostRequest ¶ added in v0.8.0
type RssRemoveRulePostRequest struct { // RuleName Rule name (e.g. "Punisher") RuleName string `json:"ruleName"` }
RssRemoveRulePostRequest defines model for rssRemoveRulePost_request.
type RssRemoveRulePostResponse ¶ added in v0.8.0
func ParseRssRemoveRulePostResponse ¶ added in v0.8.0
func ParseRssRemoveRulePostResponse(rsp *http.Response) (*RssRemoveRulePostResponse, error)
ParseRssRemoveRulePostResponse parses an HTTP response from a RssRemoveRulePostWithResponse call
func (RssRemoveRulePostResponse) Status ¶ added in v0.8.0
func (r RssRemoveRulePostResponse) Status() string
Status returns HTTPResponse.Status
func (RssRemoveRulePostResponse) StatusCode ¶ added in v0.8.0
func (r RssRemoveRulePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RssRenameRulePostFormdataRequestBody ¶ added in v0.8.0
type RssRenameRulePostFormdataRequestBody = RssRenameRulePostRequest
RssRenameRulePostFormdataRequestBody defines body for RssRenameRulePost for application/x-www-form-urlencoded ContentType.
type RssRenameRulePostRequest ¶ added in v0.8.0
type RssRenameRulePostRequest struct { // NewRuleName New rule name (e.g. "The Punisher") NewRuleName string `json:"newRuleName"` // RuleName Rule name (e.g. "Punisher") RuleName string `json:"ruleName"` }
RssRenameRulePostRequest defines model for rssRenameRulePost_request.
type RssRenameRulePostResponse ¶ added in v0.8.0
func ParseRssRenameRulePostResponse ¶ added in v0.8.0
func ParseRssRenameRulePostResponse(rsp *http.Response) (*RssRenameRulePostResponse, error)
ParseRssRenameRulePostResponse parses an HTTP response from a RssRenameRulePostWithResponse call
func (RssRenameRulePostResponse) Status ¶ added in v0.8.0
func (r RssRenameRulePostResponse) Status() string
Status returns HTTPResponse.Status
func (RssRenameRulePostResponse) StatusCode ¶ added in v0.8.0
func (r RssRenameRulePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RssRuleDef ¶ added in v0.8.0
type RssRuleDef struct { // AddPaused Add matched torrent in paused mode AddPaused *bool `json:"addPaused,omitempty"` // AffectedFeeds The feed URLs the rule applied to AffectedFeeds *[]string `json:"affectedFeeds,omitempty"` // AssignedCategory Assign category to the torrent AssignedCategory *string `json:"assignedCategory,omitempty"` // Enabled Whether the rule is enabled Enabled *bool `json:"enabled,omitempty"` // EpisodeFilter Episode filter definition EpisodeFilter *string `json:"episodeFilter,omitempty"` // IgnoreDays Ignore sunsequent rule matches IgnoreDays *float32 `json:"ignoreDays,omitempty"` // LastMatch The rule last match time LastMatch *string `json:"lastMatch,omitempty"` // MustContain The substring that the torrent name must contain MustContain *string `json:"mustContain,omitempty"` // MustNotContain The substring that the torrent name must not contain MustNotContain *string `json:"mustNotContain,omitempty"` // PreviouslyMatchedEpisodes The list of episode IDs already matched by smart filter PreviouslyMatchedEpisodes *[]int64 `json:"previouslyMatchedEpisodes,omitempty"` // SavePath Save torrent to the given directory SavePath *string `json:"savePath,omitempty"` // SmartFilter Enable smart episode filter SmartFilter *bool `json:"smartFilter,omitempty"` // UseRegex Enable regex mode in "mustContain" and "mustNotContain" UseRegex *bool `json:"useRegex,omitempty"` }
RssRuleDef JSON encoded rule definition
Rule definition is JSON encoded dictionary with the following fields: | Field | Type | Description | | ------------------------- | ------ | ------------------------------------------------------- | | enabled | bool | Whether the rule is enabled | | mustContain | string | The substring that the torrent name must contain | | mustNotContain | string | The substring that the torrent name must not contain | | useRegex | bool | Enable regex mode in "mustContain" and "mustNotContain" | | episodeFilter | string | Episode filter definition | | smartFilter | bool | Enable smart episode filter | | previouslyMatchedEpisodes | list | The list of episode IDs already matched by smart filter | | affectedFeeds | list | The feed URLs the rule applied to | | ignoreDays | number | Ignore sunsequent rule matches | | lastMatch | string | The rule last match time | | addPaused | bool | Add matched torrent in paused mode | | assignedCategory | string | Assign category to the torrent | | savePath | string | Save torrent to the given directory |
type RssRulesGetResponse ¶ added in v0.8.0
type RssRulesGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *map[string]RssRuleDef }
func ParseRssRulesGetResponse ¶ added in v0.8.0
func ParseRssRulesGetResponse(rsp *http.Response) (*RssRulesGetResponse, error)
ParseRssRulesGetResponse parses an HTTP response from a RssRulesGetWithResponse call
func (RssRulesGetResponse) Status ¶ added in v0.8.0
func (r RssRulesGetResponse) Status() string
Status returns HTTPResponse.Status
func (RssRulesGetResponse) StatusCode ¶ added in v0.8.0
func (r RssRulesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RssSetRulePostFormdataRequestBody ¶ added in v0.8.0
type RssSetRulePostFormdataRequestBody = RssSetRulePostRequest
RssSetRulePostFormdataRequestBody defines body for RssSetRulePost for application/x-www-form-urlencoded ContentType.
type RssSetRulePostRequest ¶ added in v0.8.0
type RssSetRulePostRequest struct { // RuleDef JSON encoded rule definition // // Rule definition is JSON encoded dictionary with the following fields: // | Field | Type | Description | // | ------------------------- | ------ | ------------------------------------------------------- | // | enabled | bool | Whether the rule is enabled | // | mustContain | string | The substring that the torrent name must contain | // | mustNotContain | string | The substring that the torrent name must not contain | // | useRegex | bool | Enable regex mode in "mustContain" and "mustNotContain" | // | episodeFilter | string | Episode filter definition | // | smartFilter | bool | Enable smart episode filter | // | previouslyMatchedEpisodes | list | The list of episode IDs already matched by smart filter | // | affectedFeeds | list | The feed URLs the rule applied to | // | ignoreDays | number | Ignore sunsequent rule matches | // | lastMatch | string | The rule last match time | // | addPaused | bool | Add matched torrent in paused mode | // | assignedCategory | string | Assign category to the torrent | // | savePath | string | Save torrent to the given directory | RuleDef RssRuleDef `json:"ruleDef"` // RuleName Rule name (e.g. "Punisher") RuleName string `json:"ruleName"` }
RssSetRulePostRequest defines model for rssSetRulePost_request.
type RssSetRulePostResponse ¶ added in v0.8.0
func ParseRssSetRulePostResponse ¶ added in v0.8.0
func ParseRssSetRulePostResponse(rsp *http.Response) (*RssSetRulePostResponse, error)
ParseRssSetRulePostResponse parses an HTTP response from a RssSetRulePostWithResponse call
func (RssSetRulePostResponse) Status ¶ added in v0.8.0
func (r RssSetRulePostResponse) Status() string
Status returns HTTPResponse.Status
func (RssSetRulePostResponse) StatusCode ¶ added in v0.8.0
func (r RssSetRulePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchDeletePostFormdataRequestBody ¶ added in v0.8.0
type SearchDeletePostFormdataRequestBody = SearchDeletePostRequest
SearchDeletePostFormdataRequestBody defines body for SearchDeletePost for application/x-www-form-urlencoded ContentType.
type SearchDeletePostRequest ¶ added in v0.8.0
type SearchDeletePostRequest struct { // Id ID of the search job Id float32 `json:"id"` }
SearchDeletePostRequest defines model for searchDeletePost_request.
type SearchDeletePostResponse ¶ added in v0.8.0
func ParseSearchDeletePostResponse ¶ added in v0.8.0
func ParseSearchDeletePostResponse(rsp *http.Response) (*SearchDeletePostResponse, error)
ParseSearchDeletePostResponse parses an HTTP response from a SearchDeletePostWithResponse call
func (SearchDeletePostResponse) Status ¶ added in v0.8.0
func (r SearchDeletePostResponse) Status() string
Status returns HTTPResponse.Status
func (SearchDeletePostResponse) StatusCode ¶ added in v0.8.0
func (r SearchDeletePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchEnablePluginPostFormdataRequestBody ¶ added in v0.8.0
type SearchEnablePluginPostFormdataRequestBody = SearchEnablePluginPostRequest
SearchEnablePluginPostFormdataRequestBody defines body for SearchEnablePluginPost for application/x-www-form-urlencoded ContentType.
type SearchEnablePluginPostRequest ¶ added in v0.8.0
type SearchEnablePluginPostRequest struct { // Enable Whether the plugins should be enabled Enable bool `json:"enable"` // Names Name of the plugin to enable/disable (e.g. "legittorrents"). Supports multiple names separated by `|` Names []string `json:"names"` }
SearchEnablePluginPostRequest defines model for searchEnablePluginPost_request.
type SearchEnablePluginPostResponse ¶ added in v0.8.0
func ParseSearchEnablePluginPostResponse ¶ added in v0.8.0
func ParseSearchEnablePluginPostResponse(rsp *http.Response) (*SearchEnablePluginPostResponse, error)
ParseSearchEnablePluginPostResponse parses an HTTP response from a SearchEnablePluginPostWithResponse call
func (SearchEnablePluginPostResponse) Status ¶ added in v0.8.0
func (r SearchEnablePluginPostResponse) Status() string
Status returns HTTPResponse.Status
func (SearchEnablePluginPostResponse) StatusCode ¶ added in v0.8.0
func (r SearchEnablePluginPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchInstallPluginPostFormdataRequestBody ¶ added in v0.8.0
type SearchInstallPluginPostFormdataRequestBody = SearchInstallPluginPostRequest
SearchInstallPluginPostFormdataRequestBody defines body for SearchInstallPluginPost for application/x-www-form-urlencoded ContentType.
type SearchInstallPluginPostRequest ¶ added in v0.8.0
type SearchInstallPluginPostRequest struct { // Sources Url or file path of the plugin to install (e.g. "https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/legittorrents.py"). Supports multiple sources separated by `|` Sources []string `json:"sources"` }
SearchInstallPluginPostRequest defines model for searchInstallPluginPost_request.
type SearchInstallPluginPostResponse ¶ added in v0.8.0
func ParseSearchInstallPluginPostResponse ¶ added in v0.8.0
func ParseSearchInstallPluginPostResponse(rsp *http.Response) (*SearchInstallPluginPostResponse, error)
ParseSearchInstallPluginPostResponse parses an HTTP response from a SearchInstallPluginPostWithResponse call
func (SearchInstallPluginPostResponse) Status ¶ added in v0.8.0
func (r SearchInstallPluginPostResponse) Status() string
Status returns HTTPResponse.Status
func (SearchInstallPluginPostResponse) StatusCode ¶ added in v0.8.0
func (r SearchInstallPluginPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchJob ¶ added in v0.8.0
type SearchJob struct { // Id ID of the search job Id *float32 `json:"id,omitempty"` }
SearchJob The response is a JSON object with the following fields
type SearchJobStatus ¶ added in v0.8.0
type SearchJobStatus struct { // Id ID of the search job Id *float32 `json:"id,omitempty"` // Status Current status of the search job (either `Running` or `Stopped`) Status *SearchJobStatusStatus `json:"status,omitempty"` // Total Total number of results. If the status is `Running` this number may contineu to increase Total *float32 `json:"total,omitempty"` }
SearchJobStatus defines model for SearchJobStatus.
type SearchJobStatusAllOf ¶ added in v0.8.0
type SearchJobStatusAllOf struct { // Status Current status of the search job (either `Running` or `Stopped`) Status *SearchJobStatusAllOfStatus `json:"status,omitempty"` // Total Total number of results. If the status is `Running` this number may contineu to increase Total *float32 `json:"total,omitempty"` }
SearchJobStatusAllOf defines model for SearchJobStatus_allOf.
type SearchJobStatusAllOfStatus ¶ added in v0.8.0
type SearchJobStatusAllOfStatus string
SearchJobStatusAllOfStatus Current status of the search job (either `Running` or `Stopped`)
const ( SearchJobStatusAllOfStatusRunning SearchJobStatusAllOfStatus = "Running" SearchJobStatusAllOfStatusStopped SearchJobStatusAllOfStatus = "Stopped" )
Defines values for SearchJobStatusAllOfStatus.
type SearchJobStatusStatus ¶ added in v0.8.0
type SearchJobStatusStatus string
SearchJobStatusStatus Current status of the search job (either `Running` or `Stopped`)
const ( SearchJobStatusStatusRunning SearchJobStatusStatus = "Running" SearchJobStatusStatusStopped SearchJobStatusStatus = "Stopped" )
Defines values for SearchJobStatusStatus.
type SearchPlugin ¶ added in v0.8.0
type SearchPlugin struct { // Enabled Whether the plugin is enabled Enabled *bool `json:"enabled,omitempty"` // FullName Full name of the plugin FullName *string `json:"fullName,omitempty"` // Name Short name of the plugin Name *string `json:"name,omitempty"` // SupportedCategories List of category objects SupportedCategories *[]SearchPluginSupportedCategoriesInner `json:"supportedCategories,omitempty"` // Url URL of the torrent site Url *string `json:"url,omitempty"` // Version Installed version of the plugin Version *string `json:"version,omitempty"` }
SearchPlugin defines model for SearchPlugin.
type SearchPluginSupportedCategoriesInner ¶ added in v0.8.0
type SearchPluginSupportedCategoriesInner struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` }
SearchPluginSupportedCategoriesInner defines model for SearchPlugin_supportedCategories_inner.
type SearchPluginsGetResponse ¶ added in v0.8.0
type SearchPluginsGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]SearchPlugin }
func ParseSearchPluginsGetResponse ¶ added in v0.8.0
func ParseSearchPluginsGetResponse(rsp *http.Response) (*SearchPluginsGetResponse, error)
ParseSearchPluginsGetResponse parses an HTTP response from a SearchPluginsGetWithResponse call
func (SearchPluginsGetResponse) Status ¶ added in v0.8.0
func (r SearchPluginsGetResponse) Status() string
Status returns HTTPResponse.Status
func (SearchPluginsGetResponse) StatusCode ¶ added in v0.8.0
func (r SearchPluginsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchResult ¶ added in v0.8.0
type SearchResult struct { // DescrLink URL of the torrent's description page DescrLink *string `json:"descrLink,omitempty"` // FileName Name of the file FileName *string `json:"fileName,omitempty"` // FileSize Size of the file in Bytes FileSize *float32 `json:"fileSize,omitempty"` // FileUrl Torrent download link (usually either .torrent file or magnet link) FileUrl *string `json:"fileUrl,omitempty"` // NbLeechers Number of leechers NbLeechers *float32 `json:"nbLeechers,omitempty"` // NbSeeders Number of seeders NbSeeders *float32 `json:"nbSeeders,omitempty"` // SiteUrl URL of the torrent site SiteUrl *string `json:"siteUrl,omitempty"` }
SearchResult defines model for SearchResult.
type SearchResults ¶ added in v0.8.0
type SearchResults struct { Results *[]SearchResult `json:"results,omitempty"` // Status Current status of the search job (either `Running` or `Stopped`) Status *SearchResultsStatus `json:"status,omitempty"` // Total Total number of results. If the status is `Running` this number may continue to increase Total *float32 `json:"total,omitempty"` }
SearchResults defines model for SearchResults.
type SearchResultsPostFormdataRequestBody ¶ added in v0.8.0
type SearchResultsPostFormdataRequestBody = SearchResultsPostRequest
SearchResultsPostFormdataRequestBody defines body for SearchResultsPost for application/x-www-form-urlencoded ContentType.
type SearchResultsPostRequest ¶ added in v0.8.0
type SearchResultsPostRequest struct { // Id ID of the search job Id *float32 `json:"id,omitempty"` // Limit max number of results to return. 0 or negative means no limit Limit *float32 `json:"limit,omitempty"` // Offset result to start at. A negative number means count backwards (e.g. -2 returns the 2 most recent results) Offset *float32 `json:"offset,omitempty"` }
SearchResultsPostRequest defines model for searchResultsPost_request.
type SearchResultsPostRequestAllOf ¶ added in v0.8.0
type SearchResultsPostRequestAllOf struct { // Limit max number of results to return. 0 or negative means no limit Limit *float32 `json:"limit,omitempty"` // Offset result to start at. A negative number means count backwards (e.g. -2 returns the 2 most recent results) Offset *float32 `json:"offset,omitempty"` }
SearchResultsPostRequestAllOf defines model for searchResultsPost_request_allOf.
type SearchResultsPostResponse ¶ added in v0.8.0
type SearchResultsPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SearchResults }
func ParseSearchResultsPostResponse ¶ added in v0.8.0
func ParseSearchResultsPostResponse(rsp *http.Response) (*SearchResultsPostResponse, error)
ParseSearchResultsPostResponse parses an HTTP response from a SearchResultsPostWithResponse call
func (SearchResultsPostResponse) Status ¶ added in v0.8.0
func (r SearchResultsPostResponse) Status() string
Status returns HTTPResponse.Status
func (SearchResultsPostResponse) StatusCode ¶ added in v0.8.0
func (r SearchResultsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchResultsStatus ¶ added in v0.8.0
type SearchResultsStatus string
SearchResultsStatus Current status of the search job (either `Running` or `Stopped`)
const ( Running SearchResultsStatus = "Running" Stopped SearchResultsStatus = "Stopped" )
Defines values for SearchResultsStatus.
type SearchStartPostFormdataRequestBody ¶ added in v0.8.0
type SearchStartPostFormdataRequestBody = SearchStartPostRequest
SearchStartPostFormdataRequestBody defines body for SearchStartPost for application/x-www-form-urlencoded ContentType.
type SearchStartPostRequest ¶ added in v0.8.0
type SearchStartPostRequest struct { // Category Categories to limit your search to (e.g. "legittorrents"). Available categories depend on the specified `plugins`. Also supports `all` Category []string `json:"category"` // Pattern Pattern to search for (e.g. "Ubuntu 18.04") Pattern string `json:"pattern"` // Plugins Plugins to use for searching (e.g. "legittorrents"). Supports multiple plugins separated by `|`. Also supports `all` and `enabled` Plugins []string `json:"plugins"` }
SearchStartPostRequest defines model for searchStartPost_request.
type SearchStartPostResponse ¶ added in v0.8.0
func ParseSearchStartPostResponse ¶ added in v0.8.0
func ParseSearchStartPostResponse(rsp *http.Response) (*SearchStartPostResponse, error)
ParseSearchStartPostResponse parses an HTTP response from a SearchStartPostWithResponse call
func (SearchStartPostResponse) Status ¶ added in v0.8.0
func (r SearchStartPostResponse) Status() string
Status returns HTTPResponse.Status
func (SearchStartPostResponse) StatusCode ¶ added in v0.8.0
func (r SearchStartPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchStatusPostFormdataRequestBody ¶ added in v0.8.0
type SearchStatusPostFormdataRequestBody = SearchStatusPostRequest
SearchStatusPostFormdataRequestBody defines body for SearchStatusPost for application/x-www-form-urlencoded ContentType.
type SearchStatusPostRequest ¶ added in v0.8.0
type SearchStatusPostRequest struct { // Id ID of the search job. If not specified, all search jobs are returned Id *float32 `json:"id,omitempty"` }
SearchStatusPostRequest defines model for searchStatusPost_request.
type SearchStatusPostResponse ¶ added in v0.8.0
type SearchStatusPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]SearchJobStatus }
func ParseSearchStatusPostResponse ¶ added in v0.8.0
func ParseSearchStatusPostResponse(rsp *http.Response) (*SearchStatusPostResponse, error)
ParseSearchStatusPostResponse parses an HTTP response from a SearchStatusPostWithResponse call
func (SearchStatusPostResponse) Status ¶ added in v0.8.0
func (r SearchStatusPostResponse) Status() string
Status returns HTTPResponse.Status
func (SearchStatusPostResponse) StatusCode ¶ added in v0.8.0
func (r SearchStatusPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchStopPostFormdataRequestBody ¶ added in v0.8.0
type SearchStopPostFormdataRequestBody = SearchStopPostRequest
SearchStopPostFormdataRequestBody defines body for SearchStopPost for application/x-www-form-urlencoded ContentType.
type SearchStopPostRequest ¶ added in v0.8.0
type SearchStopPostRequest = SearchJob
SearchStopPostRequest The response is a JSON object with the following fields
type SearchStopPostResponse ¶ added in v0.8.0
func ParseSearchStopPostResponse ¶ added in v0.8.0
func ParseSearchStopPostResponse(rsp *http.Response) (*SearchStopPostResponse, error)
ParseSearchStopPostResponse parses an HTTP response from a SearchStopPostWithResponse call
func (SearchStopPostResponse) Status ¶ added in v0.8.0
func (r SearchStopPostResponse) Status() string
Status returns HTTPResponse.Status
func (SearchStopPostResponse) StatusCode ¶ added in v0.8.0
func (r SearchStopPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchUninstallPluginPostFormdataRequestBody ¶ added in v0.8.0
type SearchUninstallPluginPostFormdataRequestBody = SearchUninstallPluginPostRequest
SearchUninstallPluginPostFormdataRequestBody defines body for SearchUninstallPluginPost for application/x-www-form-urlencoded ContentType.
type SearchUninstallPluginPostRequest ¶ added in v0.8.0
type SearchUninstallPluginPostRequest struct { // Names Name of the plugin to uninstall (e.g. "legittorrents"). Supports multiple names separated by `|` Names []string `json:"names"` }
SearchUninstallPluginPostRequest defines model for searchUninstallPluginPost_request.
type SearchUninstallPluginPostResponse ¶ added in v0.8.0
func ParseSearchUninstallPluginPostResponse ¶ added in v0.8.0
func ParseSearchUninstallPluginPostResponse(rsp *http.Response) (*SearchUninstallPluginPostResponse, error)
ParseSearchUninstallPluginPostResponse parses an HTTP response from a SearchUninstallPluginPostWithResponse call
func (SearchUninstallPluginPostResponse) Status ¶ added in v0.8.0
func (r SearchUninstallPluginPostResponse) Status() string
Status returns HTTPResponse.Status
func (SearchUninstallPluginPostResponse) StatusCode ¶ added in v0.8.0
func (r SearchUninstallPluginPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchUpdatePluginsPostResponse ¶ added in v0.8.0
func ParseSearchUpdatePluginsPostResponse ¶ added in v0.8.0
func ParseSearchUpdatePluginsPostResponse(rsp *http.Response) (*SearchUpdatePluginsPostResponse, error)
ParseSearchUpdatePluginsPostResponse parses an HTTP response from a SearchUpdatePluginsPostWithResponse call
func (SearchUpdatePluginsPostResponse) Status ¶ added in v0.8.0
func (r SearchUpdatePluginsPostResponse) Status() string
Status returns HTTPResponse.Status
func (SearchUpdatePluginsPostResponse) StatusCode ¶ added in v0.8.0
func (r SearchUpdatePluginsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetPreferences ¶ added in v0.8.0
type SetPreferences struct { // AddTrackers List of trackers to add to new torrent AddTrackers *string `json:"add_trackers,omitempty"` // AddTrackersEnabled Enable automatic adding of trackers to new torrents AddTrackersEnabled *bool `json:"add_trackers_enabled,omitempty"` // AltDlLimit Alternative global download speed limit in KiB/s AltDlLimit *int64 `json:"alt_dl_limit,omitempty"` // AltUpLimit Alternative global upload speed limit in KiB/s AltUpLimit *int64 `json:"alt_up_limit,omitempty"` // AlternativeWebuiEnabled True if an alternative WebUI should be used AlternativeWebuiEnabled *bool `json:"alternative_webui_enabled,omitempty"` // AlternativeWebuiPath File path to the alternative WebUI AlternativeWebuiPath *string `json:"alternative_webui_path,omitempty"` // AnnounceIp TODO AnnounceIp *string `json:"announce_ip,omitempty"` // AnnounceToAllTiers True always announce to all tiers AnnounceToAllTiers *bool `json:"announce_to_all_tiers,omitempty"` // AnnounceToAllTrackers True always announce to all trackers in a tier AnnounceToAllTrackers *bool `json:"announce_to_all_trackers,omitempty"` // AnonymousMode If true anonymous mode will be enabled; read more [here](https://github.com/qbittorrent/qBittorrent/wiki/Anonymous-Mode); this option is only available in qBittorent built against libtorrent version 0.16.X and higher AnonymousMode *bool `json:"anonymous_mode,omitempty"` // AsyncIoThreads Number of asynchronous I/O threads AsyncIoThreads *int64 `json:"async_io_threads,omitempty"` // AutoDeleteMode TODO AutoDeleteMode *int `json:"auto_delete_mode,omitempty"` // AutoTmmEnabled True if Automatic Torrent Management is enabled by default AutoTmmEnabled *bool `json:"auto_tmm_enabled,omitempty"` // AutorunEnabled True if external program should be run after torrent has finished downloading AutorunEnabled *bool `json:"autorun_enabled,omitempty"` // AutorunProgram Program path/name/arguments to run if `autorun_enabled` is enabled; path is separated by slashes; you can use `%f` and `%n` arguments, which will be expanded by qBittorent as path_to_torrent_file and torrent_name (from the GUI; not the .torrent file name) respectively AutorunProgram *string `json:"autorun_program,omitempty"` // BannedIPs List of banned IPs BannedIPs *string `json:"banned_IPs,omitempty"` // BittorrentProtocol Bittorrent Protocol to use (see list of possible values below) // // | Value | Description | // | ----- | ----------- | // | 0 | TCP and μTP | // | 1 | TCP | // | 2 | μTP | BittorrentProtocol *SetPreferencesBittorrentProtocol `json:"bittorrent_protocol,omitempty"` // BypassAuthSubnetWhitelist (White)list of ipv4/ipv6 subnets for which webui authentication should be bypassed; list entries are separated by commas BypassAuthSubnetWhitelist *[]string `json:"bypass_auth_subnet_whitelist,omitempty"` // BypassAuthSubnetWhitelistEnabled True if webui authentication should be bypassed for clients whose ip resides within (at least) one of the subnets on the whitelist BypassAuthSubnetWhitelistEnabled *bool `json:"bypass_auth_subnet_whitelist_enabled,omitempty"` // BypassLocalAuth True if authentication challenge for loopback address (127.0.0.1) should be disabled BypassLocalAuth *bool `json:"bypass_local_auth,omitempty"` // CategoryChangedTmmEnabled True if torrent should be relocated when its Category's save path changes CategoryChangedTmmEnabled *bool `json:"category_changed_tmm_enabled,omitempty"` // CheckingMemoryUse Outstanding memory when checking torrents in MiB CheckingMemoryUse *int64 `json:"checking_memory_use,omitempty"` // CreateSubfolderEnabled True if a subfolder should be created when adding a torrent CreateSubfolderEnabled *bool `json:"create_subfolder_enabled,omitempty"` // CurrentInterfaceAddress IP Address to bind to. Empty String means All addresses CurrentInterfaceAddress *string `json:"current_interface_address,omitempty"` // CurrentNetworkInterface Network Interface used CurrentNetworkInterface *string `json:"current_network_interface,omitempty"` // Dht True if DHT is enabled Dht *bool `json:"dht,omitempty"` // DiskCache Disk cache used in MiB DiskCache *int64 `json:"disk_cache,omitempty"` // DiskCacheTtl Disk cache expiry interval in seconds DiskCacheTtl *int64 `json:"disk_cache_ttl,omitempty"` // DlLimit Global download speed limit in KiB/s; `-1` means no limit is applied DlLimit *int64 `json:"dl_limit,omitempty"` // DontCountSlowTorrents If true torrents w/o any activity (stalled ones) will not be counted towards `max_active_*` limits; see [dont_count_slow_torrents](https://www.libtorrent.org/reference-Settings.html#dont_count_slow_torrents) for more information DontCountSlowTorrents *bool `json:"dont_count_slow_torrents,omitempty"` // DyndnsDomain Your DDNS domain name DyndnsDomain *string `json:"dyndns_domain,omitempty"` // DyndnsEnabled True if server DNS should be updated dynamically DyndnsEnabled *bool `json:"dyndns_enabled,omitempty"` // DyndnsPassword Password for DDNS service DyndnsPassword *string `json:"dyndns_password,omitempty"` // DyndnsService See list of possible values here below // // | Value | Description | // | ----- | ----------- | // | 0 | Use DyDNS | // | 1 | Use NOIP | DyndnsService *SetPreferencesDyndnsService `json:"dyndns_service,omitempty"` // DyndnsUsername Username for DDNS service DyndnsUsername *string `json:"dyndns_username,omitempty"` // EmbeddedTrackerPort Port used for embedded tracker EmbeddedTrackerPort *int32 `json:"embedded_tracker_port,omitempty"` // EnableCoalesceReadWrite True enables coalesce reads & writes EnableCoalesceReadWrite *bool `json:"enable_coalesce_read_write,omitempty"` // EnableEmbeddedTracker True enables embedded tracker EnableEmbeddedTracker *bool `json:"enable_embedded_tracker,omitempty"` // EnableMultiConnectionsFromSameIp True allows multiple connections from the same IP address EnableMultiConnectionsFromSameIp *bool `json:"enable_multi_connections_from_same_ip,omitempty"` // EnableOsCache True enables os cache EnableOsCache *bool `json:"enable_os_cache,omitempty"` // EnablePieceExtentAffinity True if the advanced libtorrent option `piece_extent_affinity` is enabled EnablePieceExtentAffinity *bool `json:"enable_piece_extent_affinity,omitempty"` // EnableUploadSuggestions True enables sending of upload piece suggestions EnableUploadSuggestions *bool `json:"enable_upload_suggestions,omitempty"` // Encryption See list of possible values here below // // | Value | Description | // | ----- | -------------------- | // | 0 | Prefer encryption | // | 1 | Force encryption on | // | 2 | Force encryption off | Encryption *SetPreferencesEncryption `json:"encryption,omitempty"` // ExportDir Path to directory to copy .torrent files to. Slashes are used as path separators ExportDir *string `json:"export_dir,omitempty"` // ExportDirFin Path to directory to copy .torrent files of completed downloads to. Slashes are used as path separators ExportDirFin *string `json:"export_dir_fin,omitempty"` // FilePoolSize File pool size FilePoolSize *int64 `json:"file_pool_size,omitempty"` // IncompleteFilesExt True if ".!qB" should be appended to incomplete files IncompleteFilesExt *bool `json:"incomplete_files_ext,omitempty"` // IpFilterEnabled True if external IP filter should be enabled IpFilterEnabled *bool `json:"ip_filter_enabled,omitempty"` // IpFilterPath Path to IP filter file (.dat, .p2p, .p2b files are supported); path is separated by slashes IpFilterPath *string `json:"ip_filter_path,omitempty"` // IpFilterTrackers True if IP filters are applied to trackers IpFilterTrackers *bool `json:"ip_filter_trackers,omitempty"` // LimitLanPeers True if `[du]l_limit` should be applied to peers on the LAN LimitLanPeers *bool `json:"limit_lan_peers,omitempty"` // LimitTcpOverhead True if `[du]l_limit` should be applied to estimated TCP overhead (service data: e.g. packet headers) LimitTcpOverhead *bool `json:"limit_tcp_overhead,omitempty"` // LimitUtpRate True if `[du]l_limit` should be applied to uTP connections; this option is only available in qBittorent built against libtorrent version 0.16.X and higher LimitUtpRate *bool `json:"limit_utp_rate,omitempty"` // ListenPort Port for incoming connections ListenPort *int32 `json:"listen_port,omitempty"` // Locale Currently selected language (e.g. en_GB for English) Locale *string `json:"locale,omitempty"` // Lsd True if LSD is enabled Lsd *bool `json:"lsd,omitempty"` // MailNotificationAuthEnabled True if smtp server requires authentication MailNotificationAuthEnabled *bool `json:"mail_notification_auth_enabled,omitempty"` // MailNotificationEmail e-mail to send notifications to MailNotificationEmail *string `json:"mail_notification_email,omitempty"` // MailNotificationEnabled True if e-mail notification should be enabled MailNotificationEnabled *bool `json:"mail_notification_enabled,omitempty"` // MailNotificationPassword Password for smtp authentication MailNotificationPassword *string `json:"mail_notification_password,omitempty"` // MailNotificationSender e-mail where notifications should originate from MailNotificationSender *string `json:"mail_notification_sender,omitempty"` // MailNotificationSmtp smtp server for e-mail notifications MailNotificationSmtp *string `json:"mail_notification_smtp,omitempty"` // MailNotificationSslEnabled True if smtp server requires SSL connection MailNotificationSslEnabled *bool `json:"mail_notification_ssl_enabled,omitempty"` // MailNotificationUsername Username for smtp authentication MailNotificationUsername *string `json:"mail_notification_username,omitempty"` // MaxActiveDownloads Maximum number of active simultaneous downloads MaxActiveDownloads *int64 `json:"max_active_downloads,omitempty"` // MaxActiveTorrents Maximum number of active simultaneous downloads and uploads MaxActiveTorrents *int64 `json:"max_active_torrents,omitempty"` // MaxActiveUploads Maximum number of active simultaneous uploads MaxActiveUploads *int64 `json:"max_active_uploads,omitempty"` // MaxConnec Maximum global number of simultaneous connections MaxConnec *int64 `json:"max_connec,omitempty"` // MaxConnecPerTorrent Maximum number of simultaneous connections per torrent MaxConnecPerTorrent *int64 `json:"max_connec_per_torrent,omitempty"` // MaxRatio Get the global share ratio limit MaxRatio *float32 `json:"max_ratio,omitempty"` // MaxRatioAct Action performed when a torrent reaches the maximum share ratio. See list of possible values here below. // // | Value | Description | // | ----- | -------------- | // | 0 | Pause torrent | // | 1 | Remove torrent | MaxRatioAct *SetPreferencesMaxRatioAct `json:"max_ratio_act,omitempty"` // MaxRatioEnabled True if share ratio limit is enabled MaxRatioEnabled *bool `json:"max_ratio_enabled,omitempty"` // MaxSeedingTime Number of minutes to seed a torrent MaxSeedingTime *int64 `json:"max_seeding_time,omitempty"` // MaxSeedingTimeEnabled True enables max seeding time MaxSeedingTimeEnabled *bool `json:"max_seeding_time_enabled,omitempty"` // MaxUploads Maximum number of upload slots MaxUploads *int64 `json:"max_uploads,omitempty"` // MaxUploadsPerTorrent Maximum number of upload slots per torrent MaxUploadsPerTorrent *int64 `json:"max_uploads_per_torrent,omitempty"` // OutgoingPortsMax Maximal outgoing port (0: Disabled) OutgoingPortsMax *int32 `json:"outgoing_ports_max,omitempty"` // OutgoingPortsMin Minimal outgoing port (0: Disabled) OutgoingPortsMin *int32 `json:"outgoing_ports_min,omitempty"` // Pex True if PeX is enabled Pex *bool `json:"pex,omitempty"` // PreallocateAll True if disk space should be pre-allocated for all files PreallocateAll *bool `json:"preallocate_all,omitempty"` // ProxyAuthEnabled True proxy requires authentication; doesn't apply to SOCKS4 proxies ProxyAuthEnabled *bool `json:"proxy_auth_enabled,omitempty"` // ProxyIp Proxy IP address or domain name ProxyIp *string `json:"proxy_ip,omitempty"` // ProxyPassword Password for proxy authentication ProxyPassword *string `json:"proxy_password,omitempty"` // ProxyPeerConnections True if peer and web seed connections should be proxified; this option will have any effect only in qBittorent built against libtorrent version 0.16.X and higher ProxyPeerConnections *bool `json:"proxy_peer_connections,omitempty"` // ProxyPort Proxy port ProxyPort *int32 `json:"proxy_port,omitempty"` // ProxyTorrentsOnly True if proxy is only used for torrents ProxyTorrentsOnly *bool `json:"proxy_torrents_only,omitempty"` // ProxyType See list of possible values here below // // | Value | Description | // | ----- | ----------------------------------- | // | -1 | Proxy is disabled | // | 0 | Prefer encryption | // | 1 | HTTP proxy without authentication | // | 2 | SOCKS5 proxy without authentication | // | 3 | HTTP proxy with authentication | // | 4 | SOCKS5 proxy with authentication | // | 5 | SOCKS4 proxy without authentication | ProxyType *SetPreferencesProxyType `json:"proxy_type,omitempty"` // ProxyUsername Username for proxy authentication ProxyUsername *string `json:"proxy_username,omitempty"` // QueueingEnabled True if torrent queuing is enabled QueueingEnabled *bool `json:"queueing_enabled,omitempty"` // RandomPort True if the port is randomly selected RandomPort *bool `json:"random_port,omitempty"` // RecheckCompletedTorrents True rechecks torrents on completion RecheckCompletedTorrents *bool `json:"recheck_completed_torrents,omitempty"` // ResolvePeerCountries True resolves peer countries ResolvePeerCountries *bool `json:"resolve_peer_countries,omitempty"` // RssAutoDownloadingEnabled Enable auto-downloading of torrents from the RSS feeds RssAutoDownloadingEnabled *bool `json:"rss_auto_downloading_enabled,omitempty"` // RssDownloadRepackProperEpisodes For API ≥ v2.5.1: Enable downloading of repack/proper Episodes RssDownloadRepackProperEpisodes *bool `json:"rss_download_repack_proper_episodes,omitempty"` // RssMaxArticlesPerFeed Max stored articles per RSS feed RssMaxArticlesPerFeed *int64 `json:"rss_max_articles_per_feed,omitempty"` // RssProcessingEnabled Enable processing of RSS feeds RssProcessingEnabled *bool `json:"rss_processing_enabled,omitempty"` // RssRefreshInterval RSS refresh interval RssRefreshInterval *int64 `json:"rss_refresh_interval,omitempty"` // RssSmartEpisodeFilters For API ≥ v2.5.1: List of RSS Smart Episode Filters RssSmartEpisodeFilters *string `json:"rss_smart_episode_filters,omitempty"` // SavePath Default save path for torrents, separated by slashes SavePath *string `json:"save_path,omitempty"` // SavePathChangedTmmEnabled True if torrent should be relocated when the default save path changes SavePathChangedTmmEnabled *bool `json:"save_path_changed_tmm_enabled,omitempty"` // SaveResumeDataInterval Save resume data interval in min SaveResumeDataInterval *int64 `json:"save_resume_data_interval,omitempty"` // ScanDirs Property: directory to watch for torrent files, value: where torrents loaded from this directory should be downloaded to (see list of possible values below). Slashes are used as path separators; multiple key/value pairs can be specified // // | Value | Description | // | ---------------------- | --------------------------------- | // | 0 | Download to the monitored folder | // | 1 | Download to the default save path | // | "/path/to/download/to" | Download to this path | ScanDirs *map[string]PreferencesScanDirsValue `json:"scan_dirs,omitempty"` // ScheduleFromHour Scheduler starting hour ScheduleFromHour *int32 `json:"schedule_from_hour,omitempty"` // ScheduleFromMin Scheduler starting minute ScheduleFromMin *int32 `json:"schedule_from_min,omitempty"` // ScheduleToHour Scheduler ending hour ScheduleToHour *int32 `json:"schedule_to_hour,omitempty"` // ScheduleToMin Scheduler ending minute ScheduleToMin *int32 `json:"schedule_to_min,omitempty"` // SchedulerDays Scheduler days. See possible values here below // // | Value | Description | // | ----- | --------------- | // | 0 | Every day | // | 1 | Every weekday | // | 2 | Every weekend | // | 3 | Every Monday | // | 4 | Every Tuesday | // | 5 | Every Wednesday | // | 6 | Every Thursday | // | 7 | Every Friday | // | 8 | Every Saturday | // | 9 | Every Sunday | SchedulerDays *SetPreferencesSchedulerDays `json:"scheduler_days,omitempty"` // SchedulerEnabled True if alternative limits should be applied according to schedule SchedulerEnabled *bool `json:"scheduler_enabled,omitempty"` // SendBufferLowWatermark Send buffer low watermark in KiB SendBufferLowWatermark *int64 `json:"send_buffer_low_watermark,omitempty"` // SendBufferWatermark Send buffer watermark in KiB SendBufferWatermark *int64 `json:"send_buffer_watermark,omitempty"` // SendBufferWatermarkFactor Send buffer watermark factor in percent SendBufferWatermarkFactor *int32 `json:"send_buffer_watermark_factor,omitempty"` // SlowTorrentDlRateThreshold Download rate in KiB/s for a torrent to be considered "slow" SlowTorrentDlRateThreshold *int64 `json:"slow_torrent_dl_rate_threshold,omitempty"` // SlowTorrentInactiveTimer Seconds a torrent should be inactive before considered "slow" SlowTorrentInactiveTimer *int64 `json:"slow_torrent_inactive_timer,omitempty"` // SlowTorrentUlRateThreshold Upload rate in KiB/s for a torrent to be considered "slow" SlowTorrentUlRateThreshold *int64 `json:"slow_torrent_ul_rate_threshold,omitempty"` // SocketBacklogSize Socket backlog size SocketBacklogSize *int64 `json:"socket_backlog_size,omitempty"` // SslCert For API < v2.0.1: SSL certificate contents (this is a not a path) SslCert *string `json:"ssl_cert,omitempty"` // SslKey For API < v2.0.1: SSL keyfile contents (this is a not a path) SslKey *string `json:"ssl_key,omitempty"` // StartPausedEnabled True if torrents should be added in a Paused state StartPausedEnabled *bool `json:"start_paused_enabled,omitempty"` // StopTrackerTimeout Timeout in seconds for a `stopped` announce request to trackers StopTrackerTimeout *int64 `json:"stop_tracker_timeout,omitempty"` // TempPath Path for incomplete torrents, separated by slashes TempPath *string `json:"temp_path,omitempty"` // TempPathEnabled True if folder for incomplete torrents is enabled TempPathEnabled *bool `json:"temp_path_enabled,omitempty"` // TorrentChangedTmmEnabled True if torrent should be relocated when its Category changes TorrentChangedTmmEnabled *bool `json:"torrent_changed_tmm_enabled,omitempty"` // UpLimit Global upload speed limit in KiB/s; `-1` means no limit is applied UpLimit *int64 `json:"up_limit,omitempty"` // UploadChokingAlgorithm Upload choking algorithm used (see list of possible values below) // // | Value | Description | // | ----- | -------------- | // | 0 | Round-robin | // | 1 | Fastest upload | // | 2 | Anti-leech | UploadChokingAlgorithm *SetPreferencesUploadChokingAlgorithm `json:"upload_choking_algorithm,omitempty"` // UploadSlotsBehavior Upload slots behavior used (see list of possible values below) // // | Value | Description | // | ----- | ----------------- | // | 0 | Fixed slots | // | 1 | Upload rate based | UploadSlotsBehavior *SetPreferencesUploadSlotsBehavior `json:"upload_slots_behavior,omitempty"` // Upnp True if UPnP/NAT-PMP is enabled Upnp *bool `json:"upnp,omitempty"` // UpnpLeaseDuration UPnP lease duration (0: Permanent lease) UpnpLeaseDuration *int64 `json:"upnp_lease_duration,omitempty"` // UseHttps True if WebUI HTTPS access is enabled UseHttps *bool `json:"use_https,omitempty"` // UtpTcpMixedMode μTP-TCP mixed mode algorithm (see list of possible values below) // // | Value | Description | // | ----- | ----------------- | // | 0 | Prefer TCP | // | 1 | Peer proportional | UtpTcpMixedMode *SetPreferencesUtpTcpMixedMode `json:"utp_tcp_mixed_mode,omitempty"` // WebUiAddress IP address to use for the WebUI WebUiAddress *string `json:"web_ui_address,omitempty"` // WebUiBanDuration WebUI access ban duration in seconds WebUiBanDuration *int64 `json:"web_ui_ban_duration,omitempty"` // WebUiClickjackingProtectionEnabled True if WebUI clickjacking protection is enabled WebUiClickjackingProtectionEnabled *bool `json:"web_ui_clickjacking_protection_enabled,omitempty"` // WebUiCsrfProtectionEnabled True if WebUI CSRF protection is enabled WebUiCsrfProtectionEnabled *bool `json:"web_ui_csrf_protection_enabled,omitempty"` // WebUiCustomHttpHeaders For API ≥ v2.5.1: List of custom http headers WebUiCustomHttpHeaders *string `json:"web_ui_custom_http_headers,omitempty"` // WebUiDomainList Comma-separated list of domains to accept when performing Host header validation WebUiDomainList *[]string `json:"web_ui_domain_list,omitempty"` // WebUiHostHeaderValidationEnabled True if WebUI host header validation is enabled WebUiHostHeaderValidationEnabled *bool `json:"web_ui_host_header_validation_enabled,omitempty"` // WebUiHttpsCertPath For API ≥ v2.0.1: Path to SSL certificate WebUiHttpsCertPath *string `json:"web_ui_https_cert_path,omitempty"` // WebUiHttpsKeyPath For API ≥ v2.0.1: Path to SSL keyfile WebUiHttpsKeyPath *string `json:"web_ui_https_key_path,omitempty"` // WebUiMaxAuthFailCount Maximum number of authentication failures before WebUI access ban WebUiMaxAuthFailCount *int64 `json:"web_ui_max_auth_fail_count,omitempty"` // WebUiPassword For API ≥ v2.3.0: Plaintext WebUI password, not readable, write-only. For API < v2.3.0: MD5 hash of WebUI password, hash is generated from the following string: `username:Web UI Access:plain_text_web_ui_password` WebUiPassword *string `json:"web_ui_password,omitempty"` // WebUiPort WebUI port WebUiPort *int32 `json:"web_ui_port,omitempty"` // WebUiSecureCookieEnabled True if WebUI cookie `Secure` flag is enabled WebUiSecureCookieEnabled *bool `json:"web_ui_secure_cookie_enabled,omitempty"` // WebUiSessionTimeout Seconds until WebUI is automatically signed off WebUiSessionTimeout *int64 `json:"web_ui_session_timeout,omitempty"` // WebUiUpnp True if UPnP is used for the WebUI port WebUiUpnp *bool `json:"web_ui_upnp,omitempty"` // WebUiUseCustomHttpHeadersEnabled For API ≥ v2.5.1: Enable custom http headers WebUiUseCustomHttpHeadersEnabled *bool `json:"web_ui_use_custom_http_headers_enabled,omitempty"` // WebUiUsername WebUI username WebUiUsername *string `json:"web_ui_username,omitempty"` }
SetPreferences defines model for SetPreferences.
type SetPreferencesAllOf ¶ added in v0.8.0
type SetPreferencesAllOf struct { // WebUiPassword For API ≥ v2.3.0: Plaintext WebUI password, not readable, write-only. For API < v2.3.0: MD5 hash of WebUI password, hash is generated from the following string: `username:Web UI Access:plain_text_web_ui_password` WebUiPassword *string `json:"web_ui_password,omitempty"` }
SetPreferencesAllOf defines model for SetPreferences_allOf.
type SetPreferencesBittorrentProtocol ¶ added in v0.8.0
type SetPreferencesBittorrentProtocol int32
SetPreferencesBittorrentProtocol Bittorrent Protocol to use (see list of possible values below)
| Value | Description | | ----- | ----------- | | 0 | TCP and μTP | | 1 | TCP | | 2 | μTP |
const ( SetPreferencesBittorrentProtocolN0 SetPreferencesBittorrentProtocol = 0 SetPreferencesBittorrentProtocolN1 SetPreferencesBittorrentProtocol = 1 SetPreferencesBittorrentProtocolN2 SetPreferencesBittorrentProtocol = 2 )
Defines values for SetPreferencesBittorrentProtocol.
type SetPreferencesDyndnsService ¶ added in v0.8.0
type SetPreferencesDyndnsService int32
SetPreferencesDyndnsService See list of possible values here below
| Value | Description | | ----- | ----------- | | 0 | Use DyDNS | | 1 | Use NOIP |
const ( SetPreferencesDyndnsServiceN0 SetPreferencesDyndnsService = 0 SetPreferencesDyndnsServiceN1 SetPreferencesDyndnsService = 1 )
Defines values for SetPreferencesDyndnsService.
type SetPreferencesEncryption ¶ added in v0.8.0
type SetPreferencesEncryption int32
SetPreferencesEncryption See list of possible values here below
| Value | Description | | ----- | -------------------- | | 0 | Prefer encryption | | 1 | Force encryption on | | 2 | Force encryption off |
const ( SetPreferencesEncryptionN0 SetPreferencesEncryption = 0 SetPreferencesEncryptionN1 SetPreferencesEncryption = 1 SetPreferencesEncryptionN2 SetPreferencesEncryption = 2 )
Defines values for SetPreferencesEncryption.
type SetPreferencesMaxRatioAct ¶ added in v0.8.0
type SetPreferencesMaxRatioAct int64
SetPreferencesMaxRatioAct Action performed when a torrent reaches the maximum share ratio. See list of possible values here below.
| Value | Description | | ----- | -------------- | | 0 | Pause torrent | | 1 | Remove torrent |
const ( SetPreferencesMaxRatioActN0 SetPreferencesMaxRatioAct = 0 SetPreferencesMaxRatioActN1 SetPreferencesMaxRatioAct = 1 )
Defines values for SetPreferencesMaxRatioAct.
type SetPreferencesProxyType ¶ added in v0.8.0
type SetPreferencesProxyType int32
SetPreferencesProxyType See list of possible values here below
| Value | Description | | ----- | ----------------------------------- | | -1 | Proxy is disabled | | 0 | Prefer encryption | | 1 | HTTP proxy without authentication | | 2 | SOCKS5 proxy without authentication | | 3 | HTTP proxy with authentication | | 4 | SOCKS5 proxy with authentication | | 5 | SOCKS4 proxy without authentication |
const ( SetPreferencesProxyTypeMinus1 SetPreferencesProxyType = -1 SetPreferencesProxyTypeN0 SetPreferencesProxyType = 0 SetPreferencesProxyTypeN1 SetPreferencesProxyType = 1 SetPreferencesProxyTypeN2 SetPreferencesProxyType = 2 SetPreferencesProxyTypeN3 SetPreferencesProxyType = 3 SetPreferencesProxyTypeN4 SetPreferencesProxyType = 4 SetPreferencesProxyTypeN5 SetPreferencesProxyType = 5 )
Defines values for SetPreferencesProxyType.
type SetPreferencesSchedulerDays ¶ added in v0.8.0
type SetPreferencesSchedulerDays int32
SetPreferencesSchedulerDays Scheduler days. See possible values here below
| Value | Description | | ----- | --------------- | | 0 | Every day | | 1 | Every weekday | | 2 | Every weekend | | 3 | Every Monday | | 4 | Every Tuesday | | 5 | Every Wednesday | | 6 | Every Thursday | | 7 | Every Friday | | 8 | Every Saturday | | 9 | Every Sunday |
const ( SetPreferencesSchedulerDaysN0 SetPreferencesSchedulerDays = 0 SetPreferencesSchedulerDaysN1 SetPreferencesSchedulerDays = 1 SetPreferencesSchedulerDaysN2 SetPreferencesSchedulerDays = 2 SetPreferencesSchedulerDaysN3 SetPreferencesSchedulerDays = 3 SetPreferencesSchedulerDaysN4 SetPreferencesSchedulerDays = 4 SetPreferencesSchedulerDaysN5 SetPreferencesSchedulerDays = 5 SetPreferencesSchedulerDaysN6 SetPreferencesSchedulerDays = 6 SetPreferencesSchedulerDaysN7 SetPreferencesSchedulerDays = 7 SetPreferencesSchedulerDaysN8 SetPreferencesSchedulerDays = 8 SetPreferencesSchedulerDaysN9 SetPreferencesSchedulerDays = 9 )
Defines values for SetPreferencesSchedulerDays.
type SetPreferencesUploadChokingAlgorithm ¶ added in v0.8.0
type SetPreferencesUploadChokingAlgorithm int32
SetPreferencesUploadChokingAlgorithm Upload choking algorithm used (see list of possible values below)
| Value | Description | | ----- | -------------- | | 0 | Round-robin | | 1 | Fastest upload | | 2 | Anti-leech |
const ( SetPreferencesUploadChokingAlgorithmN0 SetPreferencesUploadChokingAlgorithm = 0 SetPreferencesUploadChokingAlgorithmN1 SetPreferencesUploadChokingAlgorithm = 1 SetPreferencesUploadChokingAlgorithmN2 SetPreferencesUploadChokingAlgorithm = 2 )
Defines values for SetPreferencesUploadChokingAlgorithm.
type SetPreferencesUploadSlotsBehavior ¶ added in v0.8.0
type SetPreferencesUploadSlotsBehavior int32
SetPreferencesUploadSlotsBehavior Upload slots behavior used (see list of possible values below)
| Value | Description | | ----- | ----------------- | | 0 | Fixed slots | | 1 | Upload rate based |
const ( SetPreferencesUploadSlotsBehaviorN0 SetPreferencesUploadSlotsBehavior = 0 SetPreferencesUploadSlotsBehaviorN1 SetPreferencesUploadSlotsBehavior = 1 )
Defines values for SetPreferencesUploadSlotsBehavior.
type SetPreferencesUtpTcpMixedMode ¶ added in v0.8.0
type SetPreferencesUtpTcpMixedMode int32
SetPreferencesUtpTcpMixedMode μTP-TCP mixed mode algorithm (see list of possible values below)
| Value | Description | | ----- | ----------------- | | 0 | Prefer TCP | | 1 | Peer proportional |
const ( SetPreferencesUtpTcpMixedModeN0 SetPreferencesUtpTcpMixedMode = 0 SetPreferencesUtpTcpMixedModeN1 SetPreferencesUtpTcpMixedMode = 1 )
Defines values for SetPreferencesUtpTcpMixedMode.
type SetTorrentsLimit ¶ added in v0.8.0
type SetTorrentsLimit struct { Hashes []string `json:"hashes"` Limit *int64 `json:"limit,omitempty"` }
SetTorrentsLimit defines model for SetTorrentsLimit.
type SetTorrentsLimitAllOf ¶ added in v0.8.0
type SetTorrentsLimitAllOf struct {
Limit *int64 `json:"limit,omitempty"`
}
SetTorrentsLimitAllOf defines model for SetTorrentsLimit_allOf.
type SetTorrentsValue ¶ added in v0.8.0
type SetTorrentsValue struct { Hashes []string `json:"hashes"` // Value `value` is a boolean, affects the torrents listed in `hashes`, default is `false` Value *bool `json:"value,omitempty"` }
SetTorrentsValue defines model for SetTorrentsValue.
type SetTorrentsValueAllOf ¶ added in v0.8.0
type SetTorrentsValueAllOf struct { // Value `value` is a boolean, affects the torrents listed in `hashes`, default is `false` Value *bool `json:"value,omitempty"` }
SetTorrentsValueAllOf defines model for SetTorrentsValue_allOf.
type Sync ¶
type Sync struct { Rid int `json:"rid"` FullUpdate bool `json:"full_update"` Torrents map[string]Torrent `json:"torrents"` //Categories []string `json:"categories"` ServerState struct { ConnectionStatus string `json:"connection_status"` DhtNodes int `json:"dht_nodes"` DlInfoData int `json:"dl_info_data"` DlInfoSpeed int `json:"dl_info_speed"` DlRateLimit int `json:"dl_rate_limit"` Queueing bool `json:"queueing"` RefreshInterval int `json:"refresh_interval"` UpInfoData int `json:"up_info_data"` UpInfoSpeed int `json:"up_info_speed"` UpRateLimit int `json:"up_rate_limit"` UseAltSpeedLimits bool `json:"use_alt_speed_limits"` } `json:"server_state"` }
Sync holds the sync response struct which contains the server state and a map of infohashes to Torrents
type SyncMaindataPostFormdataRequestBody ¶ added in v0.8.0
type SyncMaindataPostFormdataRequestBody = SyncMaindataPostRequest
SyncMaindataPostFormdataRequestBody defines body for SyncMaindataPost for application/x-www-form-urlencoded ContentType.
type SyncMaindataPostRequest ¶ added in v0.8.0
type SyncMaindataPostRequest struct { // Rid Response ID. If not provided, `rid=0` will be assumed. If the given `rid` is different from the one of last server reply, `full_update` will be `true` (see the server reply details for more info) Rid *int64 `json:"rid,omitempty"` }
SyncMaindataPostRequest defines model for syncMaindataPost_request.
type SyncMaindataPostResponse ¶ added in v0.8.0
func ParseSyncMaindataPostResponse ¶ added in v0.8.0
func ParseSyncMaindataPostResponse(rsp *http.Response) (*SyncMaindataPostResponse, error)
ParseSyncMaindataPostResponse parses an HTTP response from a SyncMaindataPostWithResponse call
func (SyncMaindataPostResponse) Status ¶ added in v0.8.0
func (r SyncMaindataPostResponse) Status() string
Status returns HTTPResponse.Status
func (SyncMaindataPostResponse) StatusCode ¶ added in v0.8.0
func (r SyncMaindataPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SyncTorrentPeersPostFormdataRequestBody ¶ added in v0.8.0
type SyncTorrentPeersPostFormdataRequestBody = SyncTorrentPeersPostRequest
SyncTorrentPeersPostFormdataRequestBody defines body for SyncTorrentPeersPost for application/x-www-form-urlencoded ContentType.
type SyncTorrentPeersPostRequest ¶ added in v0.8.0
type SyncTorrentPeersPostRequest struct { // Hash Torrent hash Hash string `json:"hash"` // Rid Response ID. If not provided, `rid=0` will be assumed. If the given `rid` is different from the one of last server reply, `full_update` will be `true` (see the server reply details for more info) Rid *int64 `json:"rid,omitempty"` }
SyncTorrentPeersPostRequest defines model for syncTorrentPeersPost_request.
type SyncTorrentPeersPostResponse ¶ added in v0.8.0
type SyncTorrentPeersPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *TorrentPeers }
func ParseSyncTorrentPeersPostResponse ¶ added in v0.8.0
func ParseSyncTorrentPeersPostResponse(rsp *http.Response) (*SyncTorrentPeersPostResponse, error)
ParseSyncTorrentPeersPostResponse parses an HTTP response from a SyncTorrentPeersPostWithResponse call
func (SyncTorrentPeersPostResponse) Status ¶ added in v0.8.0
func (r SyncTorrentPeersPostResponse) Status() string
Status returns HTTPResponse.Status
func (SyncTorrentPeersPostResponse) StatusCode ¶ added in v0.8.0
func (r SyncTorrentPeersPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Torrent ¶
type Torrent struct { AddedOn int `json:"added_on"` // unixtime AmountLeft int `json:"amount_left"` // bytes AutoManaged bool `json:"auto_tmm"` Availability float64 `json:"availability"` // percentage Category string `json:"category"` Completed int `json:"completed"` CompletionOn int `json:"completion_on"` // unixtime DownloadLimit int `json:"dl_limit"` // bytes/s DownloadSpeed int `json:"dlspeed"` // bytes/s Downloaded int `json:"downloaded"` // bytes Eta int `json:"eta"` // seconds FirstLastPriority bool `json:"f_l_piece_prio"` ForceStart bool `json:"force_start"` Hash string `json:"hash"` LastActivity int `json:"last_activity"` // unixtime MagnetURI string `json:"magnet_uri"` MaxRatio float64 `json:"max_ratio"` MaxSeedingTime int `json:"max_seeding_time"` // seconds Name string `json:"name"` NumComplete int `json:"num_complete"` NumIncomplete int `json:"num_incomplete"` NumLeechs int `json:"num_leechs"` NumSeeds int `json:"num_seeds"` Priority int `json:"priority"` Progress float64 `json:"progress"` // percentage / 100 Ratio float64 `json:"ratio"` RatioLimit float64 `json:"ratio_limit"` SavePath string `json:"save_path"` SeqDl bool `json:"seq_dl"` Size int `json:"size"` // bytes State string `json:"state"` SuperSeeding bool `json:"super_seeding"` Tags string `json:"tags"` // comma delimited TimeActive int `json:"time_active"` // seconds TotalSize int `json:"total_size"` // bytes Tracker string `json:"tracker"` Uploaded int `json:"uploaded"` // bytes UploadLimit int `json:"up_limit"` // bytes / s UploadSpeed int `json:"upspeed"` // bytes / s Files []*TorrentFile }
Torrent holds a basic torrent object from qbittorrent (from torrents/list)
func (*Torrent) MarshalJSON ¶
type TorrentFile ¶
type TorrentFile struct { ID int `json:"id"` Name string `json:"name"` Size int `json:"size"` // bytes Progress float64 `json:"progress"` // percent / 100 Priority int `json:"priority"` IsSeed bool `json:"is_seed"` }
TorrentFile holds a torrent file object from qbittorrent
func (*TorrentFile) Pretty ¶
func (f *TorrentFile) Pretty() string
type TorrentInfo ¶ added in v0.8.0
type TorrentInfo struct { // AddedOn Time (Unix Epoch) when the torrent was added to the client AddedOn *int64 `json:"added_on,omitempty"` // AmountLeft Amount of data left to download (bytes) AmountLeft *int64 `json:"amount_left,omitempty"` // AutoTmm Whether this torrent is managed by Automatic Torrent Management AutoTmm *bool `json:"auto_tmm,omitempty"` // Availability Percentage of file pieces currently available Availability *float32 `json:"availability,omitempty"` // Category Category of the torrent Category *string `json:"category,omitempty"` // Completed Amount of transfer data completed (bytes) Completed *int64 `json:"completed,omitempty"` // CompletionOn Time (Unix Epoch) when the torrent completed CompletionOn *int64 `json:"completion_on,omitempty"` // ContentPath Absolute path of torrent content (root path for multifile torrents, absolute file path for singlefile torrents) ContentPath *string `json:"content_path,omitempty"` // DlLimit Torrent download speed limit (bytes/s). `-1` if ulimited. DlLimit *int64 `json:"dl_limit,omitempty"` // Dlspeed Torrent download speed (bytes/s) Dlspeed *int64 `json:"dlspeed,omitempty"` // Downloaded Amount of data downloaded Downloaded *int64 `json:"downloaded,omitempty"` // DownloadedSession Amount of data downloaded this session DownloadedSession *int64 `json:"downloaded_session,omitempty"` // Eta Torrent ETA (seconds) Eta *int64 `json:"eta,omitempty"` // FLPiecePrio True if first last piece are prioritized FLPiecePrio *bool `json:"f_l_piece_prio,omitempty"` // ForceStart True if force start is enabled for this torrent ForceStart *bool `json:"force_start,omitempty"` // Hash Torrent hash Hash *string `json:"hash,omitempty"` // LastActivity Last time (Unix Epoch) when a chunk was downloaded/uploaded LastActivity *int64 `json:"last_activity,omitempty"` // MagnetUri Magnet URI corresponding to this torrent MagnetUri *string `json:"magnet_uri,omitempty"` // MaxRatio Maximum share ratio until torrent is stopped from seeding/uploading MaxRatio *float32 `json:"max_ratio,omitempty"` // MaxSeedingTime Maximum seeding time (seconds) until torrent is stopped from seeding MaxSeedingTime *int64 `json:"max_seeding_time,omitempty"` // Name Torrent name Name *string `json:"name,omitempty"` // NumComplete Number of seeds in the swarm NumComplete *int64 `json:"num_complete,omitempty"` // NumIncomplete Number of leechers in the swarm NumIncomplete *int64 `json:"num_incomplete,omitempty"` // NumLeechs Number of leechers connected to NumLeechs *int64 `json:"num_leechs,omitempty"` // NumSeeds Number of seeds connected to NumSeeds *int64 `json:"num_seeds,omitempty"` // Priority Torrent priority. Returns -1 if queuing is disabled or torrent is in seed mode Priority *int64 `json:"priority,omitempty"` // Progress Torrent progress (percentage/100) Progress *float32 `json:"progress,omitempty"` // Ratio Torrent share ratio. Max ratio value: 9999. Ratio *float32 `json:"ratio,omitempty"` // RatioLimit TODO (what is different from max_ratio?) RatioLimit *float32 `json:"ratio_limit,omitempty"` // SavePath Path where this torrent's data is stored SavePath *string `json:"save_path,omitempty"` // SeedingTime Torrent elapsed time while complete (seconds) SeedingTime *int64 `json:"seeding_time,omitempty"` // SeedingTimeLimit TODO (what is different from `max_seeding_time`?) seeding_time_limit is a per torrent setting, when Automatic Torrent Management is disabled, furthermore then max_seeding_time is set to seeding_time_limit for this torrent. If Automatic Torrent Management is enabled, the value is -2. And if max_seeding_time is unset it have a default value -1. SeedingTimeLimit *int64 `json:"seeding_time_limit,omitempty"` // SeenComplete Time (Unix Epoch) when this torrent was last seen complete SeenComplete *int64 `json:"seen_complete,omitempty"` // SeqDl True if sequential download is enabled SeqDl *bool `json:"seq_dl,omitempty"` // Size Total size (bytes) of files selected for download Size *int64 `json:"size,omitempty"` // State Torrent state. See table here below for the possible values // // | Value | Description | // | ------------------ | ------------------------------------------------------------- | // | error | Some error occurred, applies to paused torrents | // | missingFiles | Torrent data files is missing | // | uploading | Torrent is being seeded and data is being transferred | // | pausedUP | Torrent is paused and has finished downloading | // | queuedUP | Queuing is enabled and torrent is queued for upload | // | stalledUP | Torrent is being seeded, but no connection were made | // | checkingUP | Torrent has finished downloading and is being checked | // | forcedUP | Torrent is forced to uploading and ignore queue limit | // | allocating | Torrent is allocating disk space for download | // | downloading | Torrent is being downloaded and data is being transferred | // | metaDL | Torrent has just started downloading and is fetching metadata | // | pausedDL | Torrent is paused and has NOT finished downloading | // | queuedDL | Queuing is enabled and torrent is queued for download | // | stalledDL | Torrent is being downloaded, but no connection were made | // | checkingDL | Same as checkingUP, but torrent has NOT finished downloading | // | forcedDL | Torrent is forced to downloading to ignore queue limit | // | checkingResumeData | Checking resume data on qBt startup | // | moving | Torrent is moving to another location | // | unknown | Unknown status | State *TorrentInfoState `json:"state,omitempty"` // SuperSeeding True if super seeding is enabled SuperSeeding *bool `json:"super_seeding,omitempty"` // Tags Comma-concatenated tag list of the torrent Tags *string `json:"tags,omitempty"` // TimeActive Total active time (seconds) TimeActive *int64 `json:"time_active,omitempty"` // TotalSize Total size (bytes) of all file in this torrent (including unselected ones) TotalSize *int64 `json:"total_size,omitempty"` // Tracker The first tracker with working status. Returns empty string if no tracker is working. Tracker *string `json:"tracker,omitempty"` // UpLimit Torrent upload speed limit (bytes/s). `-1` if ulimited. UpLimit *int64 `json:"up_limit,omitempty"` // Uploaded Amount of data uploaded Uploaded *int64 `json:"uploaded,omitempty"` // UploadedSession Amount of data uploaded this session UploadedSession *int64 `json:"uploaded_session,omitempty"` // Upspeed Torrent upload speed (bytes/s) Upspeed *int64 `json:"upspeed,omitempty"` }
TorrentInfo defines model for TorrentInfo.
type TorrentInfoState ¶ added in v0.8.0
type TorrentInfoState string
TorrentInfoState Torrent state. See table here below for the possible values
| Value | Description | | ------------------ | ------------------------------------------------------------- | | error | Some error occurred, applies to paused torrents | | missingFiles | Torrent data files is missing | | uploading | Torrent is being seeded and data is being transferred | | pausedUP | Torrent is paused and has finished downloading | | queuedUP | Queuing is enabled and torrent is queued for upload | | stalledUP | Torrent is being seeded, but no connection were made | | checkingUP | Torrent has finished downloading and is being checked | | forcedUP | Torrent is forced to uploading and ignore queue limit | | allocating | Torrent is allocating disk space for download | | downloading | Torrent is being downloaded and data is being transferred | | metaDL | Torrent has just started downloading and is fetching metadata | | pausedDL | Torrent is paused and has NOT finished downloading | | queuedDL | Queuing is enabled and torrent is queued for download | | stalledDL | Torrent is being downloaded, but no connection were made | | checkingDL | Same as checkingUP, but torrent has NOT finished downloading | | forcedDL | Torrent is forced to downloading to ignore queue limit | | checkingResumeData | Checking resume data on qBt startup | | moving | Torrent is moving to another location | | unknown | Unknown status |
const ( TorrentInfoStateAllocating TorrentInfoState = "allocating" TorrentInfoStateCheckingDL TorrentInfoState = "checkingDL" TorrentInfoStateCheckingResumeData TorrentInfoState = "checkingResumeData" TorrentInfoStateCheckingUP TorrentInfoState = "checkingUP" TorrentInfoStateDownloading TorrentInfoState = "downloading" TorrentInfoStateError TorrentInfoState = "error" TorrentInfoStateForcedDL TorrentInfoState = "forcedDL" TorrentInfoStateForcedUP TorrentInfoState = "forcedUP" TorrentInfoStateMetaDL TorrentInfoState = "metaDL" TorrentInfoStateMissingFiles TorrentInfoState = "missingFiles" TorrentInfoStateMoving TorrentInfoState = "moving" TorrentInfoStatePausedDL TorrentInfoState = "pausedDL" TorrentInfoStatePausedUP TorrentInfoState = "pausedUP" TorrentInfoStateQueuedDL TorrentInfoState = "queuedDL" TorrentInfoStateQueuedUP TorrentInfoState = "queuedUP" TorrentInfoStateStalledDL TorrentInfoState = "stalledDL" TorrentInfoStateStalledUP TorrentInfoState = "stalledUP" TorrentInfoStateUnknown TorrentInfoState = "unknown" TorrentInfoStateUploading TorrentInfoState = "uploading" )
Defines values for TorrentInfoState.
type TorrentJSON ¶
type TorrentJSON struct { Hash string Status int State string Name string Size float64 // in bytes Progress float64 // float64 in per mils Downloaded float64 // in bytes Uploaded float64 // in bytes Ratio float64 // float64 in per mils UploadRate float64 // float64 in bytes / second DownloadRate float64 // float64 in bytes / second Finish float64 // float64 seconds Label string //PeersConnected float64 //PeersTotal float64 //SeedsConnected float64 //SeedsTotal float64 //Availability float64 // in 1/65535ths Queue float64 //Remaining float64 // in bytes Path string Files []*TorrentFile }
type TorrentPeers ¶ added in v0.8.0
type TorrentPeers = map[string]interface{}
TorrentPeers The response is TODO
type TorrentWebseedsPostFormdataRequestBody ¶ added in v0.8.0
type TorrentWebseedsPostFormdataRequestBody = TorrentWebseedsPostRequest
TorrentWebseedsPostFormdataRequestBody defines body for TorrentWebseedsPost for application/x-www-form-urlencoded ContentType.
type TorrentWebseedsPostRequest ¶ added in v0.8.0
type TorrentWebseedsPostRequest struct { // Hash The hash of the torrent you want to get the webseeds of Hash string `json:"hash"` }
TorrentWebseedsPostRequest defines model for torrentWebseedsPost_request.
type TorrentWebseedsPostResponse ¶ added in v0.8.0
type TorrentWebseedsPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]TorrentsWebseeds }
func ParseTorrentWebseedsPostResponse ¶ added in v0.8.0
func ParseTorrentWebseedsPostResponse(rsp *http.Response) (*TorrentWebseedsPostResponse, error)
ParseTorrentWebseedsPostResponse parses an HTTP response from a TorrentWebseedsPostWithResponse call
func (TorrentWebseedsPostResponse) Status ¶ added in v0.8.0
func (r TorrentWebseedsPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentWebseedsPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentWebseedsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsAddPeersPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsAddPeersPostFormdataRequestBody = TorrentsAddPeersPostRequest
TorrentsAddPeersPostFormdataRequestBody defines body for TorrentsAddPeersPost for application/x-www-form-urlencoded ContentType.
type TorrentsAddPeersPostRequest ¶ added in v0.8.0
type TorrentsAddPeersPostRequest struct { // Hashes The hash of the torrent, or multiple hashes separated by a pipe `|` Hashes []string `json:"hashes"` // Peers The peer to add, or multiple peers separated by a pipe `|`. Each peer is a colon-separated `host:port` Peers []string `json:"peers"` }
TorrentsAddPeersPostRequest defines model for torrentsAddPeersPost_request.
type TorrentsAddPeersPostResponse ¶ added in v0.8.0
func ParseTorrentsAddPeersPostResponse ¶ added in v0.8.0
func ParseTorrentsAddPeersPostResponse(rsp *http.Response) (*TorrentsAddPeersPostResponse, error)
ParseTorrentsAddPeersPostResponse parses an HTTP response from a TorrentsAddPeersPostWithResponse call
func (TorrentsAddPeersPostResponse) Status ¶ added in v0.8.0
func (r TorrentsAddPeersPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsAddPeersPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsAddPeersPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsAddPostMultipartRequestBody ¶ added in v0.8.0
type TorrentsAddPostMultipartRequestBody = TorrentsAddPostRequest
TorrentsAddPostMultipartRequestBody defines body for TorrentsAddPost for multipart/form-data ContentType.
type TorrentsAddPostRequest ¶ added in v0.8.0
type TorrentsAddPostRequest struct {
// contains filtered or unexported fields
}
TorrentsAddPostRequest defines model for torrentsAddPost_request.
func (TorrentsAddPostRequest) AsAddTorrentsFiles ¶ added in v0.8.0
func (t TorrentsAddPostRequest) AsAddTorrentsFiles() (AddTorrentsFiles, error)
AsAddTorrentsFiles returns the union data inside the TorrentsAddPostRequest as a AddTorrentsFiles
func (TorrentsAddPostRequest) AsAddTorrentsURLs ¶ added in v0.8.0
func (t TorrentsAddPostRequest) AsAddTorrentsURLs() (AddTorrentsURLs, error)
AsAddTorrentsURLs returns the union data inside the TorrentsAddPostRequest as a AddTorrentsURLs
func (*TorrentsAddPostRequest) FromAddTorrentsFiles ¶ added in v0.8.0
func (t *TorrentsAddPostRequest) FromAddTorrentsFiles(v AddTorrentsFiles) error
FromAddTorrentsFiles overwrites any union data inside the TorrentsAddPostRequest as the provided AddTorrentsFiles
func (*TorrentsAddPostRequest) FromAddTorrentsURLs ¶ added in v0.8.0
func (t *TorrentsAddPostRequest) FromAddTorrentsURLs(v AddTorrentsURLs) error
FromAddTorrentsURLs overwrites any union data inside the TorrentsAddPostRequest as the provided AddTorrentsURLs
func (TorrentsAddPostRequest) MarshalJSON ¶ added in v0.8.0
func (t TorrentsAddPostRequest) MarshalJSON() ([]byte, error)
func (*TorrentsAddPostRequest) MergeAddTorrentsFiles ¶ added in v0.8.0
func (t *TorrentsAddPostRequest) MergeAddTorrentsFiles(v AddTorrentsFiles) error
MergeAddTorrentsFiles performs a merge with any union data inside the TorrentsAddPostRequest, using the provided AddTorrentsFiles
func (*TorrentsAddPostRequest) MergeAddTorrentsURLs ¶ added in v0.8.0
func (t *TorrentsAddPostRequest) MergeAddTorrentsURLs(v AddTorrentsURLs) error
MergeAddTorrentsURLs performs a merge with any union data inside the TorrentsAddPostRequest, using the provided AddTorrentsURLs
func (*TorrentsAddPostRequest) UnmarshalJSON ¶ added in v0.8.0
func (t *TorrentsAddPostRequest) UnmarshalJSON(b []byte) error
type TorrentsAddPostResponse ¶ added in v0.8.0
func ParseTorrentsAddPostResponse ¶ added in v0.8.0
func ParseTorrentsAddPostResponse(rsp *http.Response) (*TorrentsAddPostResponse, error)
ParseTorrentsAddPostResponse parses an HTTP response from a TorrentsAddPostWithResponse call
func (TorrentsAddPostResponse) Status ¶ added in v0.8.0
func (r TorrentsAddPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsAddPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsAddPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsAddTagsPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsAddTagsPostFormdataRequestBody = TorrentsTags
TorrentsAddTagsPostFormdataRequestBody defines body for TorrentsAddTagsPost for application/x-www-form-urlencoded ContentType.
type TorrentsAddTagsPostResponse ¶ added in v0.8.0
func ParseTorrentsAddTagsPostResponse ¶ added in v0.8.0
func ParseTorrentsAddTagsPostResponse(rsp *http.Response) (*TorrentsAddTagsPostResponse, error)
ParseTorrentsAddTagsPostResponse parses an HTTP response from a TorrentsAddTagsPostWithResponse call
func (TorrentsAddTagsPostResponse) Status ¶ added in v0.8.0
func (r TorrentsAddTagsPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsAddTagsPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsAddTagsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsAddTrackersPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsAddTrackersPostFormdataRequestBody = TorrentsAddTrackersPostRequest
TorrentsAddTrackersPostFormdataRequestBody defines body for TorrentsAddTrackersPost for application/x-www-form-urlencoded ContentType.
type TorrentsAddTrackersPostRequest ¶ added in v0.8.0
TorrentsAddTrackersPostRequest defines model for torrentsAddTrackersPost_request.
type TorrentsAddTrackersPostResponse ¶ added in v0.8.0
func ParseTorrentsAddTrackersPostResponse ¶ added in v0.8.0
func ParseTorrentsAddTrackersPostResponse(rsp *http.Response) (*TorrentsAddTrackersPostResponse, error)
ParseTorrentsAddTrackersPostResponse parses an HTTP response from a TorrentsAddTrackersPostWithResponse call
func (TorrentsAddTrackersPostResponse) Status ¶ added in v0.8.0
func (r TorrentsAddTrackersPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsAddTrackersPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsAddTrackersPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsBottomPrioPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsBottomPrioPostFormdataRequestBody = Hashes
TorrentsBottomPrioPostFormdataRequestBody defines body for TorrentsBottomPrioPost for application/x-www-form-urlencoded ContentType.
type TorrentsBottomPrioPostResponse ¶ added in v0.8.0
func ParseTorrentsBottomPrioPostResponse ¶ added in v0.8.0
func ParseTorrentsBottomPrioPostResponse(rsp *http.Response) (*TorrentsBottomPrioPostResponse, error)
ParseTorrentsBottomPrioPostResponse parses an HTTP response from a TorrentsBottomPrioPostWithResponse call
func (TorrentsBottomPrioPostResponse) Status ¶ added in v0.8.0
func (r TorrentsBottomPrioPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsBottomPrioPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsBottomPrioPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsCategoriesGetResponse ¶ added in v0.8.0
type TorrentsCategoriesGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *map[string]TorrentsCategory }
func ParseTorrentsCategoriesGetResponse ¶ added in v0.8.0
func ParseTorrentsCategoriesGetResponse(rsp *http.Response) (*TorrentsCategoriesGetResponse, error)
ParseTorrentsCategoriesGetResponse parses an HTTP response from a TorrentsCategoriesGetWithResponse call
func (TorrentsCategoriesGetResponse) Status ¶ added in v0.8.0
func (r TorrentsCategoriesGetResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsCategoriesGetResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsCategoriesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsCategory ¶ added in v0.8.0
type TorrentsCategory struct { Name *string `json:"name,omitempty"` SavePath *string `json:"savePath,omitempty"` }
TorrentsCategory defines model for TorrentsCategory.
type TorrentsCreateCategoryPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsCreateCategoryPostFormdataRequestBody = TorrentsCreateCategoryPostRequest
TorrentsCreateCategoryPostFormdataRequestBody defines body for TorrentsCreateCategoryPost for application/x-www-form-urlencoded ContentType.
type TorrentsCreateCategoryPostRequest ¶ added in v0.8.0
type TorrentsCreateCategoryPostRequest = Category
TorrentsCreateCategoryPostRequest defines model for torrentsCreateCategoryPost_request.
type TorrentsCreateCategoryPostResponse ¶ added in v0.8.0
func ParseTorrentsCreateCategoryPostResponse ¶ added in v0.8.0
func ParseTorrentsCreateCategoryPostResponse(rsp *http.Response) (*TorrentsCreateCategoryPostResponse, error)
ParseTorrentsCreateCategoryPostResponse parses an HTTP response from a TorrentsCreateCategoryPostWithResponse call
func (TorrentsCreateCategoryPostResponse) Status ¶ added in v0.8.0
func (r TorrentsCreateCategoryPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsCreateCategoryPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsCreateCategoryPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsCreateTagsPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsCreateTagsPostFormdataRequestBody = TorrentsCreateTagsPostRequest
TorrentsCreateTagsPostFormdataRequestBody defines body for TorrentsCreateTagsPost for application/x-www-form-urlencoded ContentType.
type TorrentsCreateTagsPostRequest ¶ added in v0.8.0
type TorrentsCreateTagsPostRequest struct { // Tags `tags` is a list of tags you want to create. Can contain multiple tags separated by `,`. Tags []string `json:"tags"` }
TorrentsCreateTagsPostRequest defines model for torrentsCreateTagsPost_request.
type TorrentsCreateTagsPostResponse ¶ added in v0.8.0
func ParseTorrentsCreateTagsPostResponse ¶ added in v0.8.0
func ParseTorrentsCreateTagsPostResponse(rsp *http.Response) (*TorrentsCreateTagsPostResponse, error)
ParseTorrentsCreateTagsPostResponse parses an HTTP response from a TorrentsCreateTagsPostWithResponse call
func (TorrentsCreateTagsPostResponse) Status ¶ added in v0.8.0
func (r TorrentsCreateTagsPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsCreateTagsPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsCreateTagsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsDecreasePrioPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsDecreasePrioPostFormdataRequestBody = Hashes
TorrentsDecreasePrioPostFormdataRequestBody defines body for TorrentsDecreasePrioPost for application/x-www-form-urlencoded ContentType.
type TorrentsDecreasePrioPostResponse ¶ added in v0.8.0
func ParseTorrentsDecreasePrioPostResponse ¶ added in v0.8.0
func ParseTorrentsDecreasePrioPostResponse(rsp *http.Response) (*TorrentsDecreasePrioPostResponse, error)
ParseTorrentsDecreasePrioPostResponse parses an HTTP response from a TorrentsDecreasePrioPostWithResponse call
func (TorrentsDecreasePrioPostResponse) Status ¶ added in v0.8.0
func (r TorrentsDecreasePrioPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsDecreasePrioPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsDecreasePrioPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsDeletePostFormdataRequestBody ¶ added in v0.8.0
type TorrentsDeletePostFormdataRequestBody = TorrentsDeletePostRequest
TorrentsDeletePostFormdataRequestBody defines body for TorrentsDeletePost for application/x-www-form-urlencoded ContentType.
type TorrentsDeletePostRequest ¶ added in v0.8.0
type TorrentsDeletePostRequest struct { // DeleteFiles If set to `true`, the downloaded data will also be deleted, otherwise has no effect. DeleteFiles *bool `json:"deleteFiles,omitempty"` Hashes []string `json:"hashes"` }
TorrentsDeletePostRequest defines model for torrentsDeletePost_request.
type TorrentsDeletePostRequestAllOf ¶ added in v0.8.0
type TorrentsDeletePostRequestAllOf struct { // DeleteFiles If set to `true`, the downloaded data will also be deleted, otherwise has no effect. DeleteFiles *bool `json:"deleteFiles,omitempty"` }
TorrentsDeletePostRequestAllOf defines model for torrentsDeletePost_request_allOf.
type TorrentsDeletePostResponse ¶ added in v0.8.0
func ParseTorrentsDeletePostResponse ¶ added in v0.8.0
func ParseTorrentsDeletePostResponse(rsp *http.Response) (*TorrentsDeletePostResponse, error)
ParseTorrentsDeletePostResponse parses an HTTP response from a TorrentsDeletePostWithResponse call
func (TorrentsDeletePostResponse) Status ¶ added in v0.8.0
func (r TorrentsDeletePostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsDeletePostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsDeletePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsDeleteTagsPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsDeleteTagsPostFormdataRequestBody = TorrentsDeleteTagsPostRequest
TorrentsDeleteTagsPostFormdataRequestBody defines body for TorrentsDeleteTagsPost for application/x-www-form-urlencoded ContentType.
type TorrentsDeleteTagsPostRequest ¶ added in v0.8.0
type TorrentsDeleteTagsPostRequest struct { // Tags `tags` is a list of tags you want to delete. Can contain multiple tags separated by `,`. Tags []string `json:"tags"` }
TorrentsDeleteTagsPostRequest defines model for torrentsDeleteTagsPost_request.
type TorrentsDeleteTagsPostResponse ¶ added in v0.8.0
func ParseTorrentsDeleteTagsPostResponse ¶ added in v0.8.0
func ParseTorrentsDeleteTagsPostResponse(rsp *http.Response) (*TorrentsDeleteTagsPostResponse, error)
ParseTorrentsDeleteTagsPostResponse parses an HTTP response from a TorrentsDeleteTagsPostWithResponse call
func (TorrentsDeleteTagsPostResponse) Status ¶ added in v0.8.0
func (r TorrentsDeleteTagsPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsDeleteTagsPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsDeleteTagsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsDownloadLimitPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsDownloadLimitPostFormdataRequestBody = Hashes
TorrentsDownloadLimitPostFormdataRequestBody defines body for TorrentsDownloadLimitPost for application/x-www-form-urlencoded ContentType.
type TorrentsDownloadLimitPostResponse ¶ added in v0.8.0
type TorrentsDownloadLimitPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *TorrentsLimit }
func ParseTorrentsDownloadLimitPostResponse ¶ added in v0.8.0
func ParseTorrentsDownloadLimitPostResponse(rsp *http.Response) (*TorrentsDownloadLimitPostResponse, error)
ParseTorrentsDownloadLimitPostResponse parses an HTTP response from a TorrentsDownloadLimitPostWithResponse call
func (TorrentsDownloadLimitPostResponse) Status ¶ added in v0.8.0
func (r TorrentsDownloadLimitPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsDownloadLimitPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsDownloadLimitPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsEditCategoryPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsEditCategoryPostFormdataRequestBody = TorrentsCreateCategoryPostRequest
TorrentsEditCategoryPostFormdataRequestBody defines body for TorrentsEditCategoryPost for application/x-www-form-urlencoded ContentType.
type TorrentsEditCategoryPostResponse ¶ added in v0.8.0
func ParseTorrentsEditCategoryPostResponse ¶ added in v0.8.0
func ParseTorrentsEditCategoryPostResponse(rsp *http.Response) (*TorrentsEditCategoryPostResponse, error)
ParseTorrentsEditCategoryPostResponse parses an HTTP response from a TorrentsEditCategoryPostWithResponse call
func (TorrentsEditCategoryPostResponse) Status ¶ added in v0.8.0
func (r TorrentsEditCategoryPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsEditCategoryPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsEditCategoryPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsEditTrackerPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsEditTrackerPostFormdataRequestBody = TorrentsEditTrackerPostRequest
TorrentsEditTrackerPostFormdataRequestBody defines body for TorrentsEditTrackerPost for application/x-www-form-urlencoded ContentType.
type TorrentsEditTrackerPostRequest ¶ added in v0.8.0
type TorrentsEditTrackerPostRequest struct { // Hash The hash of the torrent Hash string `json:"hash"` // NewUrl The new URL to replace the `origUrl` NewUrl string `json:"newUrl"` // OrigUrl The tracker URL you want to edit OrigUrl string `json:"origUrl"` }
TorrentsEditTrackerPostRequest defines model for torrentsEditTrackerPost_request.
type TorrentsEditTrackerPostResponse ¶ added in v0.8.0
func ParseTorrentsEditTrackerPostResponse ¶ added in v0.8.0
func ParseTorrentsEditTrackerPostResponse(rsp *http.Response) (*TorrentsEditTrackerPostResponse, error)
ParseTorrentsEditTrackerPostResponse parses an HTTP response from a TorrentsEditTrackerPostWithResponse call
func (TorrentsEditTrackerPostResponse) Status ¶ added in v0.8.0
func (r TorrentsEditTrackerPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsEditTrackerPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsEditTrackerPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsFilePrioPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsFilePrioPostFormdataRequestBody = TorrentsFilePrioPostRequest
TorrentsFilePrioPostFormdataRequestBody defines body for TorrentsFilePrioPost for application/x-www-form-urlencoded ContentType.
type TorrentsFilePrioPostRequest ¶ added in v0.8.0
type TorrentsFilePrioPostRequest struct { // Hash The hash of the torrent Hash string `json:"hash"` // Id File ids, separated by `|` Id []int64 `json:"id"` // Priority File priority to set (consult [torrent contents API](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-contents) for possible values) Priority TorrentsFilePrioPostRequestPriority `json:"priority"` }
TorrentsFilePrioPostRequest defines model for torrentsFilePrioPost_request.
type TorrentsFilePrioPostRequestPriority ¶ added in v0.8.0
type TorrentsFilePrioPostRequestPriority int32
TorrentsFilePrioPostRequestPriority File priority to set (consult [torrent contents API](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-contents) for possible values)
const ( N0 TorrentsFilePrioPostRequestPriority = 0 N1 TorrentsFilePrioPostRequestPriority = 1 N6 TorrentsFilePrioPostRequestPriority = 6 N7 TorrentsFilePrioPostRequestPriority = 7 )
Defines values for TorrentsFilePrioPostRequestPriority.
type TorrentsFilePrioPostResponse ¶ added in v0.8.0
func ParseTorrentsFilePrioPostResponse ¶ added in v0.8.0
func ParseTorrentsFilePrioPostResponse(rsp *http.Response) (*TorrentsFilePrioPostResponse, error)
ParseTorrentsFilePrioPostResponse parses an HTTP response from a TorrentsFilePrioPostWithResponse call
func (TorrentsFilePrioPostResponse) Status ¶ added in v0.8.0
func (r TorrentsFilePrioPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsFilePrioPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsFilePrioPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsFiles ¶ added in v0.8.0
type TorrentsFiles struct { // Availability Percentage of file pieces currently available (percentage/100) Availability *float32 `json:"availability,omitempty"` // Index File index Index *int64 `json:"index,omitempty"` // IsSeed True if file is seeding/complete IsSeed *bool `json:"is_seed,omitempty"` // Name File name (including relative path) Name *string `json:"name,omitempty"` // PieceRange The first number is the starting piece index and the second number is the ending piece index (inclusive) PieceRange *[]int64 `json:"piece_range,omitempty"` // Priority File priority. See possible values here below // // | Value | Description | // | ----- | ---------------- | // | 0 | Do not download | // | 1 | Normal priority | // | 6 | High priority | // | 7 | Maximal priority | Priority *TorrentsFilesPriority `json:"priority,omitempty"` // Progress File progress (percentage/100) Progress *float32 `json:"progress,omitempty"` // Size File size (bytes) Size *int64 `json:"size,omitempty"` }
TorrentsFiles defines model for TorrentsFiles.
type TorrentsFilesPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsFilesPostFormdataRequestBody = TorrentsFilesPostRequest
TorrentsFilesPostFormdataRequestBody defines body for TorrentsFilesPost for application/x-www-form-urlencoded ContentType.
type TorrentsFilesPostRequest ¶ added in v0.8.0
type TorrentsFilesPostRequest struct { // Hash The hash of the torrent you want to get the contents of Hash string `json:"hash"` // Indexes The indexes of the files you want to retrieve. `indexes` can contain multiple values separated by `|`. Indexes *[]string `json:"indexes,omitempty"` }
TorrentsFilesPostRequest defines model for torrentsFilesPost_request.
type TorrentsFilesPostResponse ¶ added in v0.8.0
type TorrentsFilesPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]TorrentsFiles }
func ParseTorrentsFilesPostResponse ¶ added in v0.8.0
func ParseTorrentsFilesPostResponse(rsp *http.Response) (*TorrentsFilesPostResponse, error)
ParseTorrentsFilesPostResponse parses an HTTP response from a TorrentsFilesPostWithResponse call
func (TorrentsFilesPostResponse) Status ¶ added in v0.8.0
func (r TorrentsFilesPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsFilesPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsFilesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsFilesPriority ¶ added in v0.8.0
type TorrentsFilesPriority int64
TorrentsFilesPriority File priority. See possible values here below
| Value | Description | | ----- | ---------------- | | 0 | Do not download | | 1 | Normal priority | | 6 | High priority | | 7 | Maximal priority |
const ( TorrentsFilesPriorityN0 TorrentsFilesPriority = 0 TorrentsFilesPriorityN1 TorrentsFilesPriority = 1 TorrentsFilesPriorityN6 TorrentsFilesPriority = 6 TorrentsFilesPriorityN7 TorrentsFilesPriority = 7 )
Defines values for TorrentsFilesPriority.
type TorrentsIncreasePrioPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsIncreasePrioPostFormdataRequestBody = Hashes
TorrentsIncreasePrioPostFormdataRequestBody defines body for TorrentsIncreasePrioPost for application/x-www-form-urlencoded ContentType.
type TorrentsIncreasePrioPostResponse ¶ added in v0.8.0
func ParseTorrentsIncreasePrioPostResponse ¶ added in v0.8.0
func ParseTorrentsIncreasePrioPostResponse(rsp *http.Response) (*TorrentsIncreasePrioPostResponse, error)
ParseTorrentsIncreasePrioPostResponse parses an HTTP response from a TorrentsIncreasePrioPostWithResponse call
func (TorrentsIncreasePrioPostResponse) Status ¶ added in v0.8.0
func (r TorrentsIncreasePrioPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsIncreasePrioPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsIncreasePrioPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsInfoPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsInfoPostFormdataRequestBody = TorrentsInfoPostRequest
TorrentsInfoPostFormdataRequestBody defines body for TorrentsInfoPost for application/x-www-form-urlencoded ContentType.
type TorrentsInfoPostRequest ¶ added in v0.8.0
type TorrentsInfoPostRequest struct { // Category Get torrents with the given category (empty string means "without category"; no "category" parameter means "any category" <- broken until [#11748](https://github.com/qbittorrent/qBittorrent/issues/11748) is resolved). Remember to URL-encode the category name. For example, `My category` becomes `My%20category` Category *string `json:"category,omitempty"` // Filter Filter torrent list by state. Allowed state filters: `all`, `downloading`, `seeding`, `completed`, `paused`, `active`, `inactive`, `resumed`, `stalled`, `stalled_uploading`, `stalled_downloading`, `errored` Filter *TorrentsInfoPostRequestFilter `json:"filter,omitempty"` // Hashes Filter by hashes. Can contain multiple hashes separated by `|` Hashes *[]string `json:"hashes,omitempty"` // Limit Limit the number of torrents returned Limit *int64 `json:"limit,omitempty"` // Offset Set offset (if less than 0, offset from end) Offset *int64 `json:"offset,omitempty"` // Reverse Enable reverse sorting. Defaults to `false` Reverse *bool `json:"reverse,omitempty"` // Sort Sort torrents by given key. They can be sorted using any field of the response's JSON array (which are documented below) as the sort key. Sort *string `json:"sort,omitempty"` // Tag Get torrents with the given tag (empty string means "without tag"; no "tag" parameter means "any tag". Remember to URL-encode the category name. For example, `My tag` becomes `My%20tag` Tag *string `json:"tag,omitempty"` }
TorrentsInfoPostRequest defines model for torrentsInfoPost_request.
type TorrentsInfoPostRequestFilter ¶ added in v0.8.0
type TorrentsInfoPostRequestFilter string
TorrentsInfoPostRequestFilter Filter torrent list by state. Allowed state filters: `all`, `downloading`, `seeding`, `completed`, `paused`, `active`, `inactive`, `resumed`, `stalled`, `stalled_uploading`, `stalled_downloading`, `errored`
const ( TorrentsInfoPostRequestFilterActive TorrentsInfoPostRequestFilter = "active" TorrentsInfoPostRequestFilterAll TorrentsInfoPostRequestFilter = "all" TorrentsInfoPostRequestFilterCompleted TorrentsInfoPostRequestFilter = "completed" TorrentsInfoPostRequestFilterDownloading TorrentsInfoPostRequestFilter = "downloading" TorrentsInfoPostRequestFilterErrored TorrentsInfoPostRequestFilter = "errored" TorrentsInfoPostRequestFilterInactive TorrentsInfoPostRequestFilter = "inactive" TorrentsInfoPostRequestFilterPaused TorrentsInfoPostRequestFilter = "paused" TorrentsInfoPostRequestFilterResumed TorrentsInfoPostRequestFilter = "resumed" TorrentsInfoPostRequestFilterSeeding TorrentsInfoPostRequestFilter = "seeding" TorrentsInfoPostRequestFilterStalled TorrentsInfoPostRequestFilter = "stalled" TorrentsInfoPostRequestFilterStalledDownloading TorrentsInfoPostRequestFilter = "stalled_downloading" TorrentsInfoPostRequestFilterStalledUploading TorrentsInfoPostRequestFilter = "stalled_uploading" )
Defines values for TorrentsInfoPostRequestFilter.
type TorrentsInfoPostResponse ¶ added in v0.8.0
type TorrentsInfoPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]TorrentInfo }
func ParseTorrentsInfoPostResponse ¶ added in v0.8.0
func ParseTorrentsInfoPostResponse(rsp *http.Response) (*TorrentsInfoPostResponse, error)
ParseTorrentsInfoPostResponse parses an HTTP response from a TorrentsInfoPostWithResponse call
func (TorrentsInfoPostResponse) Status ¶ added in v0.8.0
func (r TorrentsInfoPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsInfoPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsInfoPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsLimit ¶ added in v0.8.0
TorrentsLimit defines model for TorrentsLimit.
type TorrentsPausePostFormdataRequestBody ¶ added in v0.8.0
type TorrentsPausePostFormdataRequestBody = Hashes
TorrentsPausePostFormdataRequestBody defines body for TorrentsPausePost for application/x-www-form-urlencoded ContentType.
type TorrentsPausePostResponse ¶ added in v0.8.0
func ParseTorrentsPausePostResponse ¶ added in v0.8.0
func ParseTorrentsPausePostResponse(rsp *http.Response) (*TorrentsPausePostResponse, error)
ParseTorrentsPausePostResponse parses an HTTP response from a TorrentsPausePostWithResponse call
func (TorrentsPausePostResponse) Status ¶ added in v0.8.0
func (r TorrentsPausePostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsPausePostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsPausePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsPieceHashesPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsPieceHashesPostFormdataRequestBody = TorrentsPieceHashesPostRequest
TorrentsPieceHashesPostFormdataRequestBody defines body for TorrentsPieceHashesPost for application/x-www-form-urlencoded ContentType.
type TorrentsPieceHashesPostRequest ¶ added in v0.8.0
type TorrentsPieceHashesPostRequest struct { // Hash The hash of the torrent you want to get the pieces' hashes of Hash string `json:"hash"` }
TorrentsPieceHashesPostRequest defines model for torrentsPieceHashesPost_request.
type TorrentsPieceHashesPostResponse ¶ added in v0.8.0
type TorrentsPieceHashesPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]string }
func ParseTorrentsPieceHashesPostResponse ¶ added in v0.8.0
func ParseTorrentsPieceHashesPostResponse(rsp *http.Response) (*TorrentsPieceHashesPostResponse, error)
ParseTorrentsPieceHashesPostResponse parses an HTTP response from a TorrentsPieceHashesPostWithResponse call
func (TorrentsPieceHashesPostResponse) Status ¶ added in v0.8.0
func (r TorrentsPieceHashesPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsPieceHashesPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsPieceHashesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsPieceStatesPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsPieceStatesPostFormdataRequestBody = TorrentsPieceStatesPostRequest
TorrentsPieceStatesPostFormdataRequestBody defines body for TorrentsPieceStatesPost for application/x-www-form-urlencoded ContentType.
type TorrentsPieceStatesPostRequest ¶ added in v0.8.0
type TorrentsPieceStatesPostRequest struct { // Hash The hash of the torrent you want to get the pieces' states of Hash string `json:"hash"` }
TorrentsPieceStatesPostRequest defines model for torrentsPieceStatesPost_request.
type TorrentsPieceStatesPostResponse ¶ added in v0.8.0
type TorrentsPieceStatesPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]int32 }
func ParseTorrentsPieceStatesPostResponse ¶ added in v0.8.0
func ParseTorrentsPieceStatesPostResponse(rsp *http.Response) (*TorrentsPieceStatesPostResponse, error)
ParseTorrentsPieceStatesPostResponse parses an HTTP response from a TorrentsPieceStatesPostWithResponse call
func (TorrentsPieceStatesPostResponse) Status ¶ added in v0.8.0
func (r TorrentsPieceStatesPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsPieceStatesPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsPieceStatesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsProperties ¶ added in v0.8.0
type TorrentsProperties struct { // AdditionDate When this torrent was added (unix timestamp) AdditionDate *int64 `json:"addition_date,omitempty"` // Comment Torrent comment Comment *string `json:"comment,omitempty"` // CompletionDate Torrent completion date (unix timestamp) CompletionDate *int64 `json:"completion_date,omitempty"` // CreatedBy Torrent creator CreatedBy *string `json:"created_by,omitempty"` // CreationDate Torrent creation date (Unix timestamp) CreationDate *int64 `json:"creation_date,omitempty"` // DlLimit Torrent download limit (bytes/s) DlLimit *int64 `json:"dl_limit,omitempty"` // DlSpeed Torrent download speed (bytes/second) DlSpeed *int64 `json:"dl_speed,omitempty"` // DlSpeedAvg Torrent average download speed (bytes/second) DlSpeedAvg *int64 `json:"dl_speed_avg,omitempty"` // Eta Torrent ETA (seconds) Eta *int64 `json:"eta,omitempty"` // LastSeen Last seen complete date (unix timestamp) LastSeen *int64 `json:"last_seen,omitempty"` // NbConnections Torrent connection count NbConnections *int64 `json:"nb_connections,omitempty"` // NbConnectionsLimit Torrent connection count limit NbConnectionsLimit *int64 `json:"nb_connections_limit,omitempty"` // Peers Number of peers connected to Peers *int64 `json:"peers,omitempty"` // PeersTotal Number of peers in the swarm PeersTotal *int64 `json:"peers_total,omitempty"` // PieceSize Torrent piece size (bytes) PieceSize *int64 `json:"piece_size,omitempty"` // PiecesHave Number of pieces owned PiecesHave *int64 `json:"pieces_have,omitempty"` // PiecesNum Number of pieces of the torrent PiecesNum *int64 `json:"pieces_num,omitempty"` // Reannounce Number of seconds until the next announce Reannounce *int64 `json:"reannounce,omitempty"` // SavePath Torrent save path SavePath *string `json:"save_path,omitempty"` // SeedingTime Torrent elapsed time while complete (seconds) SeedingTime *int64 `json:"seeding_time,omitempty"` // Seeds Number of seeds connected to Seeds *int64 `json:"seeds,omitempty"` // SeedsTotal Number of seeds in the swarm SeedsTotal *int64 `json:"seeds_total,omitempty"` ShareRatio *float32 `json:"share_ratio,omitempty"` // TimeElapsed Torrent elapsed time (seconds) TimeElapsed *int64 `json:"time_elapsed,omitempty"` // TotalDownloaded Total data downloaded for torrent (bytes) TotalDownloaded *int64 `json:"total_downloaded,omitempty"` // TotalDownloadedSession Total data downloaded this session (bytes) TotalDownloadedSession *int64 `json:"total_downloaded_session,omitempty"` // TotalSize Torrent total size (bytes) TotalSize *int64 `json:"total_size,omitempty"` // TotalUploaded Total data uploaded for torrent (bytes) TotalUploaded *int64 `json:"total_uploaded,omitempty"` // TotalUploadedSession Total data uploaded this session (bytes) TotalUploadedSession *int64 `json:"total_uploaded_session,omitempty"` // TotalWasted Total data wasted for torrent (bytes) TotalWasted *int64 `json:"total_wasted,omitempty"` // UpLimit Torrent upload limit (bytes/s) UpLimit *int64 `json:"up_limit,omitempty"` // UpSpeed Torrent upload speed (bytes/second) UpSpeed *int64 `json:"up_speed,omitempty"` // UpSpeedAvg Torrent average upload speed (bytes/second) UpSpeedAvg *int64 `json:"up_speed_avg,omitempty"` }
TorrentsProperties The response is: - empty, if the torrent hash is invalid - otherwise, a JSON object with the following fields
NB: `-1` is returned if the type of the property is integer but its value is not known.
type TorrentsPropertiesPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsPropertiesPostFormdataRequestBody = TorrentsPropertiesPostRequest
TorrentsPropertiesPostFormdataRequestBody defines body for TorrentsPropertiesPost for application/x-www-form-urlencoded ContentType.
type TorrentsPropertiesPostRequest ¶ added in v0.8.0
type TorrentsPropertiesPostRequest struct { // Hash The hash of the torrent you want to get the generic properties of Hash string `json:"hash"` }
TorrentsPropertiesPostRequest defines model for torrentsPropertiesPost_request.
type TorrentsPropertiesPostResponse ¶ added in v0.8.0
type TorrentsPropertiesPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *TorrentsProperties }
func ParseTorrentsPropertiesPostResponse ¶ added in v0.8.0
func ParseTorrentsPropertiesPostResponse(rsp *http.Response) (*TorrentsPropertiesPostResponse, error)
ParseTorrentsPropertiesPostResponse parses an HTTP response from a TorrentsPropertiesPostWithResponse call
func (TorrentsPropertiesPostResponse) Status ¶ added in v0.8.0
func (r TorrentsPropertiesPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsPropertiesPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsPropertiesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsReannouncePostFormdataRequestBody ¶ added in v0.8.0
type TorrentsReannouncePostFormdataRequestBody = Hashes
TorrentsReannouncePostFormdataRequestBody defines body for TorrentsReannouncePost for application/x-www-form-urlencoded ContentType.
type TorrentsReannouncePostResponse ¶ added in v0.8.0
func ParseTorrentsReannouncePostResponse ¶ added in v0.8.0
func ParseTorrentsReannouncePostResponse(rsp *http.Response) (*TorrentsReannouncePostResponse, error)
ParseTorrentsReannouncePostResponse parses an HTTP response from a TorrentsReannouncePostWithResponse call
func (TorrentsReannouncePostResponse) Status ¶ added in v0.8.0
func (r TorrentsReannouncePostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsReannouncePostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsReannouncePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsRecheckPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsRecheckPostFormdataRequestBody = Hashes
TorrentsRecheckPostFormdataRequestBody defines body for TorrentsRecheckPost for application/x-www-form-urlencoded ContentType.
type TorrentsRecheckPostResponse ¶ added in v0.8.0
func ParseTorrentsRecheckPostResponse ¶ added in v0.8.0
func ParseTorrentsRecheckPostResponse(rsp *http.Response) (*TorrentsRecheckPostResponse, error)
ParseTorrentsRecheckPostResponse parses an HTTP response from a TorrentsRecheckPostWithResponse call
func (TorrentsRecheckPostResponse) Status ¶ added in v0.8.0
func (r TorrentsRecheckPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsRecheckPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsRecheckPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsRemoveCategoriesPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsRemoveCategoriesPostFormdataRequestBody = TorrentsRemoveCategoriesPostRequest
TorrentsRemoveCategoriesPostFormdataRequestBody defines body for TorrentsRemoveCategoriesPost for application/x-www-form-urlencoded ContentType.
type TorrentsRemoveCategoriesPostRequest ¶ added in v0.8.0
type TorrentsRemoveCategoriesPostRequest struct { // Categories `categories` can contain multiple cateogies separated by `\n` (%0A urlencoded) Categories string `json:"categories"` }
TorrentsRemoveCategoriesPostRequest defines model for torrentsRemoveCategoriesPost_request.
type TorrentsRemoveCategoriesPostResponse ¶ added in v0.8.0
func ParseTorrentsRemoveCategoriesPostResponse ¶ added in v0.8.0
func ParseTorrentsRemoveCategoriesPostResponse(rsp *http.Response) (*TorrentsRemoveCategoriesPostResponse, error)
ParseTorrentsRemoveCategoriesPostResponse parses an HTTP response from a TorrentsRemoveCategoriesPostWithResponse call
func (TorrentsRemoveCategoriesPostResponse) Status ¶ added in v0.8.0
func (r TorrentsRemoveCategoriesPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsRemoveCategoriesPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsRemoveCategoriesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsRemoveTagsPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsRemoveTagsPostFormdataRequestBody = TorrentsTags
TorrentsRemoveTagsPostFormdataRequestBody defines body for TorrentsRemoveTagsPost for application/x-www-form-urlencoded ContentType.
type TorrentsRemoveTagsPostResponse ¶ added in v0.8.0
func ParseTorrentsRemoveTagsPostResponse ¶ added in v0.8.0
func ParseTorrentsRemoveTagsPostResponse(rsp *http.Response) (*TorrentsRemoveTagsPostResponse, error)
ParseTorrentsRemoveTagsPostResponse parses an HTTP response from a TorrentsRemoveTagsPostWithResponse call
func (TorrentsRemoveTagsPostResponse) Status ¶ added in v0.8.0
func (r TorrentsRemoveTagsPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsRemoveTagsPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsRemoveTagsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsRemoveTrackersPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsRemoveTrackersPostFormdataRequestBody = TorrentsRemoveTrackersPostRequest
TorrentsRemoveTrackersPostFormdataRequestBody defines body for TorrentsRemoveTrackersPost for application/x-www-form-urlencoded ContentType.
type TorrentsRemoveTrackersPostRequest ¶ added in v0.8.0
type TorrentsRemoveTrackersPostRequest struct { // Hash The hash of the torrent Hash string `json:"hash"` // Urls URLs to remove, separated by `|` Urls []string `json:"urls"` }
TorrentsRemoveTrackersPostRequest defines model for torrentsRemoveTrackersPost_request.
type TorrentsRemoveTrackersPostResponse ¶ added in v0.8.0
func ParseTorrentsRemoveTrackersPostResponse ¶ added in v0.8.0
func ParseTorrentsRemoveTrackersPostResponse(rsp *http.Response) (*TorrentsRemoveTrackersPostResponse, error)
ParseTorrentsRemoveTrackersPostResponse parses an HTTP response from a TorrentsRemoveTrackersPostWithResponse call
func (TorrentsRemoveTrackersPostResponse) Status ¶ added in v0.8.0
func (r TorrentsRemoveTrackersPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsRemoveTrackersPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsRemoveTrackersPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsRenameFilePostFormdataRequestBody ¶ added in v0.8.0
type TorrentsRenameFilePostFormdataRequestBody = RenameTorrentFiles
TorrentsRenameFilePostFormdataRequestBody defines body for TorrentsRenameFilePost for application/x-www-form-urlencoded ContentType.
type TorrentsRenameFilePostResponse ¶ added in v0.8.0
func ParseTorrentsRenameFilePostResponse ¶ added in v0.8.0
func ParseTorrentsRenameFilePostResponse(rsp *http.Response) (*TorrentsRenameFilePostResponse, error)
ParseTorrentsRenameFilePostResponse parses an HTTP response from a TorrentsRenameFilePostWithResponse call
func (TorrentsRenameFilePostResponse) Status ¶ added in v0.8.0
func (r TorrentsRenameFilePostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsRenameFilePostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsRenameFilePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsRenameFolderPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsRenameFolderPostFormdataRequestBody = RenameTorrentFiles
TorrentsRenameFolderPostFormdataRequestBody defines body for TorrentsRenameFolderPost for application/x-www-form-urlencoded ContentType.
type TorrentsRenameFolderPostResponse ¶ added in v0.8.0
func ParseTorrentsRenameFolderPostResponse ¶ added in v0.8.0
func ParseTorrentsRenameFolderPostResponse(rsp *http.Response) (*TorrentsRenameFolderPostResponse, error)
ParseTorrentsRenameFolderPostResponse parses an HTTP response from a TorrentsRenameFolderPostWithResponse call
func (TorrentsRenameFolderPostResponse) Status ¶ added in v0.8.0
func (r TorrentsRenameFolderPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsRenameFolderPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsRenameFolderPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsRenamePostFormdataRequestBody ¶ added in v0.8.0
type TorrentsRenamePostFormdataRequestBody = TorrentsRenamePostRequest
TorrentsRenamePostFormdataRequestBody defines body for TorrentsRenamePost for application/x-www-form-urlencoded ContentType.
type TorrentsRenamePostRequest ¶ added in v0.8.0
TorrentsRenamePostRequest defines model for torrentsRenamePost_request.
type TorrentsRenamePostResponse ¶ added in v0.8.0
func ParseTorrentsRenamePostResponse ¶ added in v0.8.0
func ParseTorrentsRenamePostResponse(rsp *http.Response) (*TorrentsRenamePostResponse, error)
ParseTorrentsRenamePostResponse parses an HTTP response from a TorrentsRenamePostWithResponse call
func (TorrentsRenamePostResponse) Status ¶ added in v0.8.0
func (r TorrentsRenamePostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsRenamePostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsRenamePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsResumePostFormdataRequestBody ¶ added in v0.8.0
type TorrentsResumePostFormdataRequestBody = Hashes
TorrentsResumePostFormdataRequestBody defines body for TorrentsResumePost for application/x-www-form-urlencoded ContentType.
type TorrentsResumePostResponse ¶ added in v0.8.0
func ParseTorrentsResumePostResponse ¶ added in v0.8.0
func ParseTorrentsResumePostResponse(rsp *http.Response) (*TorrentsResumePostResponse, error)
ParseTorrentsResumePostResponse parses an HTTP response from a TorrentsResumePostWithResponse call
func (TorrentsResumePostResponse) Status ¶ added in v0.8.0
func (r TorrentsResumePostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsResumePostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsResumePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsSetAutoManagementPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsSetAutoManagementPostFormdataRequestBody = TorrentsSetAutoManagementPostRequest
TorrentsSetAutoManagementPostFormdataRequestBody defines body for TorrentsSetAutoManagementPost for application/x-www-form-urlencoded ContentType.
type TorrentsSetAutoManagementPostRequest ¶ added in v0.8.0
type TorrentsSetAutoManagementPostRequest struct { // Enable `enable` is a boolean, affects the torrents listed in `hashes`, default is `false` Enable *bool `json:"enable,omitempty"` Hashes []string `json:"hashes"` }
TorrentsSetAutoManagementPostRequest defines model for torrentsSetAutoManagementPost_request.
type TorrentsSetAutoManagementPostRequestAllOf ¶ added in v0.8.0
type TorrentsSetAutoManagementPostRequestAllOf struct { // Enable `enable` is a boolean, affects the torrents listed in `hashes`, default is `false` Enable *bool `json:"enable,omitempty"` }
TorrentsSetAutoManagementPostRequestAllOf defines model for torrentsSetAutoManagementPost_request_allOf.
type TorrentsSetAutoManagementPostResponse ¶ added in v0.8.0
func ParseTorrentsSetAutoManagementPostResponse ¶ added in v0.8.0
func ParseTorrentsSetAutoManagementPostResponse(rsp *http.Response) (*TorrentsSetAutoManagementPostResponse, error)
ParseTorrentsSetAutoManagementPostResponse parses an HTTP response from a TorrentsSetAutoManagementPostWithResponse call
func (TorrentsSetAutoManagementPostResponse) Status ¶ added in v0.8.0
func (r TorrentsSetAutoManagementPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsSetAutoManagementPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsSetAutoManagementPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsSetCategoryPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsSetCategoryPostFormdataRequestBody = TorrentsSetCategoryPostRequest
TorrentsSetCategoryPostFormdataRequestBody defines body for TorrentsSetCategoryPost for application/x-www-form-urlencoded ContentType.
type TorrentsSetCategoryPostRequest ¶ added in v0.8.0
type TorrentsSetCategoryPostRequest struct { // Category `category` is the torrent category you want to set. Category *string `json:"category,omitempty"` Hashes []string `json:"hashes"` }
TorrentsSetCategoryPostRequest defines model for torrentsSetCategoryPost_request.
type TorrentsSetCategoryPostRequestAllOf ¶ added in v0.8.0
type TorrentsSetCategoryPostRequestAllOf struct { // Category `category` is the torrent category you want to set. Category *string `json:"category,omitempty"` }
TorrentsSetCategoryPostRequestAllOf defines model for torrentsSetCategoryPost_request_allOf.
type TorrentsSetCategoryPostResponse ¶ added in v0.8.0
func ParseTorrentsSetCategoryPostResponse ¶ added in v0.8.0
func ParseTorrentsSetCategoryPostResponse(rsp *http.Response) (*TorrentsSetCategoryPostResponse, error)
ParseTorrentsSetCategoryPostResponse parses an HTTP response from a TorrentsSetCategoryPostWithResponse call
func (TorrentsSetCategoryPostResponse) Status ¶ added in v0.8.0
func (r TorrentsSetCategoryPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsSetCategoryPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsSetCategoryPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsSetDownloadLimitPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsSetDownloadLimitPostFormdataRequestBody = SetTorrentsLimit
TorrentsSetDownloadLimitPostFormdataRequestBody defines body for TorrentsSetDownloadLimitPost for application/x-www-form-urlencoded ContentType.
type TorrentsSetDownloadLimitPostResponse ¶ added in v0.8.0
func ParseTorrentsSetDownloadLimitPostResponse ¶ added in v0.8.0
func ParseTorrentsSetDownloadLimitPostResponse(rsp *http.Response) (*TorrentsSetDownloadLimitPostResponse, error)
ParseTorrentsSetDownloadLimitPostResponse parses an HTTP response from a TorrentsSetDownloadLimitPostWithResponse call
func (TorrentsSetDownloadLimitPostResponse) Status ¶ added in v0.8.0
func (r TorrentsSetDownloadLimitPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsSetDownloadLimitPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsSetDownloadLimitPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsSetForceStartPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsSetForceStartPostFormdataRequestBody = SetTorrentsValue
TorrentsSetForceStartPostFormdataRequestBody defines body for TorrentsSetForceStartPost for application/x-www-form-urlencoded ContentType.
type TorrentsSetForceStartPostResponse ¶ added in v0.8.0
func ParseTorrentsSetForceStartPostResponse ¶ added in v0.8.0
func ParseTorrentsSetForceStartPostResponse(rsp *http.Response) (*TorrentsSetForceStartPostResponse, error)
ParseTorrentsSetForceStartPostResponse parses an HTTP response from a TorrentsSetForceStartPostWithResponse call
func (TorrentsSetForceStartPostResponse) Status ¶ added in v0.8.0
func (r TorrentsSetForceStartPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsSetForceStartPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsSetForceStartPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsSetLocationPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsSetLocationPostFormdataRequestBody = TorrentsSetLocationPostRequest
TorrentsSetLocationPostFormdataRequestBody defines body for TorrentsSetLocationPost for application/x-www-form-urlencoded ContentType.
type TorrentsSetLocationPostRequest ¶ added in v0.8.0
type TorrentsSetLocationPostRequest struct { Hashes []string `json:"hashes"` // Location `location` is the location to download the torrent to. If the location doesn't exist, the torrent's location is unchanged. Location *string `json:"location,omitempty"` }
TorrentsSetLocationPostRequest defines model for torrentsSetLocationPost_request.
type TorrentsSetLocationPostRequestAllOf ¶ added in v0.8.0
type TorrentsSetLocationPostRequestAllOf struct { // Location `location` is the location to download the torrent to. If the location doesn't exist, the torrent's location is unchanged. Location *string `json:"location,omitempty"` }
TorrentsSetLocationPostRequestAllOf defines model for torrentsSetLocationPost_request_allOf.
type TorrentsSetLocationPostResponse ¶ added in v0.8.0
func ParseTorrentsSetLocationPostResponse ¶ added in v0.8.0
func ParseTorrentsSetLocationPostResponse(rsp *http.Response) (*TorrentsSetLocationPostResponse, error)
ParseTorrentsSetLocationPostResponse parses an HTTP response from a TorrentsSetLocationPostWithResponse call
func (TorrentsSetLocationPostResponse) Status ¶ added in v0.8.0
func (r TorrentsSetLocationPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsSetLocationPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsSetLocationPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsSetShareLimitsPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsSetShareLimitsPostFormdataRequestBody = TorrentsSetShareLimitsPostRequest
TorrentsSetShareLimitsPostFormdataRequestBody defines body for TorrentsSetShareLimitsPost for application/x-www-form-urlencoded ContentType.
type TorrentsSetShareLimitsPostRequest ¶ added in v0.8.0
type TorrentsSetShareLimitsPostRequest struct { float32 `json:"ratioLimit,omitempty"` SeedingTimeLimit *float32 `json:"seedingTimeLimit,omitempty"` }RatioLimit *
TorrentsSetShareLimitsPostRequest defines model for torrentsSetShareLimitsPost_request.
type TorrentsSetShareLimitsPostRequestAllOf ¶ added in v0.8.0
type TorrentsSetShareLimitsPostRequestAllOf struct { float32 `json:"ratioLimit,omitempty"` SeedingTimeLimit *float32 `json:"seedingTimeLimit,omitempty"` }RatioLimit *
TorrentsSetShareLimitsPostRequestAllOf defines model for torrentsSetShareLimitsPost_request_allOf.
type TorrentsSetShareLimitsPostResponse ¶ added in v0.8.0
type TorrentsSetShareLimitsPostResponse struct {}
func ParseTorrentsSetShareLimitsPostResponse ¶ added in v0.8.0
func ParseTorrentsSetShareLimitsPostResponse(rsp *http.Response) (*TorrentsSetShareLimitsPostResponse, error)
ParseTorrentsSetShareLimitsPostResponse parses an HTTP response from a TorrentsSetShareLimitsPostWithResponse call
func (TorrentsSetShareLimitsPostResponse) Status ¶ added in v0.8.0
func (r TorrentsSetShareLimitsPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsSetShareLimitsPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsSetShareLimitsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsSetSuperSeedingPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsSetSuperSeedingPostFormdataRequestBody = SetTorrentsValue
TorrentsSetSuperSeedingPostFormdataRequestBody defines body for TorrentsSetSuperSeedingPost for application/x-www-form-urlencoded ContentType.
type TorrentsSetSuperSeedingPostResponse ¶ added in v0.8.0
func ParseTorrentsSetSuperSeedingPostResponse ¶ added in v0.8.0
func ParseTorrentsSetSuperSeedingPostResponse(rsp *http.Response) (*TorrentsSetSuperSeedingPostResponse, error)
ParseTorrentsSetSuperSeedingPostResponse parses an HTTP response from a TorrentsSetSuperSeedingPostWithResponse call
func (TorrentsSetSuperSeedingPostResponse) Status ¶ added in v0.8.0
func (r TorrentsSetSuperSeedingPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsSetSuperSeedingPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsSetSuperSeedingPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsSetUploadLimitPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsSetUploadLimitPostFormdataRequestBody = SetTorrentsLimit
TorrentsSetUploadLimitPostFormdataRequestBody defines body for TorrentsSetUploadLimitPost for application/x-www-form-urlencoded ContentType.
type TorrentsSetUploadLimitPostResponse ¶ added in v0.8.0
func ParseTorrentsSetUploadLimitPostResponse ¶ added in v0.8.0
func ParseTorrentsSetUploadLimitPostResponse(rsp *http.Response) (*TorrentsSetUploadLimitPostResponse, error)
ParseTorrentsSetUploadLimitPostResponse parses an HTTP response from a TorrentsSetUploadLimitPostWithResponse call
func (TorrentsSetUploadLimitPostResponse) Status ¶ added in v0.8.0
func (r TorrentsSetUploadLimitPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsSetUploadLimitPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsSetUploadLimitPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsTags ¶ added in v0.8.0
TorrentsTags defines model for TorrentsTags.
type TorrentsTagsAllOf ¶ added in v0.8.0
type TorrentsTagsAllOf struct {
Tags *[]string `json:"tags,omitempty"`
}
TorrentsTagsAllOf defines model for TorrentsTags_allOf.
type TorrentsTagsGetResponse ¶ added in v0.8.0
func ParseTorrentsTagsGetResponse ¶ added in v0.8.0
func ParseTorrentsTagsGetResponse(rsp *http.Response) (*TorrentsTagsGetResponse, error)
ParseTorrentsTagsGetResponse parses an HTTP response from a TorrentsTagsGetWithResponse call
func (TorrentsTagsGetResponse) Status ¶ added in v0.8.0
func (r TorrentsTagsGetResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsTagsGetResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsTagsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsToggleFirstLastPiecePrioPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsToggleFirstLastPiecePrioPostFormdataRequestBody = Hashes
TorrentsToggleFirstLastPiecePrioPostFormdataRequestBody defines body for TorrentsToggleFirstLastPiecePrioPost for application/x-www-form-urlencoded ContentType.
type TorrentsToggleFirstLastPiecePrioPostResponse ¶ added in v0.8.0
type TorrentsToggleFirstLastPiecePrioPostResponse struct { Body []byte HTTPResponse *http.Response }
func ParseTorrentsToggleFirstLastPiecePrioPostResponse ¶ added in v0.8.0
func ParseTorrentsToggleFirstLastPiecePrioPostResponse(rsp *http.Response) (*TorrentsToggleFirstLastPiecePrioPostResponse, error)
ParseTorrentsToggleFirstLastPiecePrioPostResponse parses an HTTP response from a TorrentsToggleFirstLastPiecePrioPostWithResponse call
func (TorrentsToggleFirstLastPiecePrioPostResponse) Status ¶ added in v0.8.0
func (r TorrentsToggleFirstLastPiecePrioPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsToggleFirstLastPiecePrioPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsToggleFirstLastPiecePrioPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsToggleSequentialDownloadPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsToggleSequentialDownloadPostFormdataRequestBody = Hashes
TorrentsToggleSequentialDownloadPostFormdataRequestBody defines body for TorrentsToggleSequentialDownloadPost for application/x-www-form-urlencoded ContentType.
type TorrentsToggleSequentialDownloadPostResponse ¶ added in v0.8.0
type TorrentsToggleSequentialDownloadPostResponse struct { Body []byte HTTPResponse *http.Response }
func ParseTorrentsToggleSequentialDownloadPostResponse ¶ added in v0.8.0
func ParseTorrentsToggleSequentialDownloadPostResponse(rsp *http.Response) (*TorrentsToggleSequentialDownloadPostResponse, error)
ParseTorrentsToggleSequentialDownloadPostResponse parses an HTTP response from a TorrentsToggleSequentialDownloadPostWithResponse call
func (TorrentsToggleSequentialDownloadPostResponse) Status ¶ added in v0.8.0
func (r TorrentsToggleSequentialDownloadPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsToggleSequentialDownloadPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsToggleSequentialDownloadPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsTopPrioPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsTopPrioPostFormdataRequestBody = Hashes
TorrentsTopPrioPostFormdataRequestBody defines body for TorrentsTopPrioPost for application/x-www-form-urlencoded ContentType.
type TorrentsTopPrioPostResponse ¶ added in v0.8.0
func ParseTorrentsTopPrioPostResponse ¶ added in v0.8.0
func ParseTorrentsTopPrioPostResponse(rsp *http.Response) (*TorrentsTopPrioPostResponse, error)
ParseTorrentsTopPrioPostResponse parses an HTTP response from a TorrentsTopPrioPostWithResponse call
func (TorrentsTopPrioPostResponse) Status ¶ added in v0.8.0
func (r TorrentsTopPrioPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsTopPrioPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsTopPrioPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsTrackers ¶ added in v0.8.0
type TorrentsTrackers struct { // Msg Tracker message (there is no way of knowing what this message is - it's up to tracker admins) Msg *string `json:"msg,omitempty"` // NumDownloaded Number of completed downlods for current torrent, as reported by the tracker NumDownloaded *int64 `json:"num_downloaded,omitempty"` // NumLeeches Number of leeches for current torrent, as reported by the tracker NumLeeches *int64 `json:"num_leeches,omitempty"` // NumPeers Number of peers for current torrent, as reported by the tracker NumPeers *int64 `json:"num_peers,omitempty"` // NumSeeds Number of seeds for current torrent, asreported by the tracker NumSeeds *int64 `json:"num_seeds,omitempty"` // Status Tracker status. See the table below for possible values // // | Value | Description | // | ----- | ---------------------------------------------------------------------------------- | // | 0 | Tracker is disabled (used for DHT, PeX, and LSD) | // | 1 | Tracker has not been contacted yet | // | 2 | Tracker has been contacted and is working | // | 3 | Tracker is updating | // | 4 | Tracker has been contacted, but it is not working (or doesn't send proper replies) | Status *TorrentsTrackersStatus `json:"status,omitempty"` // Tier Tracker priority tier. Lower tier trackers are tried before higher tiers. Tier numbers are valid when `>= 0`, `< 0` is used as placeholder when `tier` does not exist for special entries (such as DHT). Tier *int64 `json:"tier,omitempty"` // Url Tracker url Url *string `json:"url,omitempty"` }
TorrentsTrackers defines model for TorrentsTrackers.
type TorrentsTrackersPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsTrackersPostFormdataRequestBody = TorrentsTrackersPostRequest
TorrentsTrackersPostFormdataRequestBody defines body for TorrentsTrackersPost for application/x-www-form-urlencoded ContentType.
type TorrentsTrackersPostRequest ¶ added in v0.8.0
type TorrentsTrackersPostRequest struct { // Hash The hash of the torrent you want to get the trackers of Hash string `json:"hash"` }
TorrentsTrackersPostRequest defines model for torrentsTrackersPost_request.
type TorrentsTrackersPostResponse ¶ added in v0.8.0
type TorrentsTrackersPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]TorrentsTrackers }
func ParseTorrentsTrackersPostResponse ¶ added in v0.8.0
func ParseTorrentsTrackersPostResponse(rsp *http.Response) (*TorrentsTrackersPostResponse, error)
ParseTorrentsTrackersPostResponse parses an HTTP response from a TorrentsTrackersPostWithResponse call
func (TorrentsTrackersPostResponse) Status ¶ added in v0.8.0
func (r TorrentsTrackersPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsTrackersPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsTrackersPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsTrackersStatus ¶ added in v0.8.0
type TorrentsTrackersStatus int32
TorrentsTrackersStatus Tracker status. See the table below for possible values
| Value | Description | | ----- | ---------------------------------------------------------------------------------- | | 0 | Tracker is disabled (used for DHT, PeX, and LSD) | | 1 | Tracker has not been contacted yet | | 2 | Tracker has been contacted and is working | | 3 | Tracker is updating | | 4 | Tracker has been contacted, but it is not working (or doesn't send proper replies) |
const ( TorrentsTrackersStatusN0 TorrentsTrackersStatus = 0 TorrentsTrackersStatusN1 TorrentsTrackersStatus = 1 TorrentsTrackersStatusN2 TorrentsTrackersStatus = 2 TorrentsTrackersStatusN3 TorrentsTrackersStatus = 3 TorrentsTrackersStatusN4 TorrentsTrackersStatus = 4 )
Defines values for TorrentsTrackersStatus.
type TorrentsUploadLimitPostFormdataRequestBody ¶ added in v0.8.0
type TorrentsUploadLimitPostFormdataRequestBody = Hashes
TorrentsUploadLimitPostFormdataRequestBody defines body for TorrentsUploadLimitPost for application/x-www-form-urlencoded ContentType.
type TorrentsUploadLimitPostResponse ¶ added in v0.8.0
type TorrentsUploadLimitPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *TorrentsLimit }
func ParseTorrentsUploadLimitPostResponse ¶ added in v0.8.0
func ParseTorrentsUploadLimitPostResponse(rsp *http.Response) (*TorrentsUploadLimitPostResponse, error)
ParseTorrentsUploadLimitPostResponse parses an HTTP response from a TorrentsUploadLimitPostWithResponse call
func (TorrentsUploadLimitPostResponse) Status ¶ added in v0.8.0
func (r TorrentsUploadLimitPostResponse) Status() string
Status returns HTTPResponse.Status
func (TorrentsUploadLimitPostResponse) StatusCode ¶ added in v0.8.0
func (r TorrentsUploadLimitPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TorrentsWebseeds ¶ added in v0.8.0
type TorrentsWebseeds struct { // Url URL of the web seed Url *string `json:"url,omitempty"` }
TorrentsWebseeds defines model for TorrentsWebseeds.
type Tracker ¶
type Tracker struct { Msg string `json:"msg"` NumPeers int `json:"num_peers"` Status string `json:"status"` URL string `json:"url"` }
Tracker holds a tracker object from qbittorrent
type TransferBanPeersPostFormdataRequestBody ¶ added in v0.8.0
type TransferBanPeersPostFormdataRequestBody = TransferBanPeersPostRequest
TransferBanPeersPostFormdataRequestBody defines body for TransferBanPeersPost for application/x-www-form-urlencoded ContentType.
type TransferBanPeersPostRequest ¶ added in v0.8.0
type TransferBanPeersPostRequest struct { // Peers The peer to ban, or multiple peers separated by a pipe `|`. Each peer is a colon-separated `host:port` Peers *[]string `json:"peers,omitempty"` }
TransferBanPeersPostRequest defines model for transferBanPeersPost_request.
type TransferBanPeersPostResponse ¶ added in v0.8.0
func ParseTransferBanPeersPostResponse ¶ added in v0.8.0
func ParseTransferBanPeersPostResponse(rsp *http.Response) (*TransferBanPeersPostResponse, error)
ParseTransferBanPeersPostResponse parses an HTTP response from a TransferBanPeersPostWithResponse call
func (TransferBanPeersPostResponse) Status ¶ added in v0.8.0
func (r TransferBanPeersPostResponse) Status() string
Status returns HTTPResponse.Status
func (TransferBanPeersPostResponse) StatusCode ¶ added in v0.8.0
func (r TransferBanPeersPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TransferDownloadLimitGetResponse ¶ added in v0.8.0
func ParseTransferDownloadLimitGetResponse ¶ added in v0.8.0
func ParseTransferDownloadLimitGetResponse(rsp *http.Response) (*TransferDownloadLimitGetResponse, error)
ParseTransferDownloadLimitGetResponse parses an HTTP response from a TransferDownloadLimitGetWithResponse call
func (TransferDownloadLimitGetResponse) Status ¶ added in v0.8.0
func (r TransferDownloadLimitGetResponse) Status() string
Status returns HTTPResponse.Status
func (TransferDownloadLimitGetResponse) StatusCode ¶ added in v0.8.0
func (r TransferDownloadLimitGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TransferInfo ¶ added in v0.8.0
type TransferInfo struct { // ConnectionStatus Connection status. See possible values here below // // Possible values of connection_status: // | Value | // | ------------ | // | connected | // | firewalled | // | disconnected | ConnectionStatus *string `json:"connection_status,omitempty"` // DhtNodes DHT nodes connected to DhtNodes *int64 `json:"dht_nodes,omitempty"` // DlInfoData Data downloaded this session (bytes) DlInfoData *int64 `json:"dl_info_data,omitempty"` // DlInfoSpeed Global download rate (bytes/s) DlInfoSpeed *int64 `json:"dl_info_speed,omitempty"` // DlRateLimit Download rate limit (bytes/s) DlRateLimit *int64 `json:"dl_rate_limit,omitempty"` // Queueing True if torrent queueing is enabled Queueing *bool `json:"queueing,omitempty"` // RefreshInterval Transfer list refresh interval (milliseconds) RefreshInterval *int64 `json:"refresh_interval,omitempty"` // UpInfoData Data uploaded this session (bytes) UpInfoData *int64 `json:"up_info_data,omitempty"` // UpInfoSpeed Global upload rate (bytes/s) UpInfoSpeed *int64 `json:"up_info_speed,omitempty"` // UpRateLimit Upload rate limit (bytes/s) UpRateLimit *int64 `json:"up_rate_limit,omitempty"` // UseAltSpeedLimits True if alternative speed limits are enabled UseAltSpeedLimits *bool `json:"use_alt_speed_limits,omitempty"` }
TransferInfo The response is a JSON object with the following fields
In addition to the above in partial data requests (see [Get partial data](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-partial-data) for more info):
type TransferInfoGetResponse ¶ added in v0.8.0
type TransferInfoGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *TransferInfo }
func ParseTransferInfoGetResponse ¶ added in v0.8.0
func ParseTransferInfoGetResponse(rsp *http.Response) (*TransferInfoGetResponse, error)
ParseTransferInfoGetResponse parses an HTTP response from a TransferInfoGetWithResponse call
func (TransferInfoGetResponse) Status ¶ added in v0.8.0
func (r TransferInfoGetResponse) Status() string
Status returns HTTPResponse.Status
func (TransferInfoGetResponse) StatusCode ¶ added in v0.8.0
func (r TransferInfoGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TransferSetDownloadLimitPostFormdataRequestBody ¶ added in v0.8.0
type TransferSetDownloadLimitPostFormdataRequestBody = TransferSetDownloadLimitPostRequest
TransferSetDownloadLimitPostFormdataRequestBody defines body for TransferSetDownloadLimitPost for application/x-www-form-urlencoded ContentType.
type TransferSetDownloadLimitPostRequest ¶ added in v0.8.0
type TransferSetDownloadLimitPostRequest struct { // Limit The global download speed limit to set in bytes/second Limit *int64 `json:"limit,omitempty"` }
TransferSetDownloadLimitPostRequest defines model for transferSetDownloadLimitPost_request.
type TransferSetDownloadLimitPostResponse ¶ added in v0.8.0
func ParseTransferSetDownloadLimitPostResponse ¶ added in v0.8.0
func ParseTransferSetDownloadLimitPostResponse(rsp *http.Response) (*TransferSetDownloadLimitPostResponse, error)
ParseTransferSetDownloadLimitPostResponse parses an HTTP response from a TransferSetDownloadLimitPostWithResponse call
func (TransferSetDownloadLimitPostResponse) Status ¶ added in v0.8.0
func (r TransferSetDownloadLimitPostResponse) Status() string
Status returns HTTPResponse.Status
func (TransferSetDownloadLimitPostResponse) StatusCode ¶ added in v0.8.0
func (r TransferSetDownloadLimitPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TransferSetUploadLimitPostFormdataRequestBody ¶ added in v0.8.0
type TransferSetUploadLimitPostFormdataRequestBody = TransferSetUploadLimitPostRequest
TransferSetUploadLimitPostFormdataRequestBody defines body for TransferSetUploadLimitPost for application/x-www-form-urlencoded ContentType.
type TransferSetUploadLimitPostRequest ¶ added in v0.8.0
type TransferSetUploadLimitPostRequest struct { // Limit The global upload speed limit to set in bytes/second Limit *int64 `json:"limit,omitempty"` }
TransferSetUploadLimitPostRequest defines model for transferSetUploadLimitPost_request.
type TransferSetUploadLimitPostResponse ¶ added in v0.8.0
func ParseTransferSetUploadLimitPostResponse ¶ added in v0.8.0
func ParseTransferSetUploadLimitPostResponse(rsp *http.Response) (*TransferSetUploadLimitPostResponse, error)
ParseTransferSetUploadLimitPostResponse parses an HTTP response from a TransferSetUploadLimitPostWithResponse call
func (TransferSetUploadLimitPostResponse) Status ¶ added in v0.8.0
func (r TransferSetUploadLimitPostResponse) Status() string
Status returns HTTPResponse.Status
func (TransferSetUploadLimitPostResponse) StatusCode ¶ added in v0.8.0
func (r TransferSetUploadLimitPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TransferSpeedLimitsModeGetResponse ¶ added in v0.8.0
func ParseTransferSpeedLimitsModeGetResponse ¶ added in v0.8.0
func ParseTransferSpeedLimitsModeGetResponse(rsp *http.Response) (*TransferSpeedLimitsModeGetResponse, error)
ParseTransferSpeedLimitsModeGetResponse parses an HTTP response from a TransferSpeedLimitsModeGetWithResponse call
func (TransferSpeedLimitsModeGetResponse) Status ¶ added in v0.8.0
func (r TransferSpeedLimitsModeGetResponse) Status() string
Status returns HTTPResponse.Status
func (TransferSpeedLimitsModeGetResponse) StatusCode ¶ added in v0.8.0
func (r TransferSpeedLimitsModeGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TransferToggleSpeedLimitsModeGetResponse ¶ added in v0.8.0
func ParseTransferToggleSpeedLimitsModeGetResponse ¶ added in v0.8.0
func ParseTransferToggleSpeedLimitsModeGetResponse(rsp *http.Response) (*TransferToggleSpeedLimitsModeGetResponse, error)
ParseTransferToggleSpeedLimitsModeGetResponse parses an HTTP response from a TransferToggleSpeedLimitsModeGetWithResponse call
func (TransferToggleSpeedLimitsModeGetResponse) Status ¶ added in v0.8.0
func (r TransferToggleSpeedLimitsModeGetResponse) Status() string
Status returns HTTPResponse.Status
func (TransferToggleSpeedLimitsModeGetResponse) StatusCode ¶ added in v0.8.0
func (r TransferToggleSpeedLimitsModeGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TransferUploadLimitGetResponse ¶ added in v0.8.0
func ParseTransferUploadLimitGetResponse ¶ added in v0.8.0
func ParseTransferUploadLimitGetResponse(rsp *http.Response) (*TransferUploadLimitGetResponse, error)
ParseTransferUploadLimitGetResponse parses an HTTP response from a TransferUploadLimitGetWithResponse call
func (TransferUploadLimitGetResponse) Status ¶ added in v0.8.0
func (r TransferUploadLimitGetResponse) Status() string
Status returns HTTPResponse.Status
func (TransferUploadLimitGetResponse) StatusCode ¶ added in v0.8.0
func (r TransferUploadLimitGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode