C# 클래스 NZBDash.ThirdParty.Api.Rest.NzbGetRestRequest

상속: BaseRequest, INzbGetRequest
파일 보기 프로젝트 열기: NZBDash/NZBDash

공개 메소드들

메소드 설명
GetHistory ( string url, string username, string password ) : NzbGetHistory

Gets the history.

GetLogs ( string url, string username, string password ) : NzbGetLogs

Gets the logs.

GetNzbGetList ( string url, string username, string password ) : NzbGetList

Get the NZBGet List

GetStatus ( string url, string username, string password ) : NzbGetStatus

Gets the status.

NzbGetRestRequest ( IApiRequest request, ILogger logger ) : System.Net
Restart ( string url, string username, string password ) : bool

Restarts the specified URL.

SetDownloadLimit ( string url, string username, string password, int kbLimit ) : bool

Sets the download limit.

SetDownloadStatus ( string url, string username, string password, bool pause ) : bool

Sets the download status.

WriteLog ( string url, string username, string password, NzbLogType kind, string message ) : bool

Writes the log.

비공개 메소드들

메소드 설명
GenerateRpcBody ( string method ) : string

Generates the JSON RPC body.

메소드 상세

GetHistory() 공개 메소드

Gets the history.
public GetHistory ( string url, string username, string password ) : NzbGetHistory
url string The URL.
username string The username.
password string The password.
리턴 NzbGetHistory

GetLogs() 공개 메소드

Gets the logs.
public GetLogs ( string url, string username, string password ) : NzbGetLogs
url string The URL.
username string The username.
password string The password.
리턴 NZBDash.ThirdParty.Api.Models.Api.NzbGetLogs

GetNzbGetList() 공개 메소드

Get the NZBGet List
public GetNzbGetList ( string url, string username, string password ) : NzbGetList
url string The URL.
username string The username.
password string The password.
리턴 NZBDash.ThirdParty.Api.Models.Api.NzbGetList

GetStatus() 공개 메소드

Gets the status.
public GetStatus ( string url, string username, string password ) : NzbGetStatus
url string The URL.
username string The username.
password string The password.
리턴 NZBDash.ThirdParty.Api.Models.Api.NzbGetStatus

NzbGetRestRequest() 공개 메소드

public NzbGetRestRequest ( IApiRequest request, ILogger logger ) : System.Net
request IApiRequest
logger ILogger
리턴 System.Net

Restart() 공개 메소드

Restarts the specified URL.
public Restart ( string url, string username, string password ) : bool
url string The URL.
username string The username.
password string The password.
리턴 bool

SetDownloadLimit() 공개 메소드

Sets the download limit.
public SetDownloadLimit ( string url, string username, string password, int kbLimit ) : bool
url string The URL.
username string The username.
password string The password.
kbLimit int The kb limit.
리턴 bool

SetDownloadStatus() 공개 메소드

Sets the download status.
public SetDownloadStatus ( string url, string username, string password, bool pause ) : bool
url string The URL.
username string The username.
password string The password.
pause bool if set to true [pause].
리턴 bool

WriteLog() 공개 메소드

Writes the log.
public WriteLog ( string url, string username, string password, NzbLogType kind, string message ) : bool
url string The URL.
username string The username.
password string The password.
kind NzbLogType The kind.
message string The message.
리턴 bool