Class: Google::Apis::FirebasedataconnectV1beta::SourceLocation
- Inherits:
-
Object
- Object
- Google::Apis::FirebasedataconnectV1beta::SourceLocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebasedataconnect_v1beta/classes.rb,
lib/google/apis/firebasedataconnect_v1beta/representations.rb,
lib/google/apis/firebasedataconnect_v1beta/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.
1057 1058 1059 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 1057 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column ⇒ Fixnum
Column number starting at 1.
Corresponds to the JSON property column
1050 1051 1052 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 1050 def column @column end |
#line ⇒ Fixnum
Line number starting at 1.
Corresponds to the JSON property line
1055 1056 1057 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 1055 def line @line end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1062 1063 1064 1065 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 1062 def update!(**args) @column = args[:column] if args.key?(:column) @line = args[:line] if args.key?(:line) end |