All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.kevcodez.pubg.model.match.MatchObject.kt Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
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