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

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

    • self

      protected AwardableBuilder 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$name$java$lang$String

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

      protected boolean isSet$name$java$lang$String
    • value$user$com$dabsquared$gitlabjenkins$gitlab$api$model$User

      protected User value$user$com$dabsquared$gitlabjenkins$gitlab$api$model$User
    • isSet$user$com$dabsquared$gitlabjenkins$gitlab$api$model$User

      protected boolean isSet$user$com$dabsquared$gitlabjenkins$gitlab$api$model$User
    • value$awardableId$java$lang$Integer

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

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

  • Method Details

    • awardable

      public static AwardableBuilder awardable()
      Factory Method to construct a AwardableBuilder
      Returns:
      a new AwardableBuilder
    • withId

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

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

      public AwardableBuilder withUser(User value)
      Sets the default value for the user property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withAwardableId

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

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