Package de.coho04.githubapi.entities
Klasse GHActionsCache
java.lang.Object
de.coho04.githubapi.bases.GHBase
de.coho04.githubapi.entities.GHActionsCache
- Alle implementierten Schnittstellen:
HttpRequestInterface,JSONHelper
This class represents a GitHub Actions Cache.
It provides methods for fetching data about the actions cache such as its id, ref, key, version, last accessed date, creation date, and size in bytes.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen de.coho04.githubapi.interfaces.JSONHelper
JSONHelper.JSONToObject<T> -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungGHActionsCache(org.json.JSONObject jsonObject) Constructs a new GHActionsCache instance with the provided JSON object. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the creation date of the actions cache.intgetId()Returns the id of the actions cache.getKey()Returns the key of the actions cache.Returns the last accessed date of the actions cache.getRef()Returns the ref of the actions cache.intReturns the size in bytes of the actions cache.Returns the version of the actions cache.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
-
GHActionsCache
public GHActionsCache(org.json.JSONObject jsonObject) Constructs a new GHActionsCache instance with the provided JSON object.- Parameter:
jsonObject- the JSON object containing the actions cache data
-
-
Methodendetails
-
getId
public int getId()Returns the id of the actions cache.- Gibt zurück:
- the id of the actions cache
-
getCreatedAt
Returns the creation date of the actions cache.- Gibt zurück:
- the creation date of the actions cache
-
getSizeInBytes
public int getSizeInBytes()Returns the size in bytes of the actions cache.- Gibt zurück:
- the size in bytes of the actions cache
-
getLastAccessedAt
Returns the last accessed date of the actions cache.- Gibt zurück:
- the last accessed date of the actions cache
-
getKey
Returns the key of the actions cache.- Gibt zurück:
- the key of the actions cache
-
getRef
Returns the ref of the actions cache.- Gibt zurück:
- the ref of the actions cache
-
getVersion
Returns the version of the actions cache.- Gibt zurück:
- the version of the actions cache
-