| 32004 | } |
| 32005 | |
| 32006 | func (p *IClientRPCServiceCreateTimeseriesResult) Write(ctx context.Context, oprot thrift.TProtocol) error { |
| 32007 | if err := oprot.WriteStructBegin(ctx, "createTimeseries_result"); err != nil { |
| 32008 | return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } |
| 32009 | if p != nil { |
| 32010 | if err := p.writeField0(ctx, oprot); err != nil { return err } |
| 32011 | } |
| 32012 | if err := oprot.WriteFieldStop(ctx); err != nil { |
| 32013 | return thrift.PrependError("write field stop error: ", err) } |
| 32014 | if err := oprot.WriteStructEnd(ctx); err != nil { |
| 32015 | return thrift.PrependError("write struct stop error: ", err) } |
| 32016 | return nil |
| 32017 | } |
| 32018 | |
| 32019 | func (p *IClientRPCServiceCreateTimeseriesResult) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 32020 | if p.IsSetSuccess() { |