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 Link icon

    • self Link icon

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

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

      protected boolean isSet$id$java$lang$Long
    • value$projectId$java$lang$Integer Link icon

      protected Integer value$projectId$java$lang$Integer
    • isSet$projectId$java$lang$Integer Link icon

      protected boolean isSet$projectId$java$lang$Integer
    • value$author$com$dabsquared$gitlabjenkins$gitlab$api$model$User Link icon

      protected User value$author$com$dabsquared$gitlabjenkins$gitlab$api$model$User
    • isSet$author$com$dabsquared$gitlabjenkins$gitlab$api$model$User Link icon

      protected boolean isSet$author$com$dabsquared$gitlabjenkins$gitlab$api$model$User
    • value$createdAt$java$util$Date Link icon

      protected Date value$createdAt$java$util$Date
    • isSet$createdAt$java$util$Date Link icon

      protected boolean isSet$createdAt$java$util$Date
    • value$updatedAt$java$util$Date Link icon

      protected Date value$updatedAt$java$util$Date
    • isSet$updatedAt$java$util$Date Link icon

      protected boolean isSet$updatedAt$java$util$Date
    • value$note$java$lang$String Link icon

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

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

    • NoteBuilder Link icon

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

    • note Link icon

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

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

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

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

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

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

      public NoteBuilder withNote(String value)
      Sets the default value for the note property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • clone Link icon

      @GwtIncompatible public Object clone()
      Returns a clone of this builder.
      Overrides:
      clone in class Object
      Returns:
      the clone
    • but Link icon

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

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