from o2common.domain.events import Event
from o2ims.domain.subscription_obj import NotificationEventEnum
+from o2ims.domain.alarm_obj import AlarmNotificationEventEnum
@dataclass
@dataclass
class ResourceTypeChanged(Event):
id: str
+ notificationEventType: NotificationEventEnum
+ updatetime: datetime.now()
+
+
+@dataclass
+class DmsChanged(Event):
+ id: str
+ notificationEventType: NotificationEventEnum
updatetime: datetime.now()
@dataclass
-class RegistrationChanged(Event):
+class AlarmEventChanged(Event):
id: str
+ notificationEventType: AlarmNotificationEventEnum
updatetime: datetime.now()