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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


1684
1685
1686
1687
1688
1689
# File 'lib/aws-sdk-inspector2/types.rb', line 1684

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)


1684
1685
1686
1687
1688
1689
# File 'lib/aws-sdk-inspector2/types.rb', line 1684

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