Package com.datadog.api.client.v2.model
Class DowntimeScheduleRecurrenceResponse
java.lang.Object
com.datadog.api.client.v2.model.DowntimeScheduleRecurrenceResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DowntimeScheduleRecurrenceResponse
extends Object
An RRULE-based recurring downtime.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this DowntimeScheduleRecurrenceResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The length of the downtime.getRrule()TheRRULEstandard for defining recurring events.getStart()ISO-8601 Datetime to start the downtime.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDuration(String duration) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DURATION
- See Also:
-
JSON_PROPERTY_RRULE
- See Also:
-
JSON_PROPERTY_START
- See Also:
-
-
Constructor Details
-
DowntimeScheduleRecurrenceResponse
public DowntimeScheduleRecurrenceResponse()
-
-
Method Details
-
duration
-
getDuration
The length of the downtime. Must begin with an integer and end with one of 'm', 'h', d', or 'w'.- Returns:
- duration
-
setDuration
-
rrule
-
getRrule
TheRRULEstandard for defining recurring events. For example, to have a recurring event on the first day of each month, set the type torruleand set theFREQtoMONTHLYandBYMONTHDAYto1. Most commonrruleoptions from the iCalendar Spec are supported.Note: Attributes specifying the duration in
RRULEare not supported (for example,DTSTART,DTEND,DURATION). More examples available in this downtime guide.- Returns:
- rrule
-
setRrule
-
start
-
getStart
ISO-8601 Datetime to start the downtime. Must not include a UTC offset. If not provided, the downtime starts the moment it is created.- Returns:
- start
-
setStart
-
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:
- DowntimeScheduleRecurrenceResponse
-
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 DowntimeScheduleRecurrenceResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-