@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ScalarFormulaRequestAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_FORMULAS |
static String |
JSON_PROPERTY_FROM |
static String |
JSON_PROPERTY_QUERIES |
static String |
JSON_PROPERTY_TO |
boolean |
unparsed |
| Constructor and Description |
|---|
ScalarFormulaRequestAttributes() |
ScalarFormulaRequestAttributes(Long from,
List<ScalarQuery> queries,
Long to) |
| Modifier and Type | Method and Description |
|---|---|
ScalarFormulaRequestAttributes |
addFormulasItem(QueryFormula formulasItem) |
ScalarFormulaRequestAttributes |
addQueriesItem(ScalarQuery queriesItem) |
boolean |
equals(Object o)
Return true if this ScalarFormulaRequestAttributes object is equal to o.
|
ScalarFormulaRequestAttributes |
formulas(List<QueryFormula> formulas) |
ScalarFormulaRequestAttributes |
from(Long from) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
List<QueryFormula> |
getFormulas()
List of formulas to be calculated and returned as responses.
|
Long |
getFrom()
Start date (inclusive) of the query in milliseconds since the Unix epoch.
|
List<ScalarQuery> |
getQueries()
List of queries to be run and used as inputs to the formulas.
|
Long |
getTo()
End date (exclusive) of the query in milliseconds since the Unix epoch.
|
int |
hashCode() |
ScalarFormulaRequestAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
ScalarFormulaRequestAttributes |
queries(List<ScalarQuery> queries) |
void |
setFormulas(List<QueryFormula> formulas) |
void |
setFrom(Long from) |
void |
setQueries(List<ScalarQuery> queries) |
void |
setTo(Long to) |
ScalarFormulaRequestAttributes |
to(Long to) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_FORMULAS
public static final String JSON_PROPERTY_FROM
public static final String JSON_PROPERTY_QUERIES
public static final String JSON_PROPERTY_TO
public ScalarFormulaRequestAttributes()
public ScalarFormulaRequestAttributes(Long from, List<ScalarQuery> queries, Long to)
public ScalarFormulaRequestAttributes formulas(List<QueryFormula> formulas)
public ScalarFormulaRequestAttributes addFormulasItem(QueryFormula formulasItem)
@Nullable public List<QueryFormula> getFormulas()
public void setFormulas(List<QueryFormula> formulas)
public ScalarFormulaRequestAttributes from(Long from)
public Long getFrom()
public void setFrom(Long from)
public ScalarFormulaRequestAttributes queries(List<ScalarQuery> queries)
public ScalarFormulaRequestAttributes addQueriesItem(ScalarQuery queriesItem)
public List<ScalarQuery> getQueries()
public void setQueries(List<ScalarQuery> queries)
public ScalarFormulaRequestAttributes to(Long to)
public Long getTo()
public void setTo(Long to)
public ScalarFormulaRequestAttributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.