Class ProductAnalyticsInterval

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ProductAnalyticsInterval extends Object
An interval definition in a timeseries response.
  • Field Details

  • Constructor Details

    • ProductAnalyticsInterval

      public ProductAnalyticsInterval()
  • Method Details

    • milliseconds

      public ProductAnalyticsInterval milliseconds(Long milliseconds)
    • getMilliseconds

      @Nullable public Long getMilliseconds()
      The duration of each time bucket in milliseconds.
      Returns:
      milliseconds
    • setMilliseconds

      public void setMilliseconds(Long milliseconds)
    • startTime

      public ProductAnalyticsInterval startTime(Long startTime)
    • getStartTime

      @Nullable public Long getStartTime()
      The start of this interval as an epoch timestamp in milliseconds.
      Returns:
      startTime
    • setStartTime

      public void setStartTime(Long startTime)
    • times

      public ProductAnalyticsInterval times(List<Long> times)
    • addTimesItem

      public ProductAnalyticsInterval addTimesItem(Long timesItem)
    • getTimes

      @Nullable public List<Long> getTimes()
      Epoch timestamps (in milliseconds) for each bucket in this interval.
      Returns:
      times
    • setTimes

      public void setTimes(List<Long> times)
    • type

      public ProductAnalyticsInterval type(String type)
    • getType

      @Nullable public String getType()
      The interval type (e.g., fixed or auto-computed bucket size).
      Returns:
      type
    • setType

      public void setType(String type)
    • putAdditionalProperty

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