Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonHotelClassInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonHotelClassInfo
- 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
-
#value ⇒ Fixnum
Long value of the hotel class.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonHotelClassInfo
constructor
A new instance of GoogleAdsSearchads360V23CommonHotelClassInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonHotelClassInfo
Returns a new instance of GoogleAdsSearchads360V23CommonHotelClassInfo.
5442 5443 5444 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5442 def initialize(**args) update!(**args) end |
Instance Attribute Details
#value ⇒ Fixnum
Long value of the hotel class.
Corresponds to the JSON property value
5440 5441 5442 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5440 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5447 5448 5449 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5447 def update!(**args) @value = args[:value] if args.key?(:value) end |