@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DowntimeResponseAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CANCELED |
static String |
JSON_PROPERTY_CREATED |
static String |
JSON_PROPERTY_DISPLAY_TIMEZONE |
static String |
JSON_PROPERTY_MESSAGE |
static String |
JSON_PROPERTY_MODIFIED |
static String |
JSON_PROPERTY_MONITOR_IDENTIFIER |
static String |
JSON_PROPERTY_MUTE_FIRST_RECOVERY_NOTIFICATION |
static String |
JSON_PROPERTY_NOTIFY_END_STATES |
static String |
JSON_PROPERTY_NOTIFY_END_TYPES |
static String |
JSON_PROPERTY_SCHEDULE |
static String |
JSON_PROPERTY_SCOPE |
static String |
JSON_PROPERTY_STATUS |
boolean |
unparsed |
| Constructor and Description |
|---|
DowntimeResponseAttributes() |
| Modifier and Type | Method and Description |
|---|---|
DowntimeResponseAttributes |
addNotifyEndStatesItem(DowntimeNotifyEndStateTypes notifyEndStatesItem) |
DowntimeResponseAttributes |
addNotifyEndTypesItem(DowntimeNotifyEndStateActions notifyEndTypesItem) |
DowntimeResponseAttributes |
canceled(OffsetDateTime canceled) |
DowntimeResponseAttributes |
created(OffsetDateTime created) |
DowntimeResponseAttributes |
displayTimezone(String displayTimezone) |
boolean |
equals(Object o)
Return true if this DowntimeResponseAttributes object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> |
getCanceled_JsonNullable() |
OffsetDateTime |
getCanceled()
Time that the downtime was canceled.
|
OffsetDateTime |
getCreated()
Creation time of the downtime.
|
org.openapitools.jackson.nullable.JsonNullable<String> |
getDisplayTimezone_JsonNullable() |
String |
getDisplayTimezone()
The timezone in which to display the downtime's start and end times in Datadog applications.
|
org.openapitools.jackson.nullable.JsonNullable<String> |
getMessage_JsonNullable() |
String |
getMessage()
A message to include with notifications for this downtime.
|
OffsetDateTime |
getModified()
Time that the downtime was last modified.
|
DowntimeMonitorIdentifier |
getMonitorIdentifier()
Monitor identifier for the downtime.
|
Boolean |
getMuteFirstRecoveryNotification()
If the first recovery notification during a downtime should be muted.
|
List<DowntimeNotifyEndStateTypes> |
getNotifyEndStates()
States that will trigger a monitor notification when the
notify_end_types action
occurs. |
List<DowntimeNotifyEndStateActions> |
getNotifyEndTypes()
Actions that will trigger a monitor notification if the downtime is in the
notify_end_types state. |
DowntimeScheduleResponse |
getSchedule()
The schedule that defines when the monitor starts, stops, and recurs.
|
String |
getScope()
The scope to which the downtime applies.
|
DowntimeStatus |
getStatus()
The current status of the downtime.
|
int |
hashCode() |
DowntimeResponseAttributes |
message(String message) |
DowntimeResponseAttributes |
modified(OffsetDateTime modified) |
DowntimeResponseAttributes |
monitorIdentifier(DowntimeMonitorIdentifier monitorIdentifier) |
DowntimeResponseAttributes |
muteFirstRecoveryNotification(Boolean muteFirstRecoveryNotification) |
DowntimeResponseAttributes |
notifyEndStates(List<DowntimeNotifyEndStateTypes> notifyEndStates) |
DowntimeResponseAttributes |
notifyEndTypes(List<DowntimeNotifyEndStateActions> notifyEndTypes) |
DowntimeResponseAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
DowntimeResponseAttributes |
schedule(DowntimeScheduleResponse schedule) |
DowntimeResponseAttributes |
scope(String scope) |
void |
setCanceled_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> canceled) |
void |
setCanceled(OffsetDateTime canceled) |
void |
setCreated(OffsetDateTime created) |
void |
setDisplayTimezone_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> displayTimezone) |
void |
setDisplayTimezone(String displayTimezone) |
void |
setMessage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> message) |
void |
setMessage(String message) |
void |
setModified(OffsetDateTime modified) |
void |
setMonitorIdentifier(DowntimeMonitorIdentifier monitorIdentifier) |
void |
setMuteFirstRecoveryNotification(Boolean muteFirstRecoveryNotification) |
void |
setNotifyEndStates(List<DowntimeNotifyEndStateTypes> notifyEndStates) |
void |
setNotifyEndTypes(List<DowntimeNotifyEndStateActions> notifyEndTypes) |
void |
setSchedule(DowntimeScheduleResponse schedule) |
void |
setScope(String scope) |
void |
setStatus(DowntimeStatus status) |
DowntimeResponseAttributes |
status(DowntimeStatus status) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CANCELED
public static final String JSON_PROPERTY_CREATED
public static final String JSON_PROPERTY_DISPLAY_TIMEZONE
public static final String JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_MODIFIED
public static final String JSON_PROPERTY_MONITOR_IDENTIFIER
public static final String JSON_PROPERTY_MUTE_FIRST_RECOVERY_NOTIFICATION
public static final String JSON_PROPERTY_NOTIFY_END_STATES
public static final String JSON_PROPERTY_NOTIFY_END_TYPES
public static final String JSON_PROPERTY_SCHEDULE
public static final String JSON_PROPERTY_SCOPE
public static final String JSON_PROPERTY_STATUS
public DowntimeResponseAttributes canceled(OffsetDateTime canceled)
@Nullable public OffsetDateTime getCanceled()
public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getCanceled_JsonNullable()
public void setCanceled_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> canceled)
public void setCanceled(OffsetDateTime canceled)
public DowntimeResponseAttributes created(OffsetDateTime created)
@Nullable public OffsetDateTime getCreated()
public void setCreated(OffsetDateTime created)
public DowntimeResponseAttributes displayTimezone(String displayTimezone)
@Nullable public String getDisplayTimezone()
public org.openapitools.jackson.nullable.JsonNullable<String> getDisplayTimezone_JsonNullable()
public void setDisplayTimezone_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> displayTimezone)
public void setDisplayTimezone(String displayTimezone)
public DowntimeResponseAttributes message(String message)
@Nullable public String getMessage()
@username notation as events.public org.openapitools.jackson.nullable.JsonNullable<String> getMessage_JsonNullable()
public void setMessage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> message)
public void setMessage(String message)
public DowntimeResponseAttributes modified(OffsetDateTime modified)
@Nullable public OffsetDateTime getModified()
public void setModified(OffsetDateTime modified)
public DowntimeResponseAttributes monitorIdentifier(DowntimeMonitorIdentifier monitorIdentifier)
@Nullable public DowntimeMonitorIdentifier getMonitorIdentifier()
public void setMonitorIdentifier(DowntimeMonitorIdentifier monitorIdentifier)
public DowntimeResponseAttributes muteFirstRecoveryNotification(Boolean muteFirstRecoveryNotification)
@Nullable public Boolean getMuteFirstRecoveryNotification()
public void setMuteFirstRecoveryNotification(Boolean muteFirstRecoveryNotification)
public DowntimeResponseAttributes notifyEndStates(List<DowntimeNotifyEndStateTypes> notifyEndStates)
public DowntimeResponseAttributes addNotifyEndStatesItem(DowntimeNotifyEndStateTypes notifyEndStatesItem)
@Nullable public List<DowntimeNotifyEndStateTypes> getNotifyEndStates()
notify_end_types action
occurs.public void setNotifyEndStates(List<DowntimeNotifyEndStateTypes> notifyEndStates)
public DowntimeResponseAttributes notifyEndTypes(List<DowntimeNotifyEndStateActions> notifyEndTypes)
public DowntimeResponseAttributes addNotifyEndTypesItem(DowntimeNotifyEndStateActions notifyEndTypesItem)
@Nullable public List<DowntimeNotifyEndStateActions> getNotifyEndTypes()
notify_end_types state.public void setNotifyEndTypes(List<DowntimeNotifyEndStateActions> notifyEndTypes)
public DowntimeResponseAttributes schedule(DowntimeScheduleResponse schedule)
@Nullable public DowntimeScheduleResponse getSchedule()
public void setSchedule(DowntimeScheduleResponse schedule)
public DowntimeResponseAttributes scope(String scope)
@Nullable public String getScope()
public void setScope(String scope)
public DowntimeResponseAttributes status(DowntimeStatus status)
@Nullable public DowntimeStatus getStatus()
public void setStatus(DowntimeStatus status)
public DowntimeResponseAttributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.