fix: remove unneeded (and apparently unsupported) properties from Contest

This commit is contained in:
Johannes Frohnmeyer 2024-05-12 14:53:11 +02:00
parent 1d5af1e2ae
commit 7103a96e52
Signed by: Johannes
GPG Key ID: E76429612C2929F4

View File

@ -6,14 +6,14 @@ import kotlinx.serialization.Serializable
@Serializable
data class Contest(
@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("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("scoreboard_freeze_duration") val scoreboardFreezeDuration: String?,
val banner: ImageFile,
val problemset: FileWithName,
//not needed here val banner: List<ImageFile>,
//not needed here val problemset: List<FileWithName>,
val id: String,
@SerialName("external_id") val externalId: String,
val name: String,