Class MergeRequestLabelBuilder
- java.lang.Object
-
- com.dabsquared.gitlabjenkins.gitlab.hook.model.builder.generated.MergeRequestLabelBuilder
-
- All Implemented Interfaces:
Cloneable
@Generated("PojoBuilder") public class MergeRequestLabelBuilder extends Object implements Cloneable
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MergeRequestLabelBuilder()
Creates a newMergeRequestLabelBuilder
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MergeRequestLabel
build()
Creates a newMergeRequestLabel
based on this builder's settings.MergeRequestLabelBuilder
but()
Returns a clone of this builder.Object
clone()
Returns a clone of this builder.static MergeRequestLabelBuilder
mergeRequestLabel()
Factory Method to construct a MergeRequestLabelBuilderMergeRequestLabelBuilder
withColor(String value)
Sets the default value for the color property.MergeRequestLabelBuilder
withCreatedAt(Date value)
Sets the default value for the createdAt property.MergeRequestLabelBuilder
withDescription(String value)
Sets the default value for the description property.MergeRequestLabelBuilder
withGroupId(Integer value)
Sets the default value for the groupId property.MergeRequestLabelBuilder
withId(Integer value)
Sets the default value for the id property.MergeRequestLabelBuilder
withProjectId(Integer value)
Sets the default value for the projectId property.MergeRequestLabelBuilder
withTemplate(Boolean value)
Sets the default value for the template property.MergeRequestLabelBuilder
withTitle(String value)
Sets the default value for the title property.MergeRequestLabelBuilder
withType(String value)
Sets the default value for the type property.MergeRequestLabelBuilder
withUpdatedAt(Date value)
Sets the default value for the updatedAt property.
-
-
-
Field Detail
-
self
protected MergeRequestLabelBuilder 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$title$java$lang$String
protected String value$title$java$lang$String
-
isSet$title$java$lang$String
protected boolean isSet$title$java$lang$String
-
value$color$java$lang$String
protected String value$color$java$lang$String
-
isSet$color$java$lang$String
protected boolean isSet$color$java$lang$String
-
value$projectId$java$lang$Integer
protected Integer value$projectId$java$lang$Integer
-
isSet$projectId$java$lang$Integer
protected boolean isSet$projectId$java$lang$Integer
-
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$template$java$lang$Boolean
protected Boolean value$template$java$lang$Boolean
-
isSet$template$java$lang$Boolean
protected boolean isSet$template$java$lang$Boolean
-
value$description$java$lang$String
protected String value$description$java$lang$String
-
isSet$description$java$lang$String
protected boolean isSet$description$java$lang$String
-
value$type$java$lang$String
protected String value$type$java$lang$String
-
isSet$type$java$lang$String
protected boolean isSet$type$java$lang$String
-
value$groupId$java$lang$Integer
protected Integer value$groupId$java$lang$Integer
-
isSet$groupId$java$lang$Integer
protected boolean isSet$groupId$java$lang$Integer
-
-
Constructor Detail
-
MergeRequestLabelBuilder
public MergeRequestLabelBuilder()
Creates a newMergeRequestLabelBuilder
.
-
-
Method Detail
-
mergeRequestLabel
public static MergeRequestLabelBuilder mergeRequestLabel()
Factory Method to construct a MergeRequestLabelBuilder- Returns:
- a new MergeRequestLabelBuilder
-
withId
public MergeRequestLabelBuilder withId(Integer value)
Sets the default value for the id property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTitle
public MergeRequestLabelBuilder withTitle(String value)
Sets the default value for the title property.- Parameters:
value
- the default value- Returns:
- this builder
-
withColor
public MergeRequestLabelBuilder withColor(String value)
Sets the default value for the color property.- Parameters:
value
- the default value- Returns:
- this builder
-
withProjectId
public MergeRequestLabelBuilder withProjectId(Integer value)
Sets the default value for the projectId property.- Parameters:
value
- the default value- Returns:
- this builder
-
withCreatedAt
public MergeRequestLabelBuilder withCreatedAt(Date value)
Sets the default value for the createdAt property.- Parameters:
value
- the default value- Returns:
- this builder
-
withUpdatedAt
public MergeRequestLabelBuilder withUpdatedAt(Date value)
Sets the default value for the updatedAt property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTemplate
public MergeRequestLabelBuilder withTemplate(Boolean value)
Sets the default value for the template property.- Parameters:
value
- the default value- Returns:
- this builder
-
withDescription
public MergeRequestLabelBuilder withDescription(String value)
Sets the default value for the description property.- Parameters:
value
- the default value- Returns:
- this builder
-
withType
public MergeRequestLabelBuilder withType(String value)
Sets the default value for the type property.- Parameters:
value
- the default value- Returns:
- this builder
-
withGroupId
public MergeRequestLabelBuilder withGroupId(Integer value)
Sets the default value for the groupId property.- Parameters:
value
- the default value- Returns:
- this builder
-
clone
@GwtIncompatible public Object clone()
Returns a clone of this builder.
-
but
@GwtIncompatible public MergeRequestLabelBuilder but()
Returns a clone of this builder.- Returns:
- the clone
-
build
public MergeRequestLabel build()
Creates a newMergeRequestLabel
based on this builder's settings.- Returns:
- the created MergeRequestLabel
-
-