Class: Google::Apis::DatamigrationV1::Position
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::Position
- 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
-
#column ⇒ Fixnum
Issue column number Corresponds to the JSON property
column
. -
#length ⇒ Fixnum
Issue length Corresponds to the JSON property
length
. -
#line ⇒ Fixnum
Issue line number Corresponds to the JSON property
line
. -
#offset ⇒ Fixnum
Issue offset Corresponds to the JSON property
offset
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Position
constructor
A new instance of Position.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Position
Returns a new instance of Position.
3827 3828 3829 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3827 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column ⇒ Fixnum
Issue column number
Corresponds to the JSON property column
3810 3811 3812 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3810 def column @column end |
#length ⇒ Fixnum
Issue length
Corresponds to the JSON property length
3815 3816 3817 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3815 def length @length end |
#line ⇒ Fixnum
Issue line number
Corresponds to the JSON property line
3820 3821 3822 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3820 def line @line end |
#offset ⇒ Fixnum
Issue offset
Corresponds to the JSON property offset
3825 3826 3827 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3825 def offset @offset end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3832 3833 3834 3835 3836 3837 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3832 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 |