Class: Aws::Inspector2::Types::CodeLine

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb

Overview

Contains information on the lines of code associated with a code snippet.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

The content of a line of code

Returns:

  • (String)


1671
1672
1673
1674
1675
1676
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1671

class CodeLine < Struct.new(
  :content,
  :line_number)
  SENSITIVE = []
  include Aws::Structure
end

#line_numberInteger

The line number that a section of code is located at.

Returns:

  • (Integer)


1671
1672
1673
1674
1675
1676
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1671

class CodeLine < Struct.new(
  :content,
  :line_number)
  SENSITIVE = []
  include Aws::Structure
end