Contest

Contest

Represents a challenge between two people with five questions

Constructor

new Contest()

Source:

Members

challenges :Array.<Challenge>

Source:
The questions in the challenge
Type:

courseID :number

Source:
The ID of the course with the programming language being used
Type:
  • number

date :string

Source:
The date the contest started
Type:
  • string

expireDate :string

Source:
The date the contest expires
Type:
  • string

id :number

Source:
The ID of the contest
Type:
  • number

isUpdated :boolean

Source:
Unknown value - always false?
Type:
  • boolean

lastUpdate :string

Source:
Unknown value - always "0001-01-01T00:00:00"?
Type:
  • string

opponent :Player

Source:
Your opponent
Type:

player :Player

Source:
Yourself
Type:

status :number

Source:
Unknown value - always 0?
Type:
  • number

userID :number

Source:
Your own user ID
Type:
  • number