Class NoteObjectAttributesBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.hook.model.builder.generated.NoteObjectAttributesBuilder
- All Implemented Interfaces:
Cloneable
@Generated("PojoBuilder")
public class NoteObjectAttributesBuilder
extends Object
implements Cloneable
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected NoteObjectAttributesBuilder
protected Integer
protected Date
protected Long
protected String
protected Integer
protected Date
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a newNoteObjectAttributes
based on this builder's settings.but()
Returns a clone of this builder.clone()
Returns a clone of this builder.static NoteObjectAttributesBuilder
Factory Method to construct a NoteObjectAttributesBuilderwithAuthorId
(Integer value) Sets the default value for the authorId 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.Sets the default value for the url 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$authorId$java$lang$Integer
-
isSet$authorId$java$lang$Integer
protected boolean isSet$authorId$java$lang$Integer -
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 -
value$url$java$lang$String
-
isSet$url$java$lang$String
protected boolean isSet$url$java$lang$String
-
-
Constructor Details
-
NoteObjectAttributesBuilder
public NoteObjectAttributesBuilder()Creates a newNoteObjectAttributesBuilder
.
-
-
Method Details
-
noteObjectAttributes
Factory Method to construct a NoteObjectAttributesBuilder- Returns:
- a new NoteObjectAttributesBuilder
-
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
-
withAuthorId
Sets the default value for the authorId 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
-
withUrl
Sets the default value for the url 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 newNoteObjectAttributes
based on this builder's settings.- Returns:
- the created NoteObjectAttributes
-