forked from TrueCloudLab/frostfs-api-go
37 lines
694 B
Go
37 lines
694 B
Go
|
package v2
|
||
|
|
||
|
// SetValue sets container identifier in a binary format.
|
||
|
func (m *ContainerID) SetValue(v []byte) {
|
||
|
if m != nil {
|
||
|
m.Value = v
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetValue sets object identifier in a binary format.
|
||
|
func (m *ObjectID) SetValue(v []byte) {
|
||
|
if m != nil {
|
||
|
m.Value = v
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetValue sets owner identifier in a binary format.
|
||
|
func (m *OwnerID) SetValue(v []byte) {
|
||
|
if m != nil {
|
||
|
m.Value = v
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetContainerId sets container identifier of the address.
|
||
|
func (m *Address) SetContainerId(v *ContainerID) {
|
||
|
if m != nil {
|
||
|
m.ContainerId = v
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetObjectId sets object identifier of the address.
|
||
|
func (m *Address) SetObjectId(v *ObjectID) {
|
||
|
if m != nil {
|
||
|
m.ObjectId = v
|
||
|
}
|
||
|
}
|