View Source GoogleApi.Chat.V1.Model.Inputs (google_api_chat v0.34.3)

Types of data that users can input on cards or dialogs. The input type depends on the type of values that the widget accepts.

Attributes

  • dateInput (type: GoogleApi.Chat.V1.Model.DateInput.t, default: nil) - Date input values from a DateTimePicker widget that only accepts date values.
  • dateTimeInput (type: GoogleApi.Chat.V1.Model.DateTimeInput.t, default: nil) - Date and time input values from a DateTimePicker widget that accepts both a date and time.
  • stringInputs (type: GoogleApi.Chat.V1.Model.StringInputs.t, default: nil) - A list of strings that represent the values that the user inputs in a widget. If the widget only accepts one value, such as a TextInput widget, the list contains one string object. If the widget accepts multiple values, such as a SelectionInput widget of checkboxes, the list contains a string object for each value that the user inputs or selects.
  • timeInput (type: GoogleApi.Chat.V1.Model.TimeInput.t, default: nil) - Time input values from a DateTimePicker widget that only accepts time values.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Chat.V1.Model.Inputs{
  dateInput: GoogleApi.Chat.V1.Model.DateInput.t() | nil,
  dateTimeInput: GoogleApi.Chat.V1.Model.DateTimeInput.t() | nil,
  stringInputs: GoogleApi.Chat.V1.Model.StringInputs.t() | nil,
  timeInput: GoogleApi.Chat.V1.Model.TimeInput.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.