commonMain.com.bselzer.gw2.v2.model.quest.Quest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of v2-model-jvm Show documentation
Show all versions of v2-model-jvm Show documentation
Guild Wars 2 API models for v2-client.
The newest version!
package com.bselzer.gw2.v2.model.quest
import com.bselzer.gw2.v2.model.character.CharacterLevel
import com.bselzer.gw2.v2.model.story.StoryId
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class Quest(
@SerialName("id")
override val id: QuestId = QuestId(),
@SerialName("name")
val name: String = "",
/**
* The minimum level required to begin this quest.
*/
@SerialName("level")
val level: CharacterLevel = CharacterLevel(),
/**
* The id of the story.
* @see the wiki
*/
@SerialName("story")
val storyId: StoryId = StoryId(),
@SerialName("goals")
val goals: List = emptyList()
) : Identifiable