Class AwardableBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.api.model.builder.generated.AwardableBuilder
- All Implemented Interfaces:
Cloneable
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected boolean
protected AwardableBuilder
protected Integer
protected Integer
protected String
protected User
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AwardableBuilder
Factory Method to construct a AwardableBuilderbuild()
Creates a newAwardable
based on this builder's settings.but()
Returns a clone of this builder.clone()
Returns a clone of this builder.withAwardableId
(Integer value) Sets the default value for the awardableId property.Sets the default value for the id property.Sets the default value for the name property.Sets the default value for the user property.
-
Field Details
-
self
-
value$id$java$lang$Integer
-
isSet$id$java$lang$Integer
protected boolean isSet$id$java$lang$Integer -
value$name$java$lang$String
-
isSet$name$java$lang$String
protected boolean isSet$name$java$lang$String -
value$user$com$dabsquared$gitlabjenkins$gitlab$api$model$User
-
isSet$user$com$dabsquared$gitlabjenkins$gitlab$api$model$User
protected boolean isSet$user$com$dabsquared$gitlabjenkins$gitlab$api$model$User -
value$awardableId$java$lang$Integer
-
isSet$awardableId$java$lang$Integer
protected boolean isSet$awardableId$java$lang$Integer
-
-
Constructor Details
-
AwardableBuilder
public AwardableBuilder()Creates a newAwardableBuilder
.
-
-
Method Details
-
awardable
Factory Method to construct a AwardableBuilder- Returns:
- a new AwardableBuilder
-
withId
Sets the default value for the id property.- Parameters:
value
- the default value- Returns:
- this builder
-
withName
Sets the default value for the name property.- Parameters:
value
- the default value- Returns:
- this builder
-
withUser
Sets the default value for the user property.- Parameters:
value
- the default value- Returns:
- this builder
-
withAwardableId
Sets the default value for the awardableId 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 newAwardable
based on this builder's settings.- Returns:
- the created Awardable
-