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
Fields Modifier and Type Field Description protected boolean
isSet$authorId$java$lang$Integer
protected boolean
isSet$body$java$lang$String
protected boolean
isSet$commitId$java$lang$String
protected boolean
isSet$createdAt$java$util$Date
protected boolean
isSet$htmlUrl$java$lang$String
protected boolean
isSet$id$java$lang$Integer
protected boolean
isSet$projectId$java$lang$Integer
protected boolean
isSet$updatedAt$java$util$Date
protected boolean
isSet$user$com$gitee$jenkins$gitee$hook$model$User
protected NoteObjectAttributesBuilder
self
protected Integer
value$authorId$java$lang$Integer
protected String
value$body$java$lang$String
protected String
value$commitId$java$lang$String
protected Date
value$createdAt$java$util$Date
protected String
value$htmlUrl$java$lang$String
protected Integer
value$id$java$lang$Integer
protected Integer
value$projectId$java$lang$Integer
protected Date
value$updatedAt$java$util$Date
protected User
value$user$com$gitee$jenkins$gitee$hook$model$User
-
Constructor Summary
Constructors Constructor Description NoteObjectAttributesBuilder()
Creates a newNoteObjectAttributesBuilder
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NoteObjectAttributes
build()
Creates a newNoteObjectAttributes
based on this builder's settings.NoteObjectAttributesBuilder
but()
Returns a clone of this builder.Object
clone()
Returns a clone of this builder.static NoteObjectAttributesBuilder
noteObjectAttributes()
Factory Method to construct a NoteObjectAttributesBuilderNoteObjectAttributesBuilder
withAuthorId(Integer value)
Sets the default value for the authorId property.NoteObjectAttributesBuilder
withBody(String value)
Sets the default value for the body property.NoteObjectAttributesBuilder
withCommitId(String value)
Sets the default value for the commitId property.NoteObjectAttributesBuilder
withCreatedAt(Date value)
Sets the default value for the createdAt property.NoteObjectAttributesBuilder
withHtmlUrl(String value)
Sets the default value for the htmlUrl property.NoteObjectAttributesBuilder
withId(Integer value)
Sets the default value for the id property.NoteObjectAttributesBuilder
withProjectId(Integer value)
Sets the default value for the projectId property.NoteObjectAttributesBuilder
withUpdatedAt(Date value)
Sets the default value for the updatedAt property.NoteObjectAttributesBuilder
withUser(User value)
Sets the default value for the user property.
-
-
-
Field Detail
-
self
protected NoteObjectAttributesBuilder self
-
value$id$java$lang$Integer
protected Integer value$id$java$lang$Integer
-
isSet$id$java$lang$Integer
protected boolean isSet$id$java$lang$Integer
-
value$projectId$java$lang$Integer
protected Integer value$projectId$java$lang$Integer
-
isSet$projectId$java$lang$Integer
protected boolean isSet$projectId$java$lang$Integer
-
value$authorId$java$lang$Integer
protected Integer value$authorId$java$lang$Integer
-
isSet$authorId$java$lang$Integer
protected boolean isSet$authorId$java$lang$Integer
-
value$createdAt$java$util$Date
protected Date value$createdAt$java$util$Date
-
isSet$createdAt$java$util$Date
protected boolean isSet$createdAt$java$util$Date
-
value$updatedAt$java$util$Date
protected Date value$updatedAt$java$util$Date
-
isSet$updatedAt$java$util$Date
protected boolean isSet$updatedAt$java$util$Date
-
value$body$java$lang$String
protected String value$body$java$lang$String
-
isSet$body$java$lang$String
protected boolean isSet$body$java$lang$String
-
value$htmlUrl$java$lang$String
protected String value$htmlUrl$java$lang$String
-
isSet$htmlUrl$java$lang$String
protected boolean isSet$htmlUrl$java$lang$String
-
value$commitId$java$lang$String
protected 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
protected User 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 Detail
-
NoteObjectAttributesBuilder
public NoteObjectAttributesBuilder()
Creates a newNoteObjectAttributesBuilder
.
-
-
Method Detail
-
noteObjectAttributes
public static NoteObjectAttributesBuilder noteObjectAttributes()
Factory Method to construct a NoteObjectAttributesBuilder- Returns:
- a new NoteObjectAttributesBuilder
-
withId
public NoteObjectAttributesBuilder withId(Integer value)
Sets the default value for the id property.- Parameters:
value
- the default value- Returns:
- this builder
-
withProjectId
public NoteObjectAttributesBuilder withProjectId(Integer value)
Sets the default value for the projectId property.- Parameters:
value
- the default value- Returns:
- this builder
-
withAuthorId
public NoteObjectAttributesBuilder withAuthorId(Integer value)
Sets the default value for the authorId property.- Parameters:
value
- the default value- Returns:
- this builder
-
withCreatedAt
public NoteObjectAttributesBuilder withCreatedAt(Date value)
Sets the default value for the createdAt property.- Parameters:
value
- the default value- Returns:
- this builder
-
withUpdatedAt
public NoteObjectAttributesBuilder withUpdatedAt(Date value)
Sets the default value for the updatedAt property.- Parameters:
value
- the default value- Returns:
- this builder
-
withBody
public NoteObjectAttributesBuilder withBody(String value)
Sets the default value for the body property.- Parameters:
value
- the default value- Returns:
- this builder
-
withHtmlUrl
public NoteObjectAttributesBuilder withHtmlUrl(String value)
Sets the default value for the htmlUrl property.- Parameters:
value
- the default value- Returns:
- this builder
-
withCommitId
public NoteObjectAttributesBuilder withCommitId(String value)
Sets the default value for the commitId property.- Parameters:
value
- the default value- Returns:
- this builder
-
withUser
public NoteObjectAttributesBuilder withUser(User value)
Sets the default value for the user property.- Parameters:
value
- the default value- Returns:
- this builder
-
clone
@GwtIncompatible public Object clone()
Returns a clone of this builder.
-
but
@GwtIncompatible public NoteObjectAttributesBuilder but()
Returns a clone of this builder.- Returns:
- the clone
-
build
public NoteObjectAttributes build()
Creates a newNoteObjectAttributes
based on this builder's settings.- Returns:
- the created NoteObjectAttributes
-
-