View Source GoogleApi.Forms.V1.Model.Grading (google_api_forms v0.2.1)
Grading for a single question
Attributes
-
correctAnswers
(type:GoogleApi.Forms.V1.Model.CorrectAnswers.t
, default:nil
) - Required. The answer key for the question. Responses are automatically graded based on this field. -
generalFeedback
(type:GoogleApi.Forms.V1.Model.Feedback.t
, default:nil
) - The feedback displayed for all answers. This is commonly used for short answer questions when a quiz owner wants to quickly give respondents some sense of whether they answered the question correctly before they've had a chance to officially grade the response. General feedback cannot be set for automatically graded multiple choice questions. -
pointValue
(type:integer()
, default:nil
) - Required. The maximum number of points a respondent can automatically get for a correct answer. This must not be negative. -
whenRight
(type:GoogleApi.Forms.V1.Model.Feedback.t
, default:nil
) - The feedback displayed for correct responses. This feedback can only be set for multiple choice questions that have correct answers provided. -
whenWrong
(type:GoogleApi.Forms.V1.Model.Feedback.t
, default:nil
) - The feedback displayed for incorrect responses. This feedback can only be set for multiple choice questions that have correct answers provided.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Forms.V1.Model.Grading{ correctAnswers: GoogleApi.Forms.V1.Model.CorrectAnswers.t() | nil, generalFeedback: GoogleApi.Forms.V1.Model.Feedback.t() | nil, pointValue: integer() | nil, whenRight: GoogleApi.Forms.V1.Model.Feedback.t() | nil, whenWrong: GoogleApi.Forms.V1.Model.Feedback.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.