merode
1.0-SNAPSHOT
jvm
merode
/
be.vamaralds.merode.api.model
/
NewEvent
New
Event
data
class
NewEvent
(
val
type
:
String
,
val
objectId
:
Long
=
-1
,
val
properties
:
Map
<
String
,
Any
>
=
emptyMap()
,
val
masters
:
Map
<
String
,
Long
>
=
emptyMap()
)
Members
Constructors
New
Event
Link copied to clipboard
constructor
(
type
:
String
,
objectId
:
Long
=
-1
,
properties
:
Map
<
String
,
Any
>
=
emptyMap()
,
masters
:
Map
<
String
,
Long
>
=
emptyMap()
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
masters
Link copied to clipboard
val
masters
:
Map
<
String
,
Long
>
object
Id
Link copied to clipboard
val
objectId
:
Long
properties
Link copied to clipboard
val
properties
:
Map
<
String
,
Any
>
type
Link copied to clipboard
val
type
:
String
Functions
to
Event
Link copied to clipboard
fun
toEvent
(
eventHandler
:
EventHandler
)
:
EitherNel
<
InstanceError
,
Event
>
to
Json
String
Link copied to clipboard
fun
toJsonString
(
)
:
String