View Source GoogleApi.Content.V21.Model.InputFieldChoiceInputChoiceInputOption (google_api_content v0.67.1)

A choice that merchant can select.

Attributes

  • additionalInput (type: GoogleApi.Content.V21.Model.InputField.t, default: nil) - Input that should be displayed when this option is selected. The additional input will not contain a ChoiceInput.
  • id (type: String.t, default: nil) - Not for display but need to be sent back for the selected choice option.
  • label (type: GoogleApi.Content.V21.Model.TextWithTooltip.t, default: nil) - Short description of the choice option. There may be more information to be shown as a tooltip.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.InputFieldChoiceInputChoiceInputOption{
  additionalInput: GoogleApi.Content.V21.Model.InputField.t() | nil,
  id: String.t() | nil,
  label: GoogleApi.Content.V21.Model.TextWithTooltip.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.