Class PullRequestLabelBuilder
java.lang.Object
com.gitee.jenkins.gitee.hook.model.builder.generated.PullRequestLabelBuilder
- All Implemented Interfaces:
Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected PullRequestLabelBuilder
protected String
protected Date
protected String
protected Integer
protected Integer
protected Integer
protected Boolean
protected String
protected String
protected Date
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a newPullRequestLabel
based on this builder's settings.but()
Returns a clone of this builder.clone()
Returns a clone of this builder.static PullRequestLabelBuilder
Factory Method to construct a PullRequestLabelBuilderSets the default value for the color property.withCreatedAt
(Date value) Sets the default value for the createdAt property.withDescription
(String value) Sets the default value for the description property.withGroupId
(Integer value) Sets the default value for the groupId property.Sets the default value for the id property.withProjectId
(Integer value) Sets the default value for the projectId property.withTemplate
(Boolean value) Sets the default value for the template property.Sets the default value for the title property.Sets the default value for the type property.withUpdatedAt
(Date value) Sets the default value for the updatedAt property.
-
Field Details
-
self
-
value$id$java$lang$Integer
-
isSet$id$java$lang$Integer
protected boolean isSet$id$java$lang$Integer -
value$title$java$lang$String
-
isSet$title$java$lang$String
protected boolean isSet$title$java$lang$String -
value$color$java$lang$String
-
isSet$color$java$lang$String
protected boolean isSet$color$java$lang$String -
value$projectId$java$lang$Integer
-
isSet$projectId$java$lang$Integer
protected boolean isSet$projectId$java$lang$Integer -
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$template$java$lang$Boolean
-
isSet$template$java$lang$Boolean
protected boolean isSet$template$java$lang$Boolean -
value$description$java$lang$String
-
isSet$description$java$lang$String
protected boolean isSet$description$java$lang$String -
value$type$java$lang$String
-
isSet$type$java$lang$String
protected boolean isSet$type$java$lang$String -
value$groupId$java$lang$Integer
-
isSet$groupId$java$lang$Integer
protected boolean isSet$groupId$java$lang$Integer
-
-
Constructor Details
-
PullRequestLabelBuilder
public PullRequestLabelBuilder()Creates a newPullRequestLabelBuilder
.
-
-
Method Details
-
pullRequestLabel
Factory Method to construct a PullRequestLabelBuilder- Returns:
- a new PullRequestLabelBuilder
-
withId
Sets the default value for the id 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
-
withColor
Sets the default value for the color property.- Parameters:
value
- the default value- Returns:
- this builder
-
withProjectId
Sets the default value for the projectId 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
-
withTemplate
Sets the default value for the template 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
-
withType
Sets the default value for the type property.- Parameters:
value
- the default value- Returns:
- this builder
-
withGroupId
Sets the default value for the groupId 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 newPullRequestLabel
based on this builder's settings.- Returns:
- the created PullRequestLabel
-