java.lang.Object
org.kohsuke.github.GHObject
org.kohsuke.github.GHProjectsV2Item
A Projects V2 item in the organization.
Projects V2 are not attached to a repository but to an organization, even if it is possible to create shortcuts at the repository level.
This event exposes the GraphQL object (more or less - the ids are handled differently for instance) directly. The new Projects V2 API is only available through GraphQL so for now you cannot execute any actions on this object.
- Author:
- Guillaume Smet
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.kohsuke.github.GHObject
responseHeaderFields
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the archived at.Gets the content node id.Gets the content type.Gets the creator.Gets the html url.Gets the project node id.Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
Constructor Details
-
GHProjectsV2Item
public GHProjectsV2Item()Create default GHProjectsV2Item instance
-
-
Method Details
-
getProjectNodeId
Gets the project node id.- Returns:
- the project node id
-
getContentNodeId
Gets the content node id.- Returns:
- the content node id
-
getContentType
Gets the content type.- Returns:
- the content type
-
getCreator
Gets the creator.- Returns:
- the creator
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
getArchivedAt
Gets the archived at.- Returns:
- the archived at
-
getHtmlUrl
Gets the html url.- Returns:
- the html url
-