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

The answer key for a question.

Attributes

  • answers (type: list(GoogleApi.Forms.V1.Model.CorrectAnswer.t), default: nil) - A list of correct answers. A quiz response can be automatically graded based on these answers. For single-valued questions, a response is marked correct if it matches any value in this list (in other words, multiple correct answers are possible). For multiple-valued (CHECKBOX) questions, a response is marked correct if it contains exactly the values in this list.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Forms.V1.Model.CorrectAnswers{
  answers: [GoogleApi.Forms.V1.Model.CorrectAnswer.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.