OverrideTeams

@Serializable
@SerialName(value = "overrideTeams")
data class OverrideTeams(val rules: Map<TeamId, OverrideTeams.Override>) : TuningRule(source)

A rule overriding settings of each team separately. If there is override for a non-existent team, a warning is issued. If there is no override for a team, values from the contest system are used.

Parameters

rules

a map from team id to Override for this team. Check Override doc for details.

Constructors

Link copied to clipboard
constructor(rules: Map<TeamId, OverrideTeams.Override>)

Types

Link copied to clipboard
@Serializable
class Override(val fullName: String? = null, val displayName: String? = null, val organizationId: OrganizationId? = null, val hashTag: String? = null, val color: Color? = null, val isHidden: Boolean? = null, val isOutOfContest: Boolean? = null, val groups: List<GroupId>? = null, val extraGroups: List<GroupId>? = null, val customFields: Map<String, String>? = null, val medias: Map<TeamMediaType, MediaType?>? = null)

An override for a single team

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun process(info: ContestInfo): ContestInfo