Class: DatadogAPIClient::V2::AiPromptResponseAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AiPromptResponseAttributes
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#category ⇒ Object
readonly
Rule category.
-
#checksum ⇒ Object
readonly
Checksum of the prompt content.
-
#content ⇒ Object
readonly
Base64-encoded AI prompt content.
-
#cwe ⇒ Object
The CWE identifier associated with this prompt.
-
#description ⇒ Object
readonly
Base64-encoded full description.
-
#directories ⇒ Object
readonly
Directory patterns this prompt applies to.
-
#execution_mode ⇒ Object
readonly
The execution mode for an AI rule revision.
-
#file_search_keywords ⇒ Object
readonly
Keywords used to search for relevant files.
-
#globs ⇒ Object
readonly
File glob patterns this prompt applies to.
-
#is_default ⇒ Object
readonly
Whether this is a default Datadog prompt.
-
#is_testing ⇒ Object
readonly
Whether this prompt is for testing only.
-
#language ⇒ Object
Programming language.
-
#result_keywords_exclude ⇒ Object
readonly
Keywords to exclude from results.
-
#rule_version ⇒ Object
readonly
The version of the rule this prompt is associated with.
-
#severity ⇒ Object
readonly
Rule severity.
-
#short_description ⇒ Object
readonly
Base64-encoded short description.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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 |
#category ⇒ Object
Rule category
25 26 27 |
# File 'lib/datadog_api_client/v2/models/ai_prompt_response_attributes.rb', line 25 def category @category end |
#checksum ⇒ Object
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 |
#content ⇒ Object
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 |
#cwe ⇒ Object
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 |
#description ⇒ Object
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 |
#directories ⇒ Object
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_mode ⇒ Object
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_keywords ⇒ Object
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 |
#globs ⇒ Object
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_default ⇒ Object
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_testing ⇒ Object
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 |
#language ⇒ Object
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_exclude ⇒ Object
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_version ⇒ Object
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 |
#severity ⇒ Object
Rule severity
67 68 69 |
# File 'lib/datadog_api_client/v2/models/ai_prompt_response_attributes.rb', line 67 def severity @severity end |
#short_description ⇒ Object
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 |