Class: DatadogAPIClient::V2::AnalysisViolation
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AnalysisViolation
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/analysis_violation.rb
Overview
A rule violation found in the analyzed source code.
Instance Attribute Summary collapse
-
#_end ⇒ Object
readonly
A position in source code, identified by line and column numbers.
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#category ⇒ Object
readonly
The category of the violation.
-
#fixes ⇒ Object
readonly
The list of suggested fixes for this violation.
-
#message ⇒ Object
readonly
A human-readable description of the violation.
-
#severity ⇒ Object
readonly
The severity level of the violation.
-
#start ⇒ Object
readonly
A position in source code, identified by line and column numbers.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#_end ⇒ Object
A position in source code, identified by line and column numbers.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/analysis_violation.rb', line 28 def _end @_end end |
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/analysis_violation.rb', line 42 def additional_properties @additional_properties end |
#category ⇒ Object
The category of the violation.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/analysis_violation.rb', line 25 def category @category end |
#fixes ⇒ Object
The list of suggested fixes for this violation.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/analysis_violation.rb', line 31 def fixes @fixes end |
#message ⇒ Object
A human-readable description of the violation.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/analysis_violation.rb', line 34 def @message end |
#severity ⇒ Object
The severity level of the violation.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/analysis_violation.rb', line 37 def severity @severity end |
#start ⇒ Object
A position in source code, identified by line and column numbers.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/analysis_violation.rb', line 40 def start @start end |