public class UpdatePullRequestParams extends PatchParams
parameters
Constructor and Description |
---|
UpdatePullRequestParams(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName,
java.lang.Object number)
Constructor
|
Modifier and Type | Method and Description |
---|---|
UpdatePullRequestParams |
assigneeId(long assigneeId)
Sets the pull request assignee user.
|
UpdatePullRequestParams |
attachmentIds(java.util.List<java.lang.Long> attachmentIds)
Sets the pull request attachment files.
|
UpdatePullRequestParams |
base(java.lang.String base)
Sets the base parameter.
|
UpdatePullRequestParams |
branch(java.lang.String branch)
Sets the branch parameter.
|
UpdatePullRequestParams |
description(java.lang.String description)
Sets the description.
|
java.lang.String |
getNumber() |
java.lang.String |
getProjectIdOrKeyString() |
java.lang.String |
getRepoIdOrNameString() |
UpdatePullRequestParams |
issueId(long issueId)
Sets the related issue parameter.
|
UpdatePullRequestParams |
notifiedUserIds(java.util.List<java.lang.Long> notifiedUserIds)
Sets the pull request notified users.
|
UpdatePullRequestParams |
summary(java.lang.String summary)
Sets the summary.
|
getParamList
public UpdatePullRequestParams(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName, java.lang.Object number)
projectIdOrKey
- the project identifierrepoIdOrName
- the repository identifiernumber
- the pull request titlepublic java.lang.String getProjectIdOrKeyString()
public java.lang.String getRepoIdOrNameString()
public java.lang.String getNumber()
public UpdatePullRequestParams summary(java.lang.String summary)
summary
- the pull request descriptionpublic UpdatePullRequestParams description(java.lang.String description)
description
- the pull request descriptionpublic UpdatePullRequestParams base(java.lang.String base)
base
- the base branch namepublic UpdatePullRequestParams branch(java.lang.String branch)
branch
- the branch name merge topublic UpdatePullRequestParams issueId(long issueId)
issueId
- the isssue identifierpublic UpdatePullRequestParams assigneeId(long assigneeId)
assigneeId
- the assignee user idpublic UpdatePullRequestParams notifiedUserIds(java.util.List<java.lang.Long> notifiedUserIds)
notifiedUserIds
- notified user identifierspublic UpdatePullRequestParams attachmentIds(java.util.List<java.lang.Long> attachmentIds)
attachmentIds
- the attachment file identifiers