Update unified DeleteRequestBody structure after api update

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-08-19 11:14:49 +03:00 committed by Stanislav Bogatyrev
parent 61c536148d
commit e553843552

View file

@ -153,8 +153,6 @@ type PutResponse struct {
type DeleteRequestBody struct { type DeleteRequestBody struct {
addr *refs.Address addr *refs.Address
ownerID *refs.OwnerID
} }
type DeleteRequest struct { 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 { func (r *DeleteRequest) GetBody() *DeleteRequestBody {
if r != nil { if r != nil {
return r.body return r.body