Class 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 Detail

      • Category

        public Category()
    • 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