X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2ims%2Fdomain%2Fsubscription_obj.py;h=596a616462cece942d22818e9139acfe90ab26ef;hb=f113db48acbe73641ce7d13c1cb8be6eea147f98;hp=dc3145f70ab431f92547b65da128a63c1623a72d;hpb=b37a7d8e36bd9fdf862cb1aad29f9a29052e725f;p=pti%2Fo2.git diff --git a/o2ims/domain/subscription_obj.py b/o2ims/domain/subscription_obj.py index dc3145f..596a616 100644 --- a/o2ims/domain/subscription_obj.py +++ b/o2ims/domain/subscription_obj.py @@ -45,13 +45,19 @@ class Message2SMO(Serializer): self.updatetime = updatetime +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 + 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