Package com.datadog.api.client.v1.model
Class CalendarInterval
java.lang.Object
com.datadog.api.client.v1.model.CalendarInterval
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CalendarInterval
extends Object
Calendar interval definition.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this CalendarInterval object is equal to o.Alignment of the interval.Quantity of the interval.Timezone for the interval.getType()Type of calendar interval.inthashCode()voidsetAlignment(String alignment) voidsetQuantity(Long quantity) voidsetTimezone(String timezone) voidsetType(CalendarIntervalType type) toString()type(CalendarIntervalType type)
-
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
-
CalendarInterval
public CalendarInterval() -
CalendarInterval
-
-
Method Details
-
alignment
-
getAlignment
Alignment of the interval. Valid values depend on the interval type. Forday, use hours (for example,1am,2pm, or14). Forweek, use day names (for example,monday). Formonth, use day-of-month ordinals (for example,1st,15th). Foryearorquarter, use month names (for example,january).- Returns:
- alignment
-
setAlignment
-
quantity
-
getQuantity
Quantity of the interval.- Returns:
- quantity
-
setQuantity
-
timezone
-
getTimezone
Timezone for the interval.- Returns:
- timezone
-
setTimezone
-
type
-
getType
Type of calendar interval.- Returns:
- type
-
setType
-
equals
Return true if this CalendarInterval object is equal to o. -
hashCode
public int hashCode() -
toString
-