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 Details

    • 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 Details

  • Method Details

    • 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.
      Overrides:
      clone in class Object
      Returns:
      the clone
    • but

      @GwtIncompatible public NoteObjectAttributesBuilder but()
      Returns a clone of this builder.
      Returns:
      the clone
    • build

      public NoteObjectAttributes build()
      Creates a new NoteObjectAttributes based on this builder's settings.
      Returns:
      the created NoteObjectAttributes