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

@Generated("PojoBuilder") public class LabelBuilder extends Object implements Cloneable
  • Field Details Link icon

    • self Link icon

      protected LabelBuilder self
    • value$name$java$lang$String Link icon

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

      protected boolean isSet$name$java$lang$String
    • value$color$java$lang$String Link icon

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

      protected boolean isSet$color$java$lang$String
    • value$description$java$lang$String Link icon

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

      protected boolean isSet$description$java$lang$String
    • value$openIssuesCount$long Link icon

      protected long value$openIssuesCount$long
    • isSet$openIssuesCount$long Link icon

      protected boolean isSet$openIssuesCount$long
    • value$closedIssuesCount$long Link icon

      protected long value$closedIssuesCount$long
    • isSet$closedIssuesCount$long Link icon

      protected boolean isSet$closedIssuesCount$long
    • value$openMergeRequestsCount$long Link icon

      protected long value$openMergeRequestsCount$long
    • isSet$openMergeRequestsCount$long Link icon

      protected boolean isSet$openMergeRequestsCount$long
  • Constructor Details Link icon

    • LabelBuilder Link icon

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

    • label Link icon

      public static LabelBuilder label()
      Factory Method to construct a LabelBuilder
      Returns:
      a new LabelBuilder
    • withName Link icon

      public LabelBuilder withName(String value)
      Sets the default value for the name property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withColor Link icon

      public LabelBuilder withColor(String value)
      Sets the default value for the color property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withDescription Link icon

      public LabelBuilder withDescription(String value)
      Sets the default value for the description property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withOpenIssuesCount Link icon

      public LabelBuilder withOpenIssuesCount(long value)
      Sets the default value for the openIssuesCount property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withClosedIssuesCount Link icon

      public LabelBuilder withClosedIssuesCount(long value)
      Sets the default value for the closedIssuesCount property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withOpenMergeRequestsCount Link icon

      public LabelBuilder withOpenMergeRequestsCount(long value)
      Sets the default value for the openMergeRequestsCount 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 LabelBuilder but()
      Returns a clone of this builder.
      Returns:
      the clone
    • build Link icon

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