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

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

    • self

      protected MergeRequestBuilder 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$iid$java$lang$Integer

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

      protected boolean isSet$iid$java$lang$Integer
    • value$commitSha$java$lang$String

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

      protected boolean isSet$commitSha$java$lang$String
    • value$sourceBranch$java$lang$String

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

      protected boolean isSet$sourceBranch$java$lang$String
    • value$targetBranch$java$lang$String

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

      protected boolean isSet$targetBranch$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$title$java$lang$String

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

      protected boolean isSet$title$java$lang$String
    • value$state$com$dabsquared$gitlabjenkins$gitlab$hook$model$State

      protected State value$state$com$dabsquared$gitlabjenkins$gitlab$hook$model$State
    • isSet$state$com$dabsquared$gitlabjenkins$gitlab$hook$model$State

      protected boolean isSet$state$com$dabsquared$gitlabjenkins$gitlab$hook$model$State
    • value$upvotes$java$lang$Integer

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

      protected boolean isSet$upvotes$java$lang$Integer
    • value$downvotes$java$lang$Integer

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

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

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

      protected boolean isSet$author$com$dabsquared$gitlabjenkins$gitlab$api$model$User
    • value$assignee$com$dabsquared$gitlabjenkins$gitlab$api$model$User

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

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

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

      protected boolean isSet$sourceProjectId$java$lang$Integer
    • value$targetProjectId$java$lang$Integer

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

      protected boolean isSet$targetProjectId$java$lang$Integer
    • value$labels$java$util$List

      protected List<String> value$labels$java$util$List
    • isSet$labels$java$util$List

      protected boolean isSet$labels$java$util$List
    • 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$workInProgress$java$lang$Boolean

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

      protected boolean isSet$workInProgress$java$lang$Boolean
    • value$mergeWhenBuildSucceeds$java$lang$Boolean

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

      protected boolean isSet$mergeWhenBuildSucceeds$java$lang$Boolean
    • value$mergeStatus$java$lang$String

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

      protected boolean isSet$mergeStatus$java$lang$String
  • Constructor Details

  • Method Details

    • mergeRequest

      public static MergeRequestBuilder mergeRequest()
      Factory Method to construct a MergeRequestBuilder
      Returns:
      a new MergeRequestBuilder
    • withId

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

      public MergeRequestBuilder withIid(Integer value)
      Sets the default value for the iid property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withCommitSha

      public MergeRequestBuilder withCommitSha(String value)
      Sets the default value for the commitSha property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withSourceBranch

      public MergeRequestBuilder withSourceBranch(String value)
      Sets the default value for the sourceBranch property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTargetBranch

      public MergeRequestBuilder withTargetBranch(String value)
      Sets the default value for the targetBranch property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withProjectId

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

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

      public MergeRequestBuilder withState(State value)
      Sets the default value for the state property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withUpvotes

      public MergeRequestBuilder withUpvotes(Integer value)
      Sets the default value for the upvotes property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withDownvotes

      public MergeRequestBuilder withDownvotes(Integer value)
      Sets the default value for the downvotes property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withAuthor

      public MergeRequestBuilder withAuthor(User value)
      Sets the default value for the author property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withAssignee

      public MergeRequestBuilder withAssignee(User value)
      Sets the default value for the assignee property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withSourceProjectId

      public MergeRequestBuilder withSourceProjectId(Integer value)
      Sets the default value for the sourceProjectId property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTargetProjectId

      public MergeRequestBuilder withTargetProjectId(Integer value)
      Sets the default value for the targetProjectId property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withLabels

      public MergeRequestBuilder withLabels(List<String> value)
      Sets the default value for the labels property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withDescription

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

      public MergeRequestBuilder withWorkInProgress(Boolean value)
      Sets the default value for the workInProgress property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withMergeWhenBuildSucceeds

      public MergeRequestBuilder withMergeWhenBuildSucceeds(Boolean value)
      Sets the default value for the mergeWhenBuildSucceeds property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withMergeStatus

      public MergeRequestBuilder withMergeStatus(String value)
      Sets the default value for the mergeStatus 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 MergeRequestBuilder but()
      Returns a clone of this builder.
      Returns:
      the clone
    • build

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