Class SyntheticsTestResultCdnCacheStatus

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsTestResultCdnCacheStatus extends Object
Cache status reported by the CDN for the response.
  • Field Details

  • Constructor Details

    • SyntheticsTestResultCdnCacheStatus

      public SyntheticsTestResultCdnCacheStatus()
  • Method Details

    • cached

    • getCached

      @Nullable public Boolean getCached()
      Whether the response was served from the CDN cache.
      Returns:
      cached
    • setCached

      public void setCached(Boolean cached)
    • status

    • getStatus

      @Nullable public String getStatus()
      Raw cache status string reported by the CDN.
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • putAdditionalProperty

      public SyntheticsTestResultCdnCacheStatus 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:
      SyntheticsTestResultCdnCacheStatus
    • 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 SyntheticsTestResultCdnCacheStatus 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