commonMain.com.bselzer.gw2.v2.model.item.detail.UpgradeComponentDetails.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.item.detail
import com.bselzer.gw2.v2.model.enumeration.wrapper.InfusionUpgradeFlag
import com.bselzer.gw2.v2.model.enumeration.wrapper.UpgradeComponentDetailType
import com.bselzer.gw2.v2.model.enumeration.wrapper.UpgradeComponentFlag
import com.bselzer.gw2.v2.model.item.detail.infix.InfixUpgrade
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class UpgradeComponentDetails(
@SerialName("type")
val type: UpgradeComponentDetailType = UpgradeComponentDetailType(),
/**
* The flags indicating what type of items can be upgraded.
*/
@SerialName("flags")
val flags: List = emptyList(),
@SerialName("infusion_upgrade_flags")
val infusionUpgradeFlags: List = emptyList(),
@SerialName("suffix")
val suffix: String = "",
@SerialName("infix_upgrade")
val infixUpgrade: InfixUpgrade = InfixUpgrade(),
/**
* The effect bonuses if this component is for a rune. The [infixUpgrade] will not contain a buff.
*/
@SerialName("bonuses")
val bonuses: List = emptyList()
)