Constants
public class AwardEmojiApi extends AbstractApi
Constants.ActionType, Constants.EpicOrderBy, Constants.GroupOrderBy, Constants.ImpersonationState, Constants.IssueScope, Constants.IssueState, Constants.JobScope, Constants.LineType, Constants.MergeRequestOrderBy, Constants.MergeRequestScope, Constants.MergeRequestState, Constants.MilestoneState, Constants.PipelineOrderBy, Constants.PipelineScope, Constants.ProjectOrderBy, Constants.SortOrder, Constants.StateEvent, Constants.TargetType, Constants.TokenType
NEXT_PAGE_HEADER, PAGE_HEADER, PAGE_PARAM, PER_PAGE, PER_PAGE_PARAM, PREV_PAGE_HEADER, TOTAL_HEADER, TOTAL_PAGES_HEADER
Constructor | Description |
---|---|
AwardEmojiApi(GitLabApi gitLabApi) |
Modifier and Type | Method | Description |
---|---|---|
AwardEmoji |
addIssueAwardEmoji(Object projectIdOrPath,
Integer issueIid,
String name) |
Add an award emoji for the specified issue.
|
AwardEmoji |
addMergeRequestAwardEmoji(Object projectIdOrPath,
Integer mergeRequestIid,
String name) |
Add an award emoji to the specified merge request.
|
AwardEmoji |
addNoteAwardEmoji(Object projectIdOrPath,
Integer issueIid,
Integer noteId,
String name) |
Add an award emoji for the specified note.
|
AwardEmoji |
addSnippetAwardEmoji(Object projectIdOrPath,
Integer snippetId,
String name) |
Add an award emoji to the specified snippet.
|
void |
deleteIssueAwardEmoji(Object projectIdOrPath,
Integer issueIid,
Integer awardId) |
Delete an award emoji from the specified issue.
|
void |
deleteMergeRequestAwardEmoji(Object projectIdOrPath,
Integer mergeRequestIid,
Integer awardId) |
Delete an award emoji from the specified merge request.
|
void |
deleteNoteAwardEmoji(Object projectIdOrPath,
Integer issueIid,
Integer noteId,
Integer awardId) |
Delete an award emoji from the specified note.
|
void |
deleteSnippetAwardEmoji(Object projectIdOrPath,
Integer snippetId,
Integer awardId) |
Delete an award emoji from the specified snippet.
|
AwardEmoji |
getIssueAwardEmoji(Object projectIdOrPath,
Integer issueIid,
Integer awardId) |
Get the specified award emoji for the specified issue.
|
List<AwardEmoji> |
getIssueAwardEmojis(Object projectIdOrPath,
Integer issueIid) |
Get a list of award emoji for the specified issue.
|
AwardEmoji |
getMergeRequestAwardEmoji(Object projectIdOrPath,
Integer mergeRequestIid,
Integer awardId) |
Get the specified award emoji for the specified merge request.
|
List<AwardEmoji> |
getMergeRequestAwardEmojis(Object projectIdOrPath,
Integer mergeRequestIid) |
Get a list of award emoji for the specified merge request.
|
AwardEmoji |
getNoteAwardEmoji(Object projectIdOrPath,
Integer issueIid,
Integer noteId,
Integer awardId) |
Get the specified award emoji for the specified note.
|
List<AwardEmoji> |
getNoteAwardEmojis(Object projectIdOrPath,
Integer issueIid,
Integer noteId) |
Get a list of award emoji for the specified note.
|
AwardEmoji |
getSnippetAwardEmoji(Object projectIdOrPath,
Integer snippetId,
Integer awardId) |
Get the specified award emoji for the specified snippet.
|
List<AwardEmoji> |
getSnippetAwardEmojis(Object projectIdOrPath,
Integer snippetId) |
Get a list of award emoji for the specified snippet.
|
addFormParam, addFormParam, delete, delete, get, get, getApiClient, getApiVersion, getDefaultPerPage, getDefaultPerPageParam, getGroupIdOrPath, getPageQueryParams, getProjectIdOrPath, getWithAccepts, handle, isApiVersion, post, post, post, post, post, put, put, putWithFormData, upload, upload, urlEncode, validate
public AwardEmojiApi(GitLabApi gitLabApi)
public List<AwardEmoji> getIssueAwardEmojis(Object projectIdOrPath, Integer issueIid) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/issues/:issue_iid/award_emoji
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID to get the award emojis forGitLabApiException
- if any exception occurspublic List<AwardEmoji> getMergeRequestAwardEmojis(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/award_emoji
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the merge request IID to get the award emojis forGitLabApiException
- if any exception occurspublic List<AwardEmoji> getSnippetAwardEmojis(Object projectIdOrPath, Integer snippetId) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/snippets/:snippet_id/award_emoji
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathsnippetId
- the snippet ID to get the award emojis forGitLabApiException
- if any exception occurspublic List<AwardEmoji> getNoteAwardEmojis(Object projectIdOrPath, Integer issueIid, Integer noteId) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/issues/:issue_iid/notes/:note_id/award_emoji
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID of the issue that owns the notenoteId
- the note ID to get the award emojis forGitLabApiException
- if any exception occurspublic AwardEmoji getIssueAwardEmoji(Object projectIdOrPath, Integer issueIid, Integer awardId) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/issues/:issue_iid/award_emoji/:award_id
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID to get the award emoji forawardId
- the ID of the award emoji to getGitLabApiException
- if any exception occurspublic AwardEmoji getMergeRequestAwardEmoji(Object projectIdOrPath, Integer mergeRequestIid, Integer awardId) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/award_emoji/:award_id
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the merge request IID to get the award emoji forawardId
- the ID of the award emoji to getGitLabApiException
- if any exception occurspublic AwardEmoji getSnippetAwardEmoji(Object projectIdOrPath, Integer snippetId, Integer awardId) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/snippets/:snippet_id/award_emoji/:award_id
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathsnippetId
- the snippet ID to get the award emoji forawardId
- the ID of the award emoji to getGitLabApiException
- if any exception occurspublic AwardEmoji getNoteAwardEmoji(Object projectIdOrPath, Integer issueIid, Integer noteId, Integer awardId) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/issues/:issue_iid/notes/:note_id/award_emoji/:award_id
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID of the issue that owns the notenoteId
- the note ID to get the award emoji fromawardId
- the ID of the award emoji to getGitLabApiException
- if any exception occurspublic AwardEmoji addIssueAwardEmoji(Object projectIdOrPath, Integer issueIid, String name) throws GitLabApiException
GitLab Endpoint: POST /projects/:id/issues/:issue_iid/award_emoji
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID to add the award emoji toname
- the name of the award emoji to addGitLabApiException
- if any exception occurspublic AwardEmoji addMergeRequestAwardEmoji(Object projectIdOrPath, Integer mergeRequestIid, String name) throws GitLabApiException
GitLab Endpoint: POST /projects/:id/merge_requests/:merge_request_iid/award_emoji
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the merge request IID to add the award emoji toname
- the name of the award emoji to addGitLabApiException
- if any exception occurspublic AwardEmoji addSnippetAwardEmoji(Object projectIdOrPath, Integer snippetId, String name) throws GitLabApiException
GitLab Endpoint: POST /projects/:id/snippets/:snippet_id/award_emoji
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathsnippetId
- the snippet ID to add the award emoji toname
- the name of the award emoji to addGitLabApiException
- if any exception occurspublic AwardEmoji addNoteAwardEmoji(Object projectIdOrPath, Integer issueIid, Integer noteId, String name) throws GitLabApiException
GitLab Endpoint: POST /projects/:id/issues/:issue_iid/notes/:noteId/award_emoji
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID of the issue that owns the notenoteId
- the note ID to add the award emoji toname
- the name of the award emoji to addGitLabApiException
- if any exception occurspublic void deleteIssueAwardEmoji(Object projectIdOrPath, Integer issueIid, Integer awardId) throws GitLabApiException
GitLab Endpoint: DELETE /projects/:id/issues/:issue_iid/award_emoji/:award_id
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID to delete the award emoji fromawardId
- the ID of the award emoji to deleteGitLabApiException
- if any exception occurspublic void deleteMergeRequestAwardEmoji(Object projectIdOrPath, Integer mergeRequestIid, Integer awardId) throws GitLabApiException
GitLab Endpoint: DELETE /projects/:id/merge_requests/:merge_request_iid/award_emoji/:award_id
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the merge request IID to delete the award emoji fromawardId
- the ID of the award emoji to deleteGitLabApiException
- if any exception occurspublic void deleteSnippetAwardEmoji(Object projectIdOrPath, Integer snippetId, Integer awardId) throws GitLabApiException
GitLab Endpoint: DELETE /projects/:id/snippets/:snippet_id/award_emoji/:award_id
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathsnippetId
- the snippet ID to delete the award emoji fromawardId
- the ID of the award emoji to deleteGitLabApiException
- if any exception occurspublic void deleteNoteAwardEmoji(Object projectIdOrPath, Integer issueIid, Integer noteId, Integer awardId) throws GitLabApiException
GitLab Endpoint: DELETE /projects/:id/issues/:issue_iid/notes/:note_id/award_emoji/:award_id
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID that owns the notenoteId
- the note ID of the note to delete the award emoji fromawardId
- the ID of the award emoji to deleteGitLabApiException
- if any exception occursCopyright © 2018. All rights reserved.