Class: DatadogAPIClient::V2::CustomRuleAttributes

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

Overview

Attributes of a custom static analysis rule, including its most recent revision and revision history.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#created_atObject

Creation timestamp



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

def created_at
  @created_at
end

#created_byObject

Creator identifier



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

def created_by
  @created_by
end

#last_revisionObject

A revision of a custom static analysis rule as embedded in a rule or ruleset response.



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

def last_revision
  @last_revision
end

#nameObject

Rule name



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

def name
  @name
end

#revisionsObject

Revision history of the rule.



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

def revisions
  @revisions
end