Class NoteObjectAttributesBuilder
java.lang.Object
com.gitee.jenkins.gitee.hook.model.builder.generated.NoteObjectAttributesBuilder
- All Implemented Interfaces:
Cloneable
@Generated("PojoBuilder")
public class NoteObjectAttributesBuilder
extends Object
implements Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected NoteObjectAttributesBuilder
protected Integer
protected String
protected String
protected Date
protected String
protected Integer
protected Integer
protected Date
protected User
-
Constructor Summary
Constructors -
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.Sets the default value for the body property.withCommitId
(String value) Sets the default value for the commitId property.withCreatedAt
(Date value) Sets the default value for the createdAt property.withHtmlUrl
(String value) Sets the default value for the htmlUrl property.Sets the default value for the id 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 user property.
-
Field Details
-
self
-
value$id$java$lang$Integer
-
isSet$id$java$lang$Integer
protected boolean isSet$id$java$lang$Integer -
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$body$java$lang$String
-
isSet$body$java$lang$String
protected boolean isSet$body$java$lang$String -
value$htmlUrl$java$lang$String
-
isSet$htmlUrl$java$lang$String
protected boolean isSet$htmlUrl$java$lang$String -
value$commitId$java$lang$String
-
isSet$commitId$java$lang$String
protected boolean isSet$commitId$java$lang$String -
value$user$com$gitee$jenkins$gitee$hook$model$User
-
isSet$user$com$gitee$jenkins$gitee$hook$model$User
protected boolean isSet$user$com$gitee$jenkins$gitee$hook$model$User
-
-
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
-
withBody
Sets the default value for the body property.- Parameters:
value
- the default value- Returns:
- this builder
-
withHtmlUrl
Sets the default value for the htmlUrl property.- Parameters:
value
- the default value- Returns:
- this builder
-
withCommitId
Sets the default value for the commitId 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
-
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
-