Package de.coho04.githubapi.entities
Klasse GHSecret
java.lang.Object
de.coho04.githubapi.bases.GHBase
de.coho04.githubapi.entities.GHSecret
- Alle implementierten Schnittstellen:
HttpRequestInterface,JSONHelper
Represents a GitHub secret.
This class provides methods and properties to access information about a secret in GitHub Actions.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen de.coho04.githubapi.interfaces.JSONHelper
JSONHelper.JSONToObject<T> -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungGHSecret(org.json.JSONObject jsonObject) Constructs a new GHSecret instance with the provided JSON object. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the creation date and time of the secret.getName()Returns the name of the secret.Returns the URL of the selected repositories for this secret.Returns the last updated date and time of the secret.Returns the visibility of the secret.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
-
GHSecret
public GHSecret(org.json.JSONObject jsonObject) Constructs a new GHSecret instance with the provided JSON object.- Parameter:
jsonObject- the JSON object containing the secret data
-
-
Methodendetails
-
getCreatedAt
Returns the creation date and time of the secret.- Gibt zurück:
- the creation date and time of the secret
-
getUpdatedAt
Returns the last updated date and time of the secret.- Gibt zurück:
- the last updated date and time of the secret
-
getName
Returns the name of the secret.- Gibt zurück:
- the name of the secret
-
getVisibility
Returns the visibility of the secret.- Gibt zurück:
- the visibility of the secret
-
getSelectedRepositoriesUrl
Returns the URL of the selected repositories for this secret.- Gibt zurück:
- the selected repositories URL
-