Class: DatadogAPIClient::V2::IssueSampleCodeSnippet

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

Overview

Source code around a stack frame. Empty when the source code is unavailable.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



30
31
32
# File 'lib/datadog_api_client/v2/models/issue_sample_code_snippet.rb', line 30

def additional_properties
  @additional_properties
end

#lines ⇒ Object

Lines of source code.



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

def lines
  @lines
end

#offset ⇒ Object

Line number of the first line of the snippet, starting at 1.



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

def offset
  @offset
end