Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonHotelClassInfo

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

Overview

Class of the hotel as a number of stars 1 to 5.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonHotelClassInfo

Returns a new instance of GoogleAdsSearchads360V23CommonHotelClassInfo.



5502
5503
5504
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5502

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

Instance Attribute Details

#valueFixnum

Long value of the hotel class. Corresponds to the JSON property value

Returns:

  • (Fixnum)


5500
5501
5502
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5500

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5507
5508
5509
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5507

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