Class

SurveyChoice

SurveyChoice

Describes a single-choice answer in case of questions with a type Survey.QUESTION_TYPES.SINGLE_CHOICE.

Classes

SurveyChoice

Members

string

# id

Choice's ID.

boolean

# is_default

If true, this choice is chosen by default, thus being the answer if the engagement's participant decides not to choose any other answer. There can be only one default answer for each single-choice question.

string

# label

Choice's label that is shown to the engagement's participant who needs to answer the survey question; effectively the answer they will give, e.g. "Yes", "No", "Good", "Bad".

number

# position

The choice's position among others. Counting starts with 0.