Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoCoordinate

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/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.



733
734
735
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 733

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#xFixnum

Corresponds to the JSON property x

Returns:

  • (Fixnum)


726
727
728
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 726

def x
  @x
end

#yFixnum

Corresponds to the JSON property y

Returns:

  • (Fixnum)


731
732
733
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 731

def y
  @y
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



738
739
740
741
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 738

def update!(**args)
  @x = args[:x] if args.key?(:x)
  @y = args[:y] if args.key?(:y)
end