| 36850 | } |
| 36851 | |
| 36852 | func (p *IClientRPCServiceRequestStatementIdResult) Write(ctx context.Context, oprot thrift.TProtocol) error { |
| 36853 | if err := oprot.WriteStructBegin(ctx, "requestStatementId_result"); err != nil { |
| 36854 | return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } |
| 36855 | if p != nil { |
| 36856 | if err := p.writeField0(ctx, oprot); err != nil { return err } |
| 36857 | } |
| 36858 | if err := oprot.WriteFieldStop(ctx); err != nil { |
| 36859 | return thrift.PrependError("write field stop error: ", err) } |
| 36860 | if err := oprot.WriteStructEnd(ctx); err != nil { |
| 36861 | return thrift.PrependError("write struct stop error: ", err) } |
| 36862 | return nil |
| 36863 | } |
| 36864 | |
| 36865 | func (p *IClientRPCServiceRequestStatementIdResult) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 36866 | if p.IsSetSuccess() { |