C# 클래스 ZendeskApi_v2.ZendeskApi

상속: IZendeskApi
파일 보기 프로젝트 열기: mozts2005/ZendeskApi_v2 1 사용 예제들

공개 메소드들

메소드 설명
ByteArrayToHexString ( byte Bytes ) : string
GetLoginUrl ( string name, string email, string authenticationToken, string returnToUrl = "" ) : string
Md5 ( string strChange ) : string
ZendeskApi ( IWebProxy proxy, string yourZendeskUrl, string user, string password ) : System

Constructor that takes 3 params.

ZendeskApi ( string yourZendeskUrl, string p_OauthToken ) : System

Constructor that takes 2 params.

ZendeskApi ( string yourZendeskUrl, string user, string password ) : System

Constructor that takes 3 params.

ZendeskApi ( string yourZendeskUrl, string user, string apiToken, string locale ) : System

Constructor that takes 4 params.

ZendeskApi ( string yourZendeskUrl, string user, string password, string apiToken, string locale, string p_OAuthToken ) : System

Constructor that takes 6 params.

비공개 메소드들

메소드 설명
GetFormattedZendeskUrl ( string yourZendeskUrl ) : Uri
GetUnixEpoch ( System.DateTime dateTime ) : double

메소드 상세

ByteArrayToHexString() 공개 메소드

public ByteArrayToHexString ( byte Bytes ) : string
Bytes byte
리턴 string

GetLoginUrl() 공개 메소드

public GetLoginUrl ( string name, string email, string authenticationToken, string returnToUrl = "" ) : string
name string
email string
authenticationToken string
returnToUrl string
리턴 string

Md5() 공개 메소드

public Md5 ( string strChange ) : string
strChange string
리턴 string

ZendeskApi() 공개 메소드

Constructor that takes 3 params.
public ZendeskApi ( IWebProxy proxy, string yourZendeskUrl, string user, string password ) : System
proxy IWebProxy
yourZendeskUrl string Will be formated to "https://yoursite.zendesk.com/api/v2"
user string
password string
리턴 System

ZendeskApi() 공개 메소드

Constructor that takes 2 params.
public ZendeskApi ( string yourZendeskUrl, string p_OauthToken ) : System
yourZendeskUrl string Will be formated to "https://yoursite.zendesk.com/api/v2"
p_OauthToken string
리턴 System

ZendeskApi() 공개 메소드

Constructor that takes 3 params.
public ZendeskApi ( string yourZendeskUrl, string user, string password ) : System
yourZendeskUrl string Will be formated to "https://yoursite.zendesk.com/api/v2"
user string Email adress of the user.
password string Password of the user.
리턴 System

ZendeskApi() 공개 메소드

Constructor that takes 4 params.
public ZendeskApi ( string yourZendeskUrl, string user, string apiToken, string locale ) : System
yourZendeskUrl string Will be formated to "https://yoursite.zendesk.com/api/v2"
user string Email adress of the user
apiToken string Used if specified instead of the password
locale string Locale to use for Help Center requests. Defaults to "en-us" if no value is provided.
리턴 System

ZendeskApi() 공개 메소드

Constructor that takes 6 params.
public ZendeskApi ( string yourZendeskUrl, string user, string password, string apiToken, string locale, string p_OAuthToken ) : System
yourZendeskUrl string Will be formated to "https://yoursite.zendesk.com/api/v2"
user string Email adress of the user
password string LEAVE BLANK IF USING TOKEN
apiToken string Used if specified instead of the password
locale string Locale to use for Help Center requests. Defaults to "en-us" if no value is provided.
p_OAuthToken string
리턴 System