public class ResourceLabelEventsApi extends AbstractApi
Constants.ActionType, Constants.ApplicationScope, Constants.ArchiveFormat, Constants.CommitBuildState, Constants.DeploymentStatus, Constants.DeployTokenScope, Constants.Encoding, Constants.EpicOrderBy, 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.PipelineOrderBy, Constants.PipelineScope, Constants.ProjectOrderBy, Constants.ProjectSearchScope, Constants.SearchScope, Constants.SortOrder, Constants.StateEvent, 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 |
---|
ResourceLabelEventsApi(GitLabApi gitLabApi) |
Modifier and Type | Method and Description |
---|---|
LabelEvent |
getEpicLabelEvent(Object projectIdOrPath,
Integer epicId,
Integer resourceLabelEventId)
Get a single label event for a specific epic label event.
|
List<LabelEvent> |
getEpicLabelEvents(Object projectIdOrPath,
Integer epicId)
Gets a list of all label events for an epic.
|
Pager<LabelEvent> |
getEpicLabelEvents(Object projectIdOrPath,
Integer epicId,
int itemsPerPage)
Gets a Pager of all label events for the specified epic.
|
Stream<LabelEvent> |
getEpicLabelEventsStream(Object projectIdOrPath,
Integer epicId)
Gets a Stream of all label events for he specified epic.
|
LabelEvent |
getIssueLabelEvent(Object projectIdOrPath,
Integer issueIid,
Integer resourceLabelEventId)
Get a single label event for a specific project issue.
|
List<LabelEvent> |
getIssueLabelEvents(Object projectIdOrPath,
Integer issueIid)
Gets a list of all label events for a single issue.
|
Pager<LabelEvent> |
getIssueLabelEvents(Object projectIdOrPath,
Integer issueIid,
int itemsPerPage)
Gets a Pager of all label events for a single issue.
|
Stream<LabelEvent> |
getIssueLabelEventsStream(Object projectIdOrPath,
Integer issueIid)
Gets a Stream of all label events for a single issue.
|
LabelEvent |
getMergeRequestLabelEvent(Object projectIdOrPath,
Integer mergeRequestIid,
Integer resourceLabelEventId)
Get a single label event for a specific merge request label event.
|
List<LabelEvent> |
getMergeRequestLabelEvents(Object projectIdOrPath,
Integer mergeRequestIid)
Gets a list of all label events for a merge request.
|
Pager<LabelEvent> |
getMergeRequestLabelEvents(Object projectIdOrPath,
Integer mergeRequestIid,
int itemsPerPage)
Gets a Pager of all label events for the specified merge request.
|
Stream<LabelEvent> |
getMergeRequestLabelEventsStream(Object projectIdOrPath,
Integer mergeRequestIid)
Gets a Stream of all label events for he specified merge request.
|
Optional<LabelEvent> |
getOptionalEpicLabelEvent(Object projectIdOrPath,
Integer epicId,
Integer resourceLabelEventId)
Get an Optional instance holding a LabelEvent for a specific epic label event.
|
Optional<LabelEvent> |
getOptionalIssueLabelEvent(Object projectIdOrPath,
Integer issueIid,
Integer resourceLabelEventId)
Get an Optional instance holding a LabelEvent for a specific project issue
|
Optional<LabelEvent> |
getOptionalMergeRequestLabelEvent(Object projectIdOrPath,
Integer mergeRequestIid,
Integer resourceLabelEventId)
Get an Optional instance holding a LabelEvent for a specific merge request label event.
|
addFormParam, addFormParam, delete, delete, get, get, getApiClient, getApiVersion, getDefaultPerPage, getDefaultPerPageParam, getDefaultPerPageParam, getGroupIdOrPath, getLabelIdOrName, getPageQueryParams, getPageQueryParams, getPerPageQueryParam, getProjectIdOrPath, getUserIdOrUsername, getWithAccepts, handle, head, isApiVersion, post, post, post, post, post, put, put, put, putUpload, putUpload, putWithFormData, upload, upload, upload, urlEncode, validate
public ResourceLabelEventsApi(GitLabApi gitLabApi)
public List<LabelEvent> getIssueLabelEvents(Object projectIdOrPath, Integer issueIid) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/issues/:issue_iid/resource_label_events
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the IID of the issueGitLabApiException
- if any exception occurspublic Pager<LabelEvent> getIssueLabelEvents(Object projectIdOrPath, Integer issueIid, int itemsPerPage) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/issues/:issue_iid/resource_label_events
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the IID of the issueitemsPerPage
- the number of LabelEvent instances that will be fetched per pageGitLabApiException
- if any exception occurspublic Stream<LabelEvent> getIssueLabelEventsStream(Object projectIdOrPath, Integer issueIid) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/issues/:issue_iid/resource_label_events
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the IID of the issueGitLabApiException
- if any exception occurspublic LabelEvent getIssueLabelEvent(Object projectIdOrPath, Integer issueIid, Integer resourceLabelEventId) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/issues/:issue_iid/resource_label_events/:resource_label_event_id
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the IID of the issueresourceLabelEventId
- the ID of a label eventGitLabApiException
- if any exception occurspublic Optional<LabelEvent> getOptionalIssueLabelEvent(Object projectIdOrPath, Integer issueIid, Integer resourceLabelEventId) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/issues/:issue_iid/resource_label_events/:resource_label_event_id
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the IID of the issueresourceLabelEventId
- the ID of a label eventGitLabApiException
- if any exception occurspublic List<LabelEvent> getEpicLabelEvents(Object projectIdOrPath, Integer epicId) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/epics/:epic_id/resource_label_events
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathepicId
- the ID of the epicGitLabApiException
- if any exception occurspublic Pager<LabelEvent> getEpicLabelEvents(Object projectIdOrPath, Integer epicId, int itemsPerPage) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/epics/:epic_id/resource_label_events
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathepicId
- the ID of the epicitemsPerPage
- the number of LabelEvent instances that will be fetched per pageGitLabApiException
- if any exception occurspublic Stream<LabelEvent> getEpicLabelEventsStream(Object projectIdOrPath, Integer epicId) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/epics/:epic_id/resource_label_events
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathepicId
- the ID of the epicGitLabApiException
- if any exception occurspublic LabelEvent getEpicLabelEvent(Object projectIdOrPath, Integer epicId, Integer resourceLabelEventId) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/epics/:epic_id/resource_label_events/:resource_label_event_id
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathepicId
- the ID of the epicresourceLabelEventId
- the ID of a label eventGitLabApiException
- if any exception occurspublic Optional<LabelEvent> getOptionalEpicLabelEvent(Object projectIdOrPath, Integer epicId, Integer resourceLabelEventId) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/epics/:epic_id/resource_label_events/:resource_label_event_id
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathepicId
- the ID of the epicresourceLabelEventId
- the ID of a label eventGitLabApiException
- if any exception occurspublic List<LabelEvent> getMergeRequestLabelEvents(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/merge_requests/:epic_id/resource_label_events
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the IID of the merge requestGitLabApiException
- if any exception occurspublic Pager<LabelEvent> getMergeRequestLabelEvents(Object projectIdOrPath, Integer mergeRequestIid, int itemsPerPage) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/merge_requests/:epic_id/resource_label_events
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the IID of the merge requestitemsPerPage
- the number of LabelEvent instances that will be fetched per pageGitLabApiException
- if any exception occurspublic Stream<LabelEvent> getMergeRequestLabelEventsStream(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/merge_requests/:issue_iid/resource_label_events
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the IID of the merge requestGitLabApiException
- if any exception occurspublic LabelEvent getMergeRequestLabelEvent(Object projectIdOrPath, Integer mergeRequestIid, Integer resourceLabelEventId) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/merge_requests/:epic_id/resource_label_events/:resource_label_event_id
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the IID of the merge requestresourceLabelEventId
- the ID of a label eventGitLabApiException
- if any exception occurspublic Optional<LabelEvent> getOptionalMergeRequestLabelEvent(Object projectIdOrPath, Integer mergeRequestIid, Integer resourceLabelEventId) throws GitLabApiException
GitLab Endpoint: GET /projects/:id/merge_requests/:issue_iid/resource_label_events/:resource_label_event_id
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the IID of the merge requestresourceLabelEventId
- the ID of a label eventGitLabApiException
- if any exception occursCopyright © 2020. All rights reserved.