Class: DatadogAPIClient::V2::AiMemoryViolationResultResponseAttributes

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

Overview

Response attributes of an AI memory violation result.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



51
52
53
# File 'lib/datadog_api_client/v2/models/ai_memory_violation_result_response_attributes.rb', line 51

def additional_properties
  @additional_properties
end

#created_atObject

The creation timestamp.



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

def created_at
  @created_at
end

#created_byObject

The identifier of the user who created the result.



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

def created_by
  @created_by
end

#lineObject

The line number where the violation was found.



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

def line
  @line
end

#messageObject

A message explaining the violation result.



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

def message
  @message
end

#nameObject

The file path where the violation was found.



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

def name
  @name
end

#repository_idObject

The repository identifier.



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

def repository_id
  @repository_id
end

#ruleObject

The rule identifier in the format ruleset/rule.



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

def rule
  @rule
end

#shaObject

The git commit SHA where the violation was found.



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

def sha
  @sha
end

#typeObject

The type of AI memory violation result indicating whether it is a true positive or false positive.



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

def type
  @type
end