public RequestsResourceTests()
 {
     _client   = new DisposableZendeskApiClient <Request>((resource) => new RequestsResourceSampleSite(resource));
     _resource = new RequestsResource(_client, NullLogger.Instance);
 }
예제 #2
0
 public UsersResource(
     IZendeskApiClient apiClient,
     ILogger logger)
     : base(apiClient, logger, "users")
 {
 }
 public TicketsResourceTests()
 {
     _client   = new DisposableZendeskApiClient((resource) => new TicketResourceSampleSite(resource));
     _resource = new TicketsResource(_client, NullLogger.Instance);
 }
예제 #4
0
 public TicketsResource(IZendeskApiClient apiClient, ILogger logger)
 {
     _apiClient = apiClient;
     _logger    = logger;
 }
예제 #5
0
 public JobStatusResource(IZendeskApiClient apiClient, ILogger logger)
 {
     _apiClient = apiClient;
     _logger    = logger;
 }
예제 #6
0
 public SearchResource(
     IZendeskApiClient apiClient,
     ILogger logger)
     : base(apiClient, logger, "search")
 {
 }
 public TicketAuditResource(IZendeskApiClient apiClient, ILogger logger) : base(apiClient, logger,
                                                                                "ticket_audits")
 {
 }
 public OrganizationsResource(
     IZendeskApiClient apiClient,
     ILogger logger)
     : base(apiClient, logger, "organizations")
 {
 }
 public OrganizationMembershipsResource(IZendeskApiClient apiClient,
                                        ILogger logger)
 {
     _apiClient = apiClient;
     _logger    = logger;
 }
예제 #10
0
 public LocaleResource(
     IZendeskApiClient apiClient,
     ILogger logger)
     : base(apiClient, logger, "locales")
 {
 }
예제 #11
0
 public GroupsResource(
     IZendeskApiClient apiClient,
     ILogger logger)
     : base(apiClient, logger, "groups")
 {
 }
예제 #12
0
 public UserIdentitiesResource(
     IZendeskApiClient apiClient,
     ILogger logger)
     : base(apiClient, logger, "user_identities")
 {
 }
 public HelpCenterCategoriesResource(
     IZendeskApiClient apiClient,
     ILogger logger)
     : base(apiClient, logger, "help_center/categories")
 {
 }