@@ -29,7 +29,7 @@ public AwardEmojiApi(GitLabApi gitLabApi) {
2929 * @return a list of AwardEmoji for the specified issue
3030 * @throws GitLabApiException if any exception occurs
3131 */
32- public List <AwardEmoji > getIssueAwardEmojis (Object projectIdOrPath , Integer issueIid ) throws GitLabApiException {
32+ public List <AwardEmoji > getIssueAwardEmojis (Object projectIdOrPath , Long issueIid ) throws GitLabApiException {
3333 Response response = get (Response .Status .OK , getPageQueryParams (1 , getDefaultPerPage ()),
3434 "projects" , getProjectIdOrPath (projectIdOrPath ), "issues" , issueIid , "award_emoji" );
3535 return response .readEntity (new GenericType <List <AwardEmoji >>() {});
@@ -45,7 +45,7 @@ public List<AwardEmoji> getIssueAwardEmojis(Object projectIdOrPath, Integer issu
4545 * @return a list of AwardEmoji for the specified merge request
4646 * @throws GitLabApiException if any exception occurs
4747 */
48- public List <AwardEmoji > getMergeRequestAwardEmojis (Object projectIdOrPath , Integer mergeRequestIid ) throws GitLabApiException {
48+ public List <AwardEmoji > getMergeRequestAwardEmojis (Object projectIdOrPath , Long mergeRequestIid ) throws GitLabApiException {
4949 Response response = get (Response .Status .OK , getPageQueryParams (1 , getDefaultPerPage ()),
5050 "projects" , getProjectIdOrPath (projectIdOrPath ), "merge_requests" , mergeRequestIid , "award_emoji" );
5151 return response .readEntity (new GenericType <List <AwardEmoji >>() {});
@@ -61,7 +61,7 @@ public List<AwardEmoji> getMergeRequestAwardEmojis(Object projectIdOrPath, Integ
6161 * @return a list of AwardEmoji for the specified snippet
6262 * @throws GitLabApiException if any exception occurs
6363 */
64- public List <AwardEmoji > getSnippetAwardEmojis (Object projectIdOrPath , Integer snippetId ) throws GitLabApiException {
64+ public List <AwardEmoji > getSnippetAwardEmojis (Object projectIdOrPath , Long snippetId ) throws GitLabApiException {
6565 Response response = get (Response .Status .OK , getPageQueryParams (1 , getDefaultPerPage ()),
6666 "projects" , getProjectIdOrPath (projectIdOrPath ), "snippets" , snippetId , "award_emoji" );
6767 return response .readEntity (new GenericType <List <AwardEmoji >>() {});
@@ -78,7 +78,7 @@ public List<AwardEmoji> getSnippetAwardEmojis(Object projectIdOrPath, Integer sn
7878 * @return a list of AwardEmoji for the specified note
7979 * @throws GitLabApiException if any exception occurs
8080 */
81- public List <AwardEmoji > getNoteAwardEmojis (Object projectIdOrPath , Integer issueIid , Integer noteId ) throws GitLabApiException {
81+ public List <AwardEmoji > getNoteAwardEmojis (Object projectIdOrPath , Long issueIid , Long noteId ) throws GitLabApiException {
8282 Response response = get (Response .Status .OK , getPageQueryParams (1 , getDefaultPerPage ()),
8383 "projects" , getProjectIdOrPath (projectIdOrPath ), "issues" , issueIid , "notes" , noteId , "award_emoji" );
8484 return response .readEntity (new GenericType <List <AwardEmoji >>() {});
@@ -95,7 +95,7 @@ public List<AwardEmoji> getNoteAwardEmojis(Object projectIdOrPath, Integer issue
9595 * @return an AwardEmoji instance for the specified award emoji
9696 * @throws GitLabApiException if any exception occurs
9797 */
98- public AwardEmoji getIssueAwardEmoji (Object projectIdOrPath , Integer issueIid , Integer awardId ) throws GitLabApiException {
98+ public AwardEmoji getIssueAwardEmoji (Object projectIdOrPath , Long issueIid , Long awardId ) throws GitLabApiException {
9999 Response response = get (Response .Status .OK , getPageQueryParams (1 , getDefaultPerPage ()),
100100 "projects" , getProjectIdOrPath (projectIdOrPath ), "issues" , issueIid , "award_emoji" , awardId );
101101 return (response .readEntity (AwardEmoji .class ));
@@ -112,7 +112,7 @@ public AwardEmoji getIssueAwardEmoji(Object projectIdOrPath, Integer issueIid, I
112112 * @return an AwardEmoji instance for the specified award emoji
113113 * @throws GitLabApiException if any exception occurs
114114 */
115- public AwardEmoji getMergeRequestAwardEmoji (Object projectIdOrPath , Integer mergeRequestIid , Integer awardId ) throws GitLabApiException {
115+ public AwardEmoji getMergeRequestAwardEmoji (Object projectIdOrPath , Long mergeRequestIid , Long awardId ) throws GitLabApiException {
116116 Response response = get (Response .Status .OK , getPageQueryParams (1 , getDefaultPerPage ()),
117117 "projects" , getProjectIdOrPath (projectIdOrPath ), "merge_requests" , mergeRequestIid , "award_emoji" , awardId );
118118 return (response .readEntity (AwardEmoji .class ));
@@ -129,7 +129,7 @@ public AwardEmoji getMergeRequestAwardEmoji(Object projectIdOrPath, Integer merg
129129 * @return an AwardEmoji instance for the specified award emoji
130130 * @throws GitLabApiException if any exception occurs
131131 */
132- public AwardEmoji getSnippetAwardEmoji (Object projectIdOrPath , Integer snippetId , Integer awardId ) throws GitLabApiException {
132+ public AwardEmoji getSnippetAwardEmoji (Object projectIdOrPath , Long snippetId , Long awardId ) throws GitLabApiException {
133133 Response response = get (Response .Status .OK , getPageQueryParams (1 , getDefaultPerPage ()),
134134 "projects" , getProjectIdOrPath (projectIdOrPath ), "snippets" , snippetId , "award_emoji" , awardId );
135135 return (response .readEntity (AwardEmoji .class ));
@@ -147,7 +147,7 @@ public AwardEmoji getSnippetAwardEmoji(Object projectIdOrPath, Integer snippetId
147147 * @return an AwardEmoji instance for the specified award emoji
148148 * @throws GitLabApiException if any exception occurs
149149 */
150- public AwardEmoji getNoteAwardEmoji (Object projectIdOrPath , Integer issueIid , Integer noteId , Integer awardId ) throws GitLabApiException {
150+ public AwardEmoji getNoteAwardEmoji (Object projectIdOrPath , Long issueIid , Long noteId , Long awardId ) throws GitLabApiException {
151151 Response response = get (Response .Status .OK , getPageQueryParams (1 , getDefaultPerPage ()),
152152 "projects" , getProjectIdOrPath (projectIdOrPath ), "issues" , issueIid , "notes" , noteId , "award_emoji" , awardId );
153153 return (response .readEntity (AwardEmoji .class ));
@@ -164,7 +164,7 @@ public AwardEmoji getNoteAwardEmoji(Object projectIdOrPath, Integer issueIid, In
164164 * @return an AwardEmoji instance for the added award emoji
165165 * @throws GitLabApiException if any exception occurs
166166 */
167- public AwardEmoji addIssueAwardEmoji (Object projectIdOrPath , Integer issueIid , String name ) throws GitLabApiException {
167+ public AwardEmoji addIssueAwardEmoji (Object projectIdOrPath , Long issueIid , String name ) throws GitLabApiException {
168168 GitLabApiForm form = new GitLabApiForm ().withParam ("name" , name , true );
169169 Response response = post (Response .Status .CREATED , form .asMap (),
170170 "projects" , getProjectIdOrPath (projectIdOrPath ), "issues" , issueIid , "award_emoji" );
@@ -182,7 +182,7 @@ public AwardEmoji addIssueAwardEmoji(Object projectIdOrPath, Integer issueIid, S
182182 * @return an AwardEmoji instance for the added award emoji
183183 * @throws GitLabApiException if any exception occurs
184184 */
185- public AwardEmoji addMergeRequestAwardEmoji (Object projectIdOrPath , Integer mergeRequestIid , String name ) throws GitLabApiException {
185+ public AwardEmoji addMergeRequestAwardEmoji (Object projectIdOrPath , Long mergeRequestIid , String name ) throws GitLabApiException {
186186 GitLabApiForm form = new GitLabApiForm ().withParam ("name" , name , true );
187187 Response response = post (Response .Status .CREATED , form .asMap (),
188188 "projects" , getProjectIdOrPath (projectIdOrPath ), "merge_requests" , mergeRequestIid , "award_emoji" );
@@ -200,7 +200,7 @@ public AwardEmoji addMergeRequestAwardEmoji(Object projectIdOrPath, Integer merg
200200 * @return an AwardEmoji instance for the added award emoji
201201 * @throws GitLabApiException if any exception occurs
202202 */
203- public AwardEmoji addSnippetAwardEmoji (Object projectIdOrPath , Integer snippetId , String name ) throws GitLabApiException {
203+ public AwardEmoji addSnippetAwardEmoji (Object projectIdOrPath , Long snippetId , String name ) throws GitLabApiException {
204204 GitLabApiForm form = new GitLabApiForm ().withParam ("name" , name , true );
205205 Response response = post (Response .Status .CREATED , form .asMap (),
206206 "projects" , getProjectIdOrPath (projectIdOrPath ), "snippets" , snippetId , "award_emoji" );
@@ -219,7 +219,7 @@ public AwardEmoji addSnippetAwardEmoji(Object projectIdOrPath, Integer snippetId
219219 * @return an AwardEmoji instance for the added award emoji
220220 * @throws GitLabApiException if any exception occurs
221221 */
222- public AwardEmoji addNoteAwardEmoji (Object projectIdOrPath , Integer issueIid , Integer noteId , String name ) throws GitLabApiException {
222+ public AwardEmoji addNoteAwardEmoji (Object projectIdOrPath , Long issueIid , Long noteId , String name ) throws GitLabApiException {
223223 GitLabApiForm form = new GitLabApiForm ().withParam ("name" , name , true );
224224 Response response = post (Response .Status .CREATED , form .asMap (),
225225 "projects" , getProjectIdOrPath (projectIdOrPath ), "issues" , issueIid , "notes" , noteId , "award_emoji" );
@@ -236,7 +236,7 @@ public AwardEmoji addNoteAwardEmoji(Object projectIdOrPath, Integer issueIid, In
236236 * @param awardId the ID of the award emoji to delete
237237 * @throws GitLabApiException if any exception occurs
238238 */
239- public void deleteIssueAwardEmoji (Object projectIdOrPath , Integer issueIid , Integer awardId ) throws GitLabApiException {
239+ public void deleteIssueAwardEmoji (Object projectIdOrPath , Long issueIid , Long awardId ) throws GitLabApiException {
240240 delete (Response .Status .NO_CONTENT , null ,
241241 "projects" , getProjectIdOrPath (projectIdOrPath ), "issues" , issueIid , "award_emoji" , awardId );
242242 }
@@ -251,7 +251,7 @@ public void deleteIssueAwardEmoji(Object projectIdOrPath, Integer issueIid, Inte
251251 * @param awardId the ID of the award emoji to delete
252252 * @throws GitLabApiException if any exception occurs
253253 */
254- public void deleteMergeRequestAwardEmoji (Object projectIdOrPath , Integer mergeRequestIid , Integer awardId ) throws GitLabApiException {
254+ public void deleteMergeRequestAwardEmoji (Object projectIdOrPath , Long mergeRequestIid , Long awardId ) throws GitLabApiException {
255255 delete (Response .Status .NO_CONTENT , null ,
256256 "projects" , getProjectIdOrPath (projectIdOrPath ), "merge_requests" , mergeRequestIid , "award_emoji" , awardId );
257257 }
@@ -266,7 +266,7 @@ public void deleteMergeRequestAwardEmoji(Object projectIdOrPath, Integer mergeRe
266266 * @param awardId the ID of the award emoji to delete
267267 * @throws GitLabApiException if any exception occurs
268268 */
269- public void deleteSnippetAwardEmoji (Object projectIdOrPath , Integer snippetId , Integer awardId ) throws GitLabApiException {
269+ public void deleteSnippetAwardEmoji (Object projectIdOrPath , Long snippetId , Long awardId ) throws GitLabApiException {
270270 delete (Response .Status .NO_CONTENT , null ,
271271 "projects" , getProjectIdOrPath (projectIdOrPath ), "snippets" , snippetId , "award_emoji" , awardId );
272272 }
@@ -282,7 +282,7 @@ public void deleteSnippetAwardEmoji(Object projectIdOrPath, Integer snippetId, I
282282 * @param awardId the ID of the award emoji to delete
283283 * @throws GitLabApiException if any exception occurs
284284 */
285- public void deleteNoteAwardEmoji (Object projectIdOrPath , Integer issueIid , Integer noteId , Integer awardId ) throws GitLabApiException {
285+ public void deleteNoteAwardEmoji (Object projectIdOrPath , Long issueIid , Long noteId , Long awardId ) throws GitLabApiException {
286286 delete (Response .Status .NO_CONTENT , null ,
287287 "projects" , getProjectIdOrPath (projectIdOrPath ), "issues" , issueIid , "notes" , noteId , "award_emoji" , awardId );
288288 }
0 commit comments