| 28861 | } |
| 28862 | |
| 28863 | func (p *IClientRPCServiceCloseSessionResult) Write(ctx context.Context, oprot thrift.TProtocol) error { |
| 28864 | if err := oprot.WriteStructBegin(ctx, "closeSession_result"); err != nil { |
| 28865 | return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } |
| 28866 | if p != nil { |
| 28867 | if err := p.writeField0(ctx, oprot); err != nil { return err } |
| 28868 | } |
| 28869 | if err := oprot.WriteFieldStop(ctx); err != nil { |
| 28870 | return thrift.PrependError("write field stop error: ", err) } |
| 28871 | if err := oprot.WriteStructEnd(ctx); err != nil { |
| 28872 | return thrift.PrependError("write struct stop error: ", err) } |
| 28873 | return nil |
| 28874 | } |
| 28875 | |
| 28876 | func (p *IClientRPCServiceCloseSessionResult) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 28877 | if p.IsSetSuccess() { |