CIOQuizResultsResponse

public struct CIOQuizResultsResponse

Struct representing the quiz result response from the server.

  • List of facets returned for the result set

    Declaration

    Swift

    public let facets: [CIOFilterFacet]
  • List of groups (categories) returned for the result set

    Declaration

    Swift

    public let groups: [CIOFilterGroup]
  • List of results returned for the browse query

    Declaration

    Swift

    public let results: [CIOResult]
  • List of sorting options

    Declaration

    Swift

    public let sortOptions: [CIOSortOption]
  • Total number of results for the result

    Declaration

    Swift

    public let totalNumResults: Int
  • Sources of the result set

    Declaration

    Swift

    public let resultSources: CIOResultSources?
  • Result ID of the result set returned

    Declaration

    Swift

    public let resultID: String
  • Unique quiz_version_id for the quiz. 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

    Declaration

    Swift

    public let quizVersionID: String
  • Unique quiz_session_id for the quiz. The quiz session 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

    Declaration

    Swift

    public let quizSessionID: String
  • Id of the quiz

    Declaration

    Swift

    public let quizID: String
  • Request object used to retrieve the Quizzes Response

    Declaration

    Swift

    public var request: JSONObject