Override

@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)(source)

An override for a single team

All fields can be null, existing values are not changed in that case.

Parameters

fullName

Full name of the team. Will be mostly shown on admin pages.

displayName

Name of the team shown in most places.

organizationId

The id of organization team comes from

hashTag

Team hashtag. Can be shown on some team related pages

color

A color associated with a team.

isHidden

If set to true, the team would be totally hidden.

isOutOfContest

If set to true, the team would not receive rank in scoreboard, but it's submission would still be shown.

groups

The list of the groups team belongs too.

extraGroups

The list of the groups to add to team.

customFields

Map of custom values. They can be used in substitutions in templates.

medias

Map of urls to team related medias. E.g., team photo or some kind of video from workstation. If media is explicitly set to null, it would be removed if received from a contest system.

Constructors

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

Properties

Link copied to clipboard
val color: Color? = null
Link copied to clipboard
val customFields: Map<String, String>? = null
Link copied to clipboard
val displayName: String? = null
Link copied to clipboard
val extraGroups: List<GroupId>? = null
Link copied to clipboard
val fullName: String? = null
Link copied to clipboard
val groups: List<GroupId>? = null
Link copied to clipboard
val hashTag: String? = null
Link copied to clipboard
val isHidden: Boolean? = null
Link copied to clipboard
val isOutOfContest: Boolean? = null
Link copied to clipboard
Link copied to clipboard