Package de.coho04.githubapi.entities
Klasse GHPublicKey
java.lang.Object
de.coho04.githubapi.bases.GHBase
de.coho04.githubapi.entities.GHPublicKey
- Alle implementierten Schnittstellen:
HttpRequestInterface,JSONHelper
This class represents a GitHub Public Key.
It provides methods for fetching data about the public key such as its key id and key.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen de.coho04.githubapi.interfaces.JSONHelper
JSONHelper.JSONToObject<T> -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungGHPublicKey(org.json.JSONObject jsonObject) Constructs a new GHPublicKey instance with the provided JSON object. -
Methodenübersicht
Von Klasse geerbte Methoden de.coho04.githubapi.bases.GHBase
fetchArrayData, fetchArrayData, fetchPaginatedData, fetchPaginatedData, fetchPaginatedData, getBaseUrl, toJSONObjectVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden de.coho04.githubapi.interfaces.HttpRequestInterface
extractNextPageUrl, sendDeleteRequest, sendDeleteRequestWithResponseCode, sendGetRequest, sendGetRequestWithLinkHeader, sendGetRequestWithResponseCode, sendPatchRequest, sendPostRequest, sendPutRequestVon Schnittstelle geerbte Methoden de.coho04.githubapi.interfaces.JSONHelper
getArrayOrNull, getBooleanOrNull, getIntOrNull, getJSONArrayToStringList, getJSONObjectOrNull, getLocalDateOrNull, getLongOrNull, getStringOrNull
-
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
Returns the key of the public key.- Gibt zurück:
- the key of the public key
-
getKeyId
Returns the key id of the public key.- Gibt zurück:
- the key id of the public key
-