[#226] v2/object: Add tombstone field to DeleteResponseBody

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-12-10 12:15:17 +03:00 committed by Leonard Lyubich
parent c064760f5d
commit 4567986682
5 changed files with 61 additions and 6 deletions

View file

@ -260,6 +260,13 @@ func (m *DeleteRequest) SetVerifyHeader(v *session.RequestVerificationHeader) {
}
}
// SetTombstone sets tombstone address.
func (x *DeleteResponse_Body) SetTombstone(v *refs.Address) {
if x != nil {
x.Tombstone = v
}
}
// SetBody sets body of the response.
func (m *DeleteResponse) SetBody(v *DeleteResponse_Body) {
if m != nil {