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 IntegergetClosedIssuesCount()StringgetColor()StringgetDescription()GitLabApiFormgetForm(boolean isCreate)Get the form params specified by this instance.IntegergetId()StringgetName()IntegergetOpenIssuesCount()IntegergetOpenMergeRequestsCount()IntegergetPriority()BooleanisSubscribed()voidsetClosedIssuesCount(Integer closedIssuesCount)voidsetColor(String color)voidsetDescription(String description)voidsetId(Integer id)voidsetName(String name)voidsetOpenIssuesCount(Integer openIssuesCount)voidsetOpenMergeRequestsCount(Integer openMergeRequestsCount)voidsetPriority(Integer priority)voidsetSubscribed(Boolean subscribed)StringtoString()LabelwithColor(String color)LabelwithDescription(String description)LabelwithName(String name)LabelwithPriority(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
-