Class LabelBuilder
- java.lang.Object
-
- com.dabsquared.gitlabjenkins.gitlab.api.model.builder.generated.LabelBuilder
-
- All Implemented Interfaces:
Cloneable
@Generated("PojoBuilder") public class LabelBuilder extends Object implements Cloneable
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isSet$closedIssuesCount$long
protected boolean
isSet$color$java$lang$String
protected boolean
isSet$description$java$lang$String
protected boolean
isSet$name$java$lang$String
protected boolean
isSet$openIssuesCount$long
protected boolean
isSet$openMergeRequestsCount$long
protected LabelBuilder
self
protected long
value$closedIssuesCount$long
protected String
value$color$java$lang$String
protected String
value$description$java$lang$String
protected String
value$name$java$lang$String
protected long
value$openIssuesCount$long
protected long
value$openMergeRequestsCount$long
-
Constructor Summary
Constructors Constructor Description LabelBuilder()
Creates a newLabelBuilder
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Label
build()
Creates a newLabel
based on this builder's settings.LabelBuilder
but()
Returns a clone of this builder.Object
clone()
Returns a clone of this builder.static LabelBuilder
label()
Factory Method to construct a LabelBuilderLabelBuilder
withClosedIssuesCount(long value)
Sets the default value for the closedIssuesCount property.LabelBuilder
withColor(String value)
Sets the default value for the color property.LabelBuilder
withDescription(String value)
Sets the default value for the description property.LabelBuilder
withName(String value)
Sets the default value for the name property.LabelBuilder
withOpenIssuesCount(long value)
Sets the default value for the openIssuesCount property.LabelBuilder
withOpenMergeRequestsCount(long value)
Sets the default value for the openMergeRequestsCount property.
-
-
-
Field Detail
-
self
protected LabelBuilder self
-
value$name$java$lang$String
protected String value$name$java$lang$String
-
isSet$name$java$lang$String
protected boolean isSet$name$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$description$java$lang$String
protected String value$description$java$lang$String
-
isSet$description$java$lang$String
protected boolean isSet$description$java$lang$String
-
value$openIssuesCount$long
protected long value$openIssuesCount$long
-
isSet$openIssuesCount$long
protected boolean isSet$openIssuesCount$long
-
value$closedIssuesCount$long
protected long value$closedIssuesCount$long
-
isSet$closedIssuesCount$long
protected boolean isSet$closedIssuesCount$long
-
value$openMergeRequestsCount$long
protected long value$openMergeRequestsCount$long
-
isSet$openMergeRequestsCount$long
protected boolean isSet$openMergeRequestsCount$long
-
-
Constructor Detail
-
LabelBuilder
public LabelBuilder()
Creates a newLabelBuilder
.
-
-
Method Detail
-
label
public static LabelBuilder label()
Factory Method to construct a LabelBuilder- Returns:
- a new LabelBuilder
-
withName
public LabelBuilder withName(String value)
Sets the default value for the name property.- Parameters:
value
- the default value- Returns:
- this builder
-
withColor
public LabelBuilder withColor(String value)
Sets the default value for the color property.- Parameters:
value
- the default value- Returns:
- this builder
-
withDescription
public LabelBuilder withDescription(String value)
Sets the default value for the description property.- Parameters:
value
- the default value- Returns:
- this builder
-
withOpenIssuesCount
public LabelBuilder withOpenIssuesCount(long value)
Sets the default value for the openIssuesCount property.- Parameters:
value
- the default value- Returns:
- this builder
-
withClosedIssuesCount
public LabelBuilder withClosedIssuesCount(long value)
Sets the default value for the closedIssuesCount property.- Parameters:
value
- the default value- Returns:
- this builder
-
withOpenMergeRequestsCount
public LabelBuilder withOpenMergeRequestsCount(long value)
Sets the default value for the openMergeRequestsCount property.- Parameters:
value
- the default value- Returns:
- this builder
-
clone
@GwtIncompatible public Object clone()
Returns a clone of this builder.
-
but
@GwtIncompatible public LabelBuilder but()
Returns a clone of this builder.- Returns:
- the clone
-
-