Class SyntheticsFetchUptimesPayload

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsFetchUptimesPayload extends Object
Object containing IDs of Synthetic tests and a timeframe.
  • Field Details

  • Constructor Details

    • SyntheticsFetchUptimesPayload

      public SyntheticsFetchUptimesPayload()
    • SyntheticsFetchUptimesPayload

      public SyntheticsFetchUptimesPayload(Long fromTs, List<String> publicIds, Long toTs)
  • Method Details

    • fromTs

      public SyntheticsFetchUptimesPayload fromTs(Long fromTs)
    • getFromTs

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

      public void setFromTs(Long fromTs)
    • publicIds

      public SyntheticsFetchUptimesPayload publicIds(List<String> publicIds)
    • addPublicIdsItem

      public SyntheticsFetchUptimesPayload addPublicIdsItem(String publicIdsItem)
    • getPublicIds

      public List<String> getPublicIds()
      An array of Synthetic test IDs you want uptimes for.
      Returns:
      publicIds
    • setPublicIds

      public void setPublicIds(List<String> publicIds)
    • toTs

      public SyntheticsFetchUptimesPayload toTs(Long toTs)
    • getToTs

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

      public void setToTs(Long toTs)
    • putAdditionalProperty

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