Class SyntheticsTestResultOCSPCertificate

java.lang.Object
com.datadog.api.client.v2.model.SyntheticsTestResultOCSPCertificate

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsTestResultOCSPCertificate extends Object
Certificate details returned in an OCSP response.
  • Field Details

  • Constructor Details

    • SyntheticsTestResultOCSPCertificate

      public SyntheticsTestResultOCSPCertificate()
  • Method Details

    • revocationReason

      public SyntheticsTestResultOCSPCertificate revocationReason(String revocationReason)
    • getRevocationReason

      @Nullable public String getRevocationReason()
      Reason code for the revocation, when applicable.
      Returns:
      revocationReason
    • setRevocationReason

      public void setRevocationReason(String revocationReason)
    • revocationTime

      public SyntheticsTestResultOCSPCertificate revocationTime(Long revocationTime)
    • getRevocationTime

      @Nullable public Long getRevocationTime()
      Unix timestamp (ms) of the revocation.
      Returns:
      revocationTime
    • setRevocationTime

      public void setRevocationTime(Long revocationTime)
    • serialNumber

      public SyntheticsTestResultOCSPCertificate serialNumber(String serialNumber)
    • getSerialNumber

      @Nullable public String getSerialNumber()
      Serial number of the certificate.
      Returns:
      serialNumber
    • setSerialNumber

      public void setSerialNumber(String serialNumber)
    • putAdditionalProperty

      public SyntheticsTestResultOCSPCertificate putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      SyntheticsTestResultOCSPCertificate
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this SyntheticsTestResultOCSPCertificate object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object