public class GHProjectCard extends GHObject
created_at, id, responseHeaderFields, updated_at, url| Constructor and Description |
|---|
GHProjectCard() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete.
|
protected String |
getApiRoute()
Gets api route.
|
GHProjectColumn |
getColumn()
Gets column.
|
URL |
getColumnUrl()
Gets column url.
|
GHIssue |
getContent()
Gets content.
|
URL |
getContentUrl()
Gets content url.
|
GHUser |
getCreator()
Gets creator.
|
URL |
getHtmlUrl()
Gets html url.
|
String |
getNote()
Gets note.
|
GHProject |
getProject()
Gets project.
|
URL |
getProjectUrl()
Gets project url.
|
GitHub |
getRoot()
Gets root.
|
boolean |
isArchived()
Is archived boolean.
|
void |
setArchived(boolean archived)
Sets archived.
|
void |
setNote(String note)
Sets note.
|
GHProjectCard |
wrap(GHProjectColumn column)
Wrap gh project card.
|
GHProjectCard |
wrap(GitHub root)
Wrap gh project card.
|
getCreatedAt, getId, getResponseHeaderFields, getUpdatedAt, getUrl, toStringpublic URL getHtmlUrl() throws IOException
GHObjectgetHtmlUrl in class GHObjectIOException - on errorpublic GHProjectCard wrap(GitHub root)
root - the rootpublic GHProjectCard wrap(GHProjectColumn column)
column - the columnpublic GitHub getRoot()
public GHProject getProject() throws IOException
IOException - the io exceptionpublic GHProjectColumn getColumn() throws IOException
IOException - the io exceptionpublic GHIssue getContent() throws IOException
IOException - the io exceptionpublic String getNote()
public GHUser getCreator()
public URL getContentUrl()
public URL getProjectUrl()
public URL getColumnUrl()
public boolean isArchived()
public void setNote(String note) throws IOException
note - the noteIOException - the io exceptionpublic void setArchived(boolean archived)
throws IOException
archived - the archivedIOException - the io exceptionprotected String getApiRoute()
public void delete()
throws IOException
IOException - the io exceptionCopyright © 2020. All rights reserved.