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

The submitted answer for a question.

Attributes

  • fileUploadAnswers (type: GoogleApi.Forms.V1.Model.FileUploadAnswers.t, default: nil) - Output only. The answers to a file upload question.
  • grade (type: GoogleApi.Forms.V1.Model.Grade.t, default: nil) - Output only. The grade for the answer if the form was a quiz.
  • questionId (type: String.t, default: nil) - Output only. The question's ID. See also Question.question_id.
  • textAnswers (type: GoogleApi.Forms.V1.Model.TextAnswers.t, default: nil) - Output only. The specific answers as text.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Forms.V1.Model.Answer{
  fileUploadAnswers: GoogleApi.Forms.V1.Model.FileUploadAnswers.t() | nil,
  grade: GoogleApi.Forms.V1.Model.Grade.t() | nil,
  questionId: String.t() | nil,
  textAnswers: GoogleApi.Forms.V1.Model.TextAnswers.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.