We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents af60aa4 + c9ae5a5 commit a9448e9Copy full SHA for a9448e9
src/main/java/org/zendesk/client/v2/Zendesk.java
@@ -283,6 +283,12 @@ public Iterable<Ticket> getTickets() {
283
return new PagedIterable<Ticket>(cnst("/tickets.json"), handleList(Ticket.class, "tickets"));
284
}
285
286
+ /**
287
+ * @deprecated This API is no longer available from the vendor. Use the {@link #getTicketsFromSearch(String)} method instead
288
+ * @param ticketStatus
289
+ * @return
290
+ */
291
+ @Deprecated
292
public Iterable<Ticket> getTicketsByStatus(Status... ticketStatus) {
293
return new PagedIterable<Ticket>(tmpl("/tickets.json{?status}").set("status", statusArray(ticketStatus)),
294
handleList(Ticket.class, "tickets"));
0 commit comments