
de.kevcodez.pubg.model.match.MatchObject.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pubg-api-wrapper Show documentation
Show all versions of pubg-api-wrapper Show documentation
Teaching how to use gradle.
package de.kevcodez.pubg.model.match
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonSubTypes
import com.fasterxml.jackson.annotation.JsonTypeInfo
import de.kevcodez.pubg.model.player.PlayerType
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonSubTypes(
JsonSubTypes.Type(value = Participant::class, name = "participant"),
JsonSubTypes.Type(value = Roster::class, name = "roster"),
JsonSubTypes.Type(value = Asset::class, name = "asset"),
JsonSubTypes.Type(value = PlayerType::class, name = "player")
)
@JsonIgnoreProperties(ignoreUnknown = true)
open class MatchObject
© 2015 - 2025 Weber Informatics LLC | Privacy Policy