Class: DatadogAPIClient::V2::AnalysisEdit
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AnalysisEdit
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/analysis_edit.rb
Overview
A single edit operation within a fix suggestion for a rule violation.
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.
-
#content ⇒ Object
The content to insert or replace at the specified position, if applicable.
-
#edit_type ⇒ Object
readonly
The type of code edit to apply when fixing a 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.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/analysis_edit.rb', line 31 def _end @_end end |
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/analysis_edit.rb', line 36 def additional_properties @additional_properties end |
#content ⇒ Object
The content to insert or replace at the specified position, if applicable.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/analysis_edit.rb', line 25 def content @content end |
#edit_type ⇒ Object
The type of code edit to apply when fixing a violation.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/analysis_edit.rb', line 28 def edit_type @edit_type end |
#start ⇒ Object
A position in source code, identified by line and column numbers.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/analysis_edit.rb', line 34 def start @start end |