object: Add getter and setter for PatchResponseBody #110

Merged
fyrchik merged 1 commit from aarifullin/frostfs-api-go:fix/patch/3 into master 2024-08-27 11:31:54 +00:00

View file

@ -1615,6 +1615,18 @@ func (r *PatchResponse) SetBody(v *PatchResponseBody) {
r.Body = v
}
func (r *PatchResponseBody) GetObjectID() *refs.ObjectID {
if r != nil {
return r.ObjectID
}
return nil
}
func (r *PatchResponseBody) SetObjectID(objectID *refs.ObjectID) {
r.ObjectID = objectID
}
func (r *PatchRequestBodyPatch) GetChunk() []byte {
if r != nil {
return r.Chunk