Package com.datadog.api.client.v2.model
Class ProductAnalyticsCalendarInterval
java.lang.Object
com.datadog.api.client.v2.model.ProductAnalyticsCalendarInterval
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ProductAnalyticsCalendarInterval
extends Object
A calendar-aligned bucket definition, such as "every 1 week starting on Monday".
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ProductAnalyticsCalendarInterval object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Where each bucket starts within the calendar unit.Number of calendar units per bucket.Timezone used to align the buckets.getType()Calendar unit used to bucket cohorts.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAlignment(String alignment) voidsetQuantity(Long quantity) voidsetTimezone(String timezone) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ALIGNMENT
- See Also:
-
JSON_PROPERTY_QUANTITY
- See Also:
-
JSON_PROPERTY_TIMEZONE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ProductAnalyticsCalendarInterval
public ProductAnalyticsCalendarInterval() -
ProductAnalyticsCalendarInterval
-
-
Method Details
-
alignment
-
getAlignment
Where each bucket starts within the calendar unit. Use an hour forday(for example1amor14), a day name forweek(for examplemonday), or an ordinal formonth(for example1st).- Returns:
- alignment
-
setAlignment
-
quantity
-
getQuantity
Number of calendar units per bucket. minimum: 1- Returns:
- quantity
-
setQuantity
-
timezone
-
getTimezone
Timezone used to align the buckets.- Returns:
- timezone
-
setTimezone
-
type
-
getType
Calendar unit used to bucket cohorts.- Returns:
- type
-
setType
-
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:
- ProductAnalyticsCalendarInterval
-
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 ProductAnalyticsCalendarInterval object is equal to o. -
hashCode
public int hashCode() -
toString
-