File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1414namespace Contracts . Events ;
1515using System ;
1616using System . Collections . Generic ;
17+ using System . ComponentModel ;
1718using System . Text . Json . Nodes ;
1819using System . Text . Json . Serialization ;
1920using Microsoft . IdentityModel . Tokens ;
@@ -27,6 +28,7 @@ public enum EventPayloadType
2728 NotDeleted
2829}
2930
31+
3032public class EventPayload : IComparable < EventPayload >
3133{
3234 public const string SCHEMA_URL = "https://api.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.1.0#/components/schemas/" ;
@@ -72,8 +74,9 @@ public EventPayload(bool isREST)
7274
7375 public void SetType ( EventPayloadType type )
7476 {
75- this . type = type . ToString ( ) ;
7677 this . eventPayloadEntryType = type ;
78+ this . type = $ "io.admin-shell.events.v1.{ type . ToString ( ) ? . ToLower ( ) } ";
79+
7780 }
7881
7982 public string GetSubdmodelId ( )
You can’t perform that action at this time.
0 commit comments