Class: Google::Apis::FirebasedataconnectV1::SourceLocation
- Inherits:
-
Object
- Object
- Google::Apis::FirebasedataconnectV1::SourceLocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebasedataconnect_v1/classes.rb,
lib/google/apis/firebasedataconnect_v1/representations.rb,
lib/google/apis/firebasedataconnect_v1/representations.rb
Overview
SourceLocation references a location in a GraphQL source.
Instance Attribute Summary collapse
-
#column ⇒ Fixnum
Column number starting at 1.
-
#line ⇒ Fixnum
Line number starting at 1.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SourceLocation
constructor
A new instance of SourceLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SourceLocation
Returns a new instance of SourceLocation.
1506 1507 1508 |
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 1506 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column ⇒ Fixnum
Column number starting at 1.
Corresponds to the JSON property column
1499 1500 1501 |
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 1499 def column @column end |
#line ⇒ Fixnum
Line number starting at 1.
Corresponds to the JSON property line
1504 1505 1506 |
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 1504 def line @line end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1511 1512 1513 1514 |
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 1511 def update!(**args) @column = args[:column] if args.key?(:column) @line = args[:line] if args.key?(:line) end |