Package com.datadog.api.client.v2.model
Class ProductAnalyticsRetentionCompute
java.lang.Object
com.datadog.api.client.v2.model.ProductAnalyticsRetentionCompute
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ProductAnalyticsRetentionCompute
extends Object
The metric and aggregation applied to a retention query.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProductAnalyticsRetentionCompute(String aggregation, ProductAnalyticsRetentionComputeMetric metric) -
Method Summary
Modifier and TypeMethodDescriptionaggregation(String aggregation) booleanReturn true if this ProductAnalyticsRetentionCompute object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The aggregation function applied to the metric, such ascountoravg.The retention metric to compute, either an absolute count or a rate.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAggregation(String aggregation) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AGGREGATION
- See Also:
-
JSON_PROPERTY_METRIC
- See Also:
-
-
Constructor Details
-
ProductAnalyticsRetentionCompute
public ProductAnalyticsRetentionCompute() -
ProductAnalyticsRetentionCompute
public ProductAnalyticsRetentionCompute(String aggregation, ProductAnalyticsRetentionComputeMetric metric)
-
-
Method Details
-
aggregation
-
getAggregation
The aggregation function applied to the metric, such ascountoravg.- Returns:
- aggregation
-
setAggregation
-
metric
-
getMetric
The retention metric to compute, either an absolute count or a rate.- Returns:
- metric
-
setMetric
-
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:
- ProductAnalyticsRetentionCompute
-
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 ProductAnalyticsRetentionCompute object is equal to o. -
hashCode
public int hashCode() -
toString
-