[#143] object: Add notification setters and getters

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-02-16 17:49:29 +03:00 committed by LeL
parent ddd6c08b6a
commit 47e8527ffb
2 changed files with 56 additions and 0 deletions

View file

@ -161,3 +161,8 @@ func (o *RawObject) ResetRelations() {
func (o *RawObject) InitRelations() {
o.initRelations()
}
// SetNotification writes NotificationInfo to the object structure.
func (o *RawObject) SetNotification(ni NotificationInfo) {
o.setNotification(ni)
}