X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2ims%2Fdomain%2Fsubscription_obj.py;h=49447d0f228f497e7b2f41976988697922a8f8d3;hb=bd72340e71574c7095e94aa2719df66c3f711545;hp=1746ad93160f362816704c41b14497bc36b57caf;hpb=6c304dfab28ffd1bbe69b9ada3d11e8fbbde014b;p=pti%2Fo2.git diff --git a/o2ims/domain/subscription_obj.py b/o2ims/domain/subscription_obj.py index 1746ad9..49447d0 100644 --- a/o2ims/domain/subscription_obj.py +++ b/o2ims/domain/subscription_obj.py @@ -46,18 +46,18 @@ 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 @dataclass class EventState(): Initial = 0 - NotInstalled = 1 + # NotInstalled = 1 Installing = 2 Installed = 3 Updating = 4 Uninstalling = 5 Abnormal = 6 - Deleted = 7 + Deleting = 7