public void Read(TProtocol iprot)
{
TField field;
TStruct struc = iprot.ReadStructBegin();
while (true)
{
field = iprot.ReadFieldBegin();
if (field.Type == TType.Stop) {
break;
}
switch (field.ID)
{
case 0:
if (field.Type == TType.List) {
{
this.success = new List<TCell>();
TList _list30 = iprot.ReadListBegin();
for( int _i31 = 0; _i31 < _list30.Count; ++_i31)
{
TCell _elem32 = new TCell();
_elem32 = new TCell();
_elem32.Read(iprot);
this.success.Add(_elem32);
}
iprot.ReadListEnd();
}
this.__isset.success = true;
} else {
TProtocolUtil.Skip(iprot, field.Type);
}
break;
case 1:
if (field.Type == TType.Struct) {
this.io = new IOError();
this.io.Read(iprot);
this.__isset.io = true;
} else {
TProtocolUtil.Skip(iprot, field.Type);
}
break;
case 2:
if (field.Type == TType.Struct) {
this.nf = new NotFound();
this.nf.Read(iprot);
this.__isset.nf = true;
} else {
TProtocolUtil.Skip(iprot, field.Type);
}
break;
default:
TProtocolUtil.Skip(iprot, field.Type);
break;
}
iprot.ReadFieldEnd();
}
iprot.ReadStructEnd();
}