Package org.gitlab4j.api.models
Class MergeRequest
java.lang.Object
org.gitlab4j.api.models.MergeRequest
public class MergeRequest extends Object
-
Constructor Summary
Constructors Constructor Description MergeRequest()
-
Method Summary
-
Constructor Details
-
MergeRequest
public MergeRequest()
-
-
Method Details
-
getAllowCollaboration
-
setAllowCollaboration
-
getAllowMaintainerToPush
-
setAllowMaintainerToPush
-
getApprovalsBeforeMerge
-
setApprovalsBeforeMerge
-
getAssignee
-
setAssignee
-
getAssignees
-
setAssignees
-
getAuthor
-
setAuthor
-
getBlockingDiscussionsResolved
-
setBlockingDiscussionsResolved
-
getChanges
-
setChanges
-
getClosedAt
-
setClosedAt
-
getClosedBy
-
setClosedBy
-
getCreatedAt
-
setCreatedAt
-
getDescription
-
setDescription
-
getDiscussionLocked
-
setDiscussionLocked
-
getDivergedCommitsCount
-
setDivergedCommitsCount
-
getDownvotes
-
setDownvotes
-
getForceRemoveSourceBranch
-
setForceRemoveSourceBranch
-
getHasConflicts
-
setHasConflicts
-
getId
-
setId
-
getIid
-
setIid
-
getLabels
-
setLabels
-
getLatestBuildFinishedAt
-
setLatestBuildFinishedAt
-
getLatestBuildStartedAt
-
setLatestBuildStartedAt
-
getMergeCommitSha
-
setMergeCommitSha
-
getSquashCommitSha
-
setSquashCommitSha
-
getMergeStatus
-
setMergeStatus
-
getMergedAt
-
setMergedAt
-
getMergedBy
-
setMergedBy
-
getMergeWhenPipelineSucceeds
-
setMergeWhenPipelineSucceeds
-
getMergeError
-
setMergeError
-
getMilestone
-
setMilestone
-
getProjectId
-
setProjectId
-
getSha
-
setSha
-
getShouldRemoveSourceBranch
-
setShouldRemoveSourceBranch
-
getSourceBranch
-
setSourceBranch
-
getSourceProjectId
-
setSourceProjectId
-
getSquash
-
setSquash
-
getState
-
setState
-
getSubscribed
-
setSubscribed
-
getTargetBranch
-
setTargetBranch
-
getTargetProjectId
-
setTargetProjectId
-
getTaskCompletionStatus
-
setTaskCompletionStatus
-
getReferences
-
setReferences
-
getTimeStats
-
setTimeStats
-
getTitle
-
setTitle
-
getUpdatedAt
-
setUpdatedAt
-
getUpvotes
-
setUpvotes
-
getUserNotesCount
-
setUserNotesCount
-
getWebUrl
-
setWebUrl
-
getWorkInProgress
-
setWorkInProgress
-
getApprovalsRequired
Get the number of approvals required for the merge request. NOTE: This property will only be used when listing, approiving, or unapproving a merge request.- Returns:
- the number of approvals required for the merge request
-
setApprovalsRequired
Set the number of approvals required for the merge request. NOTE: This property will only be used when listing, approiving, or unapproving a merge request.- Parameters:
approvalsRequired
- the number of approvals required for the merge request
-
getApprovalsLeft
Get the number of approvals left for the merge request. NOTE: This property will only be used when listing, approiving, or unapproving a merge request.- Returns:
- the number of approvals left for the merge request
-
setApprovalsLeft
Set the number of approvals missing for the merge request. NOTE: This property will only be used when listing, approiving, or unapproving a merge request.- Parameters:
approvalsLeft
- the number of approvals missing for the merge request
-
getApprovedBy
Get the list of users that have approved the merge request. NOTE: This property will only be used when listing, approiving, or unapproving a merge request.- Returns:
- the list of users that have approved the merge request
-
setApprovedBy
Set the list of users that have approved the merge request. NOTE: This property will only be used when listing, approiving, or unapproving a merge request.- Parameters:
approvedBy
- the list of users that have approved the merge request
-
getDiffRefs
-
setDiffRefs
-
getRebaseInProgress
-
setRebaseInProgress
-
isValid
-
getReviewers
-
setReviewers
-
toString
-