View Source GoogleApi.Forms.V1.Model.Option (google_api_forms v0.2.1)

An option for a Choice question.

Attributes

  • goToAction (type: String.t, default: nil) - Section navigation type.
  • goToSectionId (type: String.t, default: nil) - Item ID of section header to go to.
  • image (type: GoogleApi.Forms.V1.Model.Image.t, default: nil) - Display image as an option.
  • isOther (type: boolean(), default: nil) - Whether the option is "other". Currently only applies to RADIO and CHECKBOX choice types, but is not allowed in a QuestionGroupItem.
  • value (type: String.t, default: nil) - Required. The choice as presented to the user.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Forms.V1.Model.Option{
  goToAction: String.t() | nil,
  goToSectionId: String.t() | nil,
  image: GoogleApi.Forms.V1.Model.Image.t() | nil,
  isOther: boolean() | nil,
  value: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.