Package com.datadog.api.client.v2.model
Class ProductAnalyticsRetentionGridRequestAttributes
java.lang.Object
com.datadog.api.client.v2.model.ProductAnalyticsRetentionGridRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ProductAnalyticsRetentionGridRequestAttributes
extends Object
Attributes of a retention grid request.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProductAnalyticsRetentionGridRequestAttributes(Long from, ProductAnalyticsRetentionGridQuery query, Long to) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ProductAnalyticsRetentionGridRequestAttributes object is equal to o.excludeAnonymousTraffic(Boolean excludeAnonymousTraffic) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether to exclude sessions that are not tied to an identified user.getFrom()Start of the query window, in epoch milliseconds.getQuery()Query definition for a retention grid or retention metadata request.getTo()End of the query window, in epoch milliseconds.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetExcludeAnonymousTraffic(Boolean excludeAnonymousTraffic) voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_EXCLUDE_ANONYMOUS_TRAFFIC
- See Also:
-
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_TO
- See Also:
-
-
Constructor Details
-
ProductAnalyticsRetentionGridRequestAttributes
public ProductAnalyticsRetentionGridRequestAttributes() -
ProductAnalyticsRetentionGridRequestAttributes
public ProductAnalyticsRetentionGridRequestAttributes(Long from, ProductAnalyticsRetentionGridQuery query, Long to)
-
-
Method Details
-
excludeAnonymousTraffic
public ProductAnalyticsRetentionGridRequestAttributes excludeAnonymousTraffic(Boolean excludeAnonymousTraffic) -
getExcludeAnonymousTraffic
Whether to exclude sessions that are not tied to an identified user.- Returns:
- excludeAnonymousTraffic
-
setExcludeAnonymousTraffic
-
from
-
getFrom
Start of the query window, in epoch milliseconds.- Returns:
- from
-
setFrom
-
query
public ProductAnalyticsRetentionGridRequestAttributes query(ProductAnalyticsRetentionGridQuery query) -
getQuery
Query definition for a retention grid or retention metadata request.- Returns:
- query
-
setQuery
-
to
-
getTo
End of the query window, in epoch milliseconds.- Returns:
- to
-
setTo
-
putAdditionalProperty
public ProductAnalyticsRetentionGridRequestAttributes putAdditionalProperty(String key, Object value) 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:
- ProductAnalyticsRetentionGridRequestAttributes
-
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 ProductAnalyticsRetentionGridRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-