File tree Expand file tree Collapse file tree 1 file changed +7
-29
lines changed
src/main/kotlin/infrastructure/digitaltwins/events Expand file tree Collapse file tree 1 file changed +7
-29
lines changed Original file line number Diff line number Diff line change @@ -13,42 +13,14 @@ package infrastructure.digitaltwins.events
13
13
*/
14
14
object LifecycleEvents {
15
15
16
- /* *
17
- * The date section for lifecycle events.
18
- */
19
- data class LifecycleEventData (
20
- /* *
21
- * The DT id.
22
- */
23
- val dtId : String ,
24
- /* *
25
- * The DT etag.
26
- */
27
- val etag : String ,
28
- /* *
29
- * The metadata of the DT.
30
- */
31
- val metadata : LifecycleMetadata
32
- )
33
-
34
- /* *
35
- * The metadata of the DT.
36
- */
37
- data class LifecycleMetadata (
38
- /* *
39
- * The model of the DT.
40
- */
41
- val model : String
42
- )
43
-
44
16
/* *
45
17
* The event of creation or delete of a DT.
46
18
*/
47
19
data class LifecycleEvent (
48
20
/* *
49
21
* The data section of the event.
50
22
*/
51
- val data : LifecycleEventData ,
23
+ val data : Map < String , Any > ,
52
24
/* *
53
25
* The type of the event.
54
26
*/
@@ -65,6 +37,12 @@ object LifecycleEvents {
65
37
* The type of the event.
66
38
*/
67
39
val eventType : String ,
40
+
41
+ /* *
42
+ * The model of the digital twin.
43
+ */
44
+ val model : String ,
45
+
68
46
/* *
69
47
* The date and time of the event.
70
48
*/
You can’t perform that action at this time.
0 commit comments