Module bus.gitlab

Class Label

java.lang.Object
org.miaixz.bus.gitlab.models.Label
All Implemented Interfaces:
Serializable

public class Label extends Object implements Serializable
See Also:
  • 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)
    • getDescriptionHtml

      public String getDescriptionHtml()
    • setDescriptionHtml

      public void setDescriptionHtml(String descriptionHtml)
    • getTextColor

      public String getTextColor()
    • setTextColor

      public void setTextColor(String textColor)
    • 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)
    • getIsProjectLabel

      public Boolean getIsProjectLabel()
    • setIsProjectLabel

      public void setIsProjectLabel(Boolean isProjectLabel)
    • toString

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

      public GitLabForm 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