forked from TrueCloudLab/frostfs-api-go
60e9c3d0d3
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
19 lines
209 B
Go
19 lines
209 B
Go
package refs
|
|
|
|
type OwnerID struct {
|
|
val []byte
|
|
}
|
|
|
|
func (o *OwnerID) GetValue() []byte {
|
|
if o != nil {
|
|
return o.val
|
|
}
|
|
|
|
return nil
|
|
}
|
|
|
|
func (o *OwnerID) SetValue(v []byte) {
|
|
if o != nil {
|
|
o.val = v
|
|
}
|
|
}
|