commonMain.com.bselzer.gw2.v2.model.outfit.Outfit.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.outfit
import com.bselzer.gw2.v2.model.item.ItemId
import com.bselzer.gw2.v2.model.wrapper.ImageLink
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class Outfit(
@SerialName("id")
override val id: OutfitId = OutfitId(),
/**
* The ids of the items used to unlock this outfit.
* @see the wiki
*/
@SerialName("unlock_items")
val unlockItemIds: List = emptyList(),
@SerialName("icon")
val iconLink: ImageLink = ImageLink(),
@SerialName("name")
val name: String = ""
) : Identifiable