Class: DatadogAPIClient::V2::AiMemoryViolationResultRequestAttributes

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

Overview

Attributes for creating 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.



45
46
47
# File 'lib/datadog_api_client/v2/models/ai_memory_violation_result_request_attributes.rb', line 45

def additional_properties
  @additional_properties
end

#lineObject

The line number where the violation was found.



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

def line
  @line
end

#messageObject

A message explaining the violation result.



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

def message
  @message
end

#nameObject

The file path where the violation was found.



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

def name
  @name
end

#repository_idObject

The repository identifier.



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

def repository_id
  @repository_id
end

#ruleObject

The rule identifier in the format ruleset/rule.



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

def rule
  @rule
end

#shaObject

The git commit SHA where the violation was found.



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

def sha
  @sha
end

#typeObject

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



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

def type
  @type
end