Package com.datadog.api.client.v2.model
Class DowntimeResponseAttributes
java.lang.Object
com.datadog.api.client.v2.model.DowntimeResponseAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DowntimeResponseAttributes
extends Object
Downtime details.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddNotifyEndStatesItem(DowntimeNotifyEndStateTypes notifyEndStatesItem) addNotifyEndTypesItem(DowntimeNotifyEndStateActions notifyEndTypesItem) canceled(OffsetDateTime canceled) created(OffsetDateTime created) displayTimezone(String displayTimezone) booleanReturn true if this DowntimeResponseAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Time that the downtime was canceled.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>Creation time of the downtime.The timezone in which to display the downtime's start and end times in Datadog applications.org.openapitools.jackson.nullable.JsonNullable<String>A message to include with notifications for this downtime.org.openapitools.jackson.nullable.JsonNullable<String>Time that the downtime was last modified.Monitor identifier for the downtime.If the first recovery notification during a downtime should be muted.States that will trigger a monitor notification when thenotify_end_typesaction occurs.Actions that will trigger a monitor notification if the downtime is in thenotify_end_typesstate.getRunAs()The principals (users, roles, or teams) allowed to act on behalf of the downtime.The schedule that defines when the monitor starts, stops, and recurs.getScope()The scope to which the downtime applies.The current status of the downtime.inthashCode()modified(OffsetDateTime modified) monitorIdentifier(DowntimeMonitorIdentifier monitorIdentifier) muteFirstRecoveryNotification(Boolean muteFirstRecoveryNotification) notifyEndStates(List<DowntimeNotifyEndStateTypes> notifyEndStates) notifyEndTypes(List<DowntimeNotifyEndStateActions> notifyEndTypes) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.schedule(DowntimeScheduleResponse schedule) voidsetCanceled(OffsetDateTime canceled) voidsetCanceled_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> canceled) voidsetCreated(OffsetDateTime created) voidsetDisplayTimezone(String displayTimezone) voidsetDisplayTimezone_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> displayTimezone) voidsetMessage(String message) voidsetMessage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> message) voidsetModified(OffsetDateTime modified) voidsetMonitorIdentifier(DowntimeMonitorIdentifier monitorIdentifier) voidsetMuteFirstRecoveryNotification(Boolean muteFirstRecoveryNotification) voidsetNotifyEndStates(List<DowntimeNotifyEndStateTypes> notifyEndStates) voidsetNotifyEndTypes(List<DowntimeNotifyEndStateActions> notifyEndTypes) voidsetSchedule(DowntimeScheduleResponse schedule) voidvoidsetStatus(DowntimeStatus status) status(DowntimeStatus status) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CANCELED
- See Also:
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_DISPLAY_TIMEZONE
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_MODIFIED
- See Also:
-
JSON_PROPERTY_MONITOR_IDENTIFIER
- See Also:
-
JSON_PROPERTY_MUTE_FIRST_RECOVERY_NOTIFICATION
- See Also:
-
JSON_PROPERTY_NOTIFY_END_STATES
- See Also:
-
JSON_PROPERTY_NOTIFY_END_TYPES
- See Also:
-
JSON_PROPERTY_RUN_AS
- See Also:
-
JSON_PROPERTY_SCHEDULE
- See Also:
-
JSON_PROPERTY_SCOPE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
-
Constructor Details
-
DowntimeResponseAttributes
public DowntimeResponseAttributes()
-
-
Method Details
-
canceled
-
getCanceled
Time that the downtime was canceled.- Returns:
- canceled
-
getCanceled_JsonNullable
-
setCanceled_JsonNullable
public void setCanceled_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> canceled) -
setCanceled
-
created
-
getCreated
Creation time of the downtime.- Returns:
- created
-
setCreated
-
displayTimezone
-
getDisplayTimezone
The timezone in which to display the downtime's start and end times in Datadog applications. This is not used as an offset for scheduling.- Returns:
- displayTimezone
-
getDisplayTimezone_JsonNullable
-
setDisplayTimezone_JsonNullable
public void setDisplayTimezone_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> displayTimezone) -
setDisplayTimezone
-
message
-
getMessage
A message to include with notifications for this downtime. Email notifications can be sent to specific users by using the same@usernamenotation as events.- Returns:
- message
-
getMessage_JsonNullable
-
setMessage_JsonNullable
-
setMessage
-
modified
-
getModified
Time that the downtime was last modified.- Returns:
- modified
-
setModified
-
monitorIdentifier
-
getMonitorIdentifier
Monitor identifier for the downtime.- Returns:
- monitorIdentifier
-
setMonitorIdentifier
-
muteFirstRecoveryNotification
public DowntimeResponseAttributes muteFirstRecoveryNotification(Boolean muteFirstRecoveryNotification) -
getMuteFirstRecoveryNotification
If the first recovery notification during a downtime should be muted.- Returns:
- muteFirstRecoveryNotification
-
setMuteFirstRecoveryNotification
-
notifyEndStates
public DowntimeResponseAttributes notifyEndStates(List<DowntimeNotifyEndStateTypes> notifyEndStates) -
addNotifyEndStatesItem
public DowntimeResponseAttributes addNotifyEndStatesItem(DowntimeNotifyEndStateTypes notifyEndStatesItem) -
getNotifyEndStates
States that will trigger a monitor notification when thenotify_end_typesaction occurs.- Returns:
- notifyEndStates
-
setNotifyEndStates
-
notifyEndTypes
public DowntimeResponseAttributes notifyEndTypes(List<DowntimeNotifyEndStateActions> notifyEndTypes) -
addNotifyEndTypesItem
public DowntimeResponseAttributes addNotifyEndTypesItem(DowntimeNotifyEndStateActions notifyEndTypesItem) -
getNotifyEndTypes
Actions that will trigger a monitor notification if the downtime is in thenotify_end_typesstate.- Returns:
- notifyEndTypes
-
setNotifyEndTypes
-
getRunAs
The principals (users, roles, or teams) allowed to act on behalf of the downtime.Note: This feature is currently in Preview and may not be available for all organizations.
- Returns:
- runAs
-
schedule
-
getSchedule
The schedule that defines when the monitor starts, stops, and recurs. There are two types of schedules: one-time and recurring. Recurring schedules may have up to five RRULE-based recurrences. If no schedules are provided, the downtime will begin immediately and never end.- Returns:
- schedule
-
setSchedule
-
scope
-
getScope
The scope to which the downtime applies. Must follow the common search syntax.- Returns:
- scope
-
setScope
-
status
-
getStatus
The current status of the downtime.- Returns:
- status
-
setStatus
-
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:
- DowntimeResponseAttributes
-
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 DowntimeResponseAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-