Class: DatadogAPIClient::V2::MonitorType

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

Overview

Attributes from the monitor that triggered the event.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



57
58
59
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 57

def additional_properties
  @additional_properties
end

#created_atObject

The POSIX timestamp of the monitor's creation in nanoseconds.



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

def created_at
  @created_at
end

#group_statusObject

Monitor group status used when there is no result_groups.



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

def group_status
  @group_status
end

#groupsObject

Groups to which the monitor belongs.



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

def groups
  @groups
end

#idObject

The monitor ID.



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

def id
  @id
end

#messageObject

The monitor message.



37
38
39
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 37

def message
  @message
end

#modifiedObject

The monitor's last-modified timestamp.



40
41
42
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 40

def modified
  @modified
end

#nameObject

The monitor name.



43
44
45
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 43

def name
  @name
end

#queryObject

The query that triggers the alert.



46
47
48
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 46

def query
  @query
end

#tagsObject

A list of tags attached to the monitor.



49
50
51
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 49

def tags
  @tags
end

#templated_nameObject

The templated name of the monitor before resolving any template variables.



52
53
54
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 52

def templated_name
  @templated_name
end

#typeObject

The monitor type.



55
56
57
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 55

def type
  @type
end