Package org.kohsuke.github
Class GHProjectsV2Item
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.getRoot()
Deprecated.Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
Constructor Details
-
GHProjectsV2Item
public GHProjectsV2Item()
-
-
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.- Specified by:
getHtmlUrl
in classGHObject
- Returns:
- the html url
-
getRoot
Deprecated.For access to theGitHub
instance, use a local copy instead of pulling it out of objects.Get the rootGitHub
instance for this object.- Returns:
- the root
GitHub
instance
-
GitHub
instance, use a local copy instead of pulling it out of objects.