Klasse GHPublicKey

java.lang.Object
de.coho04.githubapi.bases.GHBase
de.coho04.githubapi.entities.GHPublicKey
Alle implementierten Schnittstellen:
HttpRequestInterface, JSONHelper

public class GHPublicKey extends GHBase
This class represents a GitHub Public Key. It provides methods for fetching data about the public key such as its key id and key.
  • Konstruktordetails

    • GHPublicKey

      public GHPublicKey(org.json.JSONObject jsonObject)
      Constructs a new GHPublicKey instance with the provided JSON object.
      Parameter:
      jsonObject - the JSON object containing the public key data
  • Methodendetails

    • getKey

      public String getKey()
      Returns the key of the public key.
      Gibt zurück:
      the key of the public key
    • getKeyId

      public String getKeyId()
      Returns the key id of the public key.
      Gibt zurück:
      the key id of the public key