/** * Delete an award for an issue * * @param issue * @param award * @throws IOException on gitlab api call error */ public void deleteAward(GitlabIssue issue, GitlabAward award) throws IOException { String tailUrl = GitlabProject.URL + "/" + issue.getProjectId() + GitlabIssue.URL + "/" + issue.getId() + GitlabAward.URL + "/" + award.getId(); retrieve().method(DELETE).to(tailUrl, Void.class); }
/** * Delete an award for an issue note * * @param issue * @param noteId * @param award * @throws IOException on gitlab api call error */ public void deleteAward(GitlabIssue issue, Integer noteId, GitlabAward award) throws IOException { String tailUrl = GitlabProject.URL + "/" + issue.getProjectId() + GitlabIssue.URL + "/" + issue.getId() + GitlabNote.URL + noteId + GitlabAward.URL + "/" + award.getId(); retrieve().method(DELETE).to(tailUrl, Void.class); }
/** * Delete an award for a merge request * * @param mergeRequest * @param award * @throws IOException on gitlab api call error */ public void deleteAward(GitlabMergeRequest mergeRequest, GitlabAward award) throws IOException { String tailUrl = GitlabProject.URL + "/" + mergeRequest.getProjectId() + GitlabMergeRequest.URL + "/" + mergeRequest.getIid() + GitlabAward.URL + "/" + award.getId(); retrieve().method(DELETE).to(tailUrl, Void.class); }
/** * Delete an award for a merge request * * @param mergeRequest * @param award * @throws IOException on gitlab api call error */ public void deleteAward(GitlabMergeRequest mergeRequest, GitlabAward award) throws IOException { String tailUrl = GitlabProject.URL + "/" + mergeRequest.getProjectId() + GitlabMergeRequest.URL + "/" + mergeRequest.getIid() + GitlabAward.URL + "/" + award.getId(); retrieve().method(DELETE).to(tailUrl, Void.class); }
/** * Delete an award for an issue * * @param issue * @param award * @throws IOException on gitlab api call error */ public void deleteAward(GitlabIssue issue, GitlabAward award) throws IOException { String tailUrl = GitlabProject.URL + "/" + issue.getProjectId() + GitlabIssue.URL + "/" + issue.getId() + GitlabAward.URL + "/" + award.getId(); retrieve().method(DELETE).to(tailUrl, Void.class); }
/** * Delete an award for an issue * * @param issue * @param award * @throws IOException on gitlab api call error */ public void deleteAward(GitlabIssue issue, GitlabAward award) throws IOException { String tailUrl = GitlabProject.URL + "/" + issue.getProjectId() + GitlabIssue.URL + "/" + issue.getId() + GitlabAward.URL + "/" + award.getId(); retrieve().method(DELETE).to(tailUrl, Void.class); }
/** * Delete an award for a merge request * * @param mergeRequest * @param award * @throws IOException on gitlab api call error */ public void deleteAward(GitlabMergeRequest mergeRequest, GitlabAward award) throws IOException { String tailUrl = GitlabProject.URL + "/" + mergeRequest.getProjectId() + GitlabMergeRequest.URL + "/" + mergeRequest.getIid() + GitlabAward.URL + "/" + award.getId(); retrieve().method(DELETE).to(tailUrl, Void.class); }
/** * Delete an award for an issue note * * @param issue * @param noteId * @param award * @throws IOException on gitlab api call error */ public void deleteAward(GitlabIssue issue, Integer noteId, GitlabAward award) throws IOException { String tailUrl = GitlabProject.URL + "/" + issue.getProjectId() + GitlabIssue.URL + "/" + issue.getId() + GitlabNote.URL + noteId + GitlabAward.URL + "/" + award.getId(); retrieve().method(DELETE).to(tailUrl, Void.class); }
/** * Delete an award for an issue note * * @param issue * @param noteId * @param award * @throws IOException on gitlab api call error */ public void deleteAward(GitlabIssue issue, Integer noteId, GitlabAward award) throws IOException { String tailUrl = GitlabProject.URL + "/" + issue.getProjectId() + GitlabIssue.URL + "/" + issue.getId() + GitlabNote.URL + noteId + GitlabAward.URL + "/" + award.getId(); retrieve().method(DELETE).to(tailUrl, Void.class); }