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)


1681
1682
1683
1684
1685
1686
# File 'lib/aws-sdk-inspector2/types.rb', line 1681

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)


1681
1682
1683
1684
1685
1686
# File 'lib/aws-sdk-inspector2/types.rb', line 1681

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