2020-12-10 08:30:14 +00:00
|
|
|
package tombstone
|
|
|
|
|
|
|
|
import (
|
|
|
|
refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc"
|
|
|
|
)
|
|
|
|
|
|
|
|
// SetExpirationEpoch sets number of tombstone expiration epoch.
|
|
|
|
func (x *Tombstone) SetExpirationEpoch(v uint64) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.ExpirationEpoch = v
|
2020-12-10 08:30:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetSplitId sets identifier of split object hierarchy.
|
|
|
|
func (x *Tombstone) SetSplitId(v []byte) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.SplitId = v
|
2020-12-10 08:30:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetMembers sets list of objects to be deleted.
|
|
|
|
func (x *Tombstone) SetMembers(v []*refs.ObjectID) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.Members = v
|
2020-12-10 08:30:14 +00:00
|
|
|
}
|