Class MergeRequestObjectAttributesBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.hook.model.builder.generated.MergeRequestObjectAttributesBuilder
- All Implemented Interfaces:
Cloneable
@Generated("PojoBuilder")
public class MergeRequestObjectAttributesBuilder
extends Object
implements Cloneable
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected MergeRequestObjectAttributesBuilder
protected Action
protected Integer
protected Integer
protected Date
protected String
protected Integer
protected Integer
protected List<MergeRequestLabel>
protected Commit
protected String
protected String
protected String
protected Project
protected String
protected Integer
protected State
protected Project
protected String
protected Integer
protected String
protected Date
protected String
protected Boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a newMergeRequestObjectAttributes
based on this builder's settings.but()
Returns a clone of this builder.clone()
Returns a clone of this builder.Factory Method to construct a MergeRequestObjectAttributesBuilderwithAction
(Action value) Sets the default value for the action property.withAssigneeId
(Integer value) Sets the default value for the assigneeId property.withAuthorId
(Integer value) Sets the default value for the authorId property.withCreatedAt
(Date value) Sets the default value for the createdAt property.withDescription
(String value) Sets the default value for the description property.Sets the default value for the id property.Sets the default value for the iid property.withLabels
(List<MergeRequestLabel> value) Sets the default value for the labels property.withLastCommit
(Commit value) Sets the default value for the lastCommit property.withMergeCommitSha
(String value) Sets the default value for the mergeCommitSha property.withMergeStatus
(String value) Sets the default value for the mergeStatus property.withOldrev
(String value) Sets the default value for the oldrev property.withSource
(Project value) Sets the default value for the source property.withSourceBranch
(String value) Sets the default value for the sourceBranch property.withSourceProjectId
(Integer value) Sets the default value for the sourceProjectId property.Sets the default value for the state property.withTarget
(Project value) Sets the default value for the target property.withTargetBranch
(String value) Sets the default value for the targetBranch property.withTargetProjectId
(Integer value) Sets the default value for the targetProjectId property.Sets the default value for the title property.withUpdatedAt
(Date value) Sets the default value for the updatedAt property.Sets the default value for the url property.withWorkInProgress
(Boolean value) Sets the default value for the workInProgress property.
-
Field Details
-
self
-
value$id$java$lang$Integer
-
isSet$id$java$lang$Integer
protected boolean isSet$id$java$lang$Integer -
value$iid$java$lang$Integer
-
isSet$iid$java$lang$Integer
protected boolean isSet$iid$java$lang$Integer -
value$sourceBranch$java$lang$String
-
isSet$sourceBranch$java$lang$String
protected boolean isSet$sourceBranch$java$lang$String -
value$targetBranch$java$lang$String
-
isSet$targetBranch$java$lang$String
protected boolean isSet$targetBranch$java$lang$String -
value$sourceProjectId$java$lang$Integer
-
isSet$sourceProjectId$java$lang$Integer
protected boolean isSet$sourceProjectId$java$lang$Integer -
value$targetProjectId$java$lang$Integer
-
isSet$targetProjectId$java$lang$Integer
protected boolean isSet$targetProjectId$java$lang$Integer -
value$authorId$java$lang$Integer
-
isSet$authorId$java$lang$Integer
protected boolean isSet$authorId$java$lang$Integer -
value$assigneeId$java$lang$Integer
-
isSet$assigneeId$java$lang$Integer
protected boolean isSet$assigneeId$java$lang$Integer -
value$title$java$lang$String
-
isSet$title$java$lang$String
protected boolean isSet$title$java$lang$String -
value$createdAt$java$util$Date
-
isSet$createdAt$java$util$Date
protected boolean isSet$createdAt$java$util$Date -
value$updatedAt$java$util$Date
-
isSet$updatedAt$java$util$Date
protected boolean isSet$updatedAt$java$util$Date -
value$state$com$dabsquared$gitlabjenkins$gitlab$hook$model$State
-
isSet$state$com$dabsquared$gitlabjenkins$gitlab$hook$model$State
protected boolean isSet$state$com$dabsquared$gitlabjenkins$gitlab$hook$model$State -
value$description$java$lang$String
-
isSet$description$java$lang$String
protected boolean isSet$description$java$lang$String -
value$source$com$dabsquared$gitlabjenkins$gitlab$hook$model$Project
-
isSet$source$com$dabsquared$gitlabjenkins$gitlab$hook$model$Project
protected boolean isSet$source$com$dabsquared$gitlabjenkins$gitlab$hook$model$Project -
value$target$com$dabsquared$gitlabjenkins$gitlab$hook$model$Project
-
isSet$target$com$dabsquared$gitlabjenkins$gitlab$hook$model$Project
protected boolean isSet$target$com$dabsquared$gitlabjenkins$gitlab$hook$model$Project -
value$lastCommit$com$dabsquared$gitlabjenkins$gitlab$hook$model$Commit
-
isSet$lastCommit$com$dabsquared$gitlabjenkins$gitlab$hook$model$Commit
protected boolean isSet$lastCommit$com$dabsquared$gitlabjenkins$gitlab$hook$model$Commit -
value$oldrev$java$lang$String
-
isSet$oldrev$java$lang$String
protected boolean isSet$oldrev$java$lang$String -
value$mergeCommitSha$java$lang$String
-
isSet$mergeCommitSha$java$lang$String
protected boolean isSet$mergeCommitSha$java$lang$String -
value$mergeStatus$java$lang$String
-
isSet$mergeStatus$java$lang$String
protected boolean isSet$mergeStatus$java$lang$String -
value$url$java$lang$String
-
isSet$url$java$lang$String
protected boolean isSet$url$java$lang$String -
value$action$com$dabsquared$gitlabjenkins$gitlab$hook$model$Action
-
isSet$action$com$dabsquared$gitlabjenkins$gitlab$hook$model$Action
protected boolean isSet$action$com$dabsquared$gitlabjenkins$gitlab$hook$model$Action -
value$workInProgress$java$lang$Boolean
-
isSet$workInProgress$java$lang$Boolean
protected boolean isSet$workInProgress$java$lang$Boolean -
value$labels$java$util$List
-
isSet$labels$java$util$List
protected boolean isSet$labels$java$util$List
-
-
Constructor Details
-
MergeRequestObjectAttributesBuilder
public MergeRequestObjectAttributesBuilder()Creates a newMergeRequestObjectAttributesBuilder
.
-
-
Method Details
-
mergeRequestObjectAttributes
Factory Method to construct a MergeRequestObjectAttributesBuilder- Returns:
- a new MergeRequestObjectAttributesBuilder
-
withId
Sets the default value for the id property.- Parameters:
value
- the default value- Returns:
- this builder
-
withIid
Sets the default value for the iid property.- Parameters:
value
- the default value- Returns:
- this builder
-
withSourceBranch
Sets the default value for the sourceBranch property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTargetBranch
Sets the default value for the targetBranch property.- Parameters:
value
- the default value- Returns:
- this builder
-
withSourceProjectId
Sets the default value for the sourceProjectId property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTargetProjectId
Sets the default value for the targetProjectId property.- Parameters:
value
- the default value- Returns:
- this builder
-
withAuthorId
Sets the default value for the authorId property.- Parameters:
value
- the default value- Returns:
- this builder
-
withAssigneeId
Sets the default value for the assigneeId property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTitle
Sets the default value for the title property.- Parameters:
value
- the default value- Returns:
- this builder
-
withCreatedAt
Sets the default value for the createdAt property.- Parameters:
value
- the default value- Returns:
- this builder
-
withUpdatedAt
Sets the default value for the updatedAt property.- Parameters:
value
- the default value- Returns:
- this builder
-
withState
Sets the default value for the state property.- Parameters:
value
- the default value- Returns:
- this builder
-
withDescription
Sets the default value for the description property.- Parameters:
value
- the default value- Returns:
- this builder
-
withSource
Sets the default value for the source property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTarget
Sets the default value for the target property.- Parameters:
value
- the default value- Returns:
- this builder
-
withLastCommit
Sets the default value for the lastCommit property.- Parameters:
value
- the default value- Returns:
- this builder
-
withOldrev
Sets the default value for the oldrev property.- Parameters:
value
- the default value- Returns:
- this builder
-
withMergeCommitSha
Sets the default value for the mergeCommitSha property.- Parameters:
value
- the default value- Returns:
- this builder
-
withMergeStatus
Sets the default value for the mergeStatus property.- Parameters:
value
- the default value- Returns:
- this builder
-
withUrl
Sets the default value for the url property.- Parameters:
value
- the default value- Returns:
- this builder
-
withAction
Sets the default value for the action property.- Parameters:
value
- the default value- Returns:
- this builder
-
withWorkInProgress
Sets the default value for the workInProgress property.- Parameters:
value
- the default value- Returns:
- this builder
-
withLabels
Sets the default value for the labels property.- Parameters:
value
- the default value- Returns:
- this builder
-
clone
Returns a clone of this builder. -
but
Returns a clone of this builder.- Returns:
- the clone
-
build
Creates a newMergeRequestObjectAttributes
based on this builder's settings.- Returns:
- the created MergeRequestObjectAttributes
-