java.lang.Object
org.kohsuke.github.GHRepositoryDiscussion.Category
- Enclosing class:
- GHRepositoryDiscussion
Category of a discussion.
Note that while it is relatively close to the GraphQL objects, some of the fields such as the id are handled differently.
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Category
public Category()Create default Category instance
-
-
Method Details
-
getId
public long getId()Gets the id.- Returns:
- the id
-
getNodeId
Gets the node id.- Returns:
- the node id
-
getRepositoryId
public long getRepositoryId()Gets the repository id.- Returns:
- the repository id
-
getEmoji
Gets the emoji.- Returns:
- the emoji
-
getName
Gets the name.- Returns:
- the name
-
getDescription
Gets the description.- Returns:
- the description
-
getCreatedAt
Gets the created at.- Returns:
- the created at
-
getUpdatedAt
Gets the updated at.- Returns:
- the updated at
-
getSlug
Gets the slug.- Returns:
- the slug
-
isAnswerable
public boolean isAnswerable()Checks if is answerable.- Returns:
- true, if is answerable
-