| 6337 | } |
| 6338 | |
| 6339 | func (p *TSGetTimeZoneResp) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 6340 | if err := oprot.WriteFieldBegin(ctx, "status", thrift.STRUCT, 1); err != nil { |
| 6341 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:status: ", p), err) } |
| 6342 | if err := p.Status.Write(ctx, oprot); err != nil { |
| 6343 | return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Status), err) |
| 6344 | } |
| 6345 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 6346 | return thrift.PrependError(fmt.Sprintf("%T write field end error 1:status: ", p), err) } |
| 6347 | return err |
| 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 { |