Package de.coho04.githubapi.entities
Klasse GHPackage
java.lang.Object
de.coho04.githubapi.bases.GHBase
de.coho04.githubapi.bases.ClassBase
de.coho04.githubapi.entities.GHPackage
- Alle implementierten Schnittstellen:
HttpRequestInterface,JSONHelper
This class represents a GitHub Package.
It provides methods for fetching data about the package such as its name, package type, owner, version count, visibility, creation date, and update date.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen de.coho04.githubapi.interfaces.JSONHelper
JSONHelper.JSONToObject<T> -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the creation date of the package.getName()Returns the name of the package.getOwner()Returns the owner of the package.Returns the package type of the package.Returns the update date of the package.Returns the version count of the package.Returns the visibility of the package.Von Klasse geerbte Methoden de.coho04.githubapi.bases.ClassBase
getEventsUrl, getHtmlUrl, getId, getNodeId, getUrl, toJSONObjectVon Klasse geerbte Methoden de.coho04.githubapi.bases.GHBase
fetchArrayData, fetchArrayData, fetchPaginatedData, fetchPaginatedData, fetchPaginatedData, getBaseUrlVon 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
-
GHPackage
Constructs a new GHPackage instance with the provided JSON object.- Parameter:
jsonObject- the JSON object containing the package data
-
-
Methodendetails
-
getName
Returns the name of the package.- Gibt zurück:
- the name of the package
-
getUpdatedAt
Returns the update date of the package.- Gibt zurück:
- the update date of the package
-
getCreatedAt
Returns the creation date of the package.- Gibt zurück:
- the creation date of the package
-
getOwner
Returns the owner of the package.- Gibt zurück:
- the owner of the package
-
getPackageType
Returns the package type of the package.- Gibt zurück:
- the package type of the package
-
getVersionCount
Returns the version count of the package.- Gibt zurück:
- the version count of the package
-
getVisibility
Returns the visibility of the package.- Gibt zurück:
- the visibility of the package
-