Class: DatadogAPIClient::V2::DowntimeResponseAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/downtime_response_attributes.rb

Overview

Downtime details.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#canceledObject

Time that the downtime was canceled.



25
26
27
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 25

def canceled
  @canceled
end

#createdObject

Creation time of the downtime.



28
29
30
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 28

def created
  @created
end

#display_timezoneObject

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.



32
33
34
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 32

def display_timezone
  @display_timezone
end

#messageObject

A message to include with notifications for this downtime. Email notifications can be sent to specific users by using the same @username notation as events.



36
37
38
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 36

def message
  @message
end

#modifiedObject

Time that the downtime was last modified.



39
40
41
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 39

def modified
  @modified
end

#monitor_identifierObject

Monitor identifier for the downtime.



42
43
44
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 42

def monitor_identifier
  @monitor_identifier
end

#mute_first_recovery_notificationObject

If the first recovery notification during a downtime should be muted.



45
46
47
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 45

def mute_first_recovery_notification
  @mute_first_recovery_notification
end

#notify_end_statesObject

States that will trigger a monitor notification when the notify_end_types action occurs.



48
49
50
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 48

def notify_end_states
  @notify_end_states
end

#notify_end_typesObject

Actions that will trigger a monitor notification if the downtime is in the notify_end_types state.



51
52
53
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 51

def notify_end_types
  @notify_end_types
end

#scheduleObject

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.



56
57
58
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 56

def schedule
  @schedule
end

#scopeObject

The scope to which the downtime applies. Must follow the common search syntax.



59
60
61
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 59

def scope
  @scope
end

#statusObject

The current status of the downtime.



62
63
64
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 62

def status
  @status
end