Class: DatadogAPIClient::V2::GetMultipleRulesetsResponseDataAttributesRulesetsItemsRulesItemsTestsItems
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::GetMultipleRulesetsResponseDataAttributesRulesetsItemsRulesItemsTestsItems
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/get_multiple_rulesets_response_data_attributes_rulesets_items_rules_items_tests_items.rb
Overview
A test case associated with a static analysis rule, containing the source code and expected annotation count.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#annotation_count ⇒ Object
readonly
The expected number of annotations (findings) the rule should produce when run against the test code.
-
#code ⇒ Object
The source code snippet used as input for the rule test.
-
#filename ⇒ Object
The filename associated with the test code snippet.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/get_multiple_rulesets_response_data_attributes_rulesets_items_rules_items_tests_items.rb', line 33 def additional_properties @additional_properties end |
#annotation_count ⇒ Object
The expected number of annotations (findings) the rule should produce when run against the test code.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/get_multiple_rulesets_response_data_attributes_rulesets_items_rules_items_tests_items.rb', line 25 def annotation_count @annotation_count end |
#code ⇒ Object
The source code snippet used as input for the rule test.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/get_multiple_rulesets_response_data_attributes_rulesets_items_rules_items_tests_items.rb', line 28 def code @code end |
#filename ⇒ Object
The filename associated with the test code snippet.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/get_multiple_rulesets_response_data_attributes_rulesets_items_rules_items_tests_items.rb', line 31 def filename @filename end |