class Google::Apis::MybusinesslodgingV1::GuestUnitType

A specific type of unit primarily defined by its features.

Attributes

codes[RW]

Required. Unit or room code identifiers for a single GuestUnitType. Each code must be unique within a Lodging instance. Corresponds to the JSON property `codes` @return [Array<String>]

features[RW]

Features and available amenities in the guest unit. Corresponds to the JSON property `features` @return [Google::Apis::MybusinesslodgingV1::GuestUnitFeatures]

label[RW]

Required. Short, English label or name of the GuestUnitType. Target <50 chars. Corresponds to the JSON property `label` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/mybusinesslodging_v1/classes.rb, line 1055
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/mybusinesslodging_v1/classes.rb, line 1060
def update!(**args)
  @codes = args[:codes] if args.key?(:codes)
  @features = args[:features] if args.key?(:features)
  @label = args[:label] if args.key?(:label)
end