Class: Google::Apis::DatamigrationV1::Position

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datamigration_v1/classes.rb,
lib/google/apis/datamigration_v1/representations.rb,
lib/google/apis/datamigration_v1/representations.rb

Overview

Issue position.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Position

Returns a new instance of Position.



3600
3601
3602
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3600

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#columnFixnum

Issue column number Corresponds to the JSON property column

Returns:

  • (Fixnum)


3583
3584
3585
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3583

def column
  @column
end

#lengthFixnum

Issue length Corresponds to the JSON property length

Returns:

  • (Fixnum)


3588
3589
3590
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3588

def length
  @length
end

#lineFixnum

Issue line number Corresponds to the JSON property line

Returns:

  • (Fixnum)


3593
3594
3595
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3593

def line
  @line
end

#offsetFixnum

Issue offset Corresponds to the JSON property offset

Returns:

  • (Fixnum)


3598
3599
3600
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3598

def offset
  @offset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3605
3606
3607
3608
3609
3610
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3605

def update!(**args)
  @column = args[:column] if args.key?(:column)
  @length = args[:length] if args.key?(:length)
  @line = args[:line] if args.key?(:line)
  @offset = args[:offset] if args.key?(:offset)
end