public class QuestionSet extends BasicResponse
| Constructor and Description |
|---|
QuestionSet() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPersonId()
The associated person's ID.
|
List<Question> |
getQuestions()
Returns the list of questions to use.
|
Integer |
getScore()
The percentage (from 0.0 - 100.0) result of scoring the question set's answers.
|
Long |
getTimeLimit()
Gets the number of seconds after the creation of the question set before the `expired` boolean
will switch to `true`.
|
boolean |
isExpired()
Indicates whether the `time_limit` has been passed since the creation of the question set.
|
void |
score(AnswerSet answers)
Scores a question set.
|
getCreatedAtDate, getId, getUpdatedAtDate, isLiveMode@NotNull
public void score(@NotNull
AnswerSet answers)
answers - the answers to the QuestionSet@NotNull public String getPersonId()
public Integer getScore()
public boolean isExpired()
public Long getTimeLimit()