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

    • self

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

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

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

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

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

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

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

      protected long value$openIssuesCount$long
    • isSet$openIssuesCount$long

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

      protected long value$closedIssuesCount$long
    • isSet$closedIssuesCount$long

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

      protected long value$openMergeRequestsCount$long
    • isSet$openMergeRequestsCount$long

      protected boolean isSet$openMergeRequestsCount$long
  • Constructor Details

    • LabelBuilder

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

    • label

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

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

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

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

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

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

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

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