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