commonMain.com.bselzer.gw2.v2.model.template.equipment.EquipmentTemplateTab.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of v2-model Show documentation
Show all versions of v2-model Show documentation
Guild Wars 2 API models for v2-client.
The newest version!
package com.bselzer.gw2.v2.model.template.equipment
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* The position of the tab.
*/
@Serializable
data class EquipmentTemplateTab(
/**
* The id and index of the tab.
*/
@SerialName("tab")
override val id: EquipmentTemplateTabId = EquipmentTemplateTabId(),
/**
* The name of the tab given by the player.
*/
@SerialName("name")
val name: String = "",
/**
* Whether this tab is the currently selected tab.
*/
@SerialName("is_active")
val isActive: Boolean = false,
/**
* The pieces of equipment.
*/
@SerialName("equipment")
val equipment: List = emptyList(),
/**
* The pieces of equipment for player vs. player.
*/
@SerialName("equipment_pvp")
val pvpEquipment: EquipmentTemplatePvp = EquipmentTemplatePvp()
) : Identifiable