Skip to content

Commit

Permalink
Fix error messages for contest status.
Browse files Browse the repository at this point in the history
  • Loading branch information
kunyavskiy committed Sep 5, 2024
1 parent a10b39a commit 4506e8f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions src/cds/core/api/core.api
Original file line number Diff line number Diff line change
Expand Up @@ -699,10 +699,19 @@ public final class org/icpclive/cds/api/ContestStatus$FINALIZED : org/icpclive/c
public static final field Companion Lorg/icpclive/cds/api/ContestStatus$FINALIZED$Companion;
public fun <init> (Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;)V
public synthetic fun <init> (Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Lkotlinx/datetime/Instant;
public final fun component2 ()Lkotlinx/datetime/Instant;
public final fun component3 ()Lkotlinx/datetime/Instant;
public final fun component4 ()Lkotlinx/datetime/Instant;
public final fun copy (Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;)Lorg/icpclive/cds/api/ContestStatus$FINALIZED;
public static synthetic fun copy$default (Lorg/icpclive/cds/api/ContestStatus$FINALIZED;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ILjava/lang/Object;)Lorg/icpclive/cds/api/ContestStatus$FINALIZED;
public fun equals (Ljava/lang/Object;)Z
public final fun getFinalizedAt ()Lkotlinx/datetime/Instant;
public final fun getFinishedAt ()Lkotlinx/datetime/Instant;
public final fun getFrozenAt ()Lkotlinx/datetime/Instant;
public final fun getStartedAt ()Lkotlinx/datetime/Instant;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public synthetic class org/icpclive/cds/api/ContestStatus$FINALIZED$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
Expand All @@ -724,9 +733,17 @@ public final class org/icpclive/cds/api/ContestStatus$OVER : org/icpclive/cds/ap
public static final field Companion Lorg/icpclive/cds/api/ContestStatus$OVER$Companion;
public fun <init> (Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;)V
public synthetic fun <init> (Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Lkotlinx/datetime/Instant;
public final fun component2 ()Lkotlinx/datetime/Instant;
public final fun component3 ()Lkotlinx/datetime/Instant;
public final fun copy (Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;)Lorg/icpclive/cds/api/ContestStatus$OVER;
public static synthetic fun copy$default (Lorg/icpclive/cds/api/ContestStatus$OVER;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ILjava/lang/Object;)Lorg/icpclive/cds/api/ContestStatus$OVER;
public fun equals (Ljava/lang/Object;)Z
public final fun getFinishedAt ()Lkotlinx/datetime/Instant;
public final fun getFrozenAt ()Lkotlinx/datetime/Instant;
public final fun getStartedAt ()Lkotlinx/datetime/Instant;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public synthetic class org/icpclive/cds/api/ContestStatus$OVER$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public sealed class ContestStatus {
) : ContestStatus()
@Serializable
@SerialName("over")
public class OVER(
public data class OVER(
@SerialName("startedAtUnixMs")
@Serializable(with = UnixMillisecondsSerializer::class)
public val startedAt: Instant,
Expand All @@ -51,7 +51,7 @@ public sealed class ContestStatus {
) : ContestStatus()
@Serializable
@SerialName("finalized")
public class FINALIZED(
public data class FINALIZED(
@SerialName("startedAtUnixMs")
@Serializable(with = UnixMillisecondsSerializer::class)
public val startedAt: Instant,
Expand Down

0 comments on commit 4506e8f

Please sign in to comment.