public class QuestionSet extends BasicResponse
| Constructor and Description |
|---|
QuestionSet() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPersonId()
The associated person's ID.
|
java.util.List<Question> |
getQuestions()
Returns the list of questions to use.
|
java.lang.Integer |
getScore()
The percentage (from 0.0 - 100.0) result of scoring the question set's answers.
|
java.lang.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 java.lang.String getPersonId()
public java.lang.Integer getScore()
public boolean isExpired()
public java.lang.Long getTimeLimit()
@NotNull public java.util.List<Question> getQuestions()