Package com.datadog.api.client.v2.model
Class DowntimeScheduleRecurrencesCreateRequest
java.lang.Object
com.datadog.api.client.v2.model.DowntimeScheduleRecurrencesCreateRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DowntimeScheduleRecurrencesCreateRequest
extends Object
A recurring downtime schedule definition.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDowntimeScheduleRecurrencesCreateRequest(List<DowntimeScheduleRecurrenceCreateUpdateRequest> recurrences) -
Method Summary
Modifier and TypeMethodDescriptionaddRecurrencesItem(DowntimeScheduleRecurrenceCreateUpdateRequest recurrencesItem) booleanReturn true if this DowntimeScheduleRecurrencesCreateRequest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.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<DowntimeScheduleRecurrenceCreateUpdateRequest> recurrences) voidsetRecurrences(List<DowntimeScheduleRecurrenceCreateUpdateRequest> recurrences) voidsetTimezone(String timezone) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_RECURRENCES
- See Also:
-
JSON_PROPERTY_TIMEZONE
- See Also:
-
-
Constructor Details
-
DowntimeScheduleRecurrencesCreateRequest
public DowntimeScheduleRecurrencesCreateRequest() -
DowntimeScheduleRecurrencesCreateRequest
public DowntimeScheduleRecurrencesCreateRequest(List<DowntimeScheduleRecurrenceCreateUpdateRequest> recurrences)
-
-
Method Details
-
recurrences
public DowntimeScheduleRecurrencesCreateRequest recurrences(List<DowntimeScheduleRecurrenceCreateUpdateRequest> recurrences) -
addRecurrencesItem
public DowntimeScheduleRecurrencesCreateRequest addRecurrencesItem(DowntimeScheduleRecurrenceCreateUpdateRequest recurrencesItem) -
getRecurrences
A list of downtime recurrences.- Returns:
- recurrences
-
setRecurrences
-
timezone
-
getTimezone
The timezone in which to schedule the downtime.- 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:
- DowntimeScheduleRecurrencesCreateRequest
-
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 DowntimeScheduleRecurrencesCreateRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-