public void Read(createProductBySchema_result structs, Protocol iprot) { if (true) { List <com.vip.isv.schema.ProductResponse> value; value = new List <com.vip.isv.schema.ProductResponse>(); iprot.ReadListBegin(); while (true) { try{ com.vip.isv.schema.ProductResponse elem0; elem0 = new com.vip.isv.schema.ProductResponse(); com.vip.isv.schema.ProductResponseHelper.getInstance().Read(elem0, iprot); value.Add(elem0); } catch (Exception e) { break; } } iprot.ReadListEnd(); structs.SetSuccess(value); } Validate(structs); }
public void Read(updateProductBySchema_result structs, Protocol iprot) { if (true) { com.vip.isv.schema.ProductResponse value; value = new com.vip.isv.schema.ProductResponse(); com.vip.isv.schema.ProductResponseHelper.getInstance().Read(value, iprot); structs.SetSuccess(value); } Validate(structs); }
public void SetSuccess(com.vip.isv.schema.ProductResponse value) { this.success_ = value; }