public class GHProjectColumn extends GHObject
| Modifier and Type | Field and Description |
|---|---|
protected GHProject |
project |
protected GitHub |
root |
created_at, id, responseHeaderFields, updated_at, url| Constructor and Description |
|---|
GHProjectColumn() |
| Modifier and Type | Method and Description |
|---|---|
GHProjectCard |
createCard(GHIssue issue)
Create card gh project card.
|
GHProjectCard |
createCard(String note)
Create card gh project card.
|
void |
delete()
Delete.
|
protected String |
getApiRoute()
Gets api route.
|
URL |
getHtmlUrl()
Gets html url.
|
String |
getName()
Gets name.
|
GHProject |
getProject()
Gets project.
|
URL |
getProjectUrl()
Gets project url.
|
GitHub |
getRoot()
Gets root.
|
PagedIterable<GHProjectCard> |
listCards()
List cards paged iterable.
|
void |
setName(String name)
Sets name.
|
GHProjectColumn |
wrap(GHProject project)
Wrap gh project column.
|
GHProjectColumn |
wrap(GitHub root)
Wrap gh project column.
|
getCreatedAt, getId, getResponseHeaderFields, getUpdatedAt, getUrl, toStringpublic URL getHtmlUrl() throws IOException
GHObjectgetHtmlUrl in class GHObjectIOException - on errorpublic GHProjectColumn wrap(GitHub root)
root - the rootpublic GHProjectColumn wrap(GHProject project)
project - the projectpublic GitHub getRoot()
public GHProject getProject() throws IOException
IOException - the io exceptionpublic String getName()
public URL getProjectUrl()
public void setName(String name) throws IOException
name - the nameIOException - the io exceptionprotected String getApiRoute()
public void delete()
throws IOException
IOException - the io exceptionpublic PagedIterable<GHProjectCard> listCards() throws IOException
IOException - the io exceptionpublic GHProjectCard createCard(String note) throws IOException
note - the noteIOException - the io exceptionpublic GHProjectCard createCard(GHIssue issue) throws IOException
issue - the issueIOException - the io exceptionCopyright © 2020. All rights reserved.