public class GHLabel extends Object
GHIssue#getLabels(),
GHRepository#listLabels()| Constructor and Description |
|---|
GHLabel() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete.
|
boolean |
equals(Object o) |
String |
getColor()
Color code without leading '#', such as 'f29513'
|
String |
getDescription()
Purpose of Label
|
String |
getName()
Gets name.
|
String |
getUrl()
Gets url.
|
int |
hashCode() |
void |
setColor(String newColor)
Sets color.
|
void |
setDescription(String newDescription)
Sets description.
|
public String getUrl()
public String getName()
public String getColor()
public String getDescription()
public void delete()
throws IOException
IOException - the io exceptionpublic void setColor(String newColor) throws IOException
newColor - 6-letter hex color code, like "f29513"IOException - the io exceptionpublic void setDescription(String newDescription) throws IOException
newDescription - Description of labelIOException - the io exceptionCopyright © 2020. All rights reserved.