Class: DatadogAPIClient::V2::RuleAttributes

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

Overview

Details of a rule.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#categoryObject

The scorecard name to which this rule must belong.



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

def category
  @category
end

#created_atObject

Creation time of the rule outcome.



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

def created_at
  @created_at
end

#customObject

Defines if the rule is a custom rule.



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

def custom
  @custom
end

#descriptionObject

Explanation of the rule.



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

def description
  @description
end

#enabledObject

If enabled, the rule is calculated as part of the score.



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

def enabled
  @enabled
end

#modified_atObject

Time of the last rule outcome modification.



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

def modified_at
  @modified_at
end

#nameObject

Name of the rule.



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

def name
  @name
end

#ownerObject

Owner of the rule.



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

def owner
  @owner
end

#scorecard_nameObject

The scorecard name to which this rule must belong.



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

def scorecard_name
  @scorecard_name
end