C# 클래스 Desk.DeskApi

상속: IDeskApi
파일 보기 프로젝트 열기: danielsaidi/desk-csharp-sdk

Private Properties

프로퍼티 타입 설명
GetClient RestSharp.RestClient
GetRequest RestSharp.RestRequest

공개 메소드들

메소드 설명
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 ) : RestRequest

메소드 상세

Call() 공개 메소드

public Call ( IRestRequest request ) : IRestResponse
request IRestRequest
리턴 IRestResponse

Call() 공개 메소드

public Call ( string resource, Method method ) : IRestResponse
resource string
method Method
리턴 IRestResponse

DeskApi() 공개 메소드

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
public DeskApi ( string apiUrlBase, string username, string password ) : System
apiUrlBase string
username string
password string
리턴 System

DeskApi() 공개 메소드

public DeskApi ( string apiUrlBase, string apiKey, string apiSecret, string apiToken, string apiTokenSecret ) : System
apiUrlBase string
apiKey string
apiSecret string
apiToken string
apiTokenSecret string
리턴 System