Item

data class Item(    val instanceId: String? = null,     val sku: String? = null,     val type: InventoryResponse.Item.Type? = null,     val name: String? = null,     val quantity: Long? = null,     val description: String? = null,     val imageUrl: String? = null,     val groups: List<Group> = emptyList(),     val attributes: List<ItemAttributes>,     val remainingUses: Long? = null,     val virtualItemType: InventoryResponse.Item.VirtualItemType? = null) : Parcelable

Constructors

Link copied to clipboard
fun Item(    instanceId: String? = null,     sku: String? = null,     type: InventoryResponse.Item.Type? = null,     name: String? = null,     quantity: Long? = null,     description: String? = null,     imageUrl: String? = null,     groups: List<Group> = emptyList(),     attributes: List<ItemAttributes>,     remainingUses: Long? = null,     virtualItemType: InventoryResponse.Item.VirtualItemType? = null)

Types

Link copied to clipboard
enum Type : Enum<InventoryResponse.Item.Type>
Link copied to clipboard
enum VirtualItemType : Enum<InventoryResponse.Item.VirtualItemType>

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val attributes: List<ItemAttributes>
Link copied to clipboard
val description: String? = null
Link copied to clipboard
val groups: List<Group>
Link copied to clipboard
@SerializedName(value = "image_url")
val imageUrl: String? = null
Link copied to clipboard
@SerializedName(value = "instance_id")
val instanceId: String? = null
Link copied to clipboard
val name: String? = null
Link copied to clipboard
val quantity: Long? = null
Link copied to clipboard
@SerializedName(value = "remaining_uses")
val remainingUses: Long? = null
Link copied to clipboard
val sku: String? = null
Link copied to clipboard
val type: InventoryResponse.Item.Type? = null
Link copied to clipboard
@SerializedName(value = "virtual_item_type")
val virtualItemType: InventoryResponse.Item.VirtualItemType? = null

Sources

Link copied to clipboard