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.



4373
4374
4375
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4373

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

Instance Attribute Details

#columnFixnum

Issue column number Corresponds to the JSON property column

Returns:

  • (Fixnum)


4356
4357
4358
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4356

def column
  @column
end

#lengthFixnum

Issue length Corresponds to the JSON property length

Returns:

  • (Fixnum)


4361
4362
4363
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4361

def length
  @length
end

#lineFixnum

Issue line number Corresponds to the JSON property line

Returns:

  • (Fixnum)


4366
4367
4368
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4366

def line
  @line
end

#offsetFixnum

Issue offset Corresponds to the JSON property offset

Returns:

  • (Fixnum)


4371
4372
4373
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4371

def offset
  @offset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4378
4379
4380
4381
4382
4383
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4378

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