Klasse GHVariable

java.lang.Object
de.coho04.githubapi.bases.GHBase
de.coho04.githubapi.entities.GHVariable
Alle implementierten Schnittstellen:
HttpRequestInterface, JSONHelper

public class GHVariable extends GHBase
Represents a GitHub variable. This class provides methods and properties to access information about a variable in GitHub Actions.
  • 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

      public String getVisibility()
      Returns the visibility of the variable.
      Gibt zurück:
      the visibility of the variable
    • getName

      public String getName()
      Returns the name of the variable.
      Gibt zurück:
      the name of the variable
    • getSelectedRepositoriesUrl

      public String getSelectedRepositoriesUrl()
      Returns the URL of the selected repositories for this variable.
      Gibt zurück:
      the selected repositories URL
    • getUpdatedAt

      public OffsetDateTime getUpdatedAt()
      Returns the date and time when the variable was last updated.
      Gibt zurück:
      the last updated date and time
    • getCreatedAt

      public OffsetDateTime getCreatedAt()
      Returns the date and time when the variable was created.
      Gibt zurück:
      the creation date and time
    • getValue

      public String getValue()
      Returns the value of the variable.
      Gibt zurück:
      the value of the variable