Class GHKey

  • Direct Known Subclasses:
    GHVerifiedKey

    public class GHKey
    extends Object
    SSH public key.
    Author:
    Kohsuke Kawaguchi
    • Field Detail

      • title

        protected String title
      • verified

        protected boolean verified
      • id

        protected int id
    • Constructor Detail

      • GHKey

        public GHKey()
    • Method Detail

      • getId

        public int getId()
        Gets id.
        Returns:
        the id
      • getKey

        public String getKey()
        Gets key.
        Returns:
        the key
      • getTitle

        public String getTitle()
        Gets title.
        Returns:
        the title
      • getUrl

        public String getUrl()
        Something like "https://api.github.com/user/keys/73593"
        Returns:
        the url
      • getRoot

        public GitHub getRoot()
        Gets root.
        Returns:
        the root
      • isVerified

        public boolean isVerified()
        Is verified boolean.
        Returns:
        the boolean