Package org.gitlab4j.api.models
Class Label
- java.lang.Object
-
- org.gitlab4j.api.models.Label
-
public class Label extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Label()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetClosedIssuesCount()java.lang.StringgetColor()java.lang.StringgetDescription()GitLabApiFormgetForm(boolean isCreate)Get the form params specified by this instance.java.lang.LonggetId()java.lang.StringgetName()java.lang.IntegergetOpenIssuesCount()java.lang.IntegergetOpenMergeRequestsCount()java.lang.IntegergetPriority()java.lang.BooleanisSubscribed()voidsetClosedIssuesCount(java.lang.Integer closedIssuesCount)voidsetColor(java.lang.String color)voidsetDescription(java.lang.String description)voidsetId(java.lang.Long id)voidsetName(java.lang.String name)voidsetOpenIssuesCount(java.lang.Integer openIssuesCount)voidsetOpenMergeRequestsCount(java.lang.Integer openMergeRequestsCount)voidsetPriority(java.lang.Integer priority)voidsetSubscribed(java.lang.Boolean subscribed)java.lang.StringtoString()LabelwithColor(java.lang.String color)LabelwithDescription(java.lang.String description)LabelwithName(java.lang.String name)LabelwithPriority(java.lang.Integer priority)
-
-
-
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:
toStringin classjava.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
-
-