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.



593
594
595
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 593

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

Instance Attribute Details

#xFixnum

Corresponds to the JSON property x

Returns:

  • (Fixnum)


586
587
588
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 586

def x
  @x
end

#yFixnum

Corresponds to the JSON property y

Returns:

  • (Fixnum)


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

def y
  @y
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



598
599
600
601
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 598

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