package Ġdev . d res . run . event stream Ċ Ċ import Ġcom . fasterxml . jackson . annotation . Json TypeInfo Ċ import Ġdev . d res . data . model . UID Ċ import Ġdev . d res . data . model . comp etition . Comp etition Description Ċ import Ġdev . d res . data . model . comp etition . Task Description Ċ import Ġdev . d res . data . model . log . Query Event Log Ċ import Ġdev . d res . data . model . log . QueryResult Log Ċ import Ġdev . d res . data . model . submissions . Submission Ċ Ċ @ Json TypeInfo ( use Ġ= ĠJson TypeInfo . Id . CLASS , Ġinclude Ġ= ĠJson TypeInfo . As . PROPERTY , Ġproperty Ġ= Ġ" class ") Ċ sealed Ġclass ĠStream Event ( var Ġtime Stamp Ġ: ĠLong Ġ= ĠSystem . currentTimeMillis (), Ġvar Ġsession : ĠString ? Ġ= Ġnull ) ĊĊ Ċ class ĠTask Start Event ( val Ġrun Id : ĠUID , Ġval ĠtaskId : ĠUID , Ġval Ġtask Description : ĠTask Description ) Ġ: ĠStream Event () Ċ class ĠTask End Event ( val Ġrun Id : ĠUID , Ġval ĠtaskId : ĠUID ) Ġ: ĠStream Event () Ċ class ĠRun Start Event ( val Ġrun Id : ĠUID , Ġval Ġdescription : ĠComp etition Description ) Ġ: ĠStream Event () Ċ class ĠRun End Event ( val Ġrun Id : ĠUID ) Ġ: ĠStream Event () ĊĊ Ċ class ĠSubmission Event ( session : ĠString , Ġval Ġrun Id : ĠUID , Ġval ĠtaskId : ĠUID ?, Ġval Ġsubmission Ġ: ĠSubmission ) Ġ: ĠStream Event ( session Ġ= Ġsession ) Ċ class ĠQuery Event Log Event ( session : ĠString , Ġval Ġrun Id : ĠUID , Ġval Ġquery Event Log : ĠQuery Event Log ) Ġ: ĠStream Event ( session Ġ= Ġsession ) Ċ class ĠQuery Result Log Event ( session : ĠString , Ġval Ġrun Id : ĠUID , Ġval Ġquery Result Log : ĠQuery Result Log ) Ġ: ĠStream Event ( session Ġ= Ġsession ) Ċ class ĠInvalid Request Event ( session : ĠString , Ġval Ġrun Id : ĠUID , Ġval Ġrequest Data : ĠString ) Ġ: ĠStream Event ( session Ġ= Ġsession )