forked from oppia/oppia-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GaeFeedbackReport.kt
24 lines (20 loc) · 1.19 KB
/
GaeFeedbackReport.kt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package org.oppia.android.data.backends.gae.model
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
/** Data class for the feedback report sent by the Android app to remote storage. */
// TODO(#3016): Link backend domain model
@JsonClass(generateAdapter = true)
data class GaeFeedbackReport(
/** The current version of the feedback report used. */
@Json(name = "android_report_info_schema_version") val schemaVersion: Int,
/** The date and time in ms that the report was created. */
@Json(name = "report_submission_timestamp_sec") val reportSubmissionTimestampSec: Int,
/** The information that user's provide in the feedback report. */
@Json(name = "user_supplied_feedback") val userSuppliedFeedback: GaeUserSuppliedFeedback,
/** Information collected about the user device's system. */
@Json(name = "system_context") val systemContext: GaeFeedbackReportingSystemContext,
/** Information collected about the user's physical device build. */
@Json(name = "device_context") val deviceContext: GaeFeedbackReportingDeviceContext,
/** Information collected about the user's specific app experience. */
@Json(name = "app_context") val appContext: GaeFeedbackReportingAppContext
)