Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoCoordinate

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#xFixnum

Corresponds to the JSON property x

Returns:

  • (Fixnum)


721
722
723
# File 'lib/google/apis/integrations_v1/classes.rb', line 721

def x
  @x
end

#yFixnum

Corresponds to the JSON property y

Returns:

  • (Fixnum)


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