fix: remove unneeded (and apparently unsupported) properties from Contest
This commit is contained in:
parent
1d5af1e2ae
commit
7103a96e52
@ -6,14 +6,14 @@ import kotlinx.serialization.Serializable
|
|||||||
@Serializable
|
@Serializable
|
||||||
data class Contest(
|
data class Contest(
|
||||||
@SerialName("formal_name") val formalName: String,
|
@SerialName("formal_name") val formalName: String,
|
||||||
@SerialName("scoreboard_type") val scoreboardType: String,
|
//not needed here @SerialName("scoreboard_type") val scoreboardType: String,
|
||||||
@SerialName("start_time") val startTime: String, // DateTime
|
@SerialName("start_time") val startTime: String, // DateTime
|
||||||
@SerialName("end_time") val endTime: String, // DateTime
|
@SerialName("end_time") val endTime: String, // DateTime
|
||||||
@SerialName("scoreboard_thaw_time") val scoreboardThawTime: String, // DateTime
|
//not needed here @SerialName("scoreboard_thaw_time") val scoreboardThawTime: String, // DateTime
|
||||||
@SerialName("duration") val duration: String,
|
@SerialName("duration") val duration: String,
|
||||||
@SerialName("scoreboard_freeze_duration") val scoreboardFreezeDuration: String?,
|
@SerialName("scoreboard_freeze_duration") val scoreboardFreezeDuration: String?,
|
||||||
val banner: ImageFile,
|
//not needed here val banner: List<ImageFile>,
|
||||||
val problemset: FileWithName,
|
//not needed here val problemset: List<FileWithName>,
|
||||||
val id: String,
|
val id: String,
|
||||||
@SerialName("external_id") val externalId: String,
|
@SerialName("external_id") val externalId: String,
|
||||||
val name: String,
|
val name: String,
|
||||||
|
Loading…
Reference in New Issue
Block a user