Klasse GHSecret

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

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

      public OffsetDateTime getCreatedAt()
      Returns the creation date and time of the secret.
      Gibt zurück:
      the creation date and time of the secret
    • getUpdatedAt

      public OffsetDateTime getUpdatedAt()
      Returns the last updated date and time of the secret.
      Gibt zurück:
      the last updated date and time of the secret
    • getName

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

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

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