GoogleApi.Chat.V1.Model.GoogleAppsCardV1SelectionItem (google_api_chat v0.30.0) View Source

The item in the switch control. A radio button, at most one of the items is selected.

Attributes

  • selected (type: boolean(), default: nil) - If more than one item is selected for RADIO_BUTTON and DROPDOWN, the first selected item is treated as selected and the ones after are ignored.
  • text (type: String.t, default: nil) - The text to be displayed.
  • value (type: String.t, default: nil) - The value associated with this item. The client should use this as a form input value.

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.GoogleAppsCardV1SelectionItem{
  selected: boolean() | nil,
  text: String.t() | nil,
  value: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.