Class ScalarFormulaRequestAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ScalarFormulaRequestAttributes extends Object
The object describing a scalar formula request.
  • Field Details

  • Constructor Details

    • ScalarFormulaRequestAttributes

      public ScalarFormulaRequestAttributes()
    • ScalarFormulaRequestAttributes

      public ScalarFormulaRequestAttributes(Long from, List<ScalarQuery> queries, Long to)
  • Method Details

    • formulas

      public ScalarFormulaRequestAttributes formulas(List<QueryFormula> formulas)
    • addFormulasItem

      public ScalarFormulaRequestAttributes addFormulasItem(QueryFormula formulasItem)
    • getFormulas

      @Nullable public List<QueryFormula> getFormulas()
      List of formulas to be calculated and returned as responses.
      Returns:
      formulas
    • setFormulas

      public void setFormulas(List<QueryFormula> formulas)
    • from

    • getFrom

      public Long getFrom()
      Start date (inclusive) of the query in milliseconds since the Unix epoch.
      Returns:
      from
    • setFrom

      public void setFrom(Long from)
    • queries

      public ScalarFormulaRequestAttributes queries(List<ScalarQuery> queries)
    • addQueriesItem

      public ScalarFormulaRequestAttributes addQueriesItem(ScalarQuery queriesItem)
    • getQueries

      public List<ScalarQuery> getQueries()
      List of queries to be run and used as inputs to the formulas.
      Returns:
      queries
    • setQueries

      public void setQueries(List<ScalarQuery> queries)
    • to

    • getTo

      public Long getTo()
      End date (exclusive) of the query in milliseconds since the Unix epoch.
      Returns:
      to
    • setTo

      public void setTo(Long to)
    • putAdditionalProperty

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