Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoCoordinate
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoCoordinate
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb
Overview
Represents two-dimensional positions.
Instance Attribute Summary collapse
-
#x ⇒ Fixnum
Corresponds to the JSON property
x
. -
#y ⇒ Fixnum
Corresponds to the JSON property
y
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoCoordinate
constructor
A new instance of EnterpriseCrmEventbusProtoCoordinate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoCoordinate
Returns a new instance of EnterpriseCrmEventbusProtoCoordinate.
728 729 730 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 728 def initialize(**args) update!(**args) end |
Instance Attribute Details
#x ⇒ Fixnum
Corresponds to the JSON property x
721 722 723 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 721 def x @x end |
#y ⇒ Fixnum
Corresponds to the JSON property y
726 727 728 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 726 def y @y end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
733 734 735 736 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 733 def update!(**args) @x = args[:x] if args.key?(:x) @y = args[:y] if args.key?(:y) end |