
de.kevcodez.pubg.model.match.MatchResponse.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 de.kevcodez.pubg.model.Link
import de.kevcodez.pubg.model.Relationships
import java.time.Instant
@JsonIgnoreProperties(ignoreUnknown = true)
data class MatchResponse(
val data: MatchData,
val included: List,
val links: Link,
val meta: Any
)
@JsonIgnoreProperties(ignoreUnknown = true)
data class MatchData(
val type: String,
val id: String,
val attributes: MatchAttributes,
val links: Link,
val relationships: Relationships
)
@JsonIgnoreProperties("stats", "tags")
data class MatchAttributes(
val createdAt: Instant,
val duration: Int,
val gameMode: String,
val mapName: String,
val shardId: String,
val titleId: String,
val isCustomMatch: Boolean = false,
val seasonState: String
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy