commonMain.ro.dragossusi.sevens.payload.game.SimplePlayerResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of payload-jvm Show documentation
Show all versions of payload-jvm Show documentation
Payload data used in sevens
package ro.dragossusi.sevens.payload.game
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
class SimplePlayerResponse constructor(
@SerialName("id")
val id: Long,
@SerialName("name")
val name: String,
@SerialName("image")
val image: String?,
@SerialName("card_count")
val cardCount: Int,
@SerialName("won_cards")
val wonCards: Int?,
@SerialName("won_points")
val wonPoints: Int?
)