X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2ims%2Fdomain%2Fsubscription_obj.py;h=49447d0f228f497e7b2f41976988697922a8f8d3;hb=refs%2Fchanges%2F40%2F9340%2F1;hp=8a3a6076acdafe349be26cc6a9051ce8a2e560f8;hpb=a6392b46c7b808b8adeede97c4dd69c5032e0d11;p=pti%2Fo2.git diff --git a/o2ims/domain/subscription_obj.py b/o2ims/domain/subscription_obj.py index 8a3a607..49447d0 100644 --- a/o2ims/domain/subscription_obj.py +++ b/o2ims/domain/subscription_obj.py @@ -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