Class: DatadogAPIClient::V2::MaintenanceWindow

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

Overview

A maintenance window that defines a scheduled time period during which case-related notifications and automation rules are suppressed. Each maintenance window applies to cases matching a specified query.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



33
34
35
# File 'lib/datadog_api_client/v2/models/maintenance_window.rb', line 33

def additional_properties
  @additional_properties
end

#attributesObject

Attributes of a maintenance window, including its schedule and the query that determines which cases are affected.



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

def attributes
  @attributes
end

#idObject

The maintenance window's identifier.



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

def id
  @id
end

#typeObject

JSON:API resource type for maintenance windows.



31
32
33
# File 'lib/datadog_api_client/v2/models/maintenance_window.rb', line 31

def type
  @type
end