From e55384355223a884123a929afef916340ecd5b1c Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Wed, 19 Aug 2020 11:14:49 +0300 Subject: [PATCH] Update unified DeleteRequestBody structure after api update Signed-off-by: Alex Vanin --- v2/object/types.go | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/v2/object/types.go b/v2/object/types.go index c6a0d437..a8c61238 100644 --- a/v2/object/types.go +++ b/v2/object/types.go @@ -153,8 +153,6 @@ type PutResponse struct { type DeleteRequestBody struct { addr *refs.Address - - ownerID *refs.OwnerID } type DeleteRequest struct { @@ -1080,20 +1078,6 @@ func (r *DeleteRequestBody) SetAddress(v *refs.Address) { } } -func (r *DeleteRequestBody) GetOwnerID() *refs.OwnerID { - if r != nil { - return r.ownerID - } - - return nil -} - -func (r *DeleteRequestBody) SetOwnerID(v *refs.OwnerID) { - if r != nil { - r.ownerID = v - } -} - func (r *DeleteRequest) GetBody() *DeleteRequestBody { if r != nil { return r.body