Ballot
@Serializable
Represents a ballot in a debate.
Constructors
Link copied to clipboard
constructor(ballotsLost: Int = 0, ballotsWon: Int = 0, ballotsCount: Int = ballotsLost + ballotsWon, decision: String = "L", isElimination: Boolean, level: DebateLevel = DebateLevel.OPEN, eventName: String = "Unknown", judge: String = "Unknown", side: DebateSide = DebateSide.UNKNOWN, opponent: String? = "Unknown", round: Int = 0, roundLabel: Any = round.toString(), speaker1Points: Double = 0.0, speaker2Points: Double = 0.0, tournament: String, tournamentDate: String, isThisYear: Boolean = false)
Properties
Link copied to clipboard
The number of ballots for the round.
Link copied to clipboard
The number of ballots lost.
Link copied to clipboard
The number of ballots won.
Link copied to clipboard
@SerialName(value = "elim" )
@Serializable(with = ByteToBooleanSerializer::class )
Whether this round is an elimination round.
Link copied to clipboard
@SerialName(value = "this_yr" )
@Serializable(with = ByteToBooleanSerializer::class )
Whether this ballot was submitted this year.
Link copied to clipboard
The level of the debate.
Link copied to clipboard
@SerialName(value = "round_label" )
@Serializable(with = AnyToStringSerializer::class )
The round label.
Link copied to clipboard
The debated side.
Link copied to clipboard
@SerialName(value = "speaker1_pts" )
@Serializable(with = SpeakerDeserializer::class )
The speaker points of the first speaker, or 0 if not available.
Link copied to clipboard
@SerialName(value = "speaker2_pts" )
@Serializable(with = SpeakerDeserializer::class )
The speaker points of the second speaker, or 0 if not available.
Link copied to clipboard
The name of the tournament.
Link copied to clipboard
The date of the tournament.