forked from TrueCloudLab/frostfs-api-go
Update unified DeleteRequestBody structure after api update
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
61c536148d
commit
e553843552
1 changed files with 0 additions and 16 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue