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.



591
592
593
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 591

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

Instance Attribute Details

#xFixnum

Corresponds to the JSON property x

Returns:

  • (Fixnum)


584
585
586
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 584

def x
  @x
end

#yFixnum

Corresponds to the JSON property y

Returns:

  • (Fixnum)


589
590
591
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 589

def y
  @y
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



596
597
598
599
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 596

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