From f52e0101bf70329fda0bb6d314fa2f05bae8894b Mon Sep 17 00:00:00 2001 From: M M Arif Date: Sun, 8 Oct 2023 11:04:08 +0500 Subject: [PATCH] Try to change data type from depricated Date --- .../org/gitnex/tea4j/v2/apis/custom/CustomApi.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/custom/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java b/custom/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java index 1113097..0b63117 100644 --- a/custom/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java +++ b/custom/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java @@ -99,4 +99,15 @@ public interface CustomApi { @Headers({"Content-Type:application/json"}) @HTTP(method = "DELETE", path = "user/emails", hasBody = true) Call userDeleteEmailWithBody(@Body DeleteEmailOption body); + + @Headers({"Content-Type:application/json"}) + @GET("notifications") + Call> notifyGetList( + @retrofit2.http.Query("all") Boolean all, + @retrofit2.http.Query("status-types") List statusTypes, + @retrofit2.http.Query("subject-type") List subjectType, + @retrofit2.http.Query("since") String since, + @retrofit2.http.Query("before") String before, + @retrofit2.http.Query("page") Integer page, + @retrofit2.http.Query("limit") Integer limit); }