ZendeskApi_v2.ZendeskApi.ZendeskApi C# (CSharp) Method

ZendeskApi() public method

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
return System
        public ZendeskApi(IWebProxy proxy, string yourZendeskUrl, string user, string password)
            : this(yourZendeskUrl, user, password, null, "en-us", null)
        {
            if (proxy == null) return;

            ((Tickets)Tickets).Proxy                              = proxy;
            ((Attachments)Attachments).Proxy                      = proxy;
            ((Brands)Brands).Proxy                                = proxy;
            ((Views)Views).Proxy                                  = proxy;
            ((Users)Users).Proxy                                  = proxy;
            ((Requests.Requests)Requests).Proxy                   = proxy;
            ((Groups)Groups).Proxy                                = proxy;
            ((CustomAgentRoles)CustomAgentRoles).Proxy            = proxy;
            ((Organizations)Organizations).Proxy                  = proxy;
            ((Search)Search).Proxy                                = proxy;
            ((Tags)Tags).Proxy                                    = proxy;
            ((Forums)Forums).Proxy                                = proxy;
            ((ZendeskApi_v2.Requests.Categories)Categories).Proxy = proxy;
            ((Topics)Topics).Proxy                                = proxy;
            ((AccountsAndActivity)AccountsAndActivity).Proxy      = proxy;
            ((JobStatuses)JobStatuses).Proxy                      = proxy;
            ((Locales)Locales).Proxy                              = proxy;
            ((Macros)Macros).Proxy                                = proxy;
            ((SatisfactionRatings)SatisfactionRatings).Proxy      = proxy;
            ((SharingAgreements)SharingAgreements).Proxy          = proxy;
            ((Triggers)Triggers).Proxy                            = proxy;
            ((Voice)Voice).Proxy                                  = proxy;
            ((Schedules)Schedules).Proxy                          = proxy;
            ((Targets)Targets).Proxy = proxy;
        }

Same methods

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