Class Label

  • All Implemented Interfaces:
    java.io.Serializable

    public class Label
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • Label

        public Label()
    • Method Detail

      • getId

        public java.lang.Long getId()
      • setId

        public void setId​(java.lang.Long id)
      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • withName

        public Label withName​(java.lang.String name)
      • getColor

        public java.lang.String getColor()
      • setColor

        public void setColor​(java.lang.String color)
      • withColor

        public Label withColor​(java.lang.String color)
      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public void setDescription​(java.lang.String description)
      • withDescription

        public Label withDescription​(java.lang.String description)
      • getOpenIssuesCount

        public java.lang.Integer getOpenIssuesCount()
      • setOpenIssuesCount

        public void setOpenIssuesCount​(java.lang.Integer openIssuesCount)
      • getClosedIssuesCount

        public java.lang.Integer getClosedIssuesCount()
      • setClosedIssuesCount

        public void setClosedIssuesCount​(java.lang.Integer closedIssuesCount)
      • getOpenMergeRequestsCount

        public java.lang.Integer getOpenMergeRequestsCount()
      • setOpenMergeRequestsCount

        public void setOpenMergeRequestsCount​(java.lang.Integer openMergeRequestsCount)
      • isSubscribed

        public java.lang.Boolean isSubscribed()
      • setSubscribed

        public void setSubscribed​(java.lang.Boolean subscribed)
      • getPriority

        public java.lang.Integer getPriority()
      • setPriority

        public void setPriority​(java.lang.Integer priority)
      • withPriority

        public Label withPriority​(java.lang.Integer priority)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.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