| 28663 | } |
| 28664 | |
| 28665 | func (p *IClientRPCServiceOpenSessionResult) Write(ctx context.Context, oprot thrift.TProtocol) error { |
| 28666 | if err := oprot.WriteStructBegin(ctx, "openSession_result"); err != nil { |
| 28667 | return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } |
| 28668 | if p != nil { |
| 28669 | if err := p.writeField0(ctx, oprot); err != nil { return err } |
| 28670 | } |
| 28671 | if err := oprot.WriteFieldStop(ctx); err != nil { |
| 28672 | return thrift.PrependError("write field stop error: ", err) } |
| 28673 | if err := oprot.WriteStructEnd(ctx); err != nil { |
| 28674 | return thrift.PrependError("write struct stop error: ", err) } |
| 28675 | return nil |
| 28676 | } |
| 28677 | |
| 28678 | func (p *IClientRPCServiceOpenSessionResult) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 28679 | if p.IsSetSuccess() { |