java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.api.model.builder.generated.NoteBuilder
All Implemented Interfaces:
Cloneable

@Generated("PojoBuilder") public class NoteBuilder extends Object implements Cloneable
  • Field Details

    • self

      protected NoteBuilder self
    • value$id$java$lang$Long

      protected Long value$id$java$lang$Long
    • isSet$id$java$lang$Long

      protected boolean isSet$id$java$lang$Long
    • 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$author$com$dabsquared$gitlabjenkins$gitlab$api$model$User

      protected User 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

      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$note$java$lang$String

      protected String value$note$java$lang$String
    • isSet$note$java$lang$String

      protected boolean isSet$note$java$lang$String
  • Constructor Details

    • NoteBuilder

      public NoteBuilder()
      Creates a new NoteBuilder.
  • Method Details

    • note

      public static NoteBuilder note()
      Factory Method to construct a NoteBuilder
      Returns:
      a new NoteBuilder
    • withId

      public NoteBuilder withId(Long value)
      Sets the default value for the id property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withProjectId

      public NoteBuilder withProjectId(Integer value)
      Sets the default value for the projectId property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withAuthor

      public NoteBuilder withAuthor(User value)
      Sets the default value for the author property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withCreatedAt

      public NoteBuilder withCreatedAt(Date value)
      Sets the default value for the createdAt property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withUpdatedAt

      public NoteBuilder withUpdatedAt(Date value)
      Sets the default value for the updatedAt property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withNote

      public NoteBuilder withNote(String value)
      Sets the default value for the note 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 NoteBuilder but()
      Returns a clone of this builder.
      Returns:
      the clone
    • build

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