Package de.coho04.githubapi.entities
Klasse HttpsCertificate
java.lang.Object
de.coho04.githubapi.bases.GHBase
de.coho04.githubapi.entities.HttpsCertificate
- Alle implementierten Schnittstellen:
HttpRequestInterface,JSONHelper
This class represents an HTTPS certificate.
It provides methods for fetching data about the certificate such as its state, description, domains, and expiration date.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen de.coho04.githubapi.interfaces.JSONHelper
JSONHelper.JSONToObject<T> -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungHttpsCertificate(org.json.JSONObject jsonObject) Constructs a new HttpsCertificate instance with the provided JSON object. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the description of the certificate.Returns the domains of the certificate.Returns the expiration date of the certificate.getState()Returns the state of the certificate.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
-
HttpsCertificate
public HttpsCertificate(org.json.JSONObject jsonObject) Constructs a new HttpsCertificate instance with the provided JSON object.- Parameter:
jsonObject- the JSON object containing the certificate data
-
-
Methodendetails
-
getState
Returns the state of the certificate.- Gibt zurück:
- the state of the certificate
-
getDescription
Returns the description of the certificate.- Gibt zurück:
- the description of the certificate
-
getDomains
Returns the domains of the certificate.- Gibt zurück:
- the domains of the certificate
-
getExpiresAt
Returns the expiration date of the certificate.- Gibt zurück:
- the expiration date of the certificate
-