Package org.gitlab4j.api.models
Class Label
java.lang.Object
org.gitlab4j.api.models.Label
public class Label extends Object
-
Constructor Summary
Constructors Constructor Description Label()
-
Method Summary
Modifier and Type Method Description Integer
getClosedIssuesCount()
String
getColor()
String
getDescription()
GitLabApiForm
getForm(boolean isCreate)
Get the form params specified by this instance.Integer
getId()
String
getName()
Integer
getOpenIssuesCount()
Integer
getOpenMergeRequestsCount()
Integer
getPriority()
Boolean
isSubscribed()
void
setClosedIssuesCount(Integer closedIssuesCount)
void
setColor(String color)
void
setDescription(String description)
void
setId(Integer id)
void
setName(String name)
void
setOpenIssuesCount(Integer openIssuesCount)
void
setOpenMergeRequestsCount(Integer openMergeRequestsCount)
void
setPriority(Integer priority)
void
setSubscribed(Boolean subscribed)
String
toString()
Label
withColor(String color)
Label
withDescription(String description)
Label
withName(String name)
Label
withPriority(Integer priority)
-
Constructor Details
-
Label
public Label()
-
-
Method Details
-
getId
-
setId
-
getName
-
setName
-
withName
-
getColor
-
setColor
-
withColor
-
getDescription
-
setDescription
-
withDescription
-
getOpenIssuesCount
-
setOpenIssuesCount
-
getClosedIssuesCount
-
setClosedIssuesCount
-
getOpenMergeRequestsCount
-
setOpenMergeRequestsCount
-
isSubscribed
-
setSubscribed
-
getPriority
-
setPriority
-
withPriority
-
toString
-
getForm
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
-