Constructor
new QuizQuestion(client, response)
Instantiate a QuizQuestion object.
Parameters:
Name | Type | Description |
---|---|---|
client |
Client | The client that is instantiating this object. |
response |
Object | The data for the object. |
- Source:
Members
(private) _client :Client
The client that instantiated this object.
Type:
- Client
- Source:
correct_answer :String
The correct answer to the question.
Type:
- String
- Source:
created_at :Number
The timestamp of when the question was created.
Type:
- Number
- Source:
description :String
The description of the question.
Type:
- String
- Source:
id :Number
The ID of the question.
Type:
- Number
- Source:
image_file_name :String
The file name of the question image.
Type:
- String
- Source:
image_large_url :String
The URL of a large version of the question image.
Type:
- String
- Source:
image_small_url :String
The URL of a small version of the question image.
Type:
- String
- Source:
image_url :String
The URl of the question image.
Type:
- String
- Source:
image_xsmall_url :String
The URL of an extra small version of the question image.
Type:
- String
- Source:
incorrect_answers :Array.<String>
An array of incorrect answers to the question.
Type:
- Array.<String>
- Source:
is_preparing :Boolean
Type:
- Boolean
- Source:
options :Array.<String>
The different options for the question.
Type:
- Array.<String>
- Source:
updated_at :Number
The timestamp of when the question was last updated.
Type:
- Number
- Source: