Package com.datadog.api.client.v2.model
Class TimeseriesFormulaRequestAttributes
java.lang.Object
com.datadog.api.client.v2.model.TimeseriesFormulaRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TimeseriesFormulaRequestAttributes
extends Object
The object describing a timeseries formula request.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTimeseriesFormulaRequestAttributes(Long from, List<TimeseriesQuery> queries, Long to) -
Method Summary
Modifier and TypeMethodDescriptionaddFormulasItem(QueryFormula formulasItem) addQueriesItem(TimeseriesQuery queriesItem) booleanReturn true if this TimeseriesFormulaRequestAttributes 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.A time interval in milliseconds.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<TimeseriesQuery> queries) voidsetFormulas(List<QueryFormula> formulas) voidvoidsetInterval(Long interval) voidsetQueries(List<TimeseriesQuery> queries) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FORMULAS
- See Also:
-
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_INTERVAL
- See Also:
-
JSON_PROPERTY_QUERIES
- See Also:
-
JSON_PROPERTY_TO
- See Also:
-
-
Constructor Details
-
TimeseriesFormulaRequestAttributes
public TimeseriesFormulaRequestAttributes() -
TimeseriesFormulaRequestAttributes
-
-
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
-
interval
-
getInterval
A time interval in milliseconds. May be overridden by a larger interval if the query would result in too many points for the specified timeframe. Defaults to a reasonable interval for the given timeframe.- Returns:
- interval
-
setInterval
-
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:
- TimeseriesFormulaRequestAttributes
-
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 TimeseriesFormulaRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-