| 28461 | } |
| 28462 | |
| 28463 | func (p *IClientRPCServiceFetchResultsV2Result) Write(ctx context.Context, oprot thrift.TProtocol) error { |
| 28464 | if err := oprot.WriteStructBegin(ctx, "fetchResultsV2_result"); err != nil { |
| 28465 | return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } |
| 28466 | if p != nil { |
| 28467 | if err := p.writeField0(ctx, oprot); err != nil { return err } |
| 28468 | } |
| 28469 | if err := oprot.WriteFieldStop(ctx); err != nil { |
| 28470 | return thrift.PrependError("write field stop error: ", err) } |
| 28471 | if err := oprot.WriteStructEnd(ctx); err != nil { |
| 28472 | return thrift.PrependError("write struct stop error: ", err) } |
| 28473 | return nil |
| 28474 | } |
| 28475 | |
| 28476 | func (p *IClientRPCServiceFetchResultsV2Result) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 28477 | if p.IsSetSuccess() { |