Class QuizRequestBase

java.lang.Object
io.constructor.client.QuizRequestBase
Direct Known Subclasses:
QuizRequest, QuizResultsConfigRequest

public class QuizRequestBase extends Object
Constructor.io Base Quiz request
  • Constructor Details

    • QuizRequestBase

      public QuizRequestBase(String quizId)
      Creates a Base Quiz request
      Parameters:
      quizId - the id of the quiz to request
  • Method Details

    • setQuizId

      public void setQuizId(String quizId)
      Parameters:
      quizId - the id of the quiz to request
    • getQuizId

      public String getQuizId()
      Returns:
      the id of the quiz to request
    • setSection

      public void setSection(String section)
      Parameters:
      section - the section of the product catalog
    • getSection

      public String getSection()
      Returns:
      the section of the product catalog
    • setQuizVersionId

      public void setQuizVersionId(String quizVersionId)
      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

      public String 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