Class MergeRequestLabelBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.hook.model.builder.generated.MergeRequestLabelBuilder
- All Implemented Interfaces:
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 MergeRequestLabelBuilder
protected String
protected Date
protected String
protected Integer
protected Integer
protected Integer
protected Boolean
protected String
protected String
protected Date
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a newMergeRequestLabel
based on this builder's settings.but()
Returns a clone of this builder.clone()
Returns a clone of this builder.static MergeRequestLabelBuilder
Factory Method to construct a MergeRequestLabelBuilderSets 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
-
MergeRequestLabelBuilder
public MergeRequestLabelBuilder()Creates a newMergeRequestLabelBuilder
.
-
-
Method Details
-
mergeRequestLabel
Factory Method to construct a MergeRequestLabelBuilder- Returns:
- a new MergeRequestLabelBuilder
-
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 newMergeRequestLabel
based on this builder's settings.- Returns:
- the created MergeRequestLabel
-