Class: Google::Apis::FirebaseappdistributionV1alpha::AndroidxCrawlerOutputRectangle

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebaseappdistribution_v1alpha/classes.rb,
lib/google/apis/firebaseappdistribution_v1alpha/representations.rb,
lib/google/apis/firebaseappdistribution_v1alpha/representations.rb

Overview

Rectangle for describing bounding boxes

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AndroidxCrawlerOutputRectangle

Returns a new instance of AndroidxCrawlerOutputRectangle.



74
75
76
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 74

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

Instance Attribute Details

#bottomFixnum

Corresponds to the JSON property bottom

Returns:

  • (Fixnum)


57
58
59
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 57

def bottom
  @bottom
end

#leftFixnum

Corresponds to the JSON property left

Returns:

  • (Fixnum)


62
63
64
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 62

def left
  @left
end

#rightFixnum

Corresponds to the JSON property right

Returns:

  • (Fixnum)


67
68
69
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 67

def right
  @right
end

#topFixnum

Corresponds to the JSON property top

Returns:

  • (Fixnum)


72
73
74
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 72

def top
  @top
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



79
80
81
82
83
84
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 79

def update!(**args)
  @bottom = args[:bottom] if args.key?(:bottom)
  @left = args[:left] if args.key?(:left)
  @right = args[:right] if args.key?(:right)
  @top = args[:top] if args.key?(:top)
end