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

A single item of the form. kind defines which kind of item it is.

Attributes

  • description (type: String.t, default: nil) - The description of the item.
  • imageItem (type: GoogleApi.Forms.V1.Model.ImageItem.t, default: nil) - Displays an image on the page.
  • itemId (type: String.t, default: nil) - The item ID. On creation, it can be provided but the ID must not be already used in the form. If not provided, a new ID is assigned.
  • pageBreakItem (type: GoogleApi.Forms.V1.Model.PageBreakItem.t, default: nil) - Starts a new page with a title.
  • questionGroupItem (type: GoogleApi.Forms.V1.Model.QuestionGroupItem.t, default: nil) - Poses one or more questions to the user with a single major prompt.
  • questionItem (type: GoogleApi.Forms.V1.Model.QuestionItem.t, default: nil) - Poses a question to the user.
  • textItem (type: GoogleApi.Forms.V1.Model.TextItem.t, default: nil) - Displays a title and description on the page.
  • title (type: String.t, default: nil) - The title of the item.
  • videoItem (type: GoogleApi.Forms.V1.Model.VideoItem.t, default: nil) - Displays a video on the page.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Forms.V1.Model.Item{
  description: String.t() | nil,
  imageItem: GoogleApi.Forms.V1.Model.ImageItem.t() | nil,
  itemId: String.t() | nil,
  pageBreakItem: GoogleApi.Forms.V1.Model.PageBreakItem.t() | nil,
  questionGroupItem: GoogleApi.Forms.V1.Model.QuestionGroupItem.t() | nil,
  questionItem: GoogleApi.Forms.V1.Model.QuestionItem.t() | nil,
  textItem: GoogleApi.Forms.V1.Model.TextItem.t() | nil,
  title: String.t() | nil,
  videoItem: GoogleApi.Forms.V1.Model.VideoItem.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.