Class MergeRequest

java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.api.model.MergeRequest

@ExportedBean public class MergeRequest extends Object
Author:
Robin Müller
  • Constructor Details

    • MergeRequest

      public MergeRequest()
    • MergeRequest

      public MergeRequest(int id, int iid, String commitSha, String sourceBranch, String targetBranch, String title, int sourceProjectId, int targetProjectId, String description, String mergeStatus)
  • Method Details

    • getId

      @Exported public Integer getId()
    • setId

      public void setId(Integer id)
    • getIid

      @Exported public Integer getIid()
    • setIid

      public void setIid(Integer iid)
    • getCommitSha

      @Exported public String getCommitSha()
    • setCommitSha

      public void setCommitSha(String commitSha)
    • getSourceBranch

      @Exported public String getSourceBranch()
    • setSourceBranch

      public void setSourceBranch(String sourceBranch)
    • getTargetBranch

      @Exported public String getTargetBranch()
    • setTargetBranch

      public void setTargetBranch(String targetBranch)
    • getProjectId

      @Exported public Integer getProjectId()
    • setProjectId

      public void setProjectId(Integer projectId)
    • getTitle

      @Exported public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getState

      @Exported public State getState()
    • setState

      public void setState(State state)
    • getUpvotes

      @Exported public Integer getUpvotes()
    • setUpvotes

      public void setUpvotes(Integer upvotes)
    • getDownvotes

      @Exported public Integer getDownvotes()
    • setDownvotes

      public void setDownvotes(Integer downvotes)
    • getAuthor

      @Exported public User getAuthor()
    • setAuthor

      public void setAuthor(User author)
    • getAssignee

      @Exported public User getAssignee()
    • setAssignee

      public void setAssignee(User assignee)
    • getSourceProjectId

      @Exported public Integer getSourceProjectId()
    • setSourceProjectId

      public void setSourceProjectId(Integer sourceProjectId)
    • getTargetProjectId

      @Exported public Integer getTargetProjectId()
    • setTargetProjectId

      public void setTargetProjectId(Integer targetProjectId)
    • getLabels

      @Exported public List<String> getLabels()
    • setLabels

      public void setLabels(List<String> labels)
    • getDescription

      @Exported public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getWorkInProgress

      @Exported public Boolean getWorkInProgress()
    • setWorkInProgress

      public void setWorkInProgress(Boolean workInProgress)
    • getMergeWhenBuildSucceeds

      @Exported public Boolean getMergeWhenBuildSucceeds()
    • setMergeWhenBuildSucceeds

      public void setMergeWhenBuildSucceeds(Boolean mergeWhenBuildSucceeds)
    • getMergeStatus

      @Exported public String getMergeStatus()
    • setMergeStatus

      public void setMergeStatus(String mergeStatus)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object