Class PullRequestObjectAttributesBuilder
- java.lang.Object
-
- com.gitee.jenkins.gitee.hook.model.builder.generated.PullRequestObjectAttributesBuilder
-
- All Implemented Interfaces:
Cloneable
@Generated("PojoBuilder") public class PullRequestObjectAttributesBuilder extends Object implements Cloneable
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PullRequestObjectAttributesBuilder()
Creates a newPullRequestObjectAttributesBuilder
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PullRequestObjectAttributes
build()
Creates a newPullRequestObjectAttributes
based on this builder's settings.PullRequestObjectAttributesBuilder
but()
Returns a clone of this builder.Object
clone()
Returns a clone of this builder.static PullRequestObjectAttributesBuilder
pullRequestObjectAttributes()
Factory Method to construct a PullRequestObjectAttributesBuilderPullRequestObjectAttributesBuilder
withAssigneeId(Integer value)
Sets the default value for the assigneeId property.PullRequestObjectAttributesBuilder
withAuthorId(Integer value)
Sets the default value for the authorId property.PullRequestObjectAttributesBuilder
withBase(BranchData value)
Sets the default value for the base property.PullRequestObjectAttributesBuilder
withBody(String value)
Sets the default value for the body property.PullRequestObjectAttributesBuilder
withCreatedAt(Date value)
Sets the default value for the createdAt property.PullRequestObjectAttributesBuilder
withHead(BranchData value)
Sets the default value for the head property.PullRequestObjectAttributesBuilder
withHtmlUrl(String value)
Sets the default value for the htmlUrl property.PullRequestObjectAttributesBuilder
withId(Integer value)
Sets the default value for the id property.PullRequestObjectAttributesBuilder
withMergeable(boolean value)
Sets the default value for the mergeable property.PullRequestObjectAttributesBuilder
withMergeCommitSha(String value)
Sets the default value for the mergeCommitSha property.PullRequestObjectAttributesBuilder
withMergeReferenceName(String value)
Sets the default value for the mergeReferenceName property.PullRequestObjectAttributesBuilder
withMergeStatus(String value)
Sets the default value for the mergeStatus property.PullRequestObjectAttributesBuilder
withNeedReview(boolean value)
Sets the default value for the needReview property.PullRequestObjectAttributesBuilder
withNeedTest(boolean value)
Sets the default value for the needTest property.PullRequestObjectAttributesBuilder
withNumber(Integer value)
Sets the default value for the number property.PullRequestObjectAttributesBuilder
withTitle(String value)
Sets the default value for the title property.PullRequestObjectAttributesBuilder
withUpdatedAt(Date value)
Sets the default value for the updatedAt property.PullRequestObjectAttributesBuilder
withWorkInProgress(Boolean value)
Sets the default value for the workInProgress property.
-
-
-
Field Detail
-
self
protected PullRequestObjectAttributesBuilder self
-
value$id$java$lang$Integer
protected Integer value$id$java$lang$Integer
-
isSet$id$java$lang$Integer
protected boolean isSet$id$java$lang$Integer
-
value$number$java$lang$Integer
protected Integer value$number$java$lang$Integer
-
isSet$number$java$lang$Integer
protected boolean isSet$number$java$lang$Integer
-
value$authorId$java$lang$Integer
protected Integer value$authorId$java$lang$Integer
-
isSet$authorId$java$lang$Integer
protected boolean isSet$authorId$java$lang$Integer
-
value$assigneeId$java$lang$Integer
protected Integer value$assigneeId$java$lang$Integer
-
isSet$assigneeId$java$lang$Integer
protected boolean isSet$assigneeId$java$lang$Integer
-
value$title$java$lang$String
protected String value$title$java$lang$String
-
isSet$title$java$lang$String
protected boolean isSet$title$java$lang$String
-
value$createdAt$java$util$Date
protected Date value$createdAt$java$util$Date
-
isSet$createdAt$java$util$Date
protected boolean isSet$createdAt$java$util$Date
-
value$updatedAt$java$util$Date
protected Date value$updatedAt$java$util$Date
-
isSet$updatedAt$java$util$Date
protected boolean isSet$updatedAt$java$util$Date
-
value$body$java$lang$String
protected String value$body$java$lang$String
-
isSet$body$java$lang$String
protected boolean isSet$body$java$lang$String
-
value$head$com$gitee$jenkins$gitee$hook$model$BranchData
protected BranchData value$head$com$gitee$jenkins$gitee$hook$model$BranchData
-
isSet$head$com$gitee$jenkins$gitee$hook$model$BranchData
protected boolean isSet$head$com$gitee$jenkins$gitee$hook$model$BranchData
-
value$base$com$gitee$jenkins$gitee$hook$model$BranchData
protected BranchData value$base$com$gitee$jenkins$gitee$hook$model$BranchData
-
isSet$base$com$gitee$jenkins$gitee$hook$model$BranchData
protected boolean isSet$base$com$gitee$jenkins$gitee$hook$model$BranchData
-
value$needTest$boolean
protected boolean value$needTest$boolean
-
isSet$needTest$boolean
protected boolean isSet$needTest$boolean
-
value$needReview$boolean
protected boolean value$needReview$boolean
-
isSet$needReview$boolean
protected boolean isSet$needReview$boolean
-
value$mergeCommitSha$java$lang$String
protected String value$mergeCommitSha$java$lang$String
-
isSet$mergeCommitSha$java$lang$String
protected boolean isSet$mergeCommitSha$java$lang$String
-
value$mergeReferenceName$java$lang$String
protected String value$mergeReferenceName$java$lang$String
-
isSet$mergeReferenceName$java$lang$String
protected boolean isSet$mergeReferenceName$java$lang$String
-
value$mergeStatus$java$lang$String
protected String value$mergeStatus$java$lang$String
-
isSet$mergeStatus$java$lang$String
protected boolean isSet$mergeStatus$java$lang$String
-
value$htmlUrl$java$lang$String
protected String value$htmlUrl$java$lang$String
-
isSet$htmlUrl$java$lang$String
protected boolean isSet$htmlUrl$java$lang$String
-
value$workInProgress$java$lang$Boolean
protected Boolean value$workInProgress$java$lang$Boolean
-
isSet$workInProgress$java$lang$Boolean
protected boolean isSet$workInProgress$java$lang$Boolean
-
value$mergeable$boolean
protected boolean value$mergeable$boolean
-
isSet$mergeable$boolean
protected boolean isSet$mergeable$boolean
-
-
Constructor Detail
-
PullRequestObjectAttributesBuilder
public PullRequestObjectAttributesBuilder()
Creates a newPullRequestObjectAttributesBuilder
.
-
-
Method Detail
-
pullRequestObjectAttributes
public static PullRequestObjectAttributesBuilder pullRequestObjectAttributes()
Factory Method to construct a PullRequestObjectAttributesBuilder- Returns:
- a new PullRequestObjectAttributesBuilder
-
withId
public PullRequestObjectAttributesBuilder withId(Integer value)
Sets the default value for the id property.- Parameters:
value
- the default value- Returns:
- this builder
-
withNumber
public PullRequestObjectAttributesBuilder withNumber(Integer value)
Sets the default value for the number property.- Parameters:
value
- the default value- Returns:
- this builder
-
withAuthorId
public PullRequestObjectAttributesBuilder withAuthorId(Integer value)
Sets the default value for the authorId property.- Parameters:
value
- the default value- Returns:
- this builder
-
withAssigneeId
public PullRequestObjectAttributesBuilder withAssigneeId(Integer value)
Sets the default value for the assigneeId property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTitle
public PullRequestObjectAttributesBuilder withTitle(String value)
Sets the default value for the title property.- Parameters:
value
- the default value- Returns:
- this builder
-
withCreatedAt
public PullRequestObjectAttributesBuilder withCreatedAt(Date value)
Sets the default value for the createdAt property.- Parameters:
value
- the default value- Returns:
- this builder
-
withUpdatedAt
public PullRequestObjectAttributesBuilder withUpdatedAt(Date value)
Sets the default value for the updatedAt property.- Parameters:
value
- the default value- Returns:
- this builder
-
withBody
public PullRequestObjectAttributesBuilder withBody(String value)
Sets the default value for the body property.- Parameters:
value
- the default value- Returns:
- this builder
-
withHead
public PullRequestObjectAttributesBuilder withHead(BranchData value)
Sets the default value for the head property.- Parameters:
value
- the default value- Returns:
- this builder
-
withBase
public PullRequestObjectAttributesBuilder withBase(BranchData value)
Sets the default value for the base property.- Parameters:
value
- the default value- Returns:
- this builder
-
withNeedTest
public PullRequestObjectAttributesBuilder withNeedTest(boolean value)
Sets the default value for the needTest property.- Parameters:
value
- the default value- Returns:
- this builder
-
withNeedReview
public PullRequestObjectAttributesBuilder withNeedReview(boolean value)
Sets the default value for the needReview property.- Parameters:
value
- the default value- Returns:
- this builder
-
withMergeCommitSha
public PullRequestObjectAttributesBuilder withMergeCommitSha(String value)
Sets the default value for the mergeCommitSha property.- Parameters:
value
- the default value- Returns:
- this builder
-
withMergeReferenceName
public PullRequestObjectAttributesBuilder withMergeReferenceName(String value)
Sets the default value for the mergeReferenceName property.- Parameters:
value
- the default value- Returns:
- this builder
-
withMergeStatus
public PullRequestObjectAttributesBuilder withMergeStatus(String value)
Sets the default value for the mergeStatus property.- Parameters:
value
- the default value- Returns:
- this builder
-
withHtmlUrl
public PullRequestObjectAttributesBuilder withHtmlUrl(String value)
Sets the default value for the htmlUrl property.- Parameters:
value
- the default value- Returns:
- this builder
-
withWorkInProgress
public PullRequestObjectAttributesBuilder withWorkInProgress(Boolean value)
Sets the default value for the workInProgress property.- Parameters:
value
- the default value- Returns:
- this builder
-
withMergeable
public PullRequestObjectAttributesBuilder withMergeable(boolean value)
Sets the default value for the mergeable property.- Parameters:
value
- the default value- Returns:
- this builder
-
clone
@GwtIncompatible public Object clone()
Returns a clone of this builder.
-
but
@GwtIncompatible public PullRequestObjectAttributesBuilder but()
Returns a clone of this builder.- Returns:
- the clone
-
build
public PullRequestObjectAttributes build()
Creates a newPullRequestObjectAttributes
based on this builder's settings.- Returns:
- the created PullRequestObjectAttributes
-
-