Class GHRepositoryPublicKey

java.lang.Object
org.kohsuke.github.GHObject
org.kohsuke.github.GHRepositoryPublicKey

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

    • GHRepositoryPublicKey

      public GHRepositoryPublicKey()
      Create default GHRepositoryPublicKey instance
  • Method Details

    • getKeyId

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

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