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

Defines a question that comprises multiple questions grouped together.

Attributes

  • grid (type: GoogleApi.Forms.V1.Model.Grid.t, default: nil) - The question group is a grid with rows of multiple choice questions that share the same options. When grid is set, all questions in the group must be of kind row.
  • image (type: GoogleApi.Forms.V1.Model.Image.t, default: nil) - The image displayed within the question group above the specific questions.
  • questions (type: list(GoogleApi.Forms.V1.Model.Question.t), default: nil) - Required. A list of questions that belong in this question group. A question must only belong to one group. The kind of the group may affect what types of questions are allowed.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Forms.V1.Model.QuestionGroupItem{
  grid: GoogleApi.Forms.V1.Model.Grid.t() | nil,
  image: GoogleApi.Forms.V1.Model.Image.t() | nil,
  questions: [GoogleApi.Forms.V1.Model.Question.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.