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

A form response.

Attributes

  • answers (type: %{optional(String.t) => GoogleApi.Forms.V1.Model.Answer.t}, default: nil) - Output only. The actual answers to the questions, keyed by question_id.
  • createTime (type: DateTime.t, default: nil) - Output only. Timestamp for the first time the response was submitted.
  • formId (type: String.t, default: nil) - Output only. The form ID.
  • lastSubmittedTime (type: DateTime.t, default: nil) - Output only. Timestamp for the most recent time the response was submitted. Does not track changes to grades.
  • respondentEmail (type: String.t, default: nil) - Output only. The email address (if collected) for the respondent.
  • responseId (type: String.t, default: nil) - Output only. The response ID.
  • totalScore (type: float(), default: nil) - Output only. The total number of points the respondent received for their submission Only set if the form was a quiz and the response was graded. This includes points automatically awarded via autograding adjusted by any manual corrections entered by the form owner.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Forms.V1.Model.FormResponse{
  answers: %{optional(String.t()) => GoogleApi.Forms.V1.Model.Answer.t()} | nil,
  createTime: DateTime.t() | nil,
  formId: String.t() | nil,
  lastSubmittedTime: DateTime.t() | nil,
  respondentEmail: String.t() | nil,
  responseId: String.t() | nil,
  totalScore: float() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.