Class GHRepositoryPublicKey


  • public class GHRepositoryPublicKey
    extends GHObject
    A public key for the given repository.
    Author:
    Aditya Bansal
    • Constructor Detail

      • GHRepositoryPublicKey

        public GHRepositoryPublicKey()
    • Method Detail

      • getKeyId

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

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

        @Deprecated
        public GitHub getRoot()
        Deprecated.
        For access to the GitHub instance, use a local copy instead of pulling it out of objects.
        Get the root GitHub instance for this object.
        Returns:
        the root GitHub instance