Package com.datadog.api.client.v2.model
Class DowntimeScheduleRecurrencesResponse
java.lang.Object
com.datadog.api.client.v2.model.DowntimeScheduleRecurrencesResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DowntimeScheduleRecurrencesResponse
extends Object
A recurring downtime schedule definition.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddRecurrencesItem(DowntimeScheduleRecurrenceResponse recurrencesItem) currentDowntime(DowntimeScheduleCurrentDowntimeResponse currentDowntime) booleanReturn true if this DowntimeScheduleRecurrencesResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The most recent actual start and end dates for a recurring downtime.A list of downtime recurrences.The timezone in which to schedule the downtime.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.recurrences(List<DowntimeScheduleRecurrenceResponse> recurrences) voidsetCurrentDowntime(DowntimeScheduleCurrentDowntimeResponse currentDowntime) voidsetRecurrences(List<DowntimeScheduleRecurrenceResponse> recurrences) voidsetTimezone(String timezone) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CURRENT_DOWNTIME
- See Also:
-
JSON_PROPERTY_RECURRENCES
- See Also:
-
JSON_PROPERTY_TIMEZONE
- See Also:
-
-
Constructor Details
-
DowntimeScheduleRecurrencesResponse
public DowntimeScheduleRecurrencesResponse() -
DowntimeScheduleRecurrencesResponse
-
-
Method Details
-
currentDowntime
public DowntimeScheduleRecurrencesResponse currentDowntime(DowntimeScheduleCurrentDowntimeResponse currentDowntime) -
getCurrentDowntime
The most recent actual start and end dates for a recurring downtime. For a canceled downtime, this is the previously occurring downtime. For active downtimes, this is the ongoing downtime, and for scheduled downtimes it is the upcoming downtime.- Returns:
- currentDowntime
-
setCurrentDowntime
-
recurrences
public DowntimeScheduleRecurrencesResponse recurrences(List<DowntimeScheduleRecurrenceResponse> recurrences) -
addRecurrencesItem
public DowntimeScheduleRecurrencesResponse addRecurrencesItem(DowntimeScheduleRecurrenceResponse recurrencesItem) -
getRecurrences
A list of downtime recurrences.- Returns:
- recurrences
-
setRecurrences
-
timezone
-
getTimezone
The timezone in which to schedule the downtime. This affects recurring start and end dates. Must matchdisplay_timezone.- Returns:
- timezone
-
setTimezone
-
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:
- DowntimeScheduleRecurrencesResponse
-
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 DowntimeScheduleRecurrencesResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-