Class SyntheticsTestUptime

java.lang.Object
com.datadog.api.client.v1.model.SyntheticsTestUptime

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsTestUptime extends Object
Object containing the uptime for a Synthetic test ID.
  • Field Details

  • Constructor Details

    • SyntheticsTestUptime

      public SyntheticsTestUptime()
  • Method Details

    • fromTs

      public SyntheticsTestUptime fromTs(Long fromTs)
    • getFromTs

      @Nullable public Long getFromTs()
      Timestamp in seconds for the start of uptime.
      Returns:
      fromTs
    • setFromTs

      public void setFromTs(Long fromTs)
    • overall

      public SyntheticsTestUptime overall(SyntheticsUptime overall)
    • getOverall

      @Nullable public SyntheticsUptime getOverall()
      Object containing the uptime information.
      Returns:
      overall
    • setOverall

      public void setOverall(SyntheticsUptime overall)
    • publicId

      public SyntheticsTestUptime publicId(String publicId)
    • getPublicId

      @Nullable public String getPublicId()
      A Synthetic test ID.
      Returns:
      publicId
    • setPublicId

      public void setPublicId(String publicId)
    • toTs

      public SyntheticsTestUptime toTs(Long toTs)
    • getToTs

      @Nullable public Long getToTs()
      Timestamp in seconds for the end of uptime.
      Returns:
      toTs
    • setToTs

      public void setToTs(Long toTs)
    • putAdditionalProperty

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