Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionScalarFormulaRequestAttributes(Long from, List<ScalarQuery> queries, Long to) -
Method Summary
Modifier and TypeMethodDescriptionaddFormulasItem(QueryFormula formulasItem) addQueriesItem(ScalarQuery queriesItem) booleanReturn true if this ScalarFormulaRequestAttributes object is equal to o.formulas(List<QueryFormula> formulas) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.List of formulas to be calculated and returned as responses.getFrom()Start date (inclusive) of the query in milliseconds since the Unix epoch.List of queries to be run and used as inputs to the formulas.getTo()End date (exclusive) of the query in milliseconds since the Unix epoch.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.queries(List<ScalarQuery> queries) voidsetFormulas(List<QueryFormula> formulas) voidvoidsetQueries(List<ScalarQuery> queries) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FORMULAS
- See Also:
-
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_QUERIES
- See Also:
-
JSON_PROPERTY_TO
- See Also:
-
-
Constructor Details
-
ScalarFormulaRequestAttributes
public ScalarFormulaRequestAttributes() -
ScalarFormulaRequestAttributes
-
-
Method Details
-
formulas
-
addFormulasItem
-
getFormulas
List of formulas to be calculated and returned as responses.- Returns:
- formulas
-
setFormulas
-
from
-
getFrom
Start date (inclusive) of the query in milliseconds since the Unix epoch.- Returns:
- from
-
setFrom
-
queries
-
addQueriesItem
-
getQueries
List of queries to be run and used as inputs to the formulas.- Returns:
- queries
-
setQueries
-
to
-
getTo
End date (exclusive) of the query in milliseconds since the Unix epoch.- Returns:
- to
-
setTo
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- ScalarFormulaRequestAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this ScalarFormulaRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-