GW2v2BackstoryQuestion

@Serializable
data class GW2v2BackstoryQuestion(val id: Int, val title: String, val description: String, val answers: List<String>, val order: Int, val professions: List<String>? = null, val races: List<String>? = null)

Information about a biography question.

Parameters

id

the question's ID

title

the question's localized title

description

the question's localized description

answers

the IDs of the possible answers to the question

order

a number that can be used to sort the list of questions

professions

the IDs of the professions that the question is presented to

races

the IDs of the races that the question is presented to

Constructors

Link copied to clipboard
constructor(id: Int, title: String, description: String, answers: List<String>, order: Int, professions: List<String>? = null, races: List<String>? = null)

Properties

Link copied to clipboard

This field holds the IDs of the possible answers to the question.

Link copied to clipboard

This field holds the question's localized description.

Link copied to clipboard
val id: Int

This field holds the question's ID.

Link copied to clipboard
val order: Int

This field holds a number that can be used to sort the list of questions.

Link copied to clipboard
val professions: List<String>? = null

This field holds the IDs of the professions that the question is presented to.

Link copied to clipboard
val races: List<String>? = null

This field holds the IDs of the races that the question is presented to.

Link copied to clipboard

This field holds the question's localized title.