forked from TrueCloudLab/frostfs-sdk-go
[#143] object: Add notification setters and getters
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
ddd6c08b6a
commit
47e8527ffb
2 changed files with 56 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue