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.



5442
5443
5444
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5442

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

Instance Attribute Details

#valueFixnum

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

Returns:

  • (Fixnum)


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