[#45] api-go: Add PutSingle response wrappers

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2023-06-30 16:05:37 +03:00
parent 2cb57a8835
commit d5b55d0926
7 changed files with 124 additions and 0 deletions

View file

@ -1098,3 +1098,23 @@ func (r *PutSingleRequestBody) StableSize() int {
func (r *PutSingleRequestBody) Unmarshal(data []byte) error {
return message.Unmarshal(r, data, new(object.PutSingleRequest_Body))
}
func (r *PutSingleResponseBody) StableMarshal(buf []byte) []byte {
if r == nil {
return []byte{}
}
if buf == nil {
buf = make([]byte, r.StableSize())
}
return buf
}
func (r *PutSingleResponseBody) StableSize() int {
return 0
}
func (r *PutSingleResponseBody) Unmarshal(data []byte) error {
return message.Unmarshal(r, data, new(object.PutSingleResponse_Body))
}