@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TimeseriesFormulaRequestAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_FORMULAS |
static String |
JSON_PROPERTY_FROM |
static String |
JSON_PROPERTY_INTERVAL |
static String |
JSON_PROPERTY_QUERIES |
static String |
JSON_PROPERTY_TO |
boolean |
unparsed |
| Constructor and Description |
|---|
TimeseriesFormulaRequestAttributes() |
TimeseriesFormulaRequestAttributes(Long from,
List<TimeseriesQuery> queries,
Long to) |
| Modifier and Type | Method and Description |
|---|---|
TimeseriesFormulaRequestAttributes |
addFormulasItem(QueryFormula formulasItem) |
TimeseriesFormulaRequestAttributes |
addQueriesItem(TimeseriesQuery queriesItem) |
boolean |
equals(Object o)
Return true if this TimeseriesFormulaRequestAttributes object is equal to o.
|
TimeseriesFormulaRequestAttributes |
formulas(List<QueryFormula> formulas) |
TimeseriesFormulaRequestAttributes |
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.
|
Long |
getInterval()
A time interval in milliseconds.
|
List<TimeseriesQuery> |
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() |
TimeseriesFormulaRequestAttributes |
interval(Long interval) |
TimeseriesFormulaRequestAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
TimeseriesFormulaRequestAttributes |
queries(List<TimeseriesQuery> queries) |
void |
setFormulas(List<QueryFormula> formulas) |
void |
setFrom(Long from) |
void |
setInterval(Long interval) |
void |
setQueries(List<TimeseriesQuery> queries) |
void |
setTo(Long to) |
TimeseriesFormulaRequestAttributes |
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_INTERVAL
public static final String JSON_PROPERTY_QUERIES
public static final String JSON_PROPERTY_TO
public TimeseriesFormulaRequestAttributes()
public TimeseriesFormulaRequestAttributes(Long from, List<TimeseriesQuery> queries, Long to)
public TimeseriesFormulaRequestAttributes formulas(List<QueryFormula> formulas)
public TimeseriesFormulaRequestAttributes addFormulasItem(QueryFormula formulasItem)
@Nullable public List<QueryFormula> getFormulas()
public void setFormulas(List<QueryFormula> formulas)
public TimeseriesFormulaRequestAttributes from(Long from)
public Long getFrom()
public void setFrom(Long from)
public TimeseriesFormulaRequestAttributes interval(Long interval)
@Nullable public Long getInterval()
public void setInterval(Long interval)
public TimeseriesFormulaRequestAttributes queries(List<TimeseriesQuery> queries)
public TimeseriesFormulaRequestAttributes addQueriesItem(TimeseriesQuery queriesItem)
public List<TimeseriesQuery> getQueries()
public void setQueries(List<TimeseriesQuery> queries)
public TimeseriesFormulaRequestAttributes to(Long to)
public Long getTo()
public void setTo(Long to)
public TimeseriesFormulaRequestAttributes 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.