| 31806 | } |
| 31807 | |
| 31808 | func (p *IClientRPCServiceSetStorageGroupResult) Write(ctx context.Context, oprot thrift.TProtocol) error { |
| 31809 | if err := oprot.WriteStructBegin(ctx, "setStorageGroup_result"); err != nil { |
| 31810 | return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } |
| 31811 | if p != nil { |
| 31812 | if err := p.writeField0(ctx, oprot); err != nil { return err } |
| 31813 | } |
| 31814 | if err := oprot.WriteFieldStop(ctx); err != nil { |
| 31815 | return thrift.PrependError("write field stop error: ", err) } |
| 31816 | if err := oprot.WriteStructEnd(ctx); err != nil { |
| 31817 | return thrift.PrependError("write struct stop error: ", err) } |
| 31818 | return nil |
| 31819 | } |
| 31820 | |
| 31821 | func (p *IClientRPCServiceSetStorageGroupResult) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 31822 | if p.IsSetSuccess() { |