File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
src/main/java/org/zendesk/client/v2 Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -460,12 +460,21 @@ public Iterable<Ticket> getRecentTickets() {
460
460
return new PagedIterable <>(cnst ("/tickets/recent.json" ), handleList (Ticket .class , "tickets" ));
461
461
}
462
462
463
+ /**
464
+ * https://developer.zendesk.com/rest_api/docs/support/incremental_export
465
+ */
463
466
public Iterable <Ticket > getTicketsIncrementally (Date startTime ) {
464
467
return new PagedIterable <>(
465
468
tmpl ("/incremental/tickets.json{?start_time}" ).set ("start_time" , msToSeconds (startTime .getTime ())),
466
469
handleIncrementalList (Ticket .class , "tickets" ));
467
470
}
468
471
472
+ /**
473
+ * https://developer.zendesk.com/rest_api/docs/support/incremental_export
474
+ *
475
+ * @deprecated incremental export does not support an end_time parameter
476
+ */
477
+ @ Deprecated
469
478
public Iterable <Ticket > getTicketsIncrementally (Date startTime , Date endTime ) {
470
479
return new PagedIterable <>(
471
480
tmpl ("/incremental/tickets.json{?start_time,end_time}" )
You can’t perform that action at this time.
0 commit comments