Class PullRequestLabelBuilder

java.lang.Object
com.gitee.jenkins.gitee.hook.model.builder.generated.PullRequestLabelBuilder
All Implemented Interfaces:
Cloneable

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

    • self

      protected PullRequestLabelBuilder 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$title$java$lang$String

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

      protected boolean isSet$title$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$projectId$java$lang$Integer

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

      protected boolean isSet$projectId$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$template$java$lang$Boolean

      protected Boolean value$template$java$lang$Boolean
    • isSet$template$java$lang$Boolean

      protected boolean isSet$template$java$lang$Boolean
    • 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$type$java$lang$String

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

      protected boolean isSet$type$java$lang$String
    • value$groupId$java$lang$Integer

      protected Integer value$groupId$java$lang$Integer
    • isSet$groupId$java$lang$Integer

      protected boolean isSet$groupId$java$lang$Integer
  • Constructor Details

  • Method Details

    • pullRequestLabel

      public static PullRequestLabelBuilder pullRequestLabel()
      Factory Method to construct a PullRequestLabelBuilder
      Returns:
      a new PullRequestLabelBuilder
    • withId

      public PullRequestLabelBuilder withId(Integer value)
      Sets the default value for the id property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTitle

      public PullRequestLabelBuilder withTitle(String value)
      Sets the default value for the title property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withColor

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

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

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

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

      public PullRequestLabelBuilder withTemplate(Boolean value)
      Sets the default value for the template property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withDescription

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

      public PullRequestLabelBuilder withType(String value)
      Sets the default value for the type property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withGroupId

      public PullRequestLabelBuilder withGroupId(Integer value)
      Sets the default value for the groupId 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 PullRequestLabelBuilder but()
      Returns a clone of this builder.
      Returns:
      the clone
    • build

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