Class MergeRequestChangesBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.hook.model.builder.generated.MergeRequestChangesBuilder
- All Implemented Interfaces:
Cloneable
@Generated("PojoBuilder")
public class MergeRequestChangesBuilder
extends Object
implements Cloneable
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected MergeRequestChangesBuilder
protected MergeRequestChangedLabels
protected MergeRequestChangedTitle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a newMergeRequestChanges
based on this builder's settings.but()
Returns a clone of this builder.clone()
Returns a clone of this builder.static MergeRequestChangesBuilder
Factory Method to construct a MergeRequestChangesBuilderSets the default value for the labels property.Sets the default value for the title property.
-
Field Details
-
self
-
value$labels$com$dabsquared$gitlabjenkins$gitlab$hook$model$MergeRequestChangedLabels
protected MergeRequestChangedLabels value$labels$com$dabsquared$gitlabjenkins$gitlab$hook$model$MergeRequestChangedLabels -
isSet$labels$com$dabsquared$gitlabjenkins$gitlab$hook$model$MergeRequestChangedLabels
protected boolean isSet$labels$com$dabsquared$gitlabjenkins$gitlab$hook$model$MergeRequestChangedLabels -
value$title$com$dabsquared$gitlabjenkins$gitlab$hook$model$MergeRequestChangedTitle
protected MergeRequestChangedTitle value$title$com$dabsquared$gitlabjenkins$gitlab$hook$model$MergeRequestChangedTitle -
isSet$title$com$dabsquared$gitlabjenkins$gitlab$hook$model$MergeRequestChangedTitle
protected boolean isSet$title$com$dabsquared$gitlabjenkins$gitlab$hook$model$MergeRequestChangedTitle
-
-
Constructor Details
-
MergeRequestChangesBuilder
public MergeRequestChangesBuilder()Creates a newMergeRequestChangesBuilder
.
-
-
Method Details
-
mergeRequestChanges
Factory Method to construct a MergeRequestChangesBuilder- Returns:
- a new MergeRequestChangesBuilder
-
withLabels
Sets the default value for the labels 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
-
clone
Returns a clone of this builder. -
but
Returns a clone of this builder.- Returns:
- the clone
-
build
Creates a newMergeRequestChanges
based on this builder's settings.- Returns:
- the created MergeRequestChanges
-