forked from TrueCloudLab/frostfs-api-go
[#226] v2/object: Add tombstone field to DeleteResponseBody
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
c064760f5d
commit
4567986682
5 changed files with 61 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue