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, @Serializable(with = ListOrSingleOrNullElementSerializer::class) List<MediaType>>? = null, val extraMedias: Map<TeamMediaType, @Serializable(with = ListOrSingleOrNullElementSerializer::class) List<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 an 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 the team.

customFields

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

medias

Map of team-related media. E.g., team photo or some kind of video from a workstation. This filed overrides the value from cds.

extraMedias

Map of additional team-related media. This field is added to values from cds.

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, @Serializable(with = ListOrSingleOrNullElementSerializer::class) List<MediaType>>? = null, extraMedias: Map<TeamMediaType, @Serializable(with = ListOrSingleOrNullElementSerializer::class) List<MediaType>>? = null)

Properties

Link copied to clipboard
val color: Color?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard