Class Label

java.lang.Object
org.gitlab4j.api.models.Label

public class Label extends Object
  • Constructor Details

    • Label

      public Label()
  • Method Details

    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • withName

      public Label withName(String name)
    • getColor

      public String getColor()
    • setColor

      public void setColor(String color)
    • withColor

      public Label withColor(String color)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • withDescription

      public Label withDescription(String description)
    • getOpenIssuesCount

      public Integer getOpenIssuesCount()
    • setOpenIssuesCount

      public void setOpenIssuesCount(Integer openIssuesCount)
    • getClosedIssuesCount

      public Integer getClosedIssuesCount()
    • setClosedIssuesCount

      public void setClosedIssuesCount(Integer closedIssuesCount)
    • getOpenMergeRequestsCount

      public Integer getOpenMergeRequestsCount()
    • setOpenMergeRequestsCount

      public void setOpenMergeRequestsCount(Integer openMergeRequestsCount)
    • isSubscribed

      public Boolean isSubscribed()
    • setSubscribed

      public void setSubscribed(Boolean subscribed)
    • getPriority

      public Integer getPriority()
    • setPriority

      public void setPriority(Integer priority)
    • withPriority

      public Label withPriority(Integer priority)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getForm

      public GitLabApiForm getForm(boolean isCreate)
      Get the form params specified by this instance.
      Parameters:
      isCreate - set to true if the params are for a create label call, false for an update
      Returns:
      a GitLabApiForm instance holding the form parameters for this LabelParams instance