Class: DatadogAPIClient::V2::AiPromptResponseAttributes

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

Overview

Response attributes of an AI prompt.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



72
73
74
# File 'lib/datadog_api_client/v2/models/ai_prompt_response_attributes.rb', line 72

def additional_properties
  @additional_properties
end

#categoryObject

Rule category



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

def category
  @category
end

#checksumObject

Checksum of the prompt content.



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

def checksum
  @checksum
end

#contentObject

Base64-encoded AI prompt content.



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

def content
  @content
end

#cweObject

The CWE identifier associated with this prompt.



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

def cwe
  @cwe
end

#descriptionObject

Base64-encoded full description.



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

def description
  @description
end

#directoriesObject

Directory patterns this prompt applies to.



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

def directories
  @directories
end

#execution_modeObject

The execution mode for an AI rule revision.



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

def execution_mode
  @execution_mode
end

#file_search_keywordsObject

Keywords used to search for relevant files.



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

def file_search_keywords
  @file_search_keywords
end

#globsObject

File glob patterns this prompt applies to.



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

def globs
  @globs
end

#is_defaultObject

Whether this is a default Datadog prompt.



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

def is_default
  @is_default
end

#is_testingObject

Whether this prompt is for testing only.



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

def is_testing
  @is_testing
end

#languageObject

Programming language



58
59
60
# File 'lib/datadog_api_client/v2/models/ai_prompt_response_attributes.rb', line 58

def language
  @language
end

#result_keywords_excludeObject

Keywords to exclude from results.



61
62
63
# File 'lib/datadog_api_client/v2/models/ai_prompt_response_attributes.rb', line 61

def result_keywords_exclude
  @result_keywords_exclude
end

#rule_versionObject

The version of the rule this prompt is associated with.



64
65
66
# File 'lib/datadog_api_client/v2/models/ai_prompt_response_attributes.rb', line 64

def rule_version
  @rule_version
end

#severityObject

Rule severity



67
68
69
# File 'lib/datadog_api_client/v2/models/ai_prompt_response_attributes.rb', line 67

def severity
  @severity
end

#short_descriptionObject

Base64-encoded short description.



70
71
72
# File 'lib/datadog_api_client/v2/models/ai_prompt_response_attributes.rb', line 70

def short_description
  @short_description
end