func (p *RestRequest) ReadField1(iprot thrift.TProtocol) error { if v, err := iprot.ReadI32(); err != nil { return fmt.Errorf("error reading field 1: %s", err) } else { temp := Method(v) p.Method = temp } return nil }
func (p *RestResponse) ReadField1(iprot thrift.TProtocol) error { if v, err := iprot.ReadI32(); err != nil { return fmt.Errorf("error reading field 1: %s", err) } else { temp := Status(v) p.Status = temp } return nil }
func (p *LogResult) ReadField0(iprot thrift.TProtocol) error { if v, err := iprot.ReadI32(); err != nil { return fmt.Errorf("error reading field 0: %s", err) } else { temp := ResultCode(v) p.Success = &temp } return nil }