Package org.kohsuke.github
Class GHRepositoryDiscussion.Category
- java.lang.Object
-
- org.kohsuke.github.GHRepositoryDiscussion.Category
-
- Enclosing class:
- GHRepositoryDiscussion
public static class GHRepositoryDiscussion.Category extends Object
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:
- The GraphQL API for Discussions
-
-
Constructor Summary
Constructors Constructor Description Category()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreatedAt()
Gets the created at.String
getDescription()
Gets the description.String
getEmoji()
Gets the emoji.long
getId()
Gets the id.String
getName()
Gets the name.String
getNodeId()
Gets the node id.long
getRepositoryId()
Gets the repository id.String
getSlug()
Gets the slug.Date
getUpdatedAt()
Gets the updated at.boolean
isAnswerable()
Checks if is answerable.
-
-
-
Method Detail
-
getId
public long getId()
Gets the id.- Returns:
- the id
-
getNodeId
public String getNodeId()
Gets the node id.- Returns:
- the node id
-
getRepositoryId
public long getRepositoryId()
Gets the repository id.- Returns:
- the repository id
-
getEmoji
public String getEmoji()
Gets the emoji.- Returns:
- the emoji
-
getName
public String getName()
Gets the name.- Returns:
- the name
-
getDescription
public String getDescription()
Gets the description.- Returns:
- the description
-
getCreatedAt
public Date getCreatedAt()
Gets the created at.- Returns:
- the created at
-
getUpdatedAt
public Date getUpdatedAt()
Gets the updated at.- Returns:
- the updated at
-
getSlug
public String getSlug()
Gets the slug.- Returns:
- the slug
-
isAnswerable
public boolean isAnswerable()
Checks if is answerable.- Returns:
- true, if is answerable
-
-