Свойство | Тип | Описание | |
---|---|---|---|
GetClient | RestSharp.RestClient | ||
GetRequest |
Метод | Описание | |
---|---|---|
Call ( IRestRequest request ) : IRestResponse | ||
Call ( string resource, Method method ) : IRestResponse | ||
DeskApi ( string apiUrlBase, string username, string password ) : System |
This constructor is used for Basic Authentication against the Desk API. Use this method when you only require access to your own account. Desk documentation: http://bit.ly/1jNfykh
|
|
DeskApi ( string apiUrlBase, string apiKey, string apiSecret, string apiToken, string apiTokenSecret ) : System |
Метод | Описание | |
---|---|---|
GetClient ( ) : RestSharp.RestClient | ||
GetRequest ( Method method, string resource ) : |
public Call ( IRestRequest request ) : IRestResponse | ||
request | IRestRequest | |
Результат | IRestResponse |
public Call ( string resource, Method method ) : IRestResponse | ||
resource | string | |
method | Method | |
Результат | IRestResponse |
public DeskApi ( string apiUrlBase, string username, string password ) : System | ||
apiUrlBase | string | |
username | string | |
password | string | |
Результат | System |
public DeskApi ( string apiUrlBase, string apiKey, string apiSecret, string apiToken, string apiTokenSecret ) : System | ||
apiUrlBase | string | |
apiKey | string | |
apiSecret | string | |
apiToken | string | |
apiTokenSecret | string | |
Результат | System |