diff --git a/object/grpc/service.pb.go b/object/grpc/service.pb.go index ddda473d..c6ffb208 100644 Binary files a/object/grpc/service.pb.go and b/object/grpc/service.pb.go differ diff --git a/object/grpc/service_grpc.pb.go b/object/grpc/service_grpc.pb.go index 10f33b86..3c71ec85 100644 Binary files a/object/grpc/service_grpc.pb.go and b/object/grpc/service_grpc.pb.go differ diff --git a/object/grpc/types.pb.go b/object/grpc/types.pb.go index 11cb63e5..5c790805 100644 Binary files a/object/grpc/types.pb.go and b/object/grpc/types.pb.go differ diff --git a/object/types.go b/object/types.go index a40de57d..625c1ce6 100644 --- a/object/types.go +++ b/object/types.go @@ -301,6 +301,17 @@ type GetRangeHashResponse struct { session.ResponseHeaders } +type PutSingleRequestBody struct { + object *Object + copyNum []uint32 +} + +type PutSingleRequest struct { + body *PutSingleRequestBody + + session.RequestHeaders +} + const ( TypeRegular Type = iota TypeTombstone @@ -1405,3 +1416,37 @@ func (r *GetRangeHashResponse) GetBody() *GetRangeHashResponseBody { func (r *GetRangeHashResponse) SetBody(v *GetRangeHashResponseBody) { r.body = v } + +func (r *PutSingleRequest) GetBody() *PutSingleRequestBody { + if r != nil { + return r.body + } + + return nil +} + +func (r *PutSingleRequest) SetBody(v *PutSingleRequestBody) { + r.body = v +} + +func (b *PutSingleRequestBody) GetObject() *Object { + if b == nil { + return nil + } + return b.object +} + +func (b *PutSingleRequestBody) SetObject(o *Object) { + b.object = o +} + +func (b *PutSingleRequestBody) GetCopiesNumber() []uint32 { + if b == nil { + return nil + } + return b.copyNum +} + +func (b *PutSingleRequestBody) SetCopiesNumber(v []uint32) { + b.copyNum = v +}