Class Party
java.lang.Object
com.github.rami_sabbagh.codeforces.api.objects.CFObject
com.github.rami_sabbagh.codeforces.api.objects.Party
public class Party extends CFObject
Represents a party, participating in a contest.
-
Field Summary
Fields Modifier and Type Field Description int
contestId
Can be absent.boolean
ghost
If true then this party is a ghost.Member[]
members
Members of the party.ParticipantType
participantType
int
room
Can be absent.long
startTimeSeconds
Can be absent.int
teamId
Can be absent.String
teamName
Localized. -
Constructor Summary
Constructors Constructor Description Party()
-
Method Summary
Methods inherited from class com.github.rami_sabbagh.codeforces.api.objects.CFObject
toString, toStringPretty
-
Field Details
-
contestId
public int contestIdCan be absent. Id of the contest, in which party is participating. -
members
Members of the party. -
participantType
-
teamId
public int teamIdCan be absent. If party is a team, then it is a unique team id. Otherwise, this field is absent. -
teamName
Localized. Can be absent. If party is a team or ghost, then it is a localized name of the team. Otherwise, it is absent. -
ghost
public boolean ghostIf true then this party is a ghost. It participated in the contest, but not on Codeforces. For example, Andrew Stankevich Contests in Gym has ghosts of the participants from Petrozavodsk Training Camp. -
room
public int roomCan be absent. Room of the party. If absent, then the party has no room. -
startTimeSeconds
public long startTimeSecondsCan be absent. Time, when this party started a contest.
-
-
Constructor Details
-
Party
public Party()
-