java.lang.Object
org.kohsuke.github.GHObject
org.kohsuke.github.GHProjectCard
The type GHProjectCard.
- Author:
- Gunnar Skjold
-
Field Summary
Fields inherited from class org.kohsuke.github.GHObject
responseHeaderFields
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
Delete.protected String
Gets api route.Gets column.Gets column url.Gets content if present.Gets content url.Gets creator.Gets the html url.getNote()
Gets note.Gets project.Gets project url.boolean
Is archived boolean.void
setArchived
(boolean archived) Sets archived.void
Sets note.Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
Constructor Details
-
GHProjectCard
public GHProjectCard()Create default GHProjectCard instance
-
-
Method Details
-
delete
Delete.- Throws:
IOException
- the io exception
-
getColumn
Gets column.- Returns:
- the column
- Throws:
IOException
- the io exception
-
getColumnUrl
Gets column url.- Returns:
- the column url
-
getContent
Gets content if present. Might be aGHPullRequest
or aGHIssue
.- Returns:
- the content
- Throws:
IOException
- the io exception
-
getContentUrl
Gets content url.- Returns:
- the content url
-
getCreator
Gets creator.- Returns:
- the creator
-
getHtmlUrl
Gets the html url.- Returns:
- the html url
-
getNote
Gets note.- Returns:
- the note
-
getProject
Gets project.- Returns:
- the project
- Throws:
IOException
- the io exception
-
getProjectUrl
Gets project url.- Returns:
- the project url
-
isArchived
public boolean isArchived()Is archived boolean.- Returns:
- the boolean
-
setArchived
Sets archived.- Parameters:
archived
- the archived- Throws:
IOException
- the io exception
-
setNote
Sets note.- Parameters:
note
- the note- Throws:
IOException
- the io exception
-
getApiRoute
Gets api route.- Returns:
- the api route
-