Class NoteBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.api.model.builder.generated.NoteBuilder
- All Implemented Interfaces:
Cloneable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a newNote
based on this builder's settings.but()
Returns a clone of this builder.clone()
Returns a clone of this builder.static NoteBuilder
note()
Factory Method to construct a NoteBuilderwithAuthor
(User value) Sets the default value for the author property.withCreatedAt
(Date value) Sets the default value for the createdAt property.Sets the default value for the id property.Sets the default value for the note property.withProjectId
(Integer value) Sets the default value for the projectId property.withUpdatedAt
(Date value) Sets the default value for the updatedAt property.
-
Field Details
-
self
-
value$id$java$lang$Long
-
isSet$id$java$lang$Long
protected boolean isSet$id$java$lang$Long -
value$projectId$java$lang$Integer
-
isSet$projectId$java$lang$Integer
protected boolean isSet$projectId$java$lang$Integer -
value$author$com$dabsquared$gitlabjenkins$gitlab$api$model$User
-
isSet$author$com$dabsquared$gitlabjenkins$gitlab$api$model$User
protected boolean isSet$author$com$dabsquared$gitlabjenkins$gitlab$api$model$User -
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$note$java$lang$String
-
isSet$note$java$lang$String
protected boolean isSet$note$java$lang$String
-
-
Constructor Details
-
NoteBuilder
public NoteBuilder()Creates a newNoteBuilder
.
-
-
Method Details
-
note
Factory Method to construct a NoteBuilder- Returns:
- a new NoteBuilder
-
withId
Sets the default value for the id 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
-
withAuthor
Sets the default value for the author 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
-
withNote
Sets the default value for the note 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 newNote
based on this builder's settings.- Returns:
- the created Note
-