Klasse HttpsCertificate

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

public class HttpsCertificate extends GHBase
This class represents an HTTPS certificate. It provides methods for fetching data about the certificate such as its state, description, domains, and expiration date.
  • 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

      public String getState()
      Returns the state of the certificate.
      Gibt zurück:
      the state of the certificate
    • getDescription

      public String getDescription()
      Returns the description of the certificate.
      Gibt zurück:
      the description of the certificate
    • getDomains

      public List<String> getDomains()
      Returns the domains of the certificate.
      Gibt zurück:
      the domains of the certificate
    • getExpiresAt

      public OffsetDateTime getExpiresAt()
      Returns the expiration date of the certificate.
      Gibt zurück:
      the expiration date of the certificate