public class AwardEmojiApi extends AbstractApi
Constants.ActionType, Constants.ApplicationScope, Constants.ArchiveFormat, Constants.AutoDevopsDeployStrategy, Constants.BuildGitStrategy, Constants.CommitBuildState, Constants.ContributorOrderBy, Constants.DefaultBranchProtectionLevel, Constants.DeploymentOrderBy, Constants.DeploymentStatus, Constants.DeployTokenScope, Constants.Encoding, Constants.EpicOrderBy, Constants.EventScope, Constants.GroupOrderBy, Constants.GroupSearchScope, Constants.ImpersonationState, Constants.IssueOrderBy, Constants.IssueScope, Constants.IssueState, Constants.JobScope, Constants.LineType, Constants.MergeRequestOrderBy, Constants.MergeRequestScope, Constants.MergeRequestSearchIn, Constants.MergeRequestState, Constants.MilestoneState, Constants.PackageOrderBy, Constants.PackageStatus, Constants.PipelineOrderBy, Constants.PipelineScope, Constants.PipelineSource, Constants.ProjectAccessTokenScope, Constants.ProjectCreationLevel, Constants.ProjectOrderBy, Constants.ProjectSearchScope, Constants.SearchScope, Constants.SortOrder, Constants.SquashOption, Constants.StateEvent, Constants.SubgroupCreationLevel, Constants.TagOrderBy, Constants.TargetType, Constants.TodoAction, Constants.TodoState, Constants.TodoType, Constants.TokenType
gitLabApi
NEXT_PAGE_HEADER, PAGE_HEADER, PAGE_PARAM, PER_PAGE, PER_PAGE_PARAM, PREV_PAGE_HEADER, TOTAL_HEADER, TOTAL_PAGES_HEADER
Constructor and Description |
---|
AwardEmojiApi(GitLabApi gitLabApi) |
Modifier and Type | Method and Description |
---|---|
AwardEmoji |
addIssueAwardEmoji(java.lang.Object projectIdOrPath,
java.lang.Long issueIid,
java.lang.String name)
Add an award emoji for the specified issue.
|
AwardEmoji |
addIssueNoteAwardEmoji(java.lang.Object projectIdOrPath,
java.lang.Long issueIid,
java.lang.Long noteId,
java.lang.String name)
Add an award emoji for the specified issue note.
|
AwardEmoji |
addMergeRequestAwardEmoji(java.lang.Object projectIdOrPath,
java.lang.Integer mergeRequestIid,
java.lang.Integer noteId,
java.lang.String name)
Add an award emoji for the specified merge request note.
|
AwardEmoji |
addMergeRequestAwardEmoji(java.lang.Object projectIdOrPath,
java.lang.Long mergeRequestIid,
java.lang.String name)
Add an award emoji to the specified merge request.
|
AwardEmoji |
addNoteAwardEmoji(java.lang.Object projectIdOrPath,
java.lang.Long issueIid,
java.lang.Long noteId,
java.lang.String name)
Deprecated.
|
AwardEmoji |
addSnippetAwardEmoji(java.lang.Object projectIdOrPath,
java.lang.Long snippetId,
java.lang.String name)
Add an award emoji to the specified snippet.
|
void |
deleteIssueAwardEmoji(java.lang.Object projectIdOrPath,
java.lang.Long issueIid,
java.lang.Long awardId)
Delete an award emoji from the specified issue.
|
void |
deleteIssueNoteAwardEmoji(java.lang.Object projectIdOrPath,
java.lang.Long issueIid,
java.lang.Long noteId,
java.lang.Long awardId)
Delete an award emoji from the specified issue note.
|
void |
deleteMergeRequestAwardEmoji(java.lang.Object projectIdOrPath,
java.lang.Long mergeRequestIid,
java.lang.Long awardId)
Delete an award emoji from the specified merge request.
|
void |
deleteMergeRequestNoteAwardEmoji(java.lang.Object projectIdOrPath,
java.lang.Long mergeRequestIid,
java.lang.Long noteId,
java.lang.Long awardId)
Delete an award emoji from the specified merge request note.
|
void |
deleteNoteAwardEmoji(java.lang.Object projectIdOrPath,
java.lang.Long issueIid,
java.lang.Long noteId,
java.lang.Long awardId)
Deprecated.
|
void |
deleteSnippetAwardEmoji(java.lang.Object projectIdOrPath,
java.lang.Long snippetId,
java.lang.Long awardId)
Delete an award emoji from the specified snippet.
|
AwardEmoji |
getIssueAwardEmoji(java.lang.Object projectIdOrPath,
java.lang.Long issueIid,
java.lang.Long awardId)
Get the specified award emoji for the specified issue.
|
java.util.List<AwardEmoji> |
getIssueAwardEmojis(java.lang.Object projectIdOrPath,
java.lang.Long issueIid)
Get a list of award emoji for the specified issue.
|
AwardEmoji |
getIssueNoteAwardEmoji(java.lang.Object projectIdOrPath,
java.lang.Long issueIid,
java.lang.Long noteId,
java.lang.Long awardId)
Get the specified award emoji for the specified issue note.
|
java.util.List<AwardEmoji> |
getIssueNoteAwardEmojis(java.lang.Object projectIdOrPath,
java.lang.Long issueIid,
java.lang.Long noteId)
Get a list of award emoji for the specified issue note.
|
AwardEmoji |
getMergeRequestAwardEmoji(java.lang.Object projectIdOrPath,
java.lang.Long mergeRequestIid,
java.lang.Long awardId)
Get the specified award emoji for the specified merge request.
|
java.util.List<AwardEmoji> |
getMergeRequestAwardEmojis(java.lang.Object projectIdOrPath,
java.lang.Long mergeRequestIid)
Get a list of award emoji for the specified merge request.
|
AwardEmoji |
getMergeRequestNoteAwardEmoji(java.lang.Object projectIdOrPath,
java.lang.Long mergeRequestIid,
java.lang.Long noteId,
java.lang.Long awardId)
Get the specified award emoji for the specified merge request note.
|
java.util.List<AwardEmoji> |
getMergeRequestNoteAwardEmojis(java.lang.Object projectIdOrPath,
java.lang.Long mergeRequestIid,
java.lang.Long noteId)
Get a list of award emoji for the specified merge request note.
|
AwardEmoji |
getNoteAwardEmoji(java.lang.Object projectIdOrPath,
java.lang.Long issueIid,
java.lang.Long noteId,
java.lang.Long awardId)
Deprecated.
use
getIssueNoteAwardEmoji(Object, Long, Long, Long) instead |
java.util.List<AwardEmoji> |
getNoteAwardEmojis(java.lang.Object projectIdOrPath,
java.lang.Long issueIid,
java.lang.Long noteId)
Get a list of award emoji for the specified issue note.
|
AwardEmoji |
getSnippetAwardEmoji(java.lang.Object projectIdOrPath,
java.lang.Long snippetId,
java.lang.Long awardId)
Get the specified award emoji for the specified snippet.
|
java.util.List<AwardEmoji> |
getSnippetAwardEmojis(java.lang.Object projectIdOrPath,
java.lang.Long snippetId)
Get a list of award emoji for the specified snippet.
|
addFormParam, addFormParam, delete, delete, get, get, getApiClient, getApiVersion, getDefaultPerPage, getDefaultPerPageParam, getDefaultPerPageParam, getGroupIdOrPath, getLabelIdOrName, getNamespaceIdOrPath, getPageQueryParams, getPageQueryParams, getPerPageQueryParam, getProjectIdOrPath, getUserIdOrUsername, getWithAccepts, handle, head, isApiVersion, patch, patch, post, post, post, post, post, put, put, put, putUpload, putUpload, putWithFormData, upload, upload, upload, upload, urlEncode, validate
public AwardEmojiApi(GitLabApi gitLabApi)
public java.util.List<AwardEmoji> getIssueAwardEmojis(java.lang.Object projectIdOrPath, java.lang.Long 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 java.util.List<AwardEmoji> getMergeRequestAwardEmojis(java.lang.Object projectIdOrPath, java.lang.Long 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 java.util.List<AwardEmoji> getSnippetAwardEmojis(java.lang.Object projectIdOrPath, java.lang.Long 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 java.util.List<AwardEmoji> getIssueNoteAwardEmojis(java.lang.Object projectIdOrPath, java.lang.Long issueIid, java.lang.Long 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 java.util.List<AwardEmoji> getNoteAwardEmojis(java.lang.Object projectIdOrPath, java.lang.Long issueIid, java.lang.Long 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 java.util.List<AwardEmoji> getMergeRequestNoteAwardEmojis(java.lang.Object projectIdOrPath, java.lang.Long mergeRequestIid, java.lang.Long noteId) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/notes/:note_id/award_emoji
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the merge request IID of the merge request that owns the notenoteId
- the note ID to get the award emojis forGitLabApiException
- if any exception occurspublic AwardEmoji getIssueAwardEmoji(java.lang.Object projectIdOrPath, java.lang.Long issueIid, java.lang.Long 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(java.lang.Object projectIdOrPath, java.lang.Long mergeRequestIid, java.lang.Long 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(java.lang.Object projectIdOrPath, java.lang.Long snippetId, java.lang.Long 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 getIssueNoteAwardEmoji(java.lang.Object projectIdOrPath, java.lang.Long issueIid, java.lang.Long noteId, java.lang.Long 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 occurs@Deprecated public AwardEmoji getNoteAwardEmoji(java.lang.Object projectIdOrPath, java.lang.Long issueIid, java.lang.Long noteId, java.lang.Long awardId) throws GitLabApiException
getIssueNoteAwardEmoji(Object, Long, Long, Long)
insteadGitLab 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 getMergeRequestNoteAwardEmoji(java.lang.Object projectIdOrPath, java.lang.Long mergeRequestIid, java.lang.Long noteId, java.lang.Long awardId) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/notes/:note_id/award_emoji/:award_id
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the merge request IID of the merge request 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(java.lang.Object projectIdOrPath, java.lang.Long issueIid, java.lang.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(java.lang.Object projectIdOrPath, java.lang.Long mergeRequestIid, java.lang.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(java.lang.Object projectIdOrPath, java.lang.Long snippetId, java.lang.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 addIssueNoteAwardEmoji(java.lang.Object projectIdOrPath, java.lang.Long issueIid, java.lang.Long noteId, java.lang.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 occurs@Deprecated public AwardEmoji addNoteAwardEmoji(java.lang.Object projectIdOrPath, java.lang.Long issueIid, java.lang.Long noteId, java.lang.String name) throws GitLabApiException
addIssueNoteAwardEmoji(Object, Long, Long, String)
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 AwardEmoji addMergeRequestAwardEmoji(java.lang.Object projectIdOrPath, java.lang.Integer mergeRequestIid, java.lang.Integer noteId, java.lang.String name) throws GitLabApiException
GitLab Endpoint: POST /projects/:id/merge_requests/:merge_request_iid/notes/:noteId/award_emoji
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the merge request IID of the merge request 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(java.lang.Object projectIdOrPath, java.lang.Long issueIid, java.lang.Long 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(java.lang.Object projectIdOrPath, java.lang.Long mergeRequestIid, java.lang.Long 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(java.lang.Object projectIdOrPath, java.lang.Long snippetId, java.lang.Long 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 deleteIssueNoteAwardEmoji(java.lang.Object projectIdOrPath, java.lang.Long issueIid, java.lang.Long noteId, java.lang.Long 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 occurs@Deprecated public void deleteNoteAwardEmoji(java.lang.Object projectIdOrPath, java.lang.Long issueIid, java.lang.Long noteId, java.lang.Long awardId) throws GitLabApiException
deleteIssueNoteAwardEmoji(Object, Long, Long, Long)
insteadGitLab 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 occurspublic void deleteMergeRequestNoteAwardEmoji(java.lang.Object projectIdOrPath, java.lang.Long mergeRequestIid, java.lang.Long noteId, java.lang.Long awardId) throws GitLabApiException
GitLab Endpoint: DELETE /projects/:id/merge_requests/:merge_request_iid/notes/:note_id/award_emoji/:award_id
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the merge request IID of the merge request 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 occurs