Class: DatadogAPIClient::V2::DowntimeScheduleRecurrencesResponse

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

Overview

A recurring downtime schedule definition.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#current_downtimeObject

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.



27
28
29
# File 'lib/datadog_api_client/v2/models/downtime_schedule_recurrences_response.rb', line 27

def current_downtime
  @current_downtime
end

#recurrencesObject

A list of downtime recurrences.



30
31
32
# File 'lib/datadog_api_client/v2/models/downtime_schedule_recurrences_response.rb', line 30

def recurrences
  @recurrences
end

#timezoneObject

The timezone in which to schedule the downtime. This affects recurring start and end dates. Must match display_timezone.



34
35
36
# File 'lib/datadog_api_client/v2/models/downtime_schedule_recurrences_response.rb', line 34

def timezone
  @timezone
end