RelatedCard

@Serializable
data class RelatedCard(val id: String, val objectType: String, val component: String, val name: String, val typeLine: String, val uri: String)

Related card reference (meld parts, combo pieces, tokens, etc.).

Constructors

Link copied to clipboard
constructor(id: String, objectType: String, component: String, name: String, typeLine: String, uri: String)

Properties

Link copied to clipboard
@SerialName(value = "component")
val component: String

Role this card plays (combo_piece, token, meld_part, etc.).

Link copied to clipboard
@SerialName(value = "id")
val id: String

Related object's unique ID.

Link copied to clipboard
@SerialName(value = "name")
val name: String

Name of the related card.

Link copied to clipboard
@SerialName(value = "object")
val objectType: String

Content type, always "related_card".

Link copied to clipboard
@SerialName(value = "type_line")
val typeLine: String

Type line of the related card.

Link copied to clipboard
@SerialName(value = "uri")
val uri: String

API URI for the related card.