View Source GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsHospitalityCardSettingsCardConfig (google_api_content_warehouse v0.3.0)

Configuration for hospitality card.

Attributes

  • activeActionRequired (type: boolean(), default: nil) - Whether the UI module requires user action. If true, the UI module can peek on to the top of Ambient. See SmartDisplayModuleState::ACTIVE_ACTION_REQUIRED.
  • dismissable (type: boolean(), default: nil) - Whether the UI module is dismissable.
  • effectiveTime (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiTimestamp.t, default: nil) - The time that the module is effective and visible to the user. If not set, the module is effective immediately.
  • expiryTime (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiTimestamp.t, default: nil) - The time that the module is expired and invisible to the user. If not set, the module never expires.
  • imageUrl (type: String.t, default: nil) - The image URL for the UI module.
  • moduleId (type: String.t, default: nil) - Module ID.
  • payloadQuery (type: String.t, default: nil) - Payload query to the partner AoG action when user responds to UI Module, e.g. “Tell the hotel how my stay is going”.
  • title (type: String.t, default: nil) - Title of the message to be shown to user at the top of the UI Module.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsHospitalityCardSettingsCardConfig{
    activeActionRequired: boolean() | nil,
    dismissable: boolean() | nil,
    effectiveTime:
      GoogleApi.ContentWarehouse.V1.Model.AssistantApiTimestamp.t() | nil,
    expiryTime:
      GoogleApi.ContentWarehouse.V1.Model.AssistantApiTimestamp.t() | nil,
    imageUrl: String.t() | nil,
    moduleId: String.t() | nil,
    payloadQuery: String.t() | nil,
    title: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.