Add back secret with built-in user for o2 service
[pti/o2.git] / o2ims / domain / subscription_obj.py
index 8a3a607..49447d0 100644 (file)
@@ -46,8 +46,8 @@ class Message2SMO(Serializer):
 
 
 class RegistrationMessage(Serializer):
-    def __init__(self, is_all: bool = None, id: str = '') -> None:
-        self.all = is_all if is_all is not None else False
+    def __init__(self, eventtype: NotificationEventEnum, id: str = '') -> None:
+        self.notificationEventType = eventtype
         self.id = id
 
 
@@ -60,4 +60,4 @@ class EventState():
     Updating = 4
     Uninstalling = 5
     Abnormal = 6
-    Deleted = 7
+    Deleting = 7