Package com.datadog.api.client.v2.model
Class ProductAnalyticsRetentionReturnCriteria
java.lang.Object
com.datadog.api.client.v2.model.ProductAnalyticsRetentionReturnCriteria
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ProductAnalyticsRetentionReturnCriteria
extends Object
Defines the event that counts as a return, and the window in which it must occur.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbaseQuery(ProductAnalyticsBaseQuery baseQuery) booleanReturn true if this ProductAnalyticsRetentionReturnCriteria object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A query definition discriminated by thedata_sourcefield.A retention interval, either aligned to calendar boundaries or of a fixed length.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBaseQuery(ProductAnalyticsBaseQuery baseQuery) voidsetTimeInterval(ProductAnalyticsRetentionTimeInterval timeInterval) timeInterval(ProductAnalyticsRetentionTimeInterval timeInterval) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BASE_QUERY
- See Also:
-
JSON_PROPERTY_TIME_INTERVAL
- See Also:
-
-
Constructor Details
-
ProductAnalyticsRetentionReturnCriteria
public ProductAnalyticsRetentionReturnCriteria() -
ProductAnalyticsRetentionReturnCriteria
-
-
Method Details
-
baseQuery
-
getBaseQuery
A query definition discriminated by thedata_sourcefield. Useproduct_analyticsfor standard event queries, orproduct_analytics_occurrencefor occurrence-filtered queries.- Returns:
- baseQuery
-
setBaseQuery
-
timeInterval
public ProductAnalyticsRetentionReturnCriteria timeInterval(ProductAnalyticsRetentionTimeInterval timeInterval) -
getTimeInterval
A retention interval, either aligned to calendar boundaries or of a fixed length. Cohort criteria use calendar intervals; return criteria use fixed intervals.- Returns:
- timeInterval
-
setTimeInterval
-
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:
- ProductAnalyticsRetentionReturnCriteria
-
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 ProductAnalyticsRetentionReturnCriteria object is equal to o. -
hashCode
public int hashCode() -
toString
-