| 6348 | } |
| 6349 | |
| 6350 | func (p *TSGetTimeZoneResp) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 6351 | if err := oprot.WriteFieldBegin(ctx, "timeZone", thrift.STRING, 2); err != nil { |
| 6352 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:timeZone: ", p), err) } |
| 6353 | if err := oprot.WriteString(ctx, string(p.TimeZone)); err != nil { |
| 6354 | return thrift.PrependError(fmt.Sprintf("%T.timeZone (2) field write error: ", p), err) } |
| 6355 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 6356 | return thrift.PrependError(fmt.Sprintf("%T write field end error 2:timeZone: ", p), err) } |
| 6357 | return err |
| 6358 | } |
| 6359 | |
| 6360 | func (p *TSGetTimeZoneResp) Equals(other *TSGetTimeZoneResp) bool { |
| 6361 | if p == other { |