Package com.datadog.api.client.v2.model
Class QueryFormula
java.lang.Object
com.datadog.api.client.v2.model.QueryFormula
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class QueryFormula
extends Object
A formula for calculation based on one or more queries.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this QueryFormula object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Formula string, referencing one or more queries with their name property.getLimit()Message for specifying limits to the number of values returned by a query.inthashCode()limit(FormulaLimit limit) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetFormula(String formula) voidsetLimit(FormulaLimit limit) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FORMULA
- See Also:
-
JSON_PROPERTY_LIMIT
- See Also:
-
-
Constructor Details
-
QueryFormula
public QueryFormula() -
QueryFormula
-
-
Method Details
-
formula
-
getFormula
Formula string, referencing one or more queries with their name property.- Returns:
- formula
-
setFormula
-
limit
-
getLimit
Message for specifying limits to the number of values returned by a query. This limit is only for scalar queries and has no effect on timeseries queries.- Returns:
- limit
-
setLimit
-
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:
- QueryFormula
-
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 QueryFormula object is equal to o. -
hashCode
public int hashCode() -
toString
-