| 30445 | } |
| 30446 | |
| 30447 | func (p *IClientRPCServiceCloseOperationResult) Write(ctx context.Context, oprot thrift.TProtocol) error { |
| 30448 | if err := oprot.WriteStructBegin(ctx, "closeOperation_result"); err != nil { |
| 30449 | return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } |
| 30450 | if p != nil { |
| 30451 | if err := p.writeField0(ctx, oprot); err != nil { return err } |
| 30452 | } |
| 30453 | if err := oprot.WriteFieldStop(ctx); err != nil { |
| 30454 | return thrift.PrependError("write field stop error: ", err) } |
| 30455 | if err := oprot.WriteStructEnd(ctx); err != nil { |
| 30456 | return thrift.PrependError("write struct stop error: ", err) } |
| 30457 | return nil |
| 30458 | } |
| 30459 | |
| 30460 | func (p *IClientRPCServiceCloseOperationResult) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 30461 | if p.IsSetSuccess() { |