Package io.constructor.client
Class QuizRequestBase
java.lang.Object
io.constructor.client.QuizRequestBase
- Direct Known Subclasses:
QuizRequest
,QuizResultsConfigRequest
Constructor.io Base Quiz request
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setQuizVersionId
(String quizVersionId) void
setSection
(String section)
-
Constructor Details
-
QuizRequestBase
Creates a Base Quiz request- Parameters:
quizId
- the id of the quiz to request
-
-
Method Details
-
setQuizId
- Parameters:
quizId
- the id of the quiz to request
-
getQuizId
- Returns:
- the id of the quiz to request
-
setSection
- Parameters:
section
- the section of the product catalog
-
getSection
- Returns:
- the section of the product catalog
-
setQuizVersionId
- Parameters:
quizVersionId
- The quiz version id will be returned with the first request and it should be passed with subsequent requests. More information can be found: https://docs.constructor.com/reference/configuration-quizzes
-
getQuizVersionId
- Returns:
- the quizVersionId. The quiz version id will be returned with the first request and it should be passed with subsequent requests. More information can be found: https://docs.constructor.com/reference/configuration-quizzes
-