View Source GoogleApi.MyBusinessLodging.V1.Model.GuestUnitType (google_api_my_business_lodging v0.4.0)

A specific type of unit primarily defined by its features.

Attributes

  • codes (type: list(String.t), default: nil) - Required. Unit or room code identifiers for a single GuestUnitType. Each code must be unique within a Lodging instance.
  • features (type: GoogleApi.MyBusinessLodging.V1.Model.GuestUnitFeatures.t, default: nil) - Features and available amenities of the GuestUnitType.
  • label (type: String.t, default: nil) - Required. Short, English label or name of the GuestUnitType. Target <50 chars.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.MyBusinessLodging.V1.Model.GuestUnitType{
  codes: [String.t()] | nil,
  features: GoogleApi.MyBusinessLodging.V1.Model.GuestUnitFeatures.t() | nil,
  label: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.