GoogleApi.Chat.V1.Model.GoogleAppsCardV1SelectionInput (google_api_chat v0.26.0) View Source

A widget that creates a UI item (for example, a drop-down list) with options for users to select.

Attributes

  • items (type: list(GoogleApi.Chat.V1.Model.GoogleAppsCardV1SelectionItem.t), default: nil) -
  • label (type: String.t, default: nil) - The label displayed ahead of the switch control.
  • name (type: String.t, default: nil) - The name of the text input which is used in formInput.
  • onChangeAction (type: GoogleApi.Chat.V1.Model.GoogleAppsCardV1Action.t, default: nil) - If specified, the form is submitted when the selection changes. If not specified, you must specify a separate button.
  • type (type: String.t, default: nil) -

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Chat.V1.Model.GoogleAppsCardV1SelectionInput{
  items: [GoogleApi.Chat.V1.Model.GoogleAppsCardV1SelectionItem.t()] | nil,
  label: String.t() | nil,
  name: String.t() | nil,
  onChangeAction: GoogleApi.Chat.V1.Model.GoogleAppsCardV1Action.t() | nil,
  type: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.